diff options
author | Alex Sakhartchouk <alexst@google.com> | 2010-09-29 09:49:13 -0700 |
---|---|---|
committer | Alex Sakhartchouk <alexst@google.com> | 2010-09-29 09:49:13 -0700 |
commit | 4378f1175546616c76ecb7f0b1159940ab22d5f4 (patch) | |
tree | 900b42e369c9cd58340c88dee93dc0139c7afe5c /libs/rs/rsContext.h | |
parent | 5f421a56786cf7c71159280c51bd4280f5199cfb (diff) | |
download | frameworks_base-4378f1175546616c76ecb7f0b1159940ab22d5f4.zip frameworks_base-4378f1175546616c76ecb7f0b1159940ab22d5f4.tar.gz frameworks_base-4378f1175546616c76ecb7f0b1159940ab22d5f4.tar.bz2 |
More robust attribute binding
Adding attribute and uniform debug logging.
Checking to see if aniso filtering is available.
Change-Id: I2ed9d166ed7ff3df971d7af18b7a33f4e3ade928
Diffstat (limited to 'libs/rs/rsContext.h')
-rw-r--r-- | libs/rs/rsContext.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/libs/rs/rsContext.h b/libs/rs/rsContext.h index b85d2a8..2e84930 100644 --- a/libs/rs/rsContext.h +++ b/libs/rs/rsContext.h @@ -158,6 +158,8 @@ public: bool mLogScripts; bool mLogObjects; bool mLogShaders; + bool mLogShadersAttr; + bool mLogShadersUniforms; bool mLogVisual; } props; @@ -169,6 +171,7 @@ public: mutable const ObjectBase * mObjHead; bool ext_OES_texture_npot() const {return mGL.OES_texture_npot;} + float ext_texture_max_aniso() const {return mGL.EXT_texture_max_aniso; } uint32_t getMaxFragmentTextures() const {return mGL.mMaxFragmentTextureImageUnits;} uint32_t getMaxFragmentUniformVectors() const {return mGL.mMaxFragmentUniformVectors;} uint32_t getMaxVertexUniformVectors() const {return mGL.mMaxVertexUniformVectors;} @@ -209,6 +212,7 @@ protected: int32_t mMaxVertexTextureUnits; bool OES_texture_npot; + float EXT_texture_max_aniso; } mGL; uint32_t mWidth; |