summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoralokp@chromium.org <alokp@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-09-30 20:18:01 +0000
committeralokp@chromium.org <alokp@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-09-30 20:18:01 +0000
commit733dbb2f93b0a3e26d1f66860d3cc87b041fb3cc (patch)
treee997e3b3723ddc4f9e3c97826379c2bc4224d432
parent13b7a84041f48a558efb24725f0568b466b08cfd (diff)
downloadchromium_src-733dbb2f93b0a3e26d1f66860d3cc87b041fb3cc.zip
chromium_src-733dbb2f93b0a3e26d1f66860d3cc87b041fb3cc.tar.gz
chromium_src-733dbb2f93b0a3e26d1f66860d3cc87b041fb3cc.tar.bz2
Added GL enums for dxt3 and dxt5 texture compression to <GLES2/gl2ext.h>.
Review URL: http://codereview.chromium.org/8091004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@103529 0039d316-1c4b-4281-b951-d872f2087c98
-rw-r--r--ppapi/lib/gl/include/GLES2/gl2ext.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/ppapi/lib/gl/include/GLES2/gl2ext.h b/ppapi/lib/gl/include/GLES2/gl2ext.h
index 334e9ce..05c3f3f 100644
--- a/ppapi/lib/gl/include/GLES2/gl2ext.h
+++ b/ppapi/lib/gl/include/GLES2/gl2ext.h
@@ -796,6 +796,18 @@ typedef void (GL_APIENTRYP PFNGLSTARTTILINGQCOMPROC) (GLuint x, GLuint y, GLuint
typedef void (GL_APIENTRYP PFNGLENDTILINGQCOMPROC) (GLbitfield preserveMask);
#endif
+/* GL_CHROMIUM_texture_compression_dxt3 */
+#ifndef GL_CHROMIUM_texture_compression_dxt3
+#define GL_CHROMIUM_texture_compression_dxt3 1
+#define GL_COMPRESSED_RGBA_S3TC_DXT3_EXT 0x83F2
+#endif
+
+/* GL_CHROMIUM_texture_compression_dxt5 */
+#ifndef GL_CHROMIUM_texture_compression_dxt5
+#define GL_CHROMIUM_texture_compression_dxt5 1
+#define GL_COMPRESSED_RGBA_S3TC_DXT5_EXT 0x83F3
+#endif
+
#ifdef __cplusplus
}
#endif