diff options
author | Kim Motoyoshi Kalland <kim.kalland@nokia.com> | 2011-11-17 16:36:53 +0100 |
---|---|---|
committer | Qt by Nokia <qt-info@nokia.com> | 2011-12-14 04:49:01 +0100 |
commit | 9db40605bc3c1ddb2715a53724c6fbc4d026e68b (patch) | |
tree | 13caa1b07671dab322ad37cf4d1decca6d795651 /src/quick/scenegraph/coreapi/qsgrenderer_p.h | |
parent | 5676c6c02a5c3869036dbdbebd2338fd994b9473 (diff) |
Made QSGNode flags togglable and added StaticSubtreeGeometry.
The UsePreprocess and ChildrenDoNotOverlap flags could previously
only be set during node initialization. They can now be toggled.
This change also introduces the StaticSubtreeGeometry flag which is
meant to be used to indicate that all the nodes in the sub-tree
have static matrices and vertex data.
Change-Id: I3b182b81f7010aea636f8f654ef22dab19bc6b29
Reviewed-by: Michael Brasser <michael.brasser@nokia.com>
Reviewed-by: Gunnar Sletta <gunnar.sletta@nokia.com>
Diffstat (limited to 'src/quick/scenegraph/coreapi/qsgrenderer_p.h')
-rw-r--r-- | src/quick/scenegraph/coreapi/qsgrenderer_p.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/quick/scenegraph/coreapi/qsgrenderer_p.h b/src/quick/scenegraph/coreapi/qsgrenderer_p.h index e5667c710a..5217bee205 100644 --- a/src/quick/scenegraph/coreapi/qsgrenderer_p.h +++ b/src/quick/scenegraph/coreapi/qsgrenderer_p.h @@ -120,7 +120,7 @@ public: void renderScene(); void renderScene(const QSGBindable &bindable); - virtual void nodeChanged(QSGNode *node, QSGNode::DirtyFlags flags); + virtual void nodeChanged(QSGNode *node, QSGNode::DirtyState state); virtual void materialChanged(QSGGeometryNode *node, QSGMaterial *from, QSGMaterial *to); QSGNodeUpdater *nodeUpdater() const; |