Reland "viz: RGBA_TEXTURE copy requests in SkiaRenderer"
The original CL was reverted [1] because it broke a few tests running on SkiaRenderer Vk (namely Pixel_Video_Context_Loss_MP4). This was because we only ensure the GL context is current in the ImplOnGpu::InitializeForGL path, but SharedImageFactory always creates a GL backing factory which in turn invokes a few GL API calls in its constructor. This CL fixes the issue by always making the GL context current regardless of Skia backend. [1] https://bugs.chromium.org/p/chromium/issues/detail?id=1111312 Bug: 1111312, 1046788, 971257, 1098435 Change-Id: Ifa5d91dc6d96d2ecc4144be95221cd188095f0e7 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2333991 Commit-Queue: Brian Ho <hob@chromium.org> Reviewed-by:Jonathan Backer <backer@chromium.org> Reviewed-by:
Khushal <khushalsagar@chromium.org> Cr-Commit-Position: refs/heads/master@{#795118}
Showing
This diff is collapsed.
Please register or sign in to comment