Descriptioncc: Fix resource eviction with impl-side painting.
When evicting resources with impl-side painting we need wait until
the active tree is without evicted resources before we can draw.
This moves the ContentsTexturesPurged state from LTHI to the LTI
and makes LTHI::canDraw() return false when the active LTI has
ContentsTexturesPurged set. The result is no change in behavior
when we only have one tree, while with impl-side painting when
we have two trees, canDraw() will not return true until the new
tree without ContentsTexturesPurged set has been activated.
BUG=170157
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=177532
Patch Set 1 #
Total comments: 3
Patch Set 2 : Fix enforceManagedMemoryPolicy. It's possible we have pending tree when this is called. #
Messages
Total messages: 13 (0 generated)
|