commit | 90276c86219c128d1343c6b26d95014fdd40b7fd | [log] [tgz] |
---|---|---|
author | Stan Iliev <[email protected]> | Sun Feb 03 18:01:02 2019 -0500 |
committer | Stan Iliev <[email protected]> | Mon Feb 04 11:51:20 2019 -0500 |
tree | 3abb27a51750062bf646390c4dfe2a15a75b077c | |
parent | 912ca4023c22c53d3526ce89fd6e7e1a90fe8e58 [diff] |
Fix crash when VulkanSurface is no longer valid SkiaVulkanPipeline::mVkSurface can become obsolete if RenderThread destroys Vulkan context. This CL enables RenderThread to notify active Vulkan pipelines that their surface is invalid. Improve error handling, when trying to draw a frame with null VulkanSurface. Bug: 123640274 Bug: 123541940 Test: Ran several apps Change-Id: If7fba00713d097192c96179df36e90b54f4f8090