DescriptionDon't use cached subsequence when clip changes
Previously we disable subsequence caching for layers having clip or
overflow-clip to ensure descendant layers to be repainted when an
ancestor layer's clip changes. This doesn't work if a descendant layer
is painted not using the same PaintLayerPaintingInfo of the ancestor
layer (e.g. when the ancestor layer is not a stacking context). This
also unnecessarily disables subsequence caching even if clipping
doesn't change.
Now save previous paintingClipRects and check if it changes before
issuing subsequence display item.
BUG=533717, 553392
TEST=paint/invalidation/repaint-subsequence-on-ancestor-clip-change.html
TEST=paint/invalidation/repaint-subsequence-on-ancestor-clip-change-complex.html
Committed: https://crrev.com/1a67416323f77edc8c06f17151bac351fba69e11
Cr-Commit-Position: refs/heads/master@{#360535}
Patch Set 1 #
Total comments: 2
Patch Set 2 : #Patch Set 3 : #Messages
Total messages: 14 (5 generated)
|