Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit ddc9c66b authored by Nolan Scobie's avatar Nolan Scobie
Browse files

[Vulkan] Utilize Skia's new VK_ERROR_DEVICE_LOST callback to log

Skia will invoke this callback when it encounters VK_ERROR_DEVICE_LOST.
Since HWUI enables the VK_EXT_device_fault extension (when available),
additional data should be provided from the driver. If the extension is
not available, Skia will provide a generic `description` indicating
that no info is available.

The goal of this logging is to provide as much verbose information as
possible in the logs, while condensing any differentiating info into a
more succinct crash message to aid clustering.

Copied/adapted from RE's callback landed in:
Ibda00573a1db9d8aaa83057207f0f699cc756e33

Bug: 313369997
Test: manually forced crash
Change-Id: If6a6d04ea99cf6f270c8b481e325d9e0ee548385
parent 37d7dedf
Loading
Loading
Loading
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