diff options
| author | Jason Sams <rjsams@android.com> | 2009-06-08 18:50:13 -0700 |
|---|---|---|
| committer | Jason Sams <rjsams@android.com> | 2009-06-08 18:50:13 -0700 |
| commit | 928f5cf2870177abd715e1dfb81da6ac1fe3e845 (patch) | |
| tree | 64fb0741a6f242112b3576afa63463556eae5586 /libs/rs/rsScript.h | |
| parent | 3a833d8e0f5e1f09a9e276d0f8faf18f7ab86e27 (diff) | |
| download | frameworks_base-928f5cf2870177abd715e1dfb81da6ac1fe3e845.zip frameworks_base-928f5cf2870177abd715e1dfb81da6ac1fe3e845.tar.gz frameworks_base-928f5cf2870177abd715e1dfb81da6ac1fe3e845.tar.bz2 | |
Move placement of script enviroment data to base.
Diffstat (limited to 'libs/rs/rsScript.h')
| -rw-r--r-- | libs/rs/rsScript.h | 20 |
1 files changed, 13 insertions, 7 deletions
diff --git a/libs/rs/rsScript.h b/libs/rs/rsScript.h index 0229860..efe52ad 100644 --- a/libs/rs/rsScript.h +++ b/libs/rs/rsScript.h @@ -33,13 +33,19 @@ public: virtual ~Script(); - bool mIsRoot; - bool mIsOrtho; - - float mClearColor[4]; - float mClearDepth; - uint32_t mClearStencil; - + struct Enviroment_t { + bool mIsRoot; + bool mIsOrtho; + float mClearColor[4]; + float mClearDepth; + uint32_t mClearStencil; + + bool mUseStateVertex; + bool mUseStateRaster; + bool mUseStateFragment; + bool mUseStateStore; + }; + Enviroment_t mEnviroment; const Type * mConstantBufferTypes; uint32_t mCounstantBufferCount; |
