Support overlays with SkiaOutputDeviceBufferQueue
This CL supports overlays with SkiaOutputDeviceBufferQueue via GLSurface. However this CL doesn't change the code in features::IsUsingSkiaRenderer() at [1], so SkiaRenderer is not used with Android surface control. [1] https://cs.chromium.org/chromium/src/components/viz/common/features.cc?type=cs&sq=package:chromium&g=0&l=76 TODO: * Refactor overlay related code out of GLSurface to a new class. those code is not GL related. * Use the new class to replace gl_surface_ in SkiaOutputDeviceBufferQueue. * Turn on SkiaRenderer with Android surface control. * Long term, we plan to use viz::BufferQueue for overlays. We need refactor overlay related code from SkiaOutputDevice* to a service side BufferQueue on GPU thread. Bug: 1012401 Change-Id: Ic66072cad8df72a1e4375a895ac4af5fde42a5f0 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1949270 Commit-Queue: Peng Huang <penghuang@chromium.org> Reviewed-by:Vasiliy Telezhnikov <vasilyt@chromium.org> Cr-Commit-Position: refs/heads/master@{#721491}
Showing
Please register or sign in to comment