diff options
| author | Jason Sams <rjsams@android.com> | 2009-12-15 12:58:36 -0800 |
|---|---|---|
| committer | Jason Sams <rjsams@android.com> | 2009-12-15 12:58:36 -0800 |
| commit | 0011bcf57ff711a221a3a4c73f2a79125111647d (patch) | |
| tree | e2030624a41f8c6f07856841d98bc088b1cb2640 /libs/rs/rsProgramVertex.h | |
| parent | 11fbdf50206abc9d21fd72ce7536648f083b9148 (diff) | |
| download | frameworks_base-0011bcf57ff711a221a3a4c73f2a79125111647d.zip frameworks_base-0011bcf57ff711a221a3a4c73f2a79125111647d.tar.gz frameworks_base-0011bcf57ff711a221a3a4c73f2a79125111647d.tar.bz2 | |
Continue development of es2.0 user shader support for renderscript. This change cleans up ProgramVertex creation and adds support for passing input, output, and constant type info.
Diffstat (limited to 'libs/rs/rsProgramVertex.h')
| -rw-r--r-- | libs/rs/rsProgramVertex.h | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/libs/rs/rsProgramVertex.h b/libs/rs/rsProgramVertex.h index aa626da..b3115a3 100644 --- a/libs/rs/rsProgramVertex.h +++ b/libs/rs/rsProgramVertex.h @@ -30,7 +30,9 @@ class ProgramVertex : public Program public: const static uint32_t MAX_LIGHTS = 8; - ProgramVertex(Context *, Element *in, Element *out); + ProgramVertex(Context *,const char * shaderText, uint32_t shaderLength, + const uint32_t * params, uint32_t paramLength); + ProgramVertex(Context *, bool texMat); virtual ~ProgramVertex(); virtual void setupGL(const Context *rsc, ProgramVertexState *state); @@ -76,10 +78,6 @@ public: ObjectBaseRef<Type> mAllocType; - ProgramVertex *mPV; - - //ObjectBaseRef<Type> mTextureTypes[ProgramFragment::MAX_TEXTURE]; - }; |
