summaryrefslogtreecommitdiffstats
path: root/libs
diff options
context:
space:
mode:
authorAlex Sakhartchouk <alexst@google.com>2011-01-13 14:53:43 -0800
committerAlex Sakhartchouk <alexst@google.com>2011-01-13 14:53:43 -0800
commitf5c876e82d7cc647ba94d29eb914e64b7977c303 (patch)
tree9aa6100564f31b0c2a60da2fb2cc07bdd5402658 /libs
parenta3cdaa5337fa573c4c61770195d6232c2e587090 (diff)
downloadframeworks_base-f5c876e82d7cc647ba94d29eb914e64b7977c303.zip
frameworks_base-f5c876e82d7cc647ba94d29eb914e64b7977c303.tar.gz
frameworks_base-f5c876e82d7cc647ba94d29eb914e64b7977c303.tar.bz2
Docs plus removing some junk per API review.
Change-Id: I45f995b656754550be68c78e467071d6e59b348f
Diffstat (limited to 'libs')
-rw-r--r--libs/rs/rsContextHostStub.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/libs/rs/rsContextHostStub.h b/libs/rs/rsContextHostStub.h
index c22647f..8cfb38b 100644
--- a/libs/rs/rsContextHostStub.h
+++ b/libs/rs/rsContextHostStub.h
@@ -119,11 +119,12 @@ 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 false;}
- float ext_texture_max_aniso() const {return 1.0f;}
+ 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;}
uint32_t getMaxVertexUniformVectors() const {return mGL.mMaxVertexUniformVectors;}
+ uint32_t getMaxVertexAttributes() const {return mGL.mMaxVertexAttribs;}
protected:
@@ -147,6 +148,8 @@ protected:
int32_t mMaxVertexTextureUnits;
bool OES_texture_npot;
+ bool GL_NV_texture_npot_2D_mipmap;
+ float EXT_texture_max_aniso;
} mGL;
};