diff options
author | Jason Sams <rjsams@android.com> | 2010-05-17 14:55:34 -0700 |
---|---|---|
committer | Jason Sams <rjsams@android.com> | 2010-05-17 14:55:34 -0700 |
commit | 1de0b87168837cfcd9318bec5c97d2e7d78d3293 (patch) | |
tree | 6b6cd8ea2a55597e3fd3573072cb85af892be731 /graphics/jni | |
parent | 38a9544825c6f3482237f9e29cddee58ebc093c3 (diff) | |
download | frameworks_base-1de0b87168837cfcd9318bec5c97d2e7d78d3293.zip frameworks_base-1de0b87168837cfcd9318bec5c97d2e7d78d3293.tar.gz frameworks_base-1de0b87168837cfcd9318bec5c97d2e7d78d3293.tar.bz2 |
Remove more pieces of setRoot. Add pointer to allocation lookup for scripts.
Change-Id: I2c3075d2056f02bb834bfad403dc72da991f3156
Diffstat (limited to 'graphics/jni')
-rw-r--r-- | graphics/jni/android_renderscript_RenderScript.cpp | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/graphics/jni/android_renderscript_RenderScript.cpp b/graphics/jni/android_renderscript_RenderScript.cpp index 65a6e6d..7170e5a 100644 --- a/graphics/jni/android_renderscript_RenderScript.cpp +++ b/graphics/jni/android_renderscript_RenderScript.cpp @@ -949,13 +949,6 @@ nScriptInvokeV(JNIEnv *_env, jobject _this, jint script, jint slot, jbyteArray d _env->ReleaseByteArrayElements(data, ptr, JNI_ABORT); } -static void -nScriptSetRoot(JNIEnv *_env, jobject _this, jboolean isRoot) -{ - RsContext con = (RsContext)(_env->GetIntField(_this, gContextId)); - LOG_API("nScriptCSetRoot, con(%p), isRoot(%i)", con, isRoot); - rsScriptSetRoot(con, isRoot); -} // ----------------------------------- @@ -1421,7 +1414,6 @@ static JNINativeMethod methods[] = { {"nScriptSetClearDepth", "(IF)V", (void*)nScriptSetClearDepth }, {"nScriptSetClearStencil", "(II)V", (void*)nScriptSetClearStencil }, {"nScriptSetTimeZone", "(I[B)V", (void*)nScriptSetTimeZone }, -{"nScriptSetRoot", "(Z)V", (void*)nScriptSetRoot }, {"nScriptInvoke", "(II)V", (void*)nScriptInvoke }, {"nScriptInvokeData", "(II)V", (void*)nScriptInvokeData }, {"nScriptInvokeV", "(II[B)V", (void*)nScriptInvokeV }, |