Descriptionui: Clean up damaged rects and clear them after painting.
This cleans up some of the damage rects code by converting the SkRegion
to a cc::Region, allowing use of gfx::Rects. It moves the recursion
over the Layer tree out to Compositor instead of on Layer.
And we keep the damaged_region_ valid until the layer is painted. This
will allow us to pass that damaged_region_ to the painting code with
impl-side slimming paint, because with impl-side painting, the paint
clip rect can be larger than the invalidations (as large as the whole
layer).
R=piman@chromium.org, sky
BUG=466426
Committed: https://crrev.com/a5e585868e16ce53c990f764d4943592f11749aa
Cr-Commit-Position: refs/heads/master@{#326547}
Committed: https://crrev.com/0b5eae6c645b9b25e34322d328eaef00d14aef0f
Cr-Commit-Position: refs/heads/master@{#326912}
Patch Set 1 #
Total comments: 5
Patch Set 2 : damagedregion: fixtest #
Total comments: 2
Messages
Total messages: 25 (3 generated)
|