summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/ProgramVertexFixedFunction.java
diff options
context:
space:
mode:
authorStephen Hines <srhines@google.com>2014-04-17 01:02:42 -0700
committerStephen Hines <srhines@google.com>2014-04-17 01:02:42 -0700
commit414fa2c93a763dce6b3adf898fbc68cf13667c07 (patch)
treeb7c323f1599d99024b7703504d60c25ba24f89ef /rs/java/android/renderscript/ProgramVertexFixedFunction.java
parentaa19a2f69c33fdb6499d0bc1cfafced9f572da5b (diff)
Fix improper use of JNI_ABORT for operations where Java objects are written.
In these RS API calls, it is possible (and very likely) that some Java objects are written to via JNI calls into the RS driver. These writes can end up being discarded if we specify JNI_ABORT, particularly if the Java object has been moved due to GC. The change introduces a readonly mode for some macro calls and updates other JNI callers to appropriately skip JNI_ABORT. Change-Id: I8c5f2ae959b3fbc9008c9d2ac4542f2ebab29b06
Diffstat (limited to 'rs/java/android/renderscript/ProgramVertexFixedFunction.java')
0 files changed, 0 insertions, 0 deletions