Make profiling of pixmap cache events more consistent
authorUlf Hermann <ulf.hermann@digia.com>
Thu, 27 Mar 2014 13:12:40 +0000 (14:12 +0100)
committerThe Qt Project <gerrit-noreply@qt-project.org>
Tue, 22 Apr 2014 08:32:51 +0000 (10:32 +0200)
commit964dcdfb7bc106696b4be12b7f71ba52f8448973
treeb8f593b885170ce2b601fb1e2cf78010408cec67
parentbcabdfbbe375a0e9872f9be6c9cbd212cebb5ee6
Make profiling of pixmap cache events more consistent

Previously canceled replies weren't reported, the cache count was
reported before it was updated, and the request or implicit sizes
were reported instead of the size actually stored in memory.

Task-number: QTBUG-37890
Change-Id: I9d9d9f6b9bfa75c7d56b778fc8174bda4e842d72
Reviewed-by: Gunnar Sletta <gunnar.sletta@jollamobile.com>
src/quick/util/qquickpixmapcache.cpp