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

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

Issue 1674573002: UniformMatrix* supports transpose is true in ES3 semantic (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: remove unused code and add more unittests 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 b75d8ec3238c46674abd7b60ff6e32ab4cc4640c..8dd89f18e5494691f4a5faa0207c28ba7ae55445 100644
--- a/gpu/command_buffer/client/gles2_cmd_helper_autogen.h
+++ b/gpu/command_buffer/client/gles2_cmd_helper_autogen.h
@@ -1880,6 +1880,7 @@ void UniformBlockBinding(GLuint program, GLuint index, GLuint binding) {
void UniformMatrix2fvImmediate(GLint location,
GLsizei count,
+ GLboolean transpose,
const GLfloat* value) {
const uint32_t size =
gles2::cmds::UniformMatrix2fvImmediate::ComputeSize(count);
@@ -1887,12 +1888,13 @@ void UniformMatrix2fvImmediate(GLint location,
GetImmediateCmdSpaceTotalSize<gles2::cmds::UniformMatrix2fvImmediate>(
size);
if (c) {
- c->Init(location, count, value);
+ c->Init(location, count, transpose, value);
}
}
void UniformMatrix2x3fvImmediate(GLint location,
GLsizei count,
+ GLboolean transpose,
const GLfloat* value) {
const uint32_t size =
gles2::cmds::UniformMatrix2x3fvImmediate::ComputeSize(count);
@@ -1900,12 +1902,13 @@ void UniformMatrix2x3fvImmediate(GLint location,
GetImmediateCmdSpaceTotalSize<gles2::cmds::UniformMatrix2x3fvImmediate>(
size);
if (c) {
- c->Init(location, count, value);
+ c->Init(location, count, transpose, value);
}
}
void UniformMatrix2x4fvImmediate(GLint location,
GLsizei count,
+ GLboolean transpose,
const GLfloat* value) {
const uint32_t size =
gles2::cmds::UniformMatrix2x4fvImmediate::ComputeSize(count);
@@ -1913,12 +1916,13 @@ void UniformMatrix2x4fvImmediate(GLint location,
GetImmediateCmdSpaceTotalSize<gles2::cmds::UniformMatrix2x4fvImmediate>(
size);
if (c) {
- c->Init(location, count, value);
+ c->Init(location, count, transpose, value);
}
}
void UniformMatrix3fvImmediate(GLint location,
GLsizei count,
+ GLboolean transpose,
const GLfloat* value) {
const uint32_t size =
gles2::cmds::UniformMatrix3fvImmediate::ComputeSize(count);
@@ -1926,12 +1930,13 @@ void UniformMatrix3fvImmediate(GLint location,
GetImmediateCmdSpaceTotalSize<gles2::cmds::UniformMatrix3fvImmediate>(
size);
if (c) {
- c->Init(location, count, value);
+ c->Init(location, count, transpose, value);
}
}
void UniformMatrix3x2fvImmediate(GLint location,
GLsizei count,
+ GLboolean transpose,
const GLfloat* value) {
const uint32_t size =
gles2::cmds::UniformMatrix3x2fvImmediate::ComputeSize(count);
@@ -1939,12 +1944,13 @@ void UniformMatrix3x2fvImmediate(GLint location,
GetImmediateCmdSpaceTotalSize<gles2::cmds::UniformMatrix3x2fvImmediate>(
size);
if (c) {
- c->Init(location, count, value);
+ c->Init(location, count, transpose, value);
}
}
void UniformMatrix3x4fvImmediate(GLint location,
GLsizei count,
+ GLboolean transpose,
const GLfloat* value) {
const uint32_t size =
gles2::cmds::UniformMatrix3x4fvImmediate::ComputeSize(count);
@@ -1952,12 +1958,13 @@ void UniformMatrix3x4fvImmediate(GLint location,
GetImmediateCmdSpaceTotalSize<gles2::cmds::UniformMatrix3x4fvImmediate>(
size);
if (c) {
- c->Init(location, count, value);
+ c->Init(location, count, transpose, value);
}
}
void UniformMatrix4fvImmediate(GLint location,
GLsizei count,
+ GLboolean transpose,
const GLfloat* value) {
const uint32_t size =
gles2::cmds::UniformMatrix4fvImmediate::ComputeSize(count);
@@ -1965,12 +1972,13 @@ void UniformMatrix4fvImmediate(GLint location,
GetImmediateCmdSpaceTotalSize<gles2::cmds::UniformMatrix4fvImmediate>(
size);
if (c) {
- c->Init(location, count, value);
+ c->Init(location, count, transpose, value);
}
}
void UniformMatrix4x2fvImmediate(GLint location,
GLsizei count,
+ GLboolean transpose,
const GLfloat* value) {
const uint32_t size =
gles2::cmds::UniformMatrix4x2fvImmediate::ComputeSize(count);
@@ -1978,12 +1986,13 @@ void UniformMatrix4x2fvImmediate(GLint location,
GetImmediateCmdSpaceTotalSize<gles2::cmds::UniformMatrix4x2fvImmediate>(
size);
if (c) {
- c->Init(location, count, value);
+ c->Init(location, count, transpose, value);
}
}
void UniformMatrix4x3fvImmediate(GLint location,
GLsizei count,
+ GLboolean transpose,
const GLfloat* value) {
const uint32_t size =
gles2::cmds::UniformMatrix4x3fvImmediate::ComputeSize(count);
@@ -1991,7 +2000,7 @@ void UniformMatrix4x3fvImmediate(GLint location,
GetImmediateCmdSpaceTotalSize<gles2::cmds::UniformMatrix4x3fvImmediate>(
size);
if (c) {
- c->Init(location, count, value);
+ c->Init(location, count, transpose, value);
}
}
« no previous file with comments | « gpu/command_buffer/build_gles2_cmd_buffer.py ('k') | gpu/command_buffer/client/gles2_implementation_impl_autogen.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698