diff options
author | Mathias Agopian <mathias@google.com> | 2010-02-01 18:24:52 -0800 |
---|---|---|
committer | Mathias Agopian <mathias@google.com> | 2010-02-02 20:19:54 -0800 |
commit | 18b915a1026dfe9d273ee3fd2139b7feed22008c (patch) | |
tree | 456f1eb01eafbfe98c6f071b35c2442dac57c2cc /include | |
parent | b787383ba5208f1d86f90a8cdb762502c1f8829f (diff) | |
download | frameworks_native-18b915a1026dfe9d273ee3fd2139b7feed22008c.zip frameworks_native-18b915a1026dfe9d273ee3fd2139b7feed22008c.tar.gz frameworks_native-18b915a1026dfe9d273ee3fd2139b7feed22008c.tar.bz2 |
implement [2396050] Add ETC1 texture support to AGL
Diffstat (limited to 'include')
-rw-r--r-- | include/private/opengles/gl_context.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/include/private/opengles/gl_context.h b/include/private/opengles/gl_context.h index 26cde38..e0deba9 100644 --- a/include/private/opengles/gl_context.h +++ b/include/private/opengles/gl_context.h @@ -36,7 +36,12 @@ struct android_native_buffer_t; namespace android { -const unsigned int OGLES_NUM_COMPRESSED_TEXTURE_FORMATS = 10; + +const unsigned int OGLES_NUM_COMPRESSED_TEXTURE_FORMATS = 10 +#ifdef GL_OES_compressed_ETC1_RGB8_texture + + 1 +#endif + ; class EGLTextureObject; class EGLSurfaceManager; |