diff options
author | Robert Carr <racarr@google.com> | 2019-09-20 14:31:24 -0700 |
---|---|---|
committer | Robert Carr <racarr@google.com> | 2019-09-20 14:48:40 -0700 |
commit | 005c63e8c6e6e5b312dc9c4631c57fb12224df30 (patch) | |
tree | 939eaeca0159a44bca7b5abf44f41f5096c1fb90 /rs/java/android/renderscript/ProgramFragmentFixedFunction.java | |
parent | c48da419931a3a9272910f2631f815cecf05c9ba (diff) |
SurfaceView: Destroy SurfaceControl from RenderThread
Currently there is a race where the UI thread can destroy
the SurfaceControl (free the C++ object) while the RenderThread
still has pending operations on it. To fix have the positionLost callback handle the destruction.
Bug: 139111930
Bug: 136808018
Test: go/wm-smoke
Change-Id: Id5225e1e47046d928f8298de38ff61662debe360
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions