summaryrefslogtreecommitdiffstats
path: root/graphics/jni/android_renderscript_RenderScript.cpp
diff options
context:
space:
mode:
authorJason Sams <rjsams@android.com>2010-07-09 15:34:32 -0700
committerJason Sams <rjsams@android.com>2010-07-09 15:34:32 -0700
commit53a93d5e917038504ba4422e4ad346ae37131365 (patch)
tree87e761cec60c13650f753382148ce10e64d18321 /graphics/jni/android_renderscript_RenderScript.cpp
parent82164ad543b4eb6c11937b2a81891443317709cc (diff)
downloadframeworks_base-53a93d5e917038504ba4422e4ad346ae37131365.zip
frameworks_base-53a93d5e917038504ba4422e4ad346ae37131365.tar.gz
frameworks_base-53a93d5e917038504ba4422e4ad346ae37131365.tar.bz2
Remove points from fixed function.
Add basic GL performance test. Change-Id: I421a41b6683b2c5f70045cdd0f610a6939105fee
Diffstat (limited to 'graphics/jni/android_renderscript_RenderScript.cpp')
-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 cbc24c4..66606aa 100644
--- a/graphics/jni/android_renderscript_RenderScript.cpp
+++ b/graphics/jni/android_renderscript_RenderScript.cpp
@@ -1213,14 +1213,6 @@ nProgramRasterCreate(JNIEnv *_env, jobject _this, jint in, jint out,
}
static void
-nProgramRasterSetPointSize(JNIEnv *_env, jobject _this, jint vpr, jfloat v)
-{
- RsContext con = (RsContext)(_env->GetIntField(_this, gContextId));
- LOG_API("nProgramRasterSetPointSize, con(%p), vpf(%p), value(%f)", con, (RsProgramRaster)vpr, v);
- rsProgramRasterSetPointSize(con, (RsProgramFragment)vpr, v);
-}
-
-static void
nProgramRasterSetLineWidth(JNIEnv *_env, jobject _this, jint vpr, jfloat v)
{
RsContext con = (RsContext)(_env->GetIntField(_this, gContextId));
@@ -1482,7 +1474,6 @@ static JNINativeMethod methods[] = {
{"nProgramFragmentCreate2", "(Ljava/lang/String;[I)I", (void*)nProgramFragmentCreate2 },
{"nProgramRasterCreate", "(IIZZZ)I", (void*)nProgramRasterCreate },
-{"nProgramRasterSetPointSize", "(IF)V", (void*)nProgramRasterSetPointSize },
{"nProgramRasterSetLineWidth", "(IF)V", (void*)nProgramRasterSetLineWidth },
{"nProgramVertexCreate", "(Z)I", (void*)nProgramVertexCreate },