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

Unified Diff: mojo/gpu/mojo_gles2_impl_autogen.cc

Issue 1559203003: Add GLStreamTextureImage (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: removed shared context check and removed matrix from copier. 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: mojo/gpu/mojo_gles2_impl_autogen.cc
diff --git a/mojo/gpu/mojo_gles2_impl_autogen.cc b/mojo/gpu/mojo_gles2_impl_autogen.cc
index 453f9e2e5bbe632c25867960f738f1be20ae41d5..09a0d38278cb1d86d3fd2951347916384864b335 100644
--- a/mojo/gpu/mojo_gles2_impl_autogen.cc
+++ b/mojo/gpu/mojo_gles2_impl_autogen.cc
@@ -1921,5 +1921,13 @@ GLint MojoGLES2Impl::GetFragDataIndexEXT(GLuint program, const char* name) {
MojoGLES2MakeCurrent(context_);
return glGetFragDataIndexEXT(program, name);
}
+void MojoGLES2Impl::UniformMatrix4fvStreamTextureMatrixCHROMIUM(
+ GLint location,
+ GLboolean transpose,
+ const GLfloat* default_value) {
+ MojoGLES2MakeCurrent(context_);
+ glUniformMatrix4fvStreamTextureMatrixCHROMIUM(location, transpose,
+ default_value);
+}
} // namespace mojo

Powered by Google App Engine
This is Rietveld 408576698