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 4ed05610db5fdebdea7d706e1a2dcfc8bbf2b0dc..87a5246fa8c04b3524f4de1e3c6070631aba2c6e 100644 |
--- a/gpu/command_buffer/client/gles2_implementation_impl_autogen.h |
+++ b/gpu/command_buffer/client/gles2_implementation_impl_autogen.h |
@@ -2633,6 +2633,26 @@ void GLES2Implementation::UniformMatrix4x3fv(GLint location, |
CheckGLError(); |
} |
+void GLES2Implementation::UniformMatrix4fvWithCustomMatrixCHROMIUM( |
+ GLint location, |
+ GLenum custom_matrix, |
+ GLboolean transpose, |
+ const GLfloat* default_value) { |
+ GPU_CLIENT_SINGLE_THREAD_CHECK(); |
+ GPU_CLIENT_LOG("[" << GetLogPrefix() |
+ << "] glUniformMatrix4fvWithCustomMatrixCHROMIUM(" |
+ << location << ", " |
+ << GLES2Util::GetStringCustomMatrixParameter(custom_matrix) |
+ << ", " << GLES2Util::GetStringBool(transpose) << ", " |
+ << static_cast<const void*>(default_value) << ")"); |
+ size_t count = 16; |
+ for (size_t ii = 0; ii < count; ++ii) |
+ GPU_CLIENT_LOG("value[" << ii << "]: " << default_value[ii]); |
+ helper_->UniformMatrix4fvWithCustomMatrixCHROMIUMImmediate( |
+ location, custom_matrix, transpose, default_value); |
+ CheckGLError(); |
+} |
+ |
void GLES2Implementation::UseProgram(GLuint program) { |
GPU_CLIENT_SINGLE_THREAD_CHECK(); |
GPU_CLIENT_LOG("[" << GetLogPrefix() << "] glUseProgram(" << program << ")"); |