Skip to content
Snippets Groups Projects
Commit 41c00c53 authored by Leon Scroggins III's avatar Leon Scroggins III
Browse files

RE: Better error messages for context lost and SkiaVk

As in HWUI's CanvasContext::draw, check whether the context has been
abandoned at the beginning of a frame. Previously, RE never checked for
this, though it may have been responsible for other spurious failures,
such as "Unable to generate SkSurface".

When RE fails to generate an SkSurface/SkImage, query the backend to
determine which method to call to get more information about the
texture. This allows us to get meaningful information when running
SkiaVk.

Bug: 286058063
Test: manual - build and boot with gl and vk
Test: manual - change fatal logs to ALOGD always
Change-Id: I532f9073698a920619ffd665d05d8e63163366d8
parent c16c3d24
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment