diff options
author | Bjørn Erik Nilsen <bjorn.nilsen@nokia.com> | 2009-06-03 12:34:54 (GMT) |
---|---|---|
committer | Andreas Aardal Hanssen <andreas.aardal.hanssen@nokia.com> | 2009-06-09 07:32:36 (GMT) |
commit | 33473417a73cafa0c0d9283c00b1e716becba0e1 (patch) | |
tree | 8bb36d6b2d94394dcd16bd35eac359283a6dc1da /src/gui/graphicsview/qgraphicsscene_p.h | |
parent | 31a7de5cbecad8f5cc106c8886c79c63f07c9b5a (diff) | |
download | Qt-33473417a73cafa0c0d9283c00b1e716becba0e1.zip Qt-33473417a73cafa0c0d9283c00b1e716becba0e1.tar.gz Qt-33473417a73cafa0c0d9283c00b1e716becba0e1.tar.bz2 |
Speed up processing of dirty items when ancestor clips children.
This patch also contains a bug fix where a child item didn't
update due to a bit not being properly set. No more rendering
artifacts :)
Diffstat (limited to 'src/gui/graphicsview/qgraphicsscene_p.h')
-rw-r--r-- | src/gui/graphicsview/qgraphicsscene_p.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/graphicsview/qgraphicsscene_p.h b/src/gui/graphicsview/qgraphicsscene_p.h index 8bc25b6..f4964f2 100644 --- a/src/gui/graphicsview/qgraphicsscene_p.h +++ b/src/gui/graphicsview/qgraphicsscene_p.h @@ -263,7 +263,7 @@ public: QList<QGraphicsItem *> *topLevelItems = 0, qreal parentOpacity = qreal(1.0)); void markDirty(QGraphicsItem *item, const QRectF &rect = QRectF(), bool invalidateChildren = false, bool maybeDirtyClipPath = false, bool force = false, bool ignoreOpacity = false); - void processDirtyItemsRecursive(QGraphicsItem *item); + void processDirtyItemsRecursive(QGraphicsItem *item, bool dirtyAncestorContainsChildren = false); inline void resetDirtyItem(QGraphicsItem *item) { |