diff options
author | Jason Sams <rjsams@android.com> | 2010-05-19 17:22:57 -0700 |
---|---|---|
committer | Jason Sams <rjsams@android.com> | 2010-05-19 17:23:08 -0700 |
commit | d79b2e9f8b0fa43f6734aaa5e9d0d389d5da5109 (patch) | |
tree | e2eb06363ce3d83f447bac87e385835a4314d7ac /graphics/jni | |
parent | d52498a64ff0bef28cd48ed28acd84a680a1d9b5 (diff) | |
download | frameworks_base-d79b2e9f8b0fa43f6734aaa5e9d0d389d5da5109.zip frameworks_base-d79b2e9f8b0fa43f6734aaa5e9d0d389d5da5109.tar.gz frameworks_base-d79b2e9f8b0fa43f6734aaa5e9d0d389d5da5109.tar.bz2 |
Begin naming cleanup for renderscript runtime.
Prefix functions with "rs" or "rsg".
Change-Id: I4435b486831bfab1ea473ccfad435b404e68f1c9
Diffstat (limited to 'graphics/jni')
-rw-r--r-- | graphics/jni/android_renderscript_RenderScript.cpp | 26 |
1 files changed, 0 insertions, 26 deletions
diff --git a/graphics/jni/android_renderscript_RenderScript.cpp b/graphics/jni/android_renderscript_RenderScript.cpp index 7170e5a..223ef4b 100644 --- a/graphics/jni/android_renderscript_RenderScript.cpp +++ b/graphics/jni/android_renderscript_RenderScript.cpp @@ -880,29 +880,6 @@ nScriptSetVarV(JNIEnv *_env, jobject _this, jint script, jint slot, jbyteArray d _env->ReleaseByteArrayElements(data, ptr, JNI_ABORT); } -static void -nScriptSetClearColor(JNIEnv *_env, jobject _this, jint script, jfloat r, jfloat g, jfloat b, jfloat a) -{ - RsContext con = (RsContext)(_env->GetIntField(_this, gContextId)); - LOG_API("nScriptSetClearColor, con(%p), s(%p), r(%f), g(%f), b(%f), a(%f)", con, (void *)script, r, g, b, a); - rsScriptSetClearColor(con, (RsScript)script, r, g, b, a); -} - -static void -nScriptSetClearDepth(JNIEnv *_env, jobject _this, jint script, jfloat d) -{ - RsContext con = (RsContext)(_env->GetIntField(_this, gContextId)); - LOG_API("nScriptCSetClearDepth, con(%p), s(%p), depth(%f)", con, (void *)script, d); - rsScriptSetClearDepth(con, (RsScript)script, d); -} - -static void -nScriptSetClearStencil(JNIEnv *_env, jobject _this, jint script, jint stencil) -{ - RsContext con = (RsContext)(_env->GetIntField(_this, gContextId)); - LOG_API("nScriptCSetClearStencil, con(%p), s(%p), stencil(%i)", con, (void *)script, stencil); - rsScriptSetClearStencil(con, (RsScript)script, stencil); -} static void nScriptSetTimeZone(JNIEnv *_env, jobject _this, jint script, jbyteArray timeZone) @@ -1410,9 +1387,6 @@ static JNINativeMethod methods[] = { {"nAdapter2DCreate", "()I", (void*)nAdapter2DCreate }, {"nScriptBindAllocation", "(III)V", (void*)nScriptBindAllocation }, -{"nScriptSetClearColor", "(IFFFF)V", (void*)nScriptSetClearColor }, -{"nScriptSetClearDepth", "(IF)V", (void*)nScriptSetClearDepth }, -{"nScriptSetClearStencil", "(II)V", (void*)nScriptSetClearStencil }, {"nScriptSetTimeZone", "(I[B)V", (void*)nScriptSetTimeZone }, {"nScriptInvoke", "(II)V", (void*)nScriptInvoke }, {"nScriptInvokeData", "(II)V", (void*)nScriptInvokeData }, |