Descriptioncc: Don't activate rasterize on demand when we have 0 memory.
This patch partially fixes checkerboard on rapid tab switch problem.
When we become invisible we mark the active tree as requiring high
res content to draw, and manage tiles to evict resources. However,
manage tiles will end up scheduling an activation with rasterize on
demand since we couldn't schedule anything. This will end up activating
and clearing the require high res flag. This fixes it by not activating
or scheduling activation when we have no memory.
R=reveman
BUG=415760
Committed: https://crrev.com/23da7a6a68df0c0a0676b763cc84451d94cd9028
Cr-Commit-Position: refs/heads/master@{#296315}
Patch Set 1 #
Total comments: 4
Patch Set 2 : use allow_nothing #
Total comments: 1
Patch Set 3 : +test #Patch Set 4 : #
Total comments: 10
Patch Set 5 : update #
Total comments: 2
Patch Set 6 : update #
Total comments: 4
Patch Set 7 : update #
Messages
Total messages: 17 (2 generated)
|