Chromium Code Reviews
Descriptioncc: Add synthetic invalidations for dropped recordings
Fix the case where a recording tile within a picture pile is dropped
(due to it being far away and partially invalidated) and tiles within
that recording tile (but not invalidated) are updated to point to a new
picture pile that is unable to raster them.
This patch adds synthetic invalidations that will drop tiles that no
longer have recordings that can raster them. The downside of this is
that content far away might get dropped unnecessarily if there are
invalidations far away.
Alternate approaches that were considered and not implemented:
* Don't update the pile on tiles if the new pile can't raster the tile.
The downside of this is that on every activation you have to scale every
tile's content rect and then compare it against the pile's recorded
region to see if it is still contained, and then not setting the pile if
it isn't.
* Don't drop far away recordings on invalidation and instead maintain a
more complicated recorded region by subtracting out "unhandled"
invalidations. This could make the recorded region much more
complicated than it already is, making creation of new tilings much more
expensive.
NOTRY=true
R=danakj@chromium.org
BUG=173567
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=184525
Patch Set 1 #
Messages
Total messages: 6 (0 generated)
|
|||||||||||||||||||