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

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

Issue 1559203003: Add GLStreamTextureImage (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: s/GL_EXPORT/GPU_EXPORT for windows Created 4 years, 10 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 8dd89f18e5494691f4a5faa0207c28ba7ae55445..f8b3dcba87741261c1b13f3df23894df0bc6834e 100644
--- a/gpu/command_buffer/client/gles2_cmd_helper_autogen.h
+++ b/gpu/command_buffer/client/gles2_cmd_helper_autogen.h
@@ -3196,4 +3196,19 @@ void GetFragDataIndexEXT(GLuint program,
}
}
+void UniformMatrix4fvStreamTextureMatrixCHROMIUMImmediate(
+ GLint location,
+ GLboolean transpose,
+ const GLfloat* default_value) {
+ const uint32_t size = gles2::cmds::
+ UniformMatrix4fvStreamTextureMatrixCHROMIUMImmediate::ComputeSize();
+ gles2::cmds::UniformMatrix4fvStreamTextureMatrixCHROMIUMImmediate* c =
+ GetImmediateCmdSpaceTotalSize<
+ gles2::cmds::UniformMatrix4fvStreamTextureMatrixCHROMIUMImmediate>(
+ size);
+ if (c) {
+ c->Init(location, transpose, default_value);
+ }
+}
+
#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_autogen.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698