diff options
author | Laszlo Agocs <laszlo.p.agocs@nokia.com> | 2011-04-07 07:37:31 (GMT) |
---|---|---|
committer | Laszlo Agocs <laszlo.p.agocs@nokia.com> | 2011-04-07 09:38:54 (GMT) |
commit | a12d41076919a133e63de63dff5c1a131a0564e4 (patch) | |
tree | 9549ad67b3485430e29ab7032761297b229cda92 /config.tests | |
parent | f870613ee5632c1af87a71948dc302015d1a1d75 (diff) | |
download | Qt-a12d41076919a133e63de63dff5c1a131a0564e4.zip Qt-a12d41076919a133e63de63dff5c1a131a0564e4.tar.gz Qt-a12d41076919a133e63de63dff5c1a131a0564e4.tar.bz2 |
Have the backing store destroyed also in special Symbian scenarios.
The backing store tracker's registerWidget and unregisterWidget
functions are called when EPartiallyVisible and ENotVisible events
come from WSERV. However if an application sends its window group
to background right after caling show() and before entering the
event loop, there is a chance that all the application will receive
is an ENotVisible event, leading to calling unregisterWidget() without
a previous registerWidget(). In this case the backing store was
not destroyed and the application was consuming GPU memory even while
it was staying in background. This patch makes unregisterWidget()
not to check the widget's presence in the m_widgets set, instead
the condition for deleting the backing store is solely an empty set.
Task-number: QTBUG-18493
Reviewed-by: Gareth Stockwell
Diffstat (limited to 'config.tests')
0 files changed, 0 insertions, 0 deletions