-
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.
WebGL: Make TexImageImpl use generic mechanisms
Add an overload of WebGLRenderingContextBase::TexImageImpl that takes a TexImageParams, and call that from the non-TexImageParams version of the function. Change ImagePixelLocker to expose the underlying SkPixmap, and change ImageExtractor to expose its ImagePixelLocker's SkPixmap. Change TexImageParams to call TexImageSkPixmap. Bug: 1310815 Change-Id: I217ddb5c918571dc78fc400ef535c37078d792b1 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3570398 Reviewed-by: Justin Novosad <junov@chromium.org> Reviewed-by: Kai Ninomiya <kainino@chromium.org> Commit-Queue: ccameron chromium <ccameron@chromium.org> Cr-Commit-Position: refs/heads/main@{#989576}
- Loading branch information
1 parent
66dc513
commit badb39a
Showing
6 changed files
with
92 additions
and
125 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