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

Unified Diff: gpu/command_buffer/client/gles2_c_lib_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_c_lib_autogen.h
diff --git a/gpu/command_buffer/client/gles2_c_lib_autogen.h b/gpu/command_buffer/client/gles2_c_lib_autogen.h
index 71e3c82c6656e8c3cb819ac0382ffc6ae7955c3c..8f8f3210b9ad7103b9e5fdb8c75facb622568620 100644
--- a/gpu/command_buffer/client/gles2_c_lib_autogen.h
+++ b/gpu/command_buffer/client/gles2_c_lib_autogen.h
@@ -860,6 +860,15 @@ void GLES2BindUniformLocationCHROMIUM(GLuint program,
const char* name) {
gles2::GetGLContext()->BindUniformLocationCHROMIUM(program, location, name);
}
+void GLES2SubscribeUniformCHROMIUM(GLint location, GLenum target) {
+ gles2::GetGLContext()->SubscribeUniformCHROMIUM(location, target);
+}
+void GLES2UnsubscribeUniformCHROMIUM(GLint location) {
+ gles2::GetGLContext()->UnsubscribeUniformCHROMIUM(location);
+}
+void GLES2PopulateSubscribedUniformsCHROMIUM() {
+ gles2::GetGLContext()->PopulateSubscribedUniformsCHROMIUM();
+}
void GLES2BindTexImage2DCHROMIUM(GLenum target, GLint imageId) {
gles2::GetGLContext()->BindTexImage2DCHROMIUM(target, imageId);
}
@@ -1749,6 +1758,19 @@ extern const NameToFunc g_gles2_function_table[] = {
reinterpret_cast<GLES2FunctionPointer>(glBindUniformLocationCHROMIUM),
},
{
+ "glSubscribeUniformCHROMIUM",
+ reinterpret_cast<GLES2FunctionPointer>(glSubscribeUniformCHROMIUM),
+ },
+ {
+ "glUnsubscribeUniformCHROMIUM",
+ reinterpret_cast<GLES2FunctionPointer>(glUnsubscribeUniformCHROMIUM),
+ },
+ {
+ "glPopulateSubscribedUniformsCHROMIUM",
+ reinterpret_cast<GLES2FunctionPointer>(
+ glPopulateSubscribedUniformsCHROMIUM),
+ },
+ {
"glBindTexImage2DCHROMIUM",
reinterpret_cast<GLES2FunctionPointer>(glBindTexImage2DCHROMIUM),
},

Powered by Google App Engine
This is Rietveld 408576698