diff options
author | Gunnar Sletta <gunnar.sletta@nokia.com> | 2012-03-05 09:28:10 +0100 |
---|---|---|
committer | Qt by Nokia <qt-info@nokia.com> | 2012-03-05 11:26:23 +0100 |
commit | 416786d0f7fee72e235814c98eb2d887b6098ae3 (patch) | |
tree | c5e56a0afe871f5e61c0d60384efa6f6b4902ebf /src/quick/scenegraph/qsgcontext_p.h | |
parent | 12048b91d95034725830a465c33c387cec26a971 (diff) |
Made QQuickWindowManager pluggable via QSGContext.
Also rename paint() to exposureChanged() as that is what the function
actually means. The implementation of paint() has been removed in both
trivial and threaded version as it is superflous as show() already
triggers rendering.
Change-Id: I7e53f42786efaf961921f10a39977de511965d71
Reviewed-by: Jørgen Lind <jorgen.lind@nokia.com>
Diffstat (limited to 'src/quick/scenegraph/qsgcontext_p.h')
-rw-r--r-- | src/quick/scenegraph/qsgcontext_p.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/quick/scenegraph/qsgcontext_p.h b/src/quick/scenegraph/qsgcontext_p.h index 0f8b5ae1de..dfb960f420 100644 --- a/src/quick/scenegraph/qsgcontext_p.h +++ b/src/quick/scenegraph/qsgcontext_p.h @@ -68,6 +68,7 @@ class QSGTexture; class QSGMaterial; class QSGMaterialShader; class QSGEngine; +class QQuickWindowManager; class QOpenGLContext; class QOpenGLFramebufferObject; @@ -122,6 +123,7 @@ public: virtual QAnimationDriver *createAnimationDriver(QObject *parent); static QQuickTextureFactory *createTextureFactoryFromImage(const QImage &image); + static QQuickWindowManager *createWindowManager(); public slots: |