Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Remove shared memory from ExternalVkImageBacking
Use CompoundImageBacking to hold shared memory segment for ExternalVkImageBacking. ExternalVkImageBacking still has owns both VkImage and GL texture with logic to copy between them as needed. This is the last GPU backing that can directly handle shared memory GMBs so SharedImageFactory::CreateSharedMemory() can now try to find a compatible factory and if that fails fallback to using CompoundImageBacking containing another GPU backing. LOW_COVERAGE_REASON=Removing parts of ExternalVkImageBacking to use shared (and tested) code in CompoundImageBacking. Bug: 1293509 Change-Id: Id289a2ed8ef86443dc2067116253d561f93aef8f Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3919314 Reviewed-by: Vasiliy Telezhnikov <vasilyt@chromium.org> Commit-Queue: Kyle Charbonneau <kylechar@chromium.org> Cr-Commit-Position: refs/heads/main@{#1053156}
- Loading branch information
kylechar
authored and
Chromium LUCI CQ
committed
Sep 29, 2022
1 parent
f76e382
commit e06e2b9
Showing
5 changed files
with
65 additions
and
118 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