aboutsummaryrefslogtreecommitdiffstats
path: root/src/quick/scenegraph/qsgcontext_p.h
diff options
context:
space:
mode:
authorSimon Hausmann <simon.hausmann@digia.com>2014-08-11 13:21:11 +0200
committerSimon Hausmann <simon.hausmann@digia.com>2014-08-23 07:56:30 +0200
commit15ee12508ec8663ae09ebfc61cc4f0725311bdec (patch)
tree7f788285afbde14f0d1eaab9065b21410c277ac5 /src/quick/scenegraph/qsgcontext_p.h
parent253e9257e1f586d1c1dfa585aa6f862d310cdec3 (diff)
Cleanup: Separate the sub-tree layering out of QtQuick into the scene graph
This basically renames QQuickShaderEffectTexture to QSGDefaultLayer and introduces QSGLayer as interface to be used. QQuickShaderEffectTexture is generic for the scene graph and has no QtQuick dependencies. The interface separation allows scene graph backends to customize layers. Change-Id: I9a7f37addaa4b80a34ff9a1456b0cb9b16d4e9f3 Reviewed-by: Gunnar Sletta <gunnar.sletta@jollamobile.com>
Diffstat (limited to 'src/quick/scenegraph/qsgcontext_p.h')
-rw-r--r--src/quick/scenegraph/qsgcontext_p.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/quick/scenegraph/qsgcontext_p.h b/src/quick/scenegraph/qsgcontext_p.h
index abf1abd4c0..b5271f9f37 100644
--- a/src/quick/scenegraph/qsgcontext_p.h
+++ b/src/quick/scenegraph/qsgcontext_p.h
@@ -72,6 +72,7 @@ class QSGTexture;
class QSGMaterial;
class QSGMaterialShader;
class QSGRenderLoop;
+class QSGLayer;
class QOpenGLContext;
class QOpenGLFramebufferObject;
@@ -177,6 +178,7 @@ public:
virtual QSGImageNode *createImageNode();
virtual QSGGlyphNode *createGlyphNode(QSGRenderContext *rc, bool preferNativeGlyphNode);
virtual QSGNinePatchNode *createNinePatchNode();
+ virtual QSGLayer *createLayer(QSGRenderContext *renderContext);
virtual QAnimationDriver *createAnimationDriver(QObject *parent);
virtual QSize minimumFBOSize() const;