Fix a crash with SkiaRenderer + DDL + Vulkan.
With vulkan, if a client (renderer, ui, etc) creates a texture with wrong interface(GLES2Interface), the viz process will crash without any useful information. This CL will fix the problem by logging a error message instead of crashing. Bug: 838899 Change-Id: I8e0c5ba162f8e4de3b0bd10899944c6b0ea89272 Reviewed-on: https://chromium-review.googlesource.com/c/1342802 Commit-Queue: Peng Huang <penghuang@chromium.org> Reviewed-by:weiliangc <weiliangc@chromium.org> Cr-Commit-Position: refs/heads/master@{#609440}
Showing
Please register or sign in to comment