0
Files
src/gpu
Colin Blundell b74efb8957 [//ash] Guard RoundedDisplayFrameFactory SCANOUT usage by SI support
RoundedDisplayFrameFactory adds SCANOUT SharedImage usage in contexts
where overlays are not actually supported (e.g., Flex in production and
ChromeOS-on-Linux in testing). As a result, GLTextureImageBacking needs
to support SCANOUT usage even though it is not actually capable of
producing overlays.

This CL guards RoundedDisplayFrameFactory's addition of SCANOUT usage by
the relevant SharedImage support for scanout being present.  For safety,
this change is under a killswitch.

Bug: 330865436
Change-Id: I1fad4c3261291b360e8671295ebc22eceea81abd
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5938547
Commit-Queue: Colin Blundell <blundell@chromium.org>
Reviewed-by: Zoraiz Naeem <zoraiznaeem@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1373573}
2024-10-24 21:00:22 +00:00
..
2024-10-24 19:43:47 +00:00