From 0df2906ff79d7d43c0a96dd47d6be433cf006db9 Mon Sep 17 00:00:00 2001 From: Andy Nichols Date: Tue, 3 Nov 2015 10:29:17 +0100 Subject: Rename QOpenGLFilter to QGraphicsApiFilter This API change is part of an effort to remove anything specific to one graphics API (in this case OpenGL) from the public APIs. In addition to the name of the class being changed, the QGraphicsApiFilter::Api has been refactored to reference the Graphics API, rather than an OpenGL API. Now this list includes OpenGL, and OpenGLES, but could also include Vulkan, DirectX, or any other graphics rendering API we wish to support in the future. Right now the properties in this class are still reflective of the OpenGL APIs, and may need to be extended with other properties in the future for other rendering technologies. The QGraphicsApiFilter::Profile enum has also been changed to be more more clear. So for now there are enums NoProfile, CoreProfile, and CompatibilityProfile. Task-number:QTBUG-49078 Change-Id: Ib5f9c3b7adee5badec6bce8a12b23683eb43b4cb Reviewed-by: Laszlo Agocs Reviewed-by: Paul Lemire --- examples/qt3d/bigscene-instanced-qml/main.qml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'examples/qt3d/bigscene-instanced-qml') diff --git a/examples/qt3d/bigscene-instanced-qml/main.qml b/examples/qt3d/bigscene-instanced-qml/main.qml index c1ff7ff2f..699e8d305 100644 --- a/examples/qt3d/bigscene-instanced-qml/main.qml +++ b/examples/qt3d/bigscene-instanced-qml/main.qml @@ -72,9 +72,9 @@ Entity { id: instancedPhongMaterial effect: Effect { techniques: Technique { - openGLFilter { - api: OpenGLFilter.Desktop - profile: OpenGLFilter.Core + graphicsApiFilter { + api: GraphicsApiFilter.OpenGL + profile: GraphicsApiFilter.CoreProfile minorVersion: 2 majorVersion: 3 } -- cgit v1.2.3