[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
Loading
Please register or sign in to comment