diff options
author | Gunnar Sletta <gunnar.sletta@nokia.com> | 2012-02-15 11:32:02 +0100 |
---|---|---|
committer | Qt by Nokia <qt-info@nokia.com> | 2012-02-15 13:46:25 +0100 |
commit | 5f0013ee76605b9c7ceab168702b57e797b698e0 (patch) | |
tree | 9bdf47ba3b81199bcfe234a2346813e888052a9a /src/quick/items/qquickwindowmanager_p.h | |
parent | 3c3b9956c6ba18c424027ec77dfcddbe7bac60b9 (diff) |
Introduced QQuickCanvas::releaseResources().
This function can be used in certain situations to purge the texture cache
and triggers more lazily to take down the scene graph and GL context
Change-Id: Icd9360ff50fda0e721ba0f1b520cda678e457a35
Reviewed-by: Aaron Kennedy <aaron.kennedy@nokia.com>
Diffstat (limited to 'src/quick/items/qquickwindowmanager_p.h')
-rw-r--r-- | src/quick/items/qquickwindowmanager_p.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/quick/items/qquickwindowmanager_p.h b/src/quick/items/qquickwindowmanager_p.h index 6134204464..014b38132e 100644 --- a/src/quick/items/qquickwindowmanager_p.h +++ b/src/quick/items/qquickwindowmanager_p.h @@ -67,6 +67,8 @@ public: virtual QSGContext *sceneGraphContext() const = 0; + virtual void releaseResources() = 0; + // ### make this less of a singleton static QQuickWindowManager *instance(); }; |