diff options
author | Bjørn Erik Nilsen <bjorn.nilsen@nokia.com> | 2010-05-04 11:14:10 (GMT) |
---|---|---|
committer | Bjørn Erik Nilsen <bjorn.nilsen@nokia.com> | 2010-05-05 12:34:39 (GMT) |
commit | c1c7dbf2a066868503dfabcd7113856fa6d2e457 (patch) | |
tree | 14de776de377bf93f645a88ce8c73e26ddd89e2f /src/gui/itemviews | |
parent | 66f1a007291209781801a2d3d5f4009bb1963955 (diff) | |
download | Qt-c1c7dbf2a066868503dfabcd7113856fa6d2e457.zip Qt-c1c7dbf2a066868503dfabcd7113856fa6d2e457.tar.gz Qt-c1c7dbf2a066868503dfabcd7113856fa6d2e457.tar.bz2 |
Performance issue with QGraphicsItem::ItemClipsChildrenToShape.
If the child rect is bigger than the parent rect and parent has the
ItemClipsChildrenToShape flag set, then by updating the child, the whole
child rect is marked as dirty, resulting in a much larger update area
than required. This has a major impact on performance in Orbit/HB,
where e.g. item-views typically consist of a container item that clips
its children/items to shape. See attached video in QTBUG-9024.
Auto test included.
Task-number: QTBUG-9024
Diffstat (limited to 'src/gui/itemviews')
0 files changed, 0 insertions, 0 deletions