summaryrefslogtreecommitdiffstats
path: root/src/corelib/io/qiodevice.cpp
diff options
context:
space:
mode:
authorAnders Bakken <anders.bakken@nokia.com>2010-03-09 17:49:31 (GMT)
committerAnders Bakken <anders.bakken@nokia.com>2010-03-09 17:52:52 (GMT)
commitdac32b0d5ac4ed79584aba23134849956c787f75 (patch)
tree9f4867e9a68a59ad31d4b94f3f5f956b54bbbe22 /src/corelib/io/qiodevice.cpp
parent5af931da6da229ba79a99758921d44adafafbbeb (diff)
downloadQt-dac32b0d5ac4ed79584aba23134849956c787f75.zip
Qt-dac32b0d5ac4ed79584aba23134849956c787f75.tar.gz
Qt-dac32b0d5ac4ed79584aba23134849956c787f75.tar.bz2
Improve scrolling in DirectFB
Since DirectFB always uses the front buffer of a double buffered surface as the source when blitting we needed to make sure that the front buffer was valid and hence we called Flip for each scroll. This had negative performance impacts since you could end up with various parts of a window being updated at different times. With this patch we store whether the front-buffer is up to date inside the window surface and only call Flip in scroll if it's not. Reviewed-by: Jervey Kong <jervey.kong@nokia.com>
Diffstat (limited to 'src/corelib/io/qiodevice.cpp')
0 files changed, 0 insertions, 0 deletions