summaryrefslogtreecommitdiffstats
path: root/include/private/opengles
diff options
context:
space:
mode:
authorMathias Agopian <mathias@google.com>2010-02-01 18:24:52 -0800
committerMathias Agopian <mathias@google.com>2010-02-02 20:19:54 -0800
commit1c38c276c8cd1c56907787c2a4f6c9e109409fff (patch)
tree78b2313d9b5aed8883737ad41af93f7e0281d2d1 /include/private/opengles
parent4cf04b1bf703522b37a60427ef02f2a18b218c19 (diff)
downloadframeworks_av-1c38c276c8cd1c56907787c2a4f6c9e109409fff.zip
frameworks_av-1c38c276c8cd1c56907787c2a4f6c9e109409fff.tar.gz
frameworks_av-1c38c276c8cd1c56907787c2a4f6c9e109409fff.tar.bz2
implement [2396050] Add ETC1 texture support to AGL
Diffstat (limited to 'include/private/opengles')
-rw-r--r--include/private/opengles/gl_context.h7
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;