summaryrefslogtreecommitdiff
path: root/libs/rs/rsProgramVertex.h
diff options
context:
space:
mode:
author Jason Sams <rjsams@android.com> 2010-01-06 11:57:52 -0800
committer Jason Sams <rjsams@android.com> 2010-01-06 12:01:51 -0800
commita09a6e145b778861f7abee86ce17e59507ed221e (patch)
tree15221ba7d657a5a75ec3f6ae2804c1b79a07a969 /libs/rs/rsProgramVertex.h
parent432bff01ec67533dbbb6ed27cb190c99e83ea226 (diff)
More complete support for named attribs. Adds user typed attribs as available to programVertex. Non user attribs are not treated like user for GL2 for simplicity.
Diffstat (limited to 'libs/rs/rsProgramVertex.h')
-rw-r--r--libs/rs/rsProgramVertex.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/libs/rs/rsProgramVertex.h b/libs/rs/rsProgramVertex.h
index 8c63d82632ac..dcb988c1ab5e 100644
--- a/libs/rs/rsProgramVertex.h
+++ b/libs/rs/rsProgramVertex.h
@@ -59,6 +59,9 @@ protected:
// Hacks to create a program for now
bool mTextureMatrixEnable;
+
+private:
+ void initAddUserAttrib(const Element *e);
};