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

Unified Diff: mojo/gpu/mojo_gles2_impl_autogen.cc

Issue 1417853006: gpu: introduce glSetStreamTextureSizeCHROMIUM(GLuint texture, GLint stream_id, GLsizei width, GLsiz… Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix android_webview.test failure Created 5 years, 1 month 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 6e4fb9b13f2ff51b55d1a7dca2061923234e5c8e..b24a93346c740379d5e5a2cf3ad9d3f4265531b5 100644
--- a/mojo/gpu/mojo_gles2_impl_autogen.cc
+++ b/mojo/gpu/mojo_gles2_impl_autogen.cc
@@ -1447,10 +1447,17 @@ void MojoGLES2Impl::GetUniformsES3CHROMIUM(GLuint program,
void* info) {
NOTREACHED() << "Unimplemented GetUniformsES3CHROMIUM.";
}
-GLuint MojoGLES2Impl::CreateStreamTextureCHROMIUM(GLuint texture) {
+GLint MojoGLES2Impl::CreateStreamTextureCHROMIUM(GLuint texture) {
MojoGLES2MakeCurrent(context_);
return glCreateStreamTextureCHROMIUM(texture);
}
+void MojoGLES2Impl::SetStreamTextureSizeCHROMIUM(GLuint texture,
+ GLint stream_id,
+ GLsizei width,
+ GLsizei height) {
+ MojoGLES2MakeCurrent(context_);
+ glSetStreamTextureSizeCHROMIUM(texture, stream_id, width, height);
+}
GLuint MojoGLES2Impl::CreateImageCHROMIUM(ClientBuffer buffer,
GLsizei width,
GLsizei height,

Powered by Google App Engine
This is Rietveld 408576698