summaryrefslogtreecommitdiffstats
path: root/gpu/command_buffer/service/gl_utils.h
diff options
context:
space:
mode:
authorkbr@chromium.org <kbr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-01-26 02:33:57 +0000
committerkbr@chromium.org <kbr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-01-26 02:33:57 +0000
commit51dc466c1221560541a9eac02c1d1b72ff37ea90 (patch)
tree68a86b696a5e21552a2e83933321ac9b15c8f8c6 /gpu/command_buffer/service/gl_utils.h
parentc7403e2e25e42253a7473b8b6a6c10594af0fbeb (diff)
downloadchromium_src-51dc466c1221560541a9eac02c1d1b72ff37ea90.zip
chromium_src-51dc466c1221560541a9eac02c1d1b72ff37ea90.tar.gz
chromium_src-51dc466c1221560541a9eac02c1d1b72ff37ea90.tar.bz2
Fix GL_CHROMIUM_framebuffer_multisample to accept the correct enums.
Add support for GL_OES_rgb8_rgba8. Update feature_info unit tests. Tested with the accelerated 2D canvas in WebKit with multisampling turned on. BUG=none TEST=gpu_unittests Review URL: http://codereview.chromium.org/6268016 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@72595 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'gpu/command_buffer/service/gl_utils.h')
-rw-r--r--gpu/command_buffer/service/gl_utils.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/gpu/command_buffer/service/gl_utils.h b/gpu/command_buffer/service/gl_utils.h
index 0a14c9f..f7a5f8f 100644
--- a/gpu/command_buffer/service/gl_utils.h
+++ b/gpu/command_buffer/service/gl_utils.h
@@ -29,6 +29,8 @@
#define GL_SHADER_COMPILER 0x8DFA
#define GL_RGB565 0x8D62
#define GL_FRAGMENT_SHADER_DERIVATIVE_HINT_OES 0x8B8B
+#define GL_RGB8_OES 0x8051
+#define GL_RGBA8_OES 0x8058
#define GL_GLEXT_PROTOTYPES 1