Commit f966f635 authored by kylechar's avatar kylechar Committed by Chromium LUCI CQ

Clip backdrop filter bounds in SkiaRenderer

Pixel moving backdrop filters (eg. blur) could sample from outside an
area that isn't behind the render pass when a render pass is clipped.
This resulted in color bleeding from pixels outside the render pass.
GLRenderer intersects the backdrop filter bounds with the
RenderPass::output_rect. This CL adds similar logic to SkiaRenderer and
intersects the backdrop filter bounds with the RenderPassDrawQuad::rect
which is generally going to be the size as the RenderPass.

Bug: 1162743, 1165868
Change-Id: Ibfcad6f58ada11ace2ce262ce71f3159a4b08f89
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2611452
Commit-Queue: kylechar <kylechar@chromium.org>
Reviewed-by: default avatarMason Freed <masonfreed@chromium.org>
Reviewed-by: default avatarMichael Ludwig <michaelludwig@google.com>
Cr-Commit-Position: refs/heads/master@{#842725}
parent a97cf659
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment