summaryrefslogtreecommitdiffstats
path: root/gpu/GLES2
diff options
context:
space:
mode:
authorgman@chromium.org <gman@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-07-16 02:41:58 +0000
committergman@chromium.org <gman@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-07-16 02:41:58 +0000
commit7488d96ce5234f2e7435017c99a90d54aad7f99d (patch)
tree53588f3ad6c1154ae59f66e675ac2a9d9de91151 /gpu/GLES2
parent9ecd399719439f11461912ee56a9d51763239a26 (diff)
downloadchromium_src-7488d96ce5234f2e7435017c99a90d54aad7f99d.zip
chromium_src-7488d96ce5234f2e7435017c99a90d54aad7f99d.tar.gz
chromium_src-7488d96ce5234f2e7435017c99a90d54aad7f99d.tar.bz2
Adds support for OpenGL ES 2.0 extensions
this one specifically adds support for GL_EXT_texture_compression_dxt1 and GL_OES_texture_npot and GL_EXT_texture_format_BGRA8888 TEST=unit tests BUG=none Review URL: http://codereview.chromium.org/2827051 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@52598 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'gpu/GLES2')
-rw-r--r--gpu/GLES2/gles2_command_buffer.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/gpu/GLES2/gles2_command_buffer.h b/gpu/GLES2/gles2_command_buffer.h
index c36b995..bf26a58 100644
--- a/gpu/GLES2/gles2_command_buffer.h
+++ b/gpu/GLES2/gles2_command_buffer.h
@@ -22,6 +22,9 @@
#ifndef GL_WRITE_ONLY
#define GL_WRITE_ONLY 0x88B9
#endif
+#ifndef GL_BGRA_EXT
+#define GL_BGRA_EXT 0x80E1
+#endif
#endif // GPU_GLES2_GLES2_COMMAND_BUFFER_H_