QNX: Enable threaded OpenGL rendering on QNX
authorSean Harmer <sean.harmer.qnx@kdab.com>
Thu, 28 Jun 2012 07:50:34 +0000 (08:50 +0100)
committerQt by Nokia <qt-info@nokia.com>
Mon, 2 Jul 2012 22:40:58 +0000 (00:40 +0200)
commitca456f34b0a7c6229f43bb932b3aaa2d15ce8740
treeb6a7f2d69b07a72ece8addea2f35a36ec94fc8d5
parentab2fb14b466173a5230d07a768f46203eb9ae08a
QNX: Enable threaded OpenGL rendering on QNX

The only complicated aspect to this was deferring EGLsurface
re-creation as a result of window geometry changes (e.g. when we
receive an orientation change event). To allow this to be done
in a controlled way we defer the surface manipulation until the
next call to QQnxGLContext::makeCurrent().

Change-Id: I8062d3e4d19220a822fbc3b8ca563bb1e3be09d0
Reviewed-by: Marc Mutz <marc.mutz@kdab.com>
Reviewed-by: Kevin Krammer <kevin.krammer@kdab.com>
Reviewed-by: Thomas McGuire <thomas.mcguire@kdab.com>
Reviewed-by: Samuel Rødal <samuel.rodal@nokia.com>
src/plugins/platforms/qnx/qqnxglcontext.cpp
src/plugins/platforms/qnx/qqnxglcontext.h
src/plugins/platforms/qnx/qqnxintegration.cpp
src/plugins/platforms/qnx/qqnxwindow.cpp
src/plugins/platforms/qnx/qqnxwindow.h