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

Unified Diff: gpu/command_buffer/common/gles2_cmd_format_autogen.h

Issue 1818073002: Always apply UniformMatrix4fvStreamTextureMatrixCHROMIUM matrix argument. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase [If you wait by the river long enough, the bodies of your gyp files will float by] Created 4 years, 4 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
« no previous file with comments | « gpu/command_buffer/cmd_buffer_functions.txt ('k') | gpu/command_buffer/service/gl_stream_texture_image.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: gpu/command_buffer/common/gles2_cmd_format_autogen.h
diff --git a/gpu/command_buffer/common/gles2_cmd_format_autogen.h b/gpu/command_buffer/common/gles2_cmd_format_autogen.h
index 97bbb547e886b05728193a28aedce736fdeed133..d17adc6e7eeafb9957dad5b52a4927c32123805d 100644
--- a/gpu/command_buffer/common/gles2_cmd_format_autogen.h
+++ b/gpu/command_buffer/common/gles2_cmd_format_autogen.h
@@ -15552,20 +15552,18 @@ struct UniformMatrix4fvStreamTextureMatrixCHROMIUMImmediate {
void SetHeader() { header.SetCmdByTotalSize<ValueType>(ComputeSize()); }
- void Init(GLint _location,
- GLboolean _transpose,
- const GLfloat* _default_value) {
+ void Init(GLint _location, GLboolean _transpose, const GLfloat* _transform) {
SetHeader();
location = _location;
transpose = _transpose;
- memcpy(ImmediateDataAddress(this), _default_value, ComputeDataSize());
+ memcpy(ImmediateDataAddress(this), _transform, ComputeDataSize());
}
void* Set(void* cmd,
GLint _location,
GLboolean _transpose,
- const GLfloat* _default_value) {
- static_cast<ValueType*>(cmd)->Init(_location, _transpose, _default_value);
+ const GLfloat* _transform) {
+ static_cast<ValueType*>(cmd)->Init(_location, _transpose, _transform);
const uint32_t size = ComputeSize();
return NextImmediateCmdAddressTotalSize<ValueType>(cmd, size);
}
« no previous file with comments | « gpu/command_buffer/cmd_buffer_functions.txt ('k') | gpu/command_buffer/service/gl_stream_texture_image.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698