Fix direct composition underlays in non root render passes
A number of fixes to make underlays work with non root render passes: 1) Transform clip rect to display space so that it works correctly for transformed non-root render passes. 2) Use the RPDQ clip for solid color quad behind the RPDQ. 3) Clip the punch through rect using the video quad's clip rect, and propagate the clipped value up the stack. 4) Do not propagate video quad or RPDQ opacities as that doesn't work correctly. 5) Do not overwrite underlay rect or occlusion if there are multiple underlays in a frame. 6) Lots of comments! Bug: 843814 Cq-Include-Trybots: luci.chromium.try:android_optional_gpu_tests_rel;luci.chromium.try:linux_optional_gpu_tests_rel;luci.chromium.try:mac_optional_gpu_tests_rel;luci.chromium.try:win_optional_gpu_tests_rel Change-Id: Ib62bd3834e7e7856c02d9f304b2b4e4f594fd9cd Reviewed-on: https://chromium-review.googlesource.com/1087774 Commit-Queue: Sunny Sachanandani <sunnyps@chromium.org> Reviewed-by:Zhenyao Mo <zmo@chromium.org> Cr-Commit-Position: refs/heads/master@{#566670}
Showing
This diff is collapsed.
This diff is collapsed.
Please register or sign in to comment