summaryrefslogtreecommitdiff
path: root/tests/cppbasic/compute.cpp
diff options
context:
space:
mode:
authorYang Ni <yangni@google.com>2016-04-06 09:34:34 -0700
committerYang Ni <yangni@google.com>2016-04-06 12:46:06 -0700
commit5e48002cc4a11e9ce63852a77488cfb9f6765c2b (patch)
tree87c5163b7e906c046e4610958bc05ca771b34cd3 /tests/cppbasic/compute.cpp
parent0401a6da2aa1fb6cf9533e906b6187e673110fae (diff)
Avoid accessing TLS in rsClearObject()
Bug: 27874893 Bug: 27925095 rsClearObject() may be called on rsContextDestroy() in the JNI thread, where TLS is not initialized. This also reverted Icca50fade1199b6f530f963e9e694366b7d8cf67 that made rsContextDestroy() go through the FIFO. rsContextDestroy() must happen off the FIFO, since it joins the FIFO consuming thread. Both the rsClearObject() change and the rsContextDestroy() revert need to go together to make RenderScript and Camera CTS tests pass. Hence this single CL for both changes. Change-Id: I5f1d91a4cc1ce9bf2b3386fbef6f1171638b5266 (cherry picked from commit ade3137c22dd91694742145c2d5fe9d6bae17516)
Diffstat (limited to 'tests/cppbasic/compute.cpp')
0 files changed, 0 insertions, 0 deletions