summaryrefslogtreecommitdiffstats
path: root/libs/rs/rsVertexArray.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 /libs/rs/rsVertexArray.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 'libs/rs/rsVertexArray.cpp')
-rw-r--r--libs/rs/rsVertexArray.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/libs/rs/rsVertexArray.cpp b/libs/rs/rsVertexArray.cpp
index 6937a85..001927c 100644
--- a/libs/rs/rsVertexArray.cpp
+++ b/libs/rs/rsVertexArray.cpp
@@ -144,10 +144,8 @@ void VertexArray::setupGL2(const Context *rsc, class VertexArrayState *state, Sh
slot = 1;
} else if (mAttribs[ct].name == "normal") {
slot = 2;
- } else if (mAttribs[ct].name == "pointSize") {
- slot = 3;
} else if (mAttribs[ct].name == "texture0") {
- slot = 4;
+ slot = 3;
} else {
continue;
}