summaryrefslogtreecommitdiffstats
path: root/gpu/GLES2
diff options
context:
space:
mode:
authorgman@chromium.org <gman@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-11-18 18:43:40 +0000
committergman@chromium.org <gman@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-11-18 18:43:40 +0000
commit8fbedc0f80187f0244b952979ee32396d84d4823 (patch)
treea584f7ac105bf685b4a3e91d5930e718a3ab7aae /gpu/GLES2
parentedb22cfd39987c08be44997d9f2bc75f7721ce13 (diff)
downloadchromium_src-8fbedc0f80187f0244b952979ee32396d84d4823.zip
chromium_src-8fbedc0f80187f0244b952979ee32396d84d4823.tar.gz
chromium_src-8fbedc0f80187f0244b952979ee32396d84d4823.tar.bz2
Adds support for GL_FIXED vertex attributes.
Similar to sharing VBOs for both index buffers and vertex buffers this support is off by default but is turned on in the OpenGL ES 2.0 conformance tests (another CL) We can decide how/if to expose it to Pepper later if we want to claim Pepper is Open GL ES 2.0 conformant. TEST=The GL_FIXED OpenGL ES 2.0 conformance tests passes BUG=none Review URL: http://codereview.chromium.org/5026003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@66649 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'gpu/GLES2')
-rw-r--r--gpu/GLES2/gles2_command_buffer.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/gpu/GLES2/gles2_command_buffer.h b/gpu/GLES2/gles2_command_buffer.h
index 3f6b39d..30bc7a7 100644
--- a/gpu/GLES2/gles2_command_buffer.h
+++ b/gpu/GLES2/gles2_command_buffer.h
@@ -11,6 +11,8 @@
// constants for CommandBufferEnable command.
#define PEPPER3D_ALLOW_BUFFERS_ON_MULTIPLE_TARGETS \
"pepper3d_allow_buffers_on_multiple_targets"
+#define PEPPER3D_SUPPORT_FIXED_ATTRIBS \
+ "pepper3d_support_fixed_attribs"
// TODO(gman): remove this
#define PEPPER3D_SKIP_GLSL_TRANSLATION \
"pepper3d_skip_glsl_translation"