De-jelly: Fix SurfaceDrawQuad with clipped non-merged root RenderPass
Note, this fix is general, but in this CL we restrict it to de-jelly paths for merge safety. A follow-up CL will remove this restriction. In cases where a SurfaceDrawQuad's root render pass was not merged into its parent, we did not correctly handle cases where the root render pass represented a subset of the SurfaceDrawQuad's area. This was possible in OOPIF cases where the root render pass was clipped to visible bounds. This CL adjusts generated RenderPassDrawQuad's parameters to ensure it is correctly sized and samples from the correct area of the source RenderPass. Bug: 1016677 Change-Id: Ic88d22c86e6d6399689dfb7d1ca4f0fda0ab24f3 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1879750Reviewed-by:Saman Sami <samans@chromium.org> Commit-Queue: Eric Karl <ericrk@chromium.org> Cr-Commit-Position: refs/heads/master@{#709715}
Showing
Please register or sign in to comment