DescriptionApply both phsical bounding box and clip to composited bounds.
Before this patch and the one that was the proximate cause of issue 674098,
clips for composited bounds worked like this:
1. If there was a clip between the compositing container and a PaintLayer, the
clip would be that PaintLayer's contribution to composited bounds.
2. If there was no such clip, we would fall back to physicalBoundingBox, and
also recurse into children.
After the patch causing issue 674098, we would always recurse, even in case 1.
This patch observes that we can always use a local bound of the intersection of
any clip with physicalBoundingBox. Recursion still always happens.
This avoids situations like in issue 674098 where skew matrices yielded bounds
much too large.
BUG=674098
CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:linux_layout_tests_slimming_paint_v2
Committed: https://crrev.com/009b4fbe8df4067bf05dd1e3d6d3ca9be31d6363
Cr-Commit-Position: refs/heads/master@{#440929}
Patch Set 1 #Patch Set 2 : none #Patch Set 3 : none #Patch Set 4 : none #Patch Set 5 : none #Patch Set 6 : none #Patch Set 7 : none #Patch Set 8 : none #Patch Set 9 : none #Patch Set 10 : none #Patch Set 11 : none #
Total comments: 3
Patch Set 12 : none #Dependent Patchsets: Messages
Total messages: 44 (34 generated)
|