diff options
author | Jason Sams <jsams@google.com> | 2012-08-10 12:09:43 -0700 |
---|---|---|
committer | Jason Sams <jsams@google.com> | 2012-08-14 12:06:00 -0700 |
commit | 6ab97682fd444586ee135912a4210417a1c8781b (patch) | |
tree | d05c0b2ced2826d898d6833f2a005edce63ce7f5 /graphics/jni | |
parent | 578531082b8e8c8aa03868e69591b7613b0e8b8e (diff) | |
download | frameworks_base-6ab97682fd444586ee135912a4210417a1c8781b.zip frameworks_base-6ab97682fd444586ee135912a4210417a1c8781b.tar.gz frameworks_base-6ab97682fd444586ee135912a4210417a1c8781b.tar.bz2 |
Intrinsics test
Change-Id: I1847ad0c9190100eb84f7e052dd9f3bff81dc447
Diffstat (limited to 'graphics/jni')
-rw-r--r-- | graphics/jni/android_renderscript_RenderScript.cpp | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/graphics/jni/android_renderscript_RenderScript.cpp b/graphics/jni/android_renderscript_RenderScript.cpp index 09f6952..a073c1a 100644 --- a/graphics/jni/android_renderscript_RenderScript.cpp +++ b/graphics/jni/android_renderscript_RenderScript.cpp @@ -1071,6 +1071,13 @@ exit: return ret; } +static jint +nScriptIntrinsicCreate(JNIEnv *_env, jobject _this, RsContext con, jint id, jint eid) +{ + LOG_API("nScriptIntrinsicCreate, con(%p) id(%i) element(%p)", con, id, (void *)eid); + return (jint)rsScriptIntrinsicCreate(con, id, (RsElement)eid); +} + // --------------------------------------------------------------------------- static jint @@ -1412,6 +1419,7 @@ static JNINativeMethod methods[] = { {"rsnScriptSetVarObj", "(IIII)V", (void*)nScriptSetVarObj }, {"rsnScriptCCreate", "(ILjava/lang/String;Ljava/lang/String;[BI)I", (void*)nScriptCCreate }, +{"rsnScriptIntrinsicCreate", "(III)I", (void*)nScriptIntrinsicCreate }, {"rsnProgramStoreCreate", "(IZZZZZZIII)I", (void*)nProgramStoreCreate }, |