aboutsummaryrefslogtreecommitdiffstats
path: root/src/quick/scenegraph/qsgthreadedrenderloop.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/quick/scenegraph/qsgthreadedrenderloop.cpp')
-rw-r--r--src/quick/scenegraph/qsgthreadedrenderloop.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/quick/scenegraph/qsgthreadedrenderloop.cpp b/src/quick/scenegraph/qsgthreadedrenderloop.cpp
index 7b5f161174..5bc7be1d97 100644
--- a/src/quick/scenegraph/qsgthreadedrenderloop.cpp
+++ b/src/quick/scenegraph/qsgthreadedrenderloop.cpp
@@ -378,6 +378,7 @@ bool QSGRenderThread::event(QEvent *e)
mutex.lock();
if (window) {
+ QQuickWindowPrivate::get(window)->fireAboutToStop();
QSG_RT_DEBUG(" - removed window...");
window = 0;
}
@@ -928,6 +929,8 @@ void QSGThreadedRenderLoop::handleExposure(Window *w)
return;
}
+ QQuickWindowPrivate::get(w->window)->fireOpenGLContextCreated(w->thread->gl);
+
w->thread->gl->moveToThread(w->thread);
QSG_GUI_DEBUG(w->window, " - OpenGL context created...");
}