DescriptionAndroid: Don't evict thumbnails for last visible tab on stop
When the activity stops (or rather the context goes away and
resident textures incl. UI resources are evicted), don't
evict the thumbnails for the tab that was visible *if*
the bitmap is still available and wasn't uploaded to a texture
yet.
Also, don't force the UIResource to be created proactively
when the ETC1 compression completes *if* there are no running
activities, since it's racy with uploading it into
the old context that's going away, while throwing away the bitmap.
When there's critical memory pressure, free all thumbnails.
BUG=636630
Committed: https://crrev.com/1d3bd9ca2dee42d4908ebe358f98df12c6aca327
Cr-Commit-Position: refs/heads/master@{#414789}
Patch Set 1 #
Total comments: 2
Patch Set 2 : rebase #Patch Set 3 : Android: Don't evict thumbnails for last visible tab on stop #
Messages
Total messages: 17 (11 generated)
|