• Michael Ludwig's avatar
    Preserve scissor for RPDQs with filters · 9b174c64
    Michael Ludwig authored
    If the RPDQ has a filter, it's touched pixels are not actually restricted
    to the visible rect of the quad. In that case it is incorrect to explicitly
    clip the visible rect to the scissor and not set the scissor as a clipRect.
    This CL makes it so the scissor is remembered and is applied post-filtering,
    so effects like drop shadows are properly clipped to the window content.
    
    Bug: 1035271
    Change-Id: I138b1412c55489aa0068cc0ea1744a3248738716
    Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2019804Reviewed-by: default avatarJonathan Backer <backer@chromium.org>
    Commit-Queue: Michael Ludwig <michaelludwig@google.com>
    Cr-Commit-Position: refs/heads/master@{#735025}
    9b174c64
skia_renderer.cc 107 KB