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

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: getCustomMatrix 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..f6987fb33a82d6ed8d51f47700068b9effd70db3 100644
--- a/gpu/command_buffer/client/gles2_cmd_helper_autogen.h
+++ b/gpu/command_buffer/client/gles2_cmd_helper_autogen.h
@@ -2004,6 +2004,22 @@ void UniformMatrix4x3fvImmediate(GLint location,
}
}
+void UniformMatrix4fvWithCustomMatrixCHROMIUMImmediate(
+ GLint location,
+ GLsizei count,
+ GLint custom_matrix_id,
+ GLboolean transpose,
+ const GLfloat* default_value) {
+ const uint32_t size = gles2::cmds::
+ UniformMatrix4fvWithCustomMatrixCHROMIUMImmediate::ComputeSize(count);
+ gles2::cmds::UniformMatrix4fvWithCustomMatrixCHROMIUMImmediate* c =
+ GetImmediateCmdSpaceTotalSize<
+ gles2::cmds::UniformMatrix4fvWithCustomMatrixCHROMIUMImmediate>(size);
+ if (c) {
+ c->Init(location, count, custom_matrix_id, transpose, default_value);
+ }
+}
+
void UseProgram(GLuint program) {
gles2::cmds::UseProgram* c = GetCmdSpace<gles2::cmds::UseProgram>();
if (c) {

Powered by Google App Engine
This is Rietveld 408576698