diff options
author | Andreas Aardal Hanssen <andreas.aardal.hanssen@nokia.com> | 2009-05-28 09:31:24 (GMT) |
---|---|---|
committer | Andreas Aardal Hanssen <andreas.aardal.hanssen@nokia.com> | 2009-06-09 07:27:14 (GMT) |
commit | 5ea28946b53b001a6fcbc1c382f80f798ac6ab4b (patch) | |
tree | 186fc48dfcd861f5baf9635cd0fbe69c79b1749c /src/gui/graphicsview/qgraphicsscene_p.h | |
parent | 8afef542ead463b6937ec907c0b35a7977ed4a83 (diff) | |
download | Qt-5ea28946b53b001a6fcbc1c382f80f798ac6ab4b.zip Qt-5ea28946b53b001a6fcbc1c382f80f798ac6ab4b.tar.gz Qt-5ea28946b53b001a6fcbc1c382f80f798ac6ab4b.tar.bz2 |
Remove scene transform cache from QGraphicsItem.
Now that we have a recursive painting algorithm these types of
optimizations are no longer necessary. In fact they only cause more
problems and clutter up the code unnecessarily. Removing this also
removes extra overhead from moving and transforming items.
Reviewed-by: Lars
Diffstat (limited to 'src/gui/graphicsview/qgraphicsscene_p.h')
-rw-r--r-- | src/gui/graphicsview/qgraphicsscene_p.h | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/gui/graphicsview/qgraphicsscene_p.h b/src/gui/graphicsview/qgraphicsscene_p.h index f2226bf..bf7ac0a 100644 --- a/src/gui/graphicsview/qgraphicsscene_p.h +++ b/src/gui/graphicsview/qgraphicsscene_p.h @@ -289,10 +289,6 @@ public: void setPalette_helper(const QPalette &palette); void resolvePalette(); void updatePalette(const QPalette &palette); - - mutable QVector<QTransform> sceneTransformCache; - mutable QBitArray validTransforms; - mutable QVector<int> freeSceneTransformSlots; }; QT_END_NAMESPACE |