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

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

Issue 1818073002: Always apply UniformMatrix4fvStreamTextureMatrixCHROMIUM matrix argument. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 4 years, 9 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_implementation_impl_autogen.h
diff --git a/gpu/command_buffer/client/gles2_implementation_impl_autogen.h b/gpu/command_buffer/client/gles2_implementation_impl_autogen.h
index 0a56dc8465e3425182498cfc20e12c296dfbb32c..001c496c084cd043ee9ae2bad4e3b22a23ba8264 100644
--- a/gpu/command_buffer/client/gles2_implementation_impl_autogen.h
+++ b/gpu/command_buffer/client/gles2_implementation_impl_autogen.h
@@ -3579,17 +3579,17 @@ void GLES2Implementation::ApplyScreenSpaceAntialiasingCHROMIUM() {
void GLES2Implementation::UniformMatrix4fvStreamTextureMatrixCHROMIUM(
GLint location,
GLboolean transpose,
- const GLfloat* default_value) {
+ const GLfloat* transform) {
GPU_CLIENT_SINGLE_THREAD_CHECK();
GPU_CLIENT_LOG("[" << GetLogPrefix()
<< "] glUniformMatrix4fvStreamTextureMatrixCHROMIUM("
<< location << ", " << GLES2Util::GetStringBool(transpose)
- << ", " << static_cast<const void*>(default_value) << ")");
+ << ", " << static_cast<const void*>(transform) << ")");
size_t count = 16;
for (size_t ii = 0; ii < count; ++ii)
- GPU_CLIENT_LOG("value[" << ii << "]: " << default_value[ii]);
+ GPU_CLIENT_LOG("value[" << ii << "]: " << transform[ii]);
helper_->UniformMatrix4fvStreamTextureMatrixCHROMIUMImmediate(
- location, transpose, default_value);
+ location, transpose, transform);
CheckGLError();
}

Powered by Google App Engine
This is Rietveld 408576698