Do not store an explicit QImage in the declarative pixmap cache.
authorGunnar Sletta <gunnar.sletta@nokia.com>
Mon, 5 Mar 2012 09:11:16 +0000 (10:11 +0100)
committerQt by Nokia <qt-info@nokia.com>
Mon, 5 Mar 2012 11:30:26 +0000 (12:30 +0100)
commit43ffdc3fc02eb058d7d458cb16a9c3cf07ea68eb
treeb802cdb7cda03c1cf2df9a6c1b98760457adff06
parent416786d0f7fee72e235814c98eb2d887b6098ae3
Do not store an explicit QImage in the declarative pixmap cache.

This opens up for the scene graph adaptation only storing textures which
effectively halves the memory usage for textures and images.

Change-Id: I3452a15844ceeb4fc3a465865f99ee16e3e05607
Reviewed-by: Aaron Kennedy <aaron.kennedy@nokia.com>
src/qml/qml/qqmlimageprovider.cpp
src/qml/qml/qqmlimageprovider.h
src/quick/util/qquickpixmapcache.cpp
src/quick/util/qquickpixmapcache_p.h