| Index: gpu/command_buffer/client/gles2_cmd_helper_autogen.h
|
| diff --git a/gpu/command_buffer/client/gles2_cmd_helper_autogen.h b/gpu/command_buffer/client/gles2_cmd_helper_autogen.h
|
| index f56713f1296eadb49d93ac92c00a4d8bae7215e8..49d03362a31443af593b19f567aa2d6aa750472e 100644
|
| --- a/gpu/command_buffer/client/gles2_cmd_helper_autogen.h
|
| +++ b/gpu/command_buffer/client/gles2_cmd_helper_autogen.h
|
| @@ -25,18 +25,6 @@ void AttachShader(GLuint program, GLuint shader) {
|
| }
|
| }
|
|
|
| -void BindAttribLocation(GLuint program,
|
| - GLuint index,
|
| - uint32_t name_shm_id,
|
| - uint32_t name_shm_offset,
|
| - uint32_t data_size) {
|
| - gles2::cmds::BindAttribLocation* c =
|
| - GetCmdSpace<gles2::cmds::BindAttribLocation>();
|
| - if (c) {
|
| - c->Init(program, index, name_shm_id, name_shm_offset, data_size);
|
| - }
|
| -}
|
| -
|
| void BindAttribLocationBucket(GLuint program,
|
| GLuint index,
|
| uint32_t name_bucket_id) {
|
| @@ -193,6 +181,19 @@ void CompileShader(GLuint shader) {
|
| }
|
| }
|
|
|
| +void CompressedTexImage2DBucket(GLenum target,
|
| + GLint level,
|
| + GLenum internalformat,
|
| + GLsizei width,
|
| + GLsizei height,
|
| + GLuint bucket_id) {
|
| + gles2::cmds::CompressedTexImage2DBucket* c =
|
| + GetCmdSpace<gles2::cmds::CompressedTexImage2DBucket>();
|
| + if (c) {
|
| + c->Init(target, level, internalformat, width, height, bucket_id);
|
| + }
|
| +}
|
| +
|
| void CompressedTexImage2D(GLenum target,
|
| GLint level,
|
| GLenum internalformat,
|
| @@ -215,16 +216,18 @@ void CompressedTexImage2D(GLenum target,
|
| }
|
| }
|
|
|
| -void CompressedTexImage2DBucket(GLenum target,
|
| - GLint level,
|
| - GLenum internalformat,
|
| - GLsizei width,
|
| - GLsizei height,
|
| - GLuint bucket_id) {
|
| - gles2::cmds::CompressedTexImage2DBucket* c =
|
| - GetCmdSpace<gles2::cmds::CompressedTexImage2DBucket>();
|
| +void CompressedTexSubImage2DBucket(GLenum target,
|
| + GLint level,
|
| + GLint xoffset,
|
| + GLint yoffset,
|
| + GLsizei width,
|
| + GLsizei height,
|
| + GLenum format,
|
| + GLuint bucket_id) {
|
| + gles2::cmds::CompressedTexSubImage2DBucket* c =
|
| + GetCmdSpace<gles2::cmds::CompressedTexSubImage2DBucket>();
|
| if (c) {
|
| - c->Init(target, level, internalformat, width, height, bucket_id);
|
| + c->Init(target, level, xoffset, yoffset, width, height, format, bucket_id);
|
| }
|
| }
|
|
|
| @@ -254,21 +257,6 @@ void CompressedTexSubImage2D(GLenum target,
|
| }
|
| }
|
|
|
| -void CompressedTexSubImage2DBucket(GLenum target,
|
| - GLint level,
|
| - GLint xoffset,
|
| - GLint yoffset,
|
| - GLsizei width,
|
| - GLsizei height,
|
| - GLenum format,
|
| - GLuint bucket_id) {
|
| - gles2::cmds::CompressedTexSubImage2DBucket* c =
|
| - GetCmdSpace<gles2::cmds::CompressedTexSubImage2DBucket>();
|
| - if (c) {
|
| - c->Init(target, level, xoffset, yoffset, width, height, format, bucket_id);
|
| - }
|
| -}
|
| -
|
| void CopyTexImage2D(GLenum target,
|
| GLint level,
|
| GLenum internalformat,
|
| @@ -948,16 +936,6 @@ void ShaderBinary(GLsizei n,
|
| }
|
| }
|
|
|
| -void ShaderSource(GLuint shader,
|
| - uint32_t data_shm_id,
|
| - uint32_t data_shm_offset,
|
| - uint32_t data_size) {
|
| - gles2::cmds::ShaderSource* c = GetCmdSpace<gles2::cmds::ShaderSource>();
|
| - if (c) {
|
| - c->Init(shader, data_shm_id, data_shm_offset, data_size);
|
| - }
|
| -}
|
| -
|
| void ShaderSourceBucket(GLuint shader, uint32_t data_bucket_id) {
|
| gles2::cmds::ShaderSourceBucket* c =
|
| GetCmdSpace<gles2::cmds::ShaderSourceBucket>();
|
| @@ -1749,18 +1727,6 @@ void ConsumeTextureCHROMIUMImmediate(GLenum target, const GLbyte* mailbox) {
|
| }
|
| }
|
|
|
| -void BindUniformLocationCHROMIUM(GLuint program,
|
| - GLint location,
|
| - uint32_t name_shm_id,
|
| - uint32_t name_shm_offset,
|
| - uint32_t data_size) {
|
| - gles2::cmds::BindUniformLocationCHROMIUM* c =
|
| - GetCmdSpace<gles2::cmds::BindUniformLocationCHROMIUM>();
|
| - if (c) {
|
| - c->Init(program, location, name_shm_id, name_shm_offset, data_size);
|
| - }
|
| -}
|
| -
|
| void BindUniformLocationCHROMIUMBucket(GLuint program,
|
| GLint location,
|
| uint32_t name_bucket_id) {
|
|
|