Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(261)

Unified Diff: gpu/command_buffer/client/gles2_cmd_helper.h

Issue 333303002: generate GetAttribLocation/GetUniformLocation by build_gles2_cmd_buffer.py (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « gpu/command_buffer/build_gles2_cmd_buffer.py ('k') | gpu/command_buffer/client/gles2_cmd_helper_autogen.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 0726fbb4d4c3e3dc8bb91bde8d7c11527741c206..af6cc5d8ab33f5093b55fbdc2d8186c0254f124b 100644
--- a/gpu/command_buffer/client/gles2_cmd_helper.h
+++ b/gpu/command_buffer/client/gles2_cmd_helper.h
@@ -25,26 +25,6 @@ class GPU_EXPORT GLES2CmdHelper : public CommandBufferHelper {
// Helpers that could not be auto-generated.
// TODO(gman): Auto generate these.
- void GetAttribLocation(
- GLuint program, uint32 name_bucket_id,
- uint32 location_shm_id, uint32 location_shm_offset) {
- 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_bucket_id,
- uint32 location_shm_id, uint32 location_shm_offset) {
- gles2::cmds::GetUniformLocation* c =
- GetCmdSpace<gles2::cmds::GetUniformLocation>();
- if (c) {
- c->Init(program, name_bucket_id, location_shm_id, location_shm_offset);
- }
- }
-
void CreateAndConsumeTextureCHROMIUMImmediate(GLenum target,
uint32_t client_id,
const GLbyte* _mailbox) {
« no previous file with comments | « gpu/command_buffer/build_gles2_cmd_buffer.py ('k') | gpu/command_buffer/client/gles2_cmd_helper_autogen.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698