Introduced QQuickCanvas::releaseResources().
authorGunnar Sletta <gunnar.sletta@nokia.com>
Wed, 15 Feb 2012 10:32:02 +0000 (11:32 +0100)
committerQt by Nokia <qt-info@nokia.com>
Wed, 15 Feb 2012 12:46:25 +0000 (13:46 +0100)
commit5f0013ee76605b9c7ceab168702b57e797b698e0
tree9bdf47ba3b81199bcfe234a2346813e888052a9a
parent3c3b9956c6ba18c424027ec77dfcddbe7bac60b9
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>
src/quick/items/qquickcanvas.cpp
src/quick/items/qquickcanvas.h
src/quick/items/qquickwindowmanager.cpp
src/quick/items/qquickwindowmanager_p.h
src/quick/util/qdeclarativepixmapcache.cpp
src/quick/util/qdeclarativepixmapcache_p.h
tests/auto/qtquick2/qquickcanvas/tst_qquickcanvas.cpp