Fixed missing repaints with threaded renderer.
authorSamuel Rødal <samuel.rodal@nokia.com>
Sat, 19 May 2012 11:19:09 +0000 (13:19 +0200)
committerQt by Nokia <qt-info@nokia.com>
Mon, 21 May 2012 06:32:36 +0000 (08:32 +0200)
Update when we get an expose event, like the trivial renderer does.

Change-Id: Ib95559da35b94d84c0935c6abb24fdfb1e05fa1c
Reviewed-by: Gunnar Sletta <gunnar.sletta@nokia.com>
src/quick/items/qquickwindowmanager.cpp

index 339ed1c..bef9081 100644 (file)
@@ -940,6 +940,9 @@ void QQuickRenderThreadSingleContextWindowManager::exposureChanged(QQuickCanvas
     printf("GUI: exposure changed: %p\n", canvas);
 #endif
 
+    if (canvas->isExposed())
+        maybeUpdate(canvas);
+
 #ifdef THREAD_DEBUG
     printf("GUI: exposure changed done: %p\n", canvas);
 #endif