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

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: removed enum, added GLStreamTextureImage : GLImage. 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..194965c9b46642cbce601870e027b7aaa5e1ca5e 100644
--- a/gpu/command_buffer/client/gles2_cmd_helper_autogen.h
+++ b/gpu/command_buffer/client/gles2_cmd_helper_autogen.h
@@ -2004,6 +2004,21 @@ void UniformMatrix4x3fvImmediate(GLint location,
}
}
+void UniformMatrix4fvWithStreamTextureMatrixCHROMIUMImmediate(
+ GLint location,
+ GLboolean transpose,
+ const GLfloat* default_value) {
+ const uint32_t size = gles2::cmds::
+ UniformMatrix4fvWithStreamTextureMatrixCHROMIUMImmediate::ComputeSize();
+ gles2::cmds::UniformMatrix4fvWithStreamTextureMatrixCHROMIUMImmediate* c =
+ GetImmediateCmdSpaceTotalSize<
+ gles2::cmds::
+ UniformMatrix4fvWithStreamTextureMatrixCHROMIUMImmediate>(size);
+ if (c) {
+ c->Init(location, 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