0
Files
src/content/test
Sunny Sachanandani e8489b6e53 viz: Skip direct composition underlays for non-opaque texture quads.
Texture quads are considered as "requires overlay" quads which means
that non-opaque occluded texture quads will be put into an overlay
without any possibility of blending. This is ok for video since overlay
compatible YUV video quads don't have any alpha, but texture quads can
have alpha. A totally transparent texture quad would show up as black.

This CL fixes that by applying the underlay validation check to texture
quads. Multiple texture quads are still promoted if possible, but a quad
could be skipped if it's occluded and non-opaque. This CL also adds a
pixel test for this scenario.

Bug: 1122638
Change-Id: I5c4f120d88ce8ad2bd340b7a4aa33d59fe1ef116
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2380161
Commit-Queue: Sunny Sachanandani <sunnyps@chromium.org>
Reviewed-by: Zhenyao Mo <zmo@chromium.org>
Reviewed-by: Maggie Chen <magchen@chromium.org>
Cr-Commit-Position: refs/heads/master@{#805096}
2020-09-08 21:55:58 +00:00
..
2020-07-16 00:22:42 +00:00
2020-08-07 19:20:35 +00:00
2020-08-07 19:20:35 +00:00