summaryrefslogtreecommitdiffstats
path: root/gpu/GLES2
diff options
context:
space:
mode:
authorgman@chromium.org <gman@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-07-20 17:48:25 +0000
committergman@chromium.org <gman@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-07-20 17:48:25 +0000
commit7b92c41ccc32a7b8a9a439a9a2a45d635a8d9caf (patch)
treedf2b14c8461bf0c5d04c310c579bd53a0809403e /gpu/GLES2
parent618ce22287d17d60d8912b5419c4ff8e7bf17d27 (diff)
downloadchromium_src-7b92c41ccc32a7b8a9a439a9a2a45d635a8d9caf.zip
chromium_src-7b92c41ccc32a7b8a9a439a9a2a45d635a8d9caf.tar.gz
chromium_src-7b92c41ccc32a7b8a9a439a9a2a45d635a8d9caf.tar.bz2
Add support for
GL_OES_texture_float, GL_OES_texture_float_linear, GL_OES_texture_half_float, GL_OES_texture_half_float_linear TEST=unit tests BUG=none Review URL: http://codereview.chromium.org/3005017 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@53060 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 bf26a58..3f6b39d 100644
--- a/gpu/GLES2/gles2_command_buffer.h
+++ b/gpu/GLES2/gles2_command_buffer.h
@@ -25,6 +25,9 @@
#ifndef GL_BGRA_EXT
#define GL_BGRA_EXT 0x80E1
#endif
+#ifndef GL_HALF_FLOAT_OES
+#define GL_HALF_FLOAT_OES 0x8D61
+#endif
#endif // GPU_GLES2_GLES2_COMMAND_BUFFER_H_