summaryrefslogtreecommitdiffstats
path: root/tests/benchmarks/qiodevice/qiodevice.pro
diff options
context:
space:
mode:
authorAlexis Menard <alexis.menard@nokia.com>2009-05-27 08:30:07 (GMT)
committerAlexis Menard <alexis.menard@nokia.com>2009-05-27 08:34:16 (GMT)
commit80bc757b56953065fafeffe6c4b8fb6fbca287ac (patch)
tree0aaab82faaa56f12ed0a00362c09bdf7a0b78ca5 /tests/benchmarks/qiodevice/qiodevice.pro
parent0bcfa7aa496d460c72862369662560c49eb55f17 (diff)
downloadQt-80bc757b56953065fafeffe6c4b8fb6fbca287ac.zip
Qt-80bc757b56953065fafeffe6c4b8fb6fbca287ac.tar.gz
Qt-80bc757b56953065fafeffe6c4b8fb6fbca287ac.tar.bz2
Avoid deep copies of pixmaps when using cache in QGraphicsView.
When we have already a pixmap of an item in the cache, we should remove the entry from the cache otherwise when we will repaint/modify the copy of the pixmap (the copy of the cache) then we will trigger a deep copy ; this is because both entries in the cache and our copy share the same data and if you modify one of them a copy is triggered. I have added a benchmark as well to test that. Reviewed-by:bnilsen Reviewed-by:andreas
Diffstat (limited to 'tests/benchmarks/qiodevice/qiodevice.pro')
0 files changed, 0 insertions, 0 deletions