Allow exo embedded surfaces to crop
Cropping with a SurfaceDrawQuad is done a little differently than with a texture quad, it need to be scaled up and positioned in the target space and then clipped using the clip_rect. Bug: b/143612326 Test: manually Change-Id: I38e78fd5ff4c60df2c44f9054136d8b27ac55ddc Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1972259Reviewed-by:Alex Sakhartchouk <alexst@chromium.org> Reviewed-by:
Daniele Castagna <dcastagna@chromium.org> Commit-Queue: Albert Chaulk <achaulk@chromium.org> Cr-Commit-Position: refs/heads/master@{#726540}
Showing
Please register or sign in to comment