summaryrefslogtreecommitdiffstats
path: root/doc/src/snippets/code/src_gui_image_qbitmap.cpp
diff options
context:
space:
mode:
authorAnders Bakken <anders.bakken@nokia.com>2009-05-05 18:25:28 (GMT)
committerAnders Bakken <anders.bakken@nokia.com>2009-05-05 20:22:00 (GMT)
commit183602a565147299a309fc4df3165b702f0d78f4 (patch)
tree4dbf9b0ce8891475fb396fba4990318e5dadf094 /doc/src/snippets/code/src_gui_image_qbitmap.cpp
parent083f41c81d735afa30cb6aa355862c3d2e67f55d (diff)
downloadQt-183602a565147299a309fc4df3165b702f0d78f4.zip
Qt-183602a565147299a309fc4df3165b702f0d78f4.tar.gz
Qt-183602a565147299a309fc4df3165b702f0d78f4.tar.bz2
Don't call prepare more than necessary
Store the memory address of our last QRasterBuffer::prepare() call to make sure we reprepare if someone has unlocked and locked the device behind our back. Also optimize QDirectFBDevice::memory() since it might get called a fair bit. Reviewed-by: Donald <qt-info@nokia.com>
Diffstat (limited to 'doc/src/snippets/code/src_gui_image_qbitmap.cpp')
0 files changed, 0 insertions, 0 deletions