diff options
author | Jason Sams <rjsams@android.com> | 2011-09-23 14:18:53 -0700 |
---|---|---|
committer | Jason Sams <rjsams@android.com> | 2011-09-23 14:18:53 -0700 |
commit | 94aaed38467c71a6c804f0e18b41346a4013c25b (patch) | |
tree | b64c609a2afd305f81b3971a8e3811e5053bc2de /graphics/jni | |
parent | e94d950d122005bb10e11dd18b6029d0108f2fbe (diff) | |
download | frameworks_base-94aaed38467c71a6c804f0e18b41346a4013c25b.zip frameworks_base-94aaed38467c71a6c804f0e18b41346a4013c25b.tar.gz frameworks_base-94aaed38467c71a6c804f0e18b41346a4013c25b.tar.bz2 |
Remove unused fields in ProgramRaster
Change-Id: I70c9d47674c956ec850c178c7aaa9a5e3dd9dffb
Diffstat (limited to 'graphics/jni')
-rw-r--r-- | graphics/jni/android_renderscript_RenderScript.cpp | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/graphics/jni/android_renderscript_RenderScript.cpp b/graphics/jni/android_renderscript_RenderScript.cpp index d7ac5d8..ec1f8de 100644 --- a/graphics/jni/android_renderscript_RenderScript.cpp +++ b/graphics/jni/android_renderscript_RenderScript.cpp @@ -1053,12 +1053,10 @@ nProgramVertexCreate(JNIEnv *_env, jobject _this, RsContext con, jstring shader, // --------------------------------------------------------------------------- static jint -nProgramRasterCreate(JNIEnv *_env, jobject _this, RsContext con, jboolean pointSmooth, - jboolean lineSmooth, jboolean pointSprite, jfloat lineWidth, jint cull) +nProgramRasterCreate(JNIEnv *_env, jobject _this, RsContext con, jboolean pointSprite, jint cull) { - LOG_API("nProgramRasterCreate, con(%p), pointSmooth(%i), lineSmooth(%i), pointSprite(%i)", - con, pointSmooth, lineSmooth, pointSprite); - return (jint)rsProgramRasterCreate(con, pointSmooth, lineSmooth, pointSprite, lineWidth, (RsCullMode)cull); + LOG_API("nProgramRasterCreate, con(%p), pointSprite(%i), cull(%i)", con, pointSprite, cull); + return (jint)rsProgramRasterCreate(con, pointSprite, (RsCullMode)cull); } @@ -1295,7 +1293,7 @@ static JNINativeMethod methods[] = { {"rsnProgramBindSampler", "(IIII)V", (void*)nProgramBindSampler }, {"rsnProgramFragmentCreate", "(ILjava/lang/String;[I)I", (void*)nProgramFragmentCreate }, -{"rsnProgramRasterCreate", "(IZZZFI)I", (void*)nProgramRasterCreate }, +{"rsnProgramRasterCreate", "(IZI)I", (void*)nProgramRasterCreate }, {"rsnProgramVertexCreate", "(ILjava/lang/String;[I)I", (void*)nProgramVertexCreate }, {"rsnContextBindRootScript", "(II)V", (void*)nContextBindRootScript }, |