-
Notifications
You must be signed in to change notification settings - Fork 6.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Make compound backing work with GLTextureImageBacking
Make GLTextureImageBacking work with compound image backing and have it replace GLImageBacking for shared memory GMBs. GLTextureImageBackingFactory ignores scanout usage for shared memory GMBs to match existing behaviour in GLImageBackingFactory. This also removes the GLImageBackingFactory functionality to work with shared memory GMBs and having two instances of the factory. Unfortunately GLTextureImageBackingFactory needs two instances, one for regular GL textures and one for shared memory GMBs, to ensure we pick the right backing type on Windows. This should be a temporary state until usage flags to specify when D3D backing, eg. supporting CopyToGpuMemoryBuffer() and ProduceMemory() for overlay path, are needed get added. Bug: 1293509 Change-Id: I6eb071c8b27f92a2cbcafbb6145f4c05ce04c000 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3774213 Reviewed-by: Vasiliy Telezhnikov <vasilyt@chromium.org> Commit-Queue: Kyle Charbonneau <kylechar@chromium.org> Cr-Commit-Position: refs/heads/main@{#1035129}
- Loading branch information
kylechar
authored and
Chromium LUCI CQ
committed
Aug 15, 2022
1 parent
fe1a3b4
commit 8d6fa86
Showing
14 changed files
with
94 additions
and
106 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.