DescriptionReplace coversExtraPixels with simpler logic and remove transform workaround
Replace coversExtraPixels with simpler logic by comparing paint invalidation
rect to LayoutRect(paintInvalicationLocation, size()), and if either changed
and they don't equal, do full paint invalidation instead of incremental
invalidation. This covers the following cases in which incremental
invalidation doesn't apply:
- extra pixels covered by enclosingIntRect() during mapping,
- transforms such as rotate and skew,
- overflowing effects.
This also covers an extra case that we did incremental invalidation but
now do full paint invalidation:
- clipped paint invalidation rect when either borer box or clip changes.
Based on layout tests, 1 not a common case, and this is also not an issue of
spv2 because we won't clip visual rects.
BUG=660195
CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:linux_layout_tests_slimming_paint_v2
Committed: https://crrev.com/e785d3b4de4914b3a8b773a93596c299937f3770
Cr-Commit-Position: refs/heads/master@{#428596}
Patch Set 1 #Patch Set 2 : - #Patch Set 3 : - #Patch Set 4 : - #Patch Set 5 : - #Patch Set 6 : - #Patch Set 7 : - #
Total comments: 1
Patch Set 8 : Update comments #Patch Set 9 : Rebase and rebaseline (incomplete) #Patch Set 10 : Rebaseline #Depends on Patchset: Messages
Total messages: 39 (31 generated)
|