diff options
author | Jason Sams <rjsams@android.com> | 2011-01-13 17:02:35 -0800 |
---|---|---|
committer | Jason Sams <rjsams@android.com> | 2011-01-13 17:02:35 -0800 |
commit | 9333e64f79f5876584ed992c7e2c2dffacab8df0 (patch) | |
tree | 0b0e9e54ebebabc0a357d0feb086f42585067c0e /libs/rs/rsContext.h | |
parent | 27ac243e2dc4688b6e761edc3ee85eb7a3bf1f21 (diff) | |
download | frameworks_base-9333e64f79f5876584ed992c7e2c2dffacab8df0.zip frameworks_base-9333e64f79f5876584ed992c7e2c2dffacab8df0.tar.gz frameworks_base-9333e64f79f5876584ed992c7e2c2dffacab8df0.tar.bz2 |
Re-implement img npot support in HC.
Change-Id: Iac56ec54e46c998ec14f71d8e85eccdc5fb3aa91
Diffstat (limited to 'libs/rs/rsContext.h')
-rw-r--r-- | libs/rs/rsContext.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libs/rs/rsContext.h b/libs/rs/rsContext.h index df275bc..9f94f26 100644 --- a/libs/rs/rsContext.h +++ b/libs/rs/rsContext.h @@ -205,6 +205,7 @@ public: mutable const ObjectBase * mObjHead; bool ext_OES_texture_npot() const {return mGL.OES_texture_npot;} + bool ext_GL_IMG_texture_npot() const {return mGL.GL_IMG_texture_npot;} bool ext_GL_NV_texture_npot_2D_mipmap() const {return mGL.GL_NV_texture_npot_2D_mipmap;} float ext_texture_max_aniso() const {return mGL.EXT_texture_max_aniso; } uint32_t getMaxFragmentTextures() const {return mGL.mMaxFragmentTextureImageUnits;} @@ -249,6 +250,7 @@ protected: int32_t mMaxVertexTextureUnits; bool OES_texture_npot; + bool GL_IMG_texture_npot; bool GL_NV_texture_npot_2D_mipmap; float EXT_texture_max_aniso; } mGL; |