Descriptioncc: Expand invalidation to full tile when recording is missing for the tile.
Currently we do a walk over all tiles in the pending tree's pile, but
there can be 1 million x 1 million tiles on some pages, which makes this
method take multiple _seconds_ to complete.
These loops were added in r184525 which gave the tradeoffs that led to
them, which are that we want to only use a single pile for all the tiles
on this layer, but we don't want raster tiles on the active layer (when
this activates) that can't be rastered by the pile they are attached to.
Instead of walking every pile-tile, to find the tiles that are not
present in the current recording and invalidate them, we expand
invalidations outside the interest rect to cover the full recording tiles,
and we expand invalidation inside the interest rect to include any raster
tiles that don't have a recording (such as in the offscreen animating gif
case). We give this expanded invalidation to the pending layer, causing
it to drop rastered tiles from the active tree that intersect with an
unrecorded area.
R=enne
BUG=371839
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=277964
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=278196
Patch Set 1 #
Total comments: 1
Patch Set 2 : pictureslow: rebase #Patch Set 3 : pictureslow: doitinpicturepile #
Total comments: 3
Patch Set 4 : pictureslow: . #
Total comments: 2
Patch Set 5 : pictureslow: noborders #Patch Set 6 : pictureslow: complicated. #
Total comments: 7
Patch Set 7 : pictureslow: . #Patch Set 8 : pictureslow: don't change region while iterating it #
Messages
Total messages: 22 (0 generated)
|