diff options
author | Stan Iliev <stani@google.com> | 2019-02-03 18:01:02 -0500 |
---|---|---|
committer | Stan Iliev <stani@google.com> | 2019-02-04 11:51:20 -0500 |
commit | 90276c86219c128d1343c6b26d95014fdd40b7fd (patch) | |
tree | 3abb27a51750062bf646390c4dfe2a15a75b077c /rs/java/android/renderscript/ProgramStore.java | |
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
Diffstat (limited to 'rs/java/android/renderscript/ProgramStore.java')
0 files changed, 0 insertions, 0 deletions