summaryrefslogtreecommitdiffstats
path: root/libs/rs/rsContext.h
diff options
context:
space:
mode:
authorAlex Sakhartchouk <alexst@google.com>2010-10-27 14:10:07 -0700
committerAlex Sakhartchouk <alexst@google.com>2010-10-27 14:10:07 -0700
commit581cc64028e8b8f66cec8105bf530b16d5fb34eb (patch)
tree82d5b43ecb850ffa7b0dede58c86032fcc066d54 /libs/rs/rsContext.h
parent0424d69d484dfc25c73f6557199cfbb7aaaeb043 (diff)
downloadframeworks_base-581cc64028e8b8f66cec8105bf530b16d5fb34eb.zip
frameworks_base-581cc64028e8b8f66cec8105bf530b16d5fb34eb.tar.gz
frameworks_base-581cc64028e8b8f66cec8105bf530b16d5fb34eb.tar.bz2
Adding nvidia extension for limited npot support.
Updating a3d loading to be async. Change-Id: I4be71d2002b9ad6ab8896d63e625f031e6b7ea6c
Diffstat (limited to 'libs/rs/rsContext.h')
-rw-r--r--libs/rs/rsContext.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/libs/rs/rsContext.h b/libs/rs/rsContext.h
index dbe2c79..e269d4e 100644
--- a/libs/rs/rsContext.h
+++ b/libs/rs/rsContext.h
@@ -190,6 +190,7 @@ public:
mutable const ObjectBase * mObjHead;
bool ext_OES_texture_npot() const {return mGL.OES_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;}
uint32_t getMaxFragmentUniformVectors() const {return mGL.mMaxFragmentUniformVectors;}
@@ -232,6 +233,7 @@ protected:
int32_t mMaxVertexTextureUnits;
bool OES_texture_npot;
+ bool GL_NV_texture_npot_2D_mipmap;
float EXT_texture_max_aniso;
} mGL;