summaryrefslogtreecommitdiffstats
path: root/libs/rs/rsContext.h
diff options
context:
space:
mode:
authorJason Sams <rjsams@android.com>2010-02-22 15:37:51 -0800
committerJason Sams <rjsams@android.com>2010-02-22 15:37:51 -0800
commit2978bfc6ad79c8f1138d34a704ce5b3d3d70d2c1 (patch)
treee87e3477880e64454f57cbc00cf22aea71e762a4 /libs/rs/rsContext.h
parent33285c37abee6d95d0ac55cd7e9889cdc8d96d14 (diff)
downloadframeworks_base-2978bfc6ad79c8f1138d34a704ce5b3d3d70d2c1.zip
frameworks_base-2978bfc6ad79c8f1138d34a704ce5b3d3d70d2c1.tar.gz
frameworks_base-2978bfc6ad79c8f1138d34a704ce5b3d3d70d2c1.tar.bz2
beging np2 extension check work.
Diffstat (limited to 'libs/rs/rsContext.h')
-rw-r--r--libs/rs/rsContext.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/libs/rs/rsContext.h b/libs/rs/rsContext.h
index 03e65f1..04bd748 100644
--- a/libs/rs/rsContext.h
+++ b/libs/rs/rsContext.h
@@ -163,6 +163,8 @@ public:
mutable const ObjectBase * mObjHead;
+ bool ext_OES_texture_npot() const {return mGL.OES_texture_npot;}
+
protected:
Device *mDev;
@@ -196,6 +198,8 @@ protected:
int32_t mMaxVertexAttribs;
int32_t mMaxVertexUniformVectors;
int32_t mMaxVertexTextureUnits;
+
+ bool OES_texture_npot;
} mGL;
uint32_t mWidth;