qt5base-lts/src
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
..
3rdparty Add QtV8 library to QtBase 2011-08-29 10:16:01 +02:00
corelib Introduce Q_QTQUICK1_EXPORT fixing exports in declarative. 2011-08-31 16:06:12 +02:00
dbus Make the DBus timeout configurable in QDBusAbstractInterface. 2011-08-25 11:36:52 +02:00
gui Cocoa: Fix qmlscene flicker on startup. 2011-08-31 16:16:03 +02:00
modules Merge remote branch 'gerrit/master' into refactor 2011-08-30 11:51:20 +02:00
network QSslCertificate: blacklist fraudulent *.google.com 2011-08-30 18:48:35 +02:00
opengl Rename remaining gui/opengl source files to avoid name clashing. 2011-08-30 11:05:30 +02:00
platformsupport Copy core GL functionality to QtGui with QGL -> QOpenGL naming. 2011-08-29 10:25:24 +02:00
plugins Cocoa: Fix qmlscene flicker on startup. 2011-08-31 16:16:03 +02:00
printsupport Mac: Fix link error in printdialog. 2011-08-23 09:14:28 +02:00
s60installs update def files 2011-05-11 16:40:09 +02:00
s60main Moved common module profiles to be feature profiles. 2011-06-05 14:47:14 +02:00
sql Merge branch 'master' into refactor 2011-08-25 12:48:52 +02:00
testlib Merge branch 'master' into refactor 2011-08-31 08:14:48 +02:00
tools Merge remote branch 'gerrit/master' into refactor 2011-08-29 12:11:53 +02:00
uitools Merge branch 'master' into refactor 2011-08-25 12:48:52 +02:00
v8 Compile with host architecture armv5tel 2011-08-31 14:05:33 +02:00
widgets Add a QStyleHints class to QtGui 2011-08-31 11:47:21 +02:00
winmain Windows: fixed qtmain.lib not going to `lib' directory 2011-07-26 03:27:34 +02:00
xml QXmlStream lives in QtCore 2011-08-11 16:21:14 +02:00
qbase.pri Moved common module profiles to be feature profiles. 2011-06-05 14:47:14 +02:00
qt_install.pri Moved common module profiles to be feature profiles. 2011-06-05 14:47:14 +02:00
qt_targets.pri Moved common module profiles to be feature profiles. 2011-06-05 14:47:14 +02:00
src.pro Merge remote branch 'gerrit/master' into refactor 2011-08-30 11:51:20 +02:00