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

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

Issue 659903002: Add subscribeUniform extension pipeline (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: piman@ review + merge uniform_subscription_manager with program_manager Created 6 years, 2 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
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 c8432dabd0ac2dc6b94e05627a4a24fdb30f7a68..df94c5943873a5d81b5e4afc1fa4910dff76c977 100644
--- a/gpu/command_buffer/client/gles2_cmd_helper_autogen.h
+++ b/gpu/command_buffer/client/gles2_cmd_helper_autogen.h
@@ -1725,6 +1725,30 @@ void BindUniformLocationCHROMIUMBucket(GLuint program,
}
}
+void SubscribeUniformCHROMIUM(GLint location, GLenum target) {
+ gles2::cmds::SubscribeUniformCHROMIUM* c =
+ GetCmdSpace<gles2::cmds::SubscribeUniformCHROMIUM>();
+ if (c) {
+ c->Init(location, target);
+ }
+}
+
+void UnsubscribeUniformCHROMIUM(GLint location) {
+ gles2::cmds::UnsubscribeUniformCHROMIUM* c =
+ GetCmdSpace<gles2::cmds::UnsubscribeUniformCHROMIUM>();
+ if (c) {
+ c->Init(location);
+ }
+}
+
+void PopulateSubscribedUniformsCHROMIUM() {
+ gles2::cmds::PopulateSubscribedUniformsCHROMIUM* c =
+ GetCmdSpace<gles2::cmds::PopulateSubscribedUniformsCHROMIUM>();
+ if (c) {
+ c->Init();
+ }
+}
+
void BindTexImage2DCHROMIUM(GLenum target, GLint imageId) {
gles2::cmds::BindTexImage2DCHROMIUM* c =
GetCmdSpace<gles2::cmds::BindTexImage2DCHROMIUM>();

Powered by Google App Engine
This is Rietveld 408576698