• Michael Ludwig's avatar
    Detect non-zero left/top DrawQuad edges · ad3b1b70
    Michael Ludwig authored
    Pages like web_tests/compositing/overflow/nested-render-surfaces-with-rotation.html
    create RenderPasses (and SharedQuadStates) that have layer rects offset from
    (0, 0). This seems connected to the border width of the owning DOM element.
    Regardless, these edges are not clipped and DrawQuads should be anti-aliased if
    they line up with the non-zero edges.
    
    Bug: 1013735
    Change-Id: Ib97e6f9a0f7f56f4926d1a209365d3c3f11a6e38
    Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1860098Reviewed-by: default avatarweiliangc <weiliangc@chromium.org>
    Commit-Queue: Michael Ludwig <michaelludwig@google.com>
    Cr-Commit-Position: refs/heads/master@{#706136}
    ad3b1b70
draw_quad.h 4.67 KB