gpu: Add a GL representation for Ozone SharedImage
This CL creates a SharedImageRepresentationGLTexture for Ozone-based SharedImages. The representation creates a GLImage from the pixmap via GLImageNativePixmap::Initialize and then binds it to a GL texture. Like in the case of the Pixmap Dawn representation, synchronization will be added in a future CL. Also, updates SharedImageBackingOzone to properly track the cleared rect now that it is being used on SIRGLTexture::BeginAccess as per chromium-review.googlesource.com/1990195. Bug: 1023997,996470 Change-Id: Icacf20bc0f754fbc8acb37693618f2aca64568e8 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1913085 Commit-Queue: Brian Ho <hob@chromium.org> Reviewed-by:Khushal <khushalsagar@chromium.org> Reviewed-by:
Daniele Castagna <dcastagna@chromium.org> Cr-Commit-Position: refs/heads/master@{#738665}
Showing
Please register or sign in to comment