aboutsummaryrefslogtreecommitdiffstats
path: root/src/quick/items/qquickitem_p.h
diff options
context:
space:
mode:
authorGunnar Sletta <gunnar@sletta.org>2014-10-15 08:40:20 +0200
committerGunnar Sletta <gunnar@sletta.org>2014-10-16 08:38:15 +0200
commitb341ccf0a9be27713505b4c6ff748db58fdae91f (patch)
tree76d8ec76bb84c34e34dffaae87d2a03662875503 /src/quick/items/qquickitem_p.h
parente1dfb78667bd7e8dc418e12a9669404adea7e2cb (diff)
Resolve QQuickItemPrivate::beforePaintNode dynamically.
It will be the 0 unless the item has a direct child with negative z, which occurs very rarely. Its presence complicates the algorithm used to solve QTBUG-34255 and it wastes 8 bytes per visual item. No difference could be noted in a benchmark animating 6000+ sprites. Task-number: QTBUG-34255 Change-Id: Id0a78a246f0d621a51c8caad23da02b55d59b9bb Reviewed-by: Robin Burchell <robin.burchell@viroteck.net>
Diffstat (limited to 'src/quick/items/qquickitem_p.h')
-rw-r--r--src/quick/items/qquickitem_p.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/quick/items/qquickitem_p.h b/src/quick/items/qquickitem_p.h
index a88a23820f..01fc09c619 100644
--- a/src/quick/items/qquickitem_p.h
+++ b/src/quick/items/qquickitem_p.h
@@ -352,7 +352,6 @@ public:
QSGOpacityNode *opacityNode;
QQuickDefaultClipNode *clipNode;
QSGRootNode *rootNode;
- QSGNode *beforePaintNode;
// Although acceptedMouseButtons is inside ExtraData, we actually store
// the LeftButton flag in the extra.flag() bit. This is because it is