blitter: Kill the isBlitterLocked variable of the
authorHolger Hans Peter Freyther <holger@moiji-mobile.com>
Mon, 23 Jan 2012 10:41:53 +0000 (11:41 +0100)
committerQt by Nokia <qt-info@nokia.com>
Fri, 27 Jan 2012 17:49:12 +0000 (18:49 +0100)
commitfcb241b874330a045e5ba4634598476706ca7fdc
tree021079eba93c9ea23a30880bf431a1aad1ab1387
parentbd85d2bbb3ab9bff189ef70f86df8c2ad12e3c36
blitter: Kill the isBlitterLocked variable of the

It starts with being initialized wrongly, the call to buffer() will
lock the data while we think it is not locked, it can also get out of
sync by someone calling buffer() again. Remove the variable and
check with the QBlittable if we need to lock the resource into memory.

Change-Id: I6d7b336ed2e272724ec5b1348b410cbc4452422f
Based-On: I350375011138d1b4c2c48c100b7b30b8ea2ae460
Reviewed-by: Jørgen Lind <jorgen.lind@nokia.com>
src/gui/painting/qblittable.cpp
src/gui/painting/qblittable_p.h
src/gui/painting/qpaintengine_blitter.cpp