-
Notifications
You must be signed in to change notification settings - Fork 6.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[GLImage] Restrict GLImageMemory creation
GLImageMemory is now created in production only from the relevant SharedImage backing. This CL hardcodes this restriction to ensure that it does not regress as we seek to eliminate GLImage. Note that GLImage is a start-from-0 refcounted type (i.e., the default), for which the correct conversion from base::MakeRefCounted(...) when making the constructor private with a friend class is base::WrapRefCounted(new T(...)). Bug: 1310018, 1382031 Change-Id: I52851f394f99661faef891469993b89b98b5a8f6 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4055102 Reviewed-by: Peng Huang <penghuang@chromium.org> Commit-Queue: Colin Blundell <blundell@chromium.org> Cr-Commit-Position: refs/heads/main@{#1076757}
- Loading branch information
1 parent
ce0f365
commit 549a43f
Showing
5 changed files
with
37 additions
and
7 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