Textures not scheduled for deletion while scrolling QML view.
authorBjørn Erik Nilsen <bjorn.nilsen@nokia.com>
Thu, 26 May 2011 13:12:37 +0000 (15:12 +0200)
committerBjørn Erik Nilsen <bjorn.nilsen@nokia.com>
Thu, 26 May 2011 14:04:18 +0000 (16:04 +0200)
commitbfb347a463ceff05628abea6a105f6c83f100725
tree2ceb062b292ef9b30e71c61defeb3101c571c247
parent8d2c87d357dea140c607a755c8a5c3fff5697721
Textures not scheduled for deletion while scrolling QML view.

This happened when scrolling a view using an Image delegate (containing
QSGTexture). All textures were deleted at exit, but it is important to
immediately schedule the texture for deletion whenever the delegate is
destroyed to avoid unnecessary high memory consumption.

Task-number: QTBUG-19511
Reviewed-by: gunnar
src/declarative/util/qdeclarativepixmapcache.cpp