diff options
author | Andreas Aardal Hanssen <andreas.aardal.hanssen@nokia.com> | 2009-06-15 15:49:06 (GMT) |
---|---|---|
committer | Andreas Aardal Hanssen <andreas.aardal.hanssen@nokia.com> | 2009-06-15 15:50:03 (GMT) |
commit | a7362cdfa071e2987e403245f0c58936485d1fba (patch) | |
tree | 0c00960bde98c2e70f2de3644d922801276b1df6 /examples/tutorials/addressbook/README | |
parent | 9d6069f32962128f737b83a4bf7d7e7309983023 (diff) | |
download | Qt-a7362cdfa071e2987e403245f0c58936485d1fba.zip Qt-a7362cdfa071e2987e403245f0c58936485d1fba.tar.gz Qt-a7362cdfa071e2987e403245f0c58936485d1fba.tar.bz2 |
Optimization: Don't determine the expose if the item is invisible.
If the item either sets the ItemHasNoContents flag, or if it's invisible
but has child items that are not (and ignore parent opacity), then don't
bother calculating the item's exposed view rect as the item will not get
drawn anyway.
This carves down the number of QTransform::mapRect operations by 25%
when running the Declarative UI calculator transition. We'll proceed
to removing such operations from the markDirty step as well.
Reviewed-by: bnilsen
Diffstat (limited to 'examples/tutorials/addressbook/README')
0 files changed, 0 insertions, 0 deletions