summaryrefslogtreecommitdiffstats
path: root/libs/rs/rsProgramVertex.h
diff options
context:
space:
mode:
authorJason Sams <rjsams@android.com>2009-06-17 16:52:59 -0700
committerJason Sams <rjsams@android.com>2009-06-17 16:52:59 -0700
commit9c54bdbf458e3c9433d237ae71cf47c4ec47d852 (patch)
tree5c740a213b3ac7518184f53692191d0f3cd8cc48 /libs/rs/rsProgramVertex.h
parentb37c0a5db65cd8b72cac6a3250faddd1aecb722e (diff)
downloadframeworks_base-9c54bdbf458e3c9433d237ae71cf47c4ec47d852.zip
frameworks_base-9c54bdbf458e3c9433d237ae71cf47c4ec47d852.tar.gz
frameworks_base-9c54bdbf458e3c9433d237ae71cf47c4ec47d852.tar.bz2
Implement default programs and implement defaults and parents for imports.
Diffstat (limited to 'libs/rs/rsProgramVertex.h')
-rw-r--r--libs/rs/rsProgramVertex.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/libs/rs/rsProgramVertex.h b/libs/rs/rsProgramVertex.h
index 0b3a3eb..1a92f01 100644
--- a/libs/rs/rsProgramVertex.h
+++ b/libs/rs/rsProgramVertex.h
@@ -57,6 +57,11 @@ public:
ProgramVertexState();
~ProgramVertexState();
+ void init(Context *rsc, int32_t w, int32_t h);
+
+ ObjectBaseRef<ProgramVertex> mDefault;
+ ObjectBaseRef<Allocation> mDefaultAlloc;
+
ProgramVertex *mPV;
//ObjectBaseRef<Type> mTextureTypes[ProgramFragment::MAX_TEXTURE];