RasterDecoder should not use GL API |
|
Issue descriptionRasterDecoder uses GL API in many places (See[1]). To work with Vulkan, probably we should get rid of them and only use GrContext and ShareImage API. [1] https://cs.chromium.org/search/?q=api()+file:%5Esrc/gpu/command_buffer/service/raster_decoder.cc+package:%5Echromium$&type=cs
,
Sep 19
This definitely needs to be done. The current dependencies on GL are: - getting a handle on GPU memory: Currently using gles2::TextureManager. Shareables will help here. - quickly copying between GPU memory: See CopyTextureCHROMIUMResourceManager Eventually we want all renderer clients other than WebGL to use RasterInterface instead of GLES2Interface. IIRC, we will probably need to support colour space conversions in RasterInterface for that. |
|
►
Sign in to add a comment |
|
Comment 1 by rjkroege@chromium.org
, Sep 19Status: Available (was: Untriaged)