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

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

Issue 10635011: Add glBindUniformLocationCHROMIUM (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 6 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/client/gles2_c_lib_autogen.h ('k') | gpu/command_buffer/client/gles2_implementation.cc » ('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_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 4a515e9f055d13084aac347b8f050dd65c9e08e5..098674d273427fb1f4c3b40b171fb7c8a90fcda0 100644
--- a/gpu/command_buffer/client/gles2_cmd_helper_autogen.h
+++ b/gpu/command_buffer/client/gles2_cmd_helper_autogen.h
@@ -1798,5 +1798,35 @@
}
}
+ void BindUniformLocationCHROMIUM(
+ GLuint program, GLint location, uint32 name_shm_id,
+ uint32 name_shm_offset, uint32 data_size) {
+ gles2::BindUniformLocationCHROMIUM* c =
+ GetCmdSpace<gles2::BindUniformLocationCHROMIUM>();
+ if (c) {
+ c->Init(program, location, name_shm_id, name_shm_offset, data_size);
+ }
+ }
+
+ void BindUniformLocationCHROMIUMImmediate(
+ GLuint program, GLint location, const char* name) {
+ const uint32 data_size = strlen(name);
+ gles2::BindUniformLocationCHROMIUMImmediate* c =
+ GetImmediateCmdSpace<gles2::BindUniformLocationCHROMIUMImmediate>(
+ data_size);
+ if (c) {
+ c->Init(program, location, name, data_size);
+ }
+ }
+
+ void BindUniformLocationCHROMIUMBucket(
+ GLuint program, GLint location, uint32 name_bucket_id) {
+ gles2::BindUniformLocationCHROMIUMBucket* c =
+ GetCmdSpace<gles2::BindUniformLocationCHROMIUMBucket>();
+ if (c) {
+ c->Init(program, location, name_bucket_id);
+ }
+ }
+
#endif // GPU_COMMAND_BUFFER_CLIENT_GLES2_CMD_HELPER_AUTOGEN_H_
« no previous file with comments | « gpu/command_buffer/client/gles2_c_lib_autogen.h ('k') | gpu/command_buffer/client/gles2_implementation.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698