Index: gpu/command_buffer/client/gles2_cmd_helper.h |
diff --git a/gpu/command_buffer/client/gles2_cmd_helper.h b/gpu/command_buffer/client/gles2_cmd_helper.h |
index 4e57ccee6598ac6efdc198181950446d4e101c13..0726fbb4d4c3e3dc8bb91bde8d7c11527741c206 100644 |
--- a/gpu/command_buffer/client/gles2_cmd_helper.h |
+++ b/gpu/command_buffer/client/gles2_cmd_helper.h |
@@ -25,46 +25,21 @@ class GPU_EXPORT GLES2CmdHelper : public CommandBufferHelper { |
// Helpers that could not be auto-generated. |
// TODO(gman): Auto generate these. |
- |
void GetAttribLocation( |
- GLuint program, uint32 name_shm_id, uint32 name_shm_offset, |
- uint32 location_shm_id, uint32 location_shm_offset, uint32 data_size) { |
- gles2::cmds::GetAttribLocation* c = |
- GetCmdSpace<gles2::cmds::GetAttribLocation>(); |
- if (c) { |
- c->Init( |
- program, name_shm_id, name_shm_offset, location_shm_id, |
- location_shm_offset, data_size); |
- } |
- } |
- |
- void GetAttribLocationBucket( |
GLuint program, uint32 name_bucket_id, |
uint32 location_shm_id, uint32 location_shm_offset) { |
- gles2::cmds::GetAttribLocationBucket* c = |
- GetCmdSpace<gles2::cmds::GetAttribLocationBucket>(); |
+ gles2::cmds::GetAttribLocation* c = |
+ GetCmdSpace<gles2::cmds::GetAttribLocation>(); |
if (c) { |
c->Init(program, name_bucket_id, location_shm_id, location_shm_offset); |
} |
} |
void GetUniformLocation( |
- GLuint program, uint32 name_shm_id, uint32 name_shm_offset, |
- uint32 location_shm_id, uint32 location_shm_offset, uint32 data_size) { |
- gles2::cmds::GetUniformLocation* c = |
- GetCmdSpace<gles2::cmds::GetUniformLocation>(); |
- if (c) { |
- c->Init( |
- program, name_shm_id, name_shm_offset, location_shm_id, |
- location_shm_offset, data_size); |
- } |
- } |
- |
- void GetUniformLocationBucket( |
GLuint program, uint32 name_bucket_id, |
uint32 location_shm_id, uint32 location_shm_offset) { |
- gles2::cmds::GetUniformLocationBucket* c = |
- GetCmdSpace<gles2::cmds::GetUniformLocationBucket>(); |
+ gles2::cmds::GetUniformLocation* c = |
+ GetCmdSpace<gles2::cmds::GetUniformLocation>(); |
if (c) { |
c->Init(program, name_bucket_id, location_shm_id, location_shm_offset); |
} |