summaryrefslogtreecommitdiffstats
path: root/graphics/jni
diff options
context:
space:
mode:
authorJason Sams <rjsams@android.com>2010-08-17 19:28:29 -0700
committerJason Sams <rjsams@android.com>2010-08-17 19:28:29 -0700
commitd78be37d81f6c1aba75180c7608753a027a881ee (patch)
treee13892a43a7f497b32ed2d00d0ac6034458efe10 /graphics/jni
parent2e1872fe07cf8952812a417985e6e1f61bdeab5d (diff)
downloadframeworks_base-d78be37d81f6c1aba75180c7608753a027a881ee.zip
frameworks_base-d78be37d81f6c1aba75180c7608753a027a881ee.tar.gz
frameworks_base-d78be37d81f6c1aba75180c7608753a027a881ee.tar.bz2
Remove OOB object destruction.
Change-Id: Icaa06aca4a701ec663c124d3141d9dbb633d7dc1
Diffstat (limited to 'graphics/jni')
-rw-r--r--graphics/jni/android_renderscript_RenderScript.cpp9
1 files changed, 0 insertions, 9 deletions
diff --git a/graphics/jni/android_renderscript_RenderScript.cpp b/graphics/jni/android_renderscript_RenderScript.cpp
index 3b85fdd..3624678 100644
--- a/graphics/jni/android_renderscript_RenderScript.cpp
+++ b/graphics/jni/android_renderscript_RenderScript.cpp
@@ -117,14 +117,6 @@ nObjDestroy(JNIEnv *_env, jobject _this, RsContext con, jint obj)
rsObjDestroy(con, (void *)obj);
}
-static void
-nObjDestroyOOB(JNIEnv *_env, jobject _this, RsContext con, jint obj)
-{
- // This function only differs from nObjDestroy in that it calls the
- // special Out Of Band version of ObjDestroy which is thread safe.
- LOG_API("nObjDestroyOOB, con(%p) obj(%p)", con, (void *)obj);
- rsObjDestroyOOB(con, (void *)obj);
-}
static jint
nFileOpen(JNIEnv *_env, jobject _this, RsContext con, jbyteArray str)
@@ -1377,7 +1369,6 @@ static JNINativeMethod methods[] = {
{"rsnAssignName", "(II[B)V", (void*)nAssignName },
{"rsnGetName", "(II)Ljava/lang/String;", (void*)nGetName },
{"rsnObjDestroy", "(II)V", (void*)nObjDestroy },
-{"rsnObjDestroyOOB", "(II)V", (void*)nObjDestroyOOB },
{"rsnFileOpen", "(I[B)I", (void*)nFileOpen },
{"rsnFileA3DCreateFromAssetStream", "(II)I", (void*)nFileA3DCreateFromAssetStream },