summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorMathias Agopian <mathias@google.com>2010-02-02 20:34:15 -0800
committerAndroid (Google) Code Review <android-gerrit@google.com>2010-02-02 20:34:15 -0800
commit7b7a83a6840d34ab39f1a3c8ab81946bb4404c14 (patch)
tree564e4d965cd695f452a0b7a0f74a47b4c236c9b3 /include
parent7f8b69feef7bf9395ba4fda0619240f1237552b1 (diff)
parent1c38c276c8cd1c56907787c2a4f6c9e109409fff (diff)
downloadframeworks_av-7b7a83a6840d34ab39f1a3c8ab81946bb4404c14.zip
frameworks_av-7b7a83a6840d34ab39f1a3c8ab81946bb4404c14.tar.gz
frameworks_av-7b7a83a6840d34ab39f1a3c8ab81946bb4404c14.tar.bz2
Merge "implement [2396050] Add ETC1 texture support to AGL"
Diffstat (limited to 'include')
-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;