QNX: Fix widgets scrolling
authorBernd Weimer <bweimer@blackberry.com>
Mon, 30 Jun 2014 14:42:13 +0000 (16:42 +0200)
committerBernd Weimer <bweimer@blackberry.com>
Fri, 29 Aug 2014 09:55:13 +0000 (11:55 +0200)
commit032ab648c44796b3b5bdc3d93a507efc60ac4391
treeccae731b4cea5c4254615a6536cec47356bc81ca
parente5a332ae54b4aaf598b6b97a3e7e5f876abf28f4
QNX: Fix widgets scrolling

Qt expects scroll operations to be executed immediately. They cannot be
postponed since Qt may paint on the scrolled area afterwards.
The new code will only use an accelerated scroll operation (screen_blit)
once before the window is posted, because the blit is from the previous
buffer to the current one. Hence an additional scroll operation could
copy outdated pixel data. Additional scroll operations will be handled
by Qt. Performance issues were not perceived with this approach so far.

Task-number: QTBUG-39958
Change-Id: I6d7c3274c5db6a831a169615518fcdb4d926db70
Reviewed-by: Fabian Bumberger <fbumberger@rim.com>
src/plugins/platforms/qnx/qqnxrasterbackingstore.cpp
src/plugins/platforms/qnx/qqnxrasterbackingstore.h