Add clipping support to ProcessSurfaceOccludingDamage()
Clip the surface damage rect before adding it to |damage_rects_union_of_surfaces_on_top_|. This is how we produce |root_damage_rect_|. Bug: 1117235 Change-Id: I83b11d2b79490fd072c3bc5484f7cb38a43f2037 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2412634 Commit-Queue: Maggie Chen <magchen@chromium.org> Reviewed-by:Daniele Castagna <dcastagna@chromium.org> Cr-Commit-Position: refs/heads/master@{#809575}
Showing
This diff is collapsed.
Please register or sign in to comment