SkiaRenderer: Fix RGB and RGB565 formats
This CL fixes color type that we pass to the skia for the FBO0. It changes two things: * Use RGB565 if the surface uses 16 bit format . * Fallback to RGBA is skia doesn't support rgb color type. Bug: 1126490 Change-Id: I6f5342ac7bb128134afc2c5182a6c6b99600c7a9 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2441311 Commit-Queue: Vasiliy Telezhnikov <vasilyt@chromium.org> Reviewed-by:Jonathan Backer <backer@chromium.org> Cr-Commit-Position: refs/heads/master@{#813787}
Showing
Please register or sign in to comment