Made QSGNode flags togglable and added StaticSubtreeGeometry.
authorKim Motoyoshi Kalland <kim.kalland@nokia.com>
Thu, 17 Nov 2011 15:36:53 +0000 (16:36 +0100)
committerQt by Nokia <qt-info@nokia.com>
Wed, 14 Dec 2011 03:49:01 +0000 (04:49 +0100)
commit9db40605bc3c1ddb2715a53724c6fbc4d026e68b
tree13caa1b07671dab322ad37cf4d1decca6d795651
parent5676c6c02a5c3869036dbdbebd2338fd994b9473
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>
src/quick/items/qquickcanvas.cpp
src/quick/items/qquickitem.cpp
src/quick/items/qquickitem_p.h
src/quick/scenegraph/coreapi/qsgdefaultrenderer.cpp
src/quick/scenegraph/coreapi/qsgdefaultrenderer_p.h
src/quick/scenegraph/coreapi/qsgnode.cpp
src/quick/scenegraph/coreapi/qsgnode.h
src/quick/scenegraph/coreapi/qsgnodeupdater.cpp
src/quick/scenegraph/coreapi/qsgrenderer.cpp
src/quick/scenegraph/coreapi/qsgrenderer_p.h
tests/auto/qtquick2/nodes/tst_nodestest.cpp