summaryrefslogtreecommitdiffstats
path: root/libs/rs/rsProgramVertex.cpp
diff options
context:
space:
mode:
authorJason Sams <rjsams@android.com>2010-06-22 17:22:13 -0700
committerJason Sams <rjsams@android.com>2010-06-22 17:22:13 -0700
commit7c1f4c38a2d3a972f7dc6f508d3318c11ec539c7 (patch)
tree770928e5210f90d2a262e5f13cac228901d2de67 /libs/rs/rsProgramVertex.cpp
parentef7fa7bc66e3b5cab0519a06ed89c52bfe60d27c (diff)
downloadframeworks_base-7c1f4c38a2d3a972f7dc6f508d3318c11ec539c7.zip
frameworks_base-7c1f4c38a2d3a972f7dc6f508d3318c11ec539c7.tar.gz
frameworks_base-7c1f4c38a2d3a972f7dc6f508d3318c11ec539c7.tar.bz2
Re-enable optimization for detecting nop state changes in fragment
and vertex programs. Change-Id: Ic5b9ecf564d121d7a00a1eed92afb4c4783ce8bc
Diffstat (limited to 'libs/rs/rsProgramVertex.cpp')
-rw-r--r--libs/rs/rsProgramVertex.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/rs/rsProgramVertex.cpp b/libs/rs/rsProgramVertex.cpp
index b8d1461..85d90c7 100644
--- a/libs/rs/rsProgramVertex.cpp
+++ b/libs/rs/rsProgramVertex.cpp
@@ -221,7 +221,7 @@ void ProgramVertex::setupGL2(const Context *rsc, ProgramVertexState *state, Shad
{
//LOGE("sgl2 vtx1 %x", glGetError());
if ((state->mLast.get() == this) && !mDirty) {
- //return;
+ return;
}
rsc->checkError("ProgramVertex::setupGL2 start");