diff options
author | Andy Nichols <andy.nichols@theqtcompany.com> | 2015-01-13 15:22:12 +0100 |
---|---|---|
committer | Andy Nichols <andy.nichols@theqtcompany.com> | 2015-01-19 15:55:00 +0100 |
commit | d7068cbe1b37eb065c1902c8e944f3bc19db0ba4 (patch) | |
tree | 40937a5f28db5a57d083f898b1f96a07042e224a /src/platformsupport/fbconvenience/qfbscreen_p.h | |
parent | 668a3a4da177f2da668555224954d0df70646fa8 (diff) |
Make threaded rendering possible with LinuxFB
It was previously not possible to render to a QBackingStore
with the linuxfb platform plugin because of both the use of
a QTimer created on the main thread and there was no lock
on the backing store surface (which would lead to copy content
to screen that being rendered in another thread).
Change-Id: I0ea3600316ce29eb89f6595997847afe7086116f
Reviewed-by: Laszlo Agocs <laszlo.agocs@theqtcompany.com>
Diffstat (limited to 'src/platformsupport/fbconvenience/qfbscreen_p.h')
-rw-r--r-- | src/platformsupport/fbconvenience/qfbscreen_p.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/platformsupport/fbconvenience/qfbscreen_p.h b/src/platformsupport/fbconvenience/qfbscreen_p.h index b6e50dc786..55aacab9bc 100644 --- a/src/platformsupport/fbconvenience/qfbscreen_p.h +++ b/src/platformsupport/fbconvenience/qfbscreen_p.h @@ -94,10 +94,11 @@ protected slots: protected: void initializeCompositor(); + bool event(QEvent *event); QList<QFbWindow *> mWindowStack; QRegion mRepaintRegion; - QTimer mRedrawTimer; + bool mUpdatePending; QFbCursor *mCursor; QRect mGeometry; |