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

Unified Diff: gpu/command_buffer/client/gles2_implementation_impl_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_implementation_impl_autogen.h
diff --git a/gpu/command_buffer/client/gles2_implementation_impl_autogen.h b/gpu/command_buffer/client/gles2_implementation_impl_autogen.h
index 50d7f821d4863e14e795079abe09779bdacf96b1..6ae14bab99323a540e4891ff36b6596eb6f1f88f 100644
--- a/gpu/command_buffer/client/gles2_implementation_impl_autogen.h
+++ b/gpu/command_buffer/client/gles2_implementation_impl_autogen.h
@@ -2024,6 +2024,25 @@ void GLES2Implementation::CopyTextureCHROMIUM(GLenum target,
CheckGLError();
}
+void GLES2Implementation::SubscribeUniformCHROMIUM(GLint location,
+ GLenum target) {
+ GPU_CLIENT_SINGLE_THREAD_CHECK();
+ GPU_CLIENT_LOG("[" << GetLogPrefix() << "] glSubscribeUniformCHROMIUM("
+ << location << ", "
+ << GLES2Util::GetStringUniformSubscriptionTarget(target)
+ << ")");
+ helper_->SubscribeUniformCHROMIUM(location, target);
+ CheckGLError();
+}
+
+void GLES2Implementation::UnsubscribeUniformCHROMIUM(GLint location) {
+ GPU_CLIENT_SINGLE_THREAD_CHECK();
+ GPU_CLIENT_LOG("[" << GetLogPrefix() << "] glUnsubscribeUniformCHROMIUM("
+ << location << ")");
+ helper_->UnsubscribeUniformCHROMIUM(location);
+ CheckGLError();
+}
+
void GLES2Implementation::BindTexImage2DCHROMIUM(GLenum target, GLint imageId) {
GPU_CLIENT_SINGLE_THREAD_CHECK();
GPU_CLIENT_LOG("[" << GetLogPrefix() << "] glBindTexImage2DCHROMIUM("

Powered by Google App Engine
This is Rietveld 408576698