Descriptioncc: Fix memory limit edge cases for SetIsLikelyToRequireADraw.
Whenever TileManager reassigns memory it should call
SetIsLikelyToRequireADraw on it's client. This happens when it checks if
there are more tiles that need to be rasterized after all raster tasks
are done. Furthermore when synchronously rasterizing tiles TileManager
should call SetIsLikelyToRequireADraw(false) on it's client. It's
necessary to update the client (LayerTreeHostImpl) otherwise it could
end up drawing again and again without any real work being done.
BUG=439275
Committed: https://crrev.com/1110f019ddad7bc371299384c6c0706708d3295c
Cr-Commit-Position: refs/heads/master@{#322637}
Patch Set 1 #
Total comments: 10
Patch Set 2 : Address comments. #
Total comments: 2
Patch Set 3 : Rebase. #Patch Set 4 : Address comments. #
Messages
Total messages: 12 (3 generated)
|