0
Files
src/gpu
Saifuddin Hitawala 149335fea2 Reland "WrappedSkImage - Unify support check between GL/Vulkan"
Changes from Original CL:
exo/buffer.cc creates a texture which is used by
RasterImplementationGLES. Accordingly, it should create
GLTextureRepresentation which is created if there is GLES2 usage which
was not set by the exo client and as a result it was trying to
ProduceGLTexture through WrappedSkImage. Here, we set the GLES2 usage
to make sure GLTexture backing is used for creating
GLTextureRepresentation.

Original CL Description:
WrappedSkImage earlier checked for usage support based on whether
SkiaRenderer was used with GL or Vulkan. Now, we don't have a special
path for GL anymore and that has been removed as part of CopySubTexture
for GL removal in RasterDecoder. As a result, GL and Vulkan work the
same and so we unify it here in the IsSupported check.

Also, fix the RasterDecoder unit tests which earlier tested with
SharedImageGLRepresentation instead of SharedImageSkiaRepresentation.

ash-chrome on Linux (go/lacros-build) on gLinux cloudtop

Test: Tested following instructions building lacros-chrome plus
Bug: 1332891, 1334092, 1332529
Change-Id: I52d830b1a983aab648ec47c6e1fa04b31a376598
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3694395
Commit-Queue: Saifuddin Hitawala <hitawala@chromium.org>
Reviewed-by: Vasiliy Telezhnikov <vasilyt@chromium.org>
Reviewed-by: Kramer Ge <fangzhoug@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1012568}
2022-06-09 17:15:58 +00:00
..
2022-06-08 22:59:56 +00:00
2022-06-07 00:03:16 +00:00
2022-06-07 00:03:16 +00:00