qt5base-lts/src/gui
Morten Sorvig 0719142321 Cocoa: Fix qmlscene flicker on startup.
The SG render thread was racing window creation in
the GUI thread, which would cause flicker if the
window won the race and was shown before the SG
thread had a frame ready.

Send a synchronous expose event before showing the
window - this will wait for the SG render thread.

In addition, don't defer NSwindow creation. The GL
context setup is done before the window is shown
and needs a fully created window.

New API: QWindowSystemInterface::handleSynchronousExposeEvent
Retire: QWindowSystemInterface::handleExposeEvent

Change-Id: I0bb46089d16ec4882aaac8db67b57d15e0f51531
Reviewed-on: http://codereview.qt.nokia.com/3399
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Gunnar Sletta <gunnar.sletta@nokia.com>
Reviewed-by: Richard Moe Gustavsen <richard.gustavsen@nokia.com>
2011-08-31 16:16:03 +02:00
..
egl Copy core GL functionality to QtGui with QGL -> QOpenGL naming. 2011-08-29 10:25:24 +02:00
image Copy core GL functionality to QtGui with QGL -> QOpenGL naming. 2011-08-29 10:25:24 +02:00
kernel Cocoa: Fix qmlscene flicker on startup. 2011-08-31 16:16:03 +02:00
math3d Optimized QMatrix4x4 by improving how 'flagBits' are used. 2011-08-29 10:16:01 +02:00
opengl Fix build from scratch. 2011-08-30 16:42:26 +02:00
painting Copy core GL functionality to QtGui with QGL -> QOpenGL naming. 2011-08-29 10:25:24 +02:00
text Add a QStyleHints class to QtGui 2011-08-31 11:47:21 +02:00
util Merge remote branch 'gerrit/master' into refactor 2011-08-03 11:03:22 +02:00
gui.pro Copy core GL functionality to QtGui with QGL -> QOpenGL naming. 2011-08-29 10:25:24 +02:00