From 8fbedc0f80187f0244b952979ee32396d84d4823 Mon Sep 17 00:00:00 2001 From: "gman@chromium.org" Date: Thu, 18 Nov 2010 18:43:40 +0000 Subject: 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 --- gpu/GLES2/gles2_command_buffer.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'gpu/GLES2') 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" -- cgit v1.1