diff options
| author | Jason Sams <rjsams@android.com> | 2009-11-30 14:49:55 -0800 |
|---|---|---|
| committer | Jason Sams <rjsams@android.com> | 2009-11-30 15:34:03 -0800 |
| commit | 54c0ec14e016e4a1bf3ceab40ed6ca5447da4725 (patch) | |
| tree | 343acd699d50a4090b451d05135aa7887a6a7984 /libs/rs/rsProgram.h | |
| parent | 5154ae7665743b114c71f90dcc577dc50c63b398 (diff) | |
| download | frameworks_base-54c0ec14e016e4a1bf3ceab40ed6ca5447da4725.zip frameworks_base-54c0ec14e016e4a1bf3ceab40ed6ca5447da4725.tar.gz frameworks_base-54c0ec14e016e4a1bf3ceab40ed6ca5447da4725.tar.bz2 | |
Beging GL2 user shaders. Switch master to using GL2 by default.
Diffstat (limited to 'libs/rs/rsProgram.h')
| -rw-r--r-- | libs/rs/rsProgram.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libs/rs/rsProgram.h b/libs/rs/rsProgram.h index 06c72f9..abd461b 100644 --- a/libs/rs/rsProgram.h +++ b/libs/rs/rsProgram.h @@ -40,6 +40,7 @@ public: virtual void createShader(); uint32_t getShaderID() const {return mShaderID;} + void setShader(const char *, uint32_t len); uint32_t getAttribCount() const {return mAttribCount;} uint32_t getUniformCount() const {return mUniformCount;} @@ -56,6 +57,7 @@ protected: mutable bool mDirty; String8 mShader; + String8 mUserShader; uint32_t mShaderID; uint32_t mAttribCount; |
