summaryrefslogtreecommitdiffstats
path: root/src/render/materialsystem/technique_p.h
diff options
context:
space:
mode:
authorAndy Nichols <andy.nichols@theqtcompany.com>2015-11-03 10:29:17 +0100
committerAndy Nichols <andy.nichols@theqtcompany.com>2015-11-03 14:24:05 +0000
commit0df2906ff79d7d43c0a96dd47d6be433cf006db9 (patch)
tree52becca52c0f906829dfacf1af1238546d54d09e /src/render/materialsystem/technique_p.h
parente35820a86b7fc61c8aafc266e9deb225b3d1c564 (diff)
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 <laszlo.agocs@theqtcompany.com> Reviewed-by: Paul Lemire <paul.lemire@kdab.com>
Diffstat (limited to 'src/render/materialsystem/technique_p.h')
-rw-r--r--src/render/materialsystem/technique_p.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/render/materialsystem/technique_p.h b/src/render/materialsystem/technique_p.h
index 896642d58..ffeea4c8f 100644
--- a/src/render/materialsystem/technique_p.h
+++ b/src/render/materialsystem/technique_p.h
@@ -61,7 +61,7 @@ namespace Qt3DRender {
class QTechnique;
class QParameter;
-class QOpenGLFilter;
+class QGraphicsApiFilter;
class QAnnotation;
class QRenderPass;
@@ -89,10 +89,10 @@ public:
QList<Qt3DCore::QNodeId> annotations() const;
QList<Qt3DCore::QNodeId> renderPasses() const;
- QOpenGLFilter *openGLFilter() const;
+ QGraphicsApiFilter *graphicsApiFilter() const;
private:
- QOpenGLFilter *m_openglFilter;
+ QGraphicsApiFilter *m_graphicsApiFilter;
ParameterPack m_parameterPack;
QList<Qt3DCore::QNodeId> m_annotationList;