From 906d5c5c40183468f9521277c6244a6c46730de6 Mon Sep 17 00:00:00 2001 From: Gunnar Sletta Date: Thu, 17 Oct 2013 14:53:33 +0200 Subject: Use one render loop per QQuickWindow See the task for the full reasoning behind this patch. The threaded renderloop has been refactored to have one window per thread. This is mostly a simplification of the current code path where for loops over multiple windows are turned into if (window). The QSGContext has been split into two classes, QSGRenderContext for which there is one per OpenGLContext. The rest of the patch is name changes and a couple of cleanups in the hopes of simplifying this change. Task-number: QTBUG-33993 Change-Id: I31c81f9694d7da7474a72333169be38de62613c4 Reviewed-by: Sean Harmer --- src/quick/items/qquickshadereffectsource_p.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'src/quick/items/qquickshadereffectsource_p.h') diff --git a/src/quick/items/qquickshadereffectsource_p.h b/src/quick/items/qquickshadereffectsource_p.h index 7d1a9b7304..85b58e67e4 100644 --- a/src/quick/items/qquickshadereffectsource_p.h +++ b/src/quick/items/qquickshadereffectsource_p.h @@ -60,6 +60,7 @@ QT_BEGIN_NAMESPACE class QSGNode; class UpdatePaintNodeData; class QOpenGLFramebufferObject; +class QSGSimpleRectNode; class QQuickShaderEffectSourceTextureProvider; @@ -139,10 +140,10 @@ private: QSharedPointer m_depthStencilBuffer; #ifdef QSG_DEBUG_FBO_OVERLAY - QSGRectangleNode *m_debugOverlay; + QSGSimpleRectNode *m_debugOverlay; #endif - QSGContext *m_context; + QSGRenderContext *m_context; uint m_mipmap : 1; uint m_live : 1; -- cgit v1.2.3