summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorAnders Bakken <anders.bakken@nokia.com>2009-05-04 17:38:37 (GMT)
committerAnders Bakken <anders.bakken@nokia.com>2009-05-04 17:48:02 (GMT)
commit885adf0541e4b709bf5a3774361e85db2a35fc47 (patch)
tree6f4ca4ef6870876d4286d2f1ba4939de95a55e21 /tools
parenta5c1161fb6bb2a24cebc104bc2a9b8def0a6e466 (diff)
downloadQt-885adf0541e4b709bf5a3774361e85db2a35fc47.zip
Qt-885adf0541e4b709bf5a3774361e85db2a35fc47.tar.gz
Qt-885adf0541e4b709bf5a3774361e85db2a35fc47.tar.bz2
Lock for read only when possible
From benchmarking I've established that surface->Lock(DSLF_READ) is faster than surface->Lock(DSLF_WRITE) which is faster than surface->Lock(DSLF_READ|DSLF_WRITE). This patch will make us Lock for read only, when possible. Reviewed-by: Donald <qt-info@nokia.com>
Diffstat (limited to 'tools')
0 files changed, 0 insertions, 0 deletions