diff options
| author | Stan Iliev <stani@google.com> | 2019-03-26 15:14:34 -0400 |
|---|---|---|
| committer | Stan Iliev <stani@google.com> | 2019-03-26 15:14:34 -0400 |
| commit | bc5f06bdaa95da7e2a94d8827fffbadad7bc813d (patch) | |
| tree | f1504301fc81b3680363f719e8d3903b27740181 /rs/java/android/renderscript/Program.java | |
| parent | dece92b28744012f6db87f5100b511cd459218a1 (diff) | |
Fix crash after dequeueNativeBuffer fails
Anytime dequeueNativeBuffer fails, it sets mDequeuedIndex to -1.
This is causing a crash latter, when getCurrentSkSurface tries
to index mNativeBuffers[mDequeuedIndex].
This CL removes mDequeuedIndex and improves Vulkan swapchain
error handling.
Test: Ran Camera app
Bug: 129024275
Change-Id: Ieeb685c3a1b33f23ce2334d286199a44ace53165
Diffstat (limited to 'rs/java/android/renderscript/Program.java')
0 files changed, 0 insertions, 0 deletions
