SkiaRenderer: fix low end device mode related crash
In low end device mode, the GLContext is created to be compatible to GLSurfaces with RGB565 format. Right now, SkiaOutputSurfaceDependencyImpl::CreateGLSurface() creates GLSurface with default format which is RGBA8888. It isn't compatible to the GLContext. It causes MakeCurrent fail. Bug: 1033170 Change-Id: Id372e0dee73a01b8e7511bbef6740481b890d742 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2016338Reviewed-by:kylechar <kylechar@chromium.org> Reviewed-by:
Bo <boliu@chromium.org> Commit-Queue: Bo <boliu@chromium.org> Auto-Submit: Peng Huang <penghuang@chromium.org> Cr-Commit-Position: refs/heads/master@{#735410}
Showing
Please register or sign in to comment