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
commitb0f324d4a95907f8e9332bcd2733e8287a1922eb (patch)
tree4eb406ead2d8072f0e672f8a2c0a117a7d4695c5 /include
parent355ca575a907e0f82c1c3f4849ed666c994e1ab6 (diff)
parentd1f73a2fcae6481edf07763ca06c4f381ebe13c2 (diff)
downloadframeworks_base-b0f324d4a95907f8e9332bcd2733e8287a1922eb.zip
frameworks_base-b0f324d4a95907f8e9332bcd2733e8287a1922eb.tar.gz
frameworks_base-b0f324d4a95907f8e9332bcd2733e8287a1922eb.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;