OSDN Git Service

Add rsnScriptForEachClipped() implementation with no param array.
authorStephen Hines <srhines@google.com>
Wed, 13 Feb 2013 08:09:02 +0000 (00:09 -0800)
committerStephen Hines <srhines@google.com>
Wed, 13 Feb 2013 08:09:02 +0000 (00:09 -0800)
commitdac6ed0b69b23ab25757085dd5ce68092516ee2f
tree6dea6180df015a6f29346679c6181d78fedafce3
parent7d9cf2b74236953671d20f5634f3b4234c25c6fa
Add rsnScriptForEachClipped() implementation with no param array.

JNI doesn't let us pass down a NULL parameter array (from the usrData part
of our reflection). In this case, we simply clone our existing function, but
remove the offending array parameter.

Change-Id: Ib1d6e202f2a55ba8922eec3da5a93d8daa882250
graphics/java/android/renderscript/RenderScript.java
graphics/jni/android_renderscript_RenderScript.cpp