diff options
author | Kevin Han <kevhan@google.com> | 2020-03-20 19:24:24 -0700 |
---|---|---|
committer | Kevin Han <kevhan@google.com> | 2020-04-01 18:17:06 -0700 |
commit | b0fefa4c7df67a837333da32b9414b2aa03cc955 (patch) | |
tree | 7719cf44acb651bcb20f688431ea15cdd4bdb0d1 /rs/java/android/renderscript/ProgramVertexFixedFunction.java | |
parent | 273bb0df015e02279d2c3900d42ed7aef74c3360 (diff) |
Fix modifying NBP callbacks in the callback
As callbacks can themselves request rebinds, they were modifying
NotifBindPipeline's callback list while it was still resolving the
previous pipeline completion. By marshalling all callbacks into a
scratch list and then iterating, we solve this issue.
Bug: 112656837
Test: atest NotifBindPipelineTest
Test: Notify apk group cancel test
Change-Id: I5a528d65a683a070c31b04da80b3a83d00dbce49
Diffstat (limited to 'rs/java/android/renderscript/ProgramVertexFixedFunction.java')
0 files changed, 0 insertions, 0 deletions