summaryrefslogtreecommitdiffstats
path: root/src/3rdparty/webkit/JavaScriptCore/API/JSCallbackObjectFunctions.h
diff options
context:
space:
mode:
authorJason Barron <jbarron@trolltech.com>2009-04-30 07:18:35 (GMT)
committerJason Barron <jbarron@trolltech.com>2009-04-30 07:18:35 (GMT)
commit9b091d474a0584ea5aa271d466833cfb24e9a5da (patch)
tree5b1522845707c97033d5613c13a89257c7c7fc44 /src/3rdparty/webkit/JavaScriptCore/API/JSCallbackObjectFunctions.h
parent065cc545c985f31751edb1b80d577af8c964255f (diff)
downloadQt-9b091d474a0584ea5aa271d466833cfb24e9a5da.zip
Qt-9b091d474a0584ea5aa271d466833cfb24e9a5da.tar.gz
Qt-9b091d474a0584ea5aa271d466833cfb24e9a5da.tar.bz2
Small optimization when hiding windows.
When a window is hidden, it will call releaseBuffer() on the backing store which in turn will resize the window surface to a null rect. In this case, there is no need to update the QImage with the data pointer since it will be updated on the subsequent beginPaint() when the image is resized to a valid size again. This also avoids doing unnecessary locking on the FBSERV heap which still involves a context switch on older versions of Symbian.
Diffstat (limited to 'src/3rdparty/webkit/JavaScriptCore/API/JSCallbackObjectFunctions.h')
0 files changed, 0 insertions, 0 deletions