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

Unified Diff: gpu/command_buffer/client/gles2_implementation_impl_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_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..9c35f5d1c5c7823a26649a330a178a9b6a32e36e 100644
--- a/gpu/command_buffer/client/gles2_implementation_impl_autogen.h
+++ b/gpu/command_buffer/client/gles2_implementation_impl_autogen.h
@@ -2633,6 +2633,23 @@ void GLES2Implementation::UniformMatrix4x3fv(GLint location,
CheckGLError();
}
+void GLES2Implementation::UniformMatrix4fvWithStreamTextureMatrixCHROMIUM(
+ GLint location,
+ GLboolean transpose,
+ const GLfloat* default_value) {
+ GPU_CLIENT_SINGLE_THREAD_CHECK();
+ GPU_CLIENT_LOG("[" << GetLogPrefix()
+ << "] glUniformMatrix4fvWithStreamTextureMatrixCHROMIUM("
+ << location << ", " << 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_->UniformMatrix4fvWithStreamTextureMatrixCHROMIUMImmediate(
+ location, transpose, default_value);
+ CheckGLError();
+}
+
void GLES2Implementation::UseProgram(GLuint program) {
GPU_CLIENT_SINGLE_THREAD_CHECK();
GPU_CLIENT_LOG("[" << GetLogPrefix() << "] glUseProgram(" << program << ")");

Powered by Google App Engine
This is Rietveld 408576698