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

Unified Diff: mojo/gpu/mojo_gles2_impl_autogen.cc

Issue 1551143002: Remove the "target" argument from CopyTextureChromium. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix compile error. Created 4 years, 12 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 7821ba8c7fd41057f7a9af1442d9f0b51baf4d6e..d035fe12c3370987a528f1536299c4f0e2b26f9d 100644
--- a/mojo/gpu/mojo_gles2_impl_autogen.cc
+++ b/mojo/gpu/mojo_gles2_impl_autogen.cc
@@ -1489,8 +1489,7 @@ void MojoGLES2Impl::TexImageIOSurface2DCHROMIUM(GLenum target,
MojoGLES2MakeCurrent(context_);
glTexImageIOSurface2DCHROMIUM(target, width, height, ioSurfaceId, plane);
}
-void MojoGLES2Impl::CopyTextureCHROMIUM(GLenum target,
- GLenum source_id,
+void MojoGLES2Impl::CopyTextureCHROMIUM(GLenum source_id,
GLenum dest_id,
GLint internalformat,
GLenum dest_type,
@@ -1498,12 +1497,11 @@ void MojoGLES2Impl::CopyTextureCHROMIUM(GLenum target,
GLboolean unpack_premultiply_alpha,
GLboolean unpack_unmultiply_alpha) {
MojoGLES2MakeCurrent(context_);
- glCopyTextureCHROMIUM(target, source_id, dest_id, internalformat, dest_type,
+ glCopyTextureCHROMIUM(source_id, dest_id, internalformat, dest_type,
unpack_flip_y, unpack_premultiply_alpha,
unpack_unmultiply_alpha);
}
-void MojoGLES2Impl::CopySubTextureCHROMIUM(GLenum target,
- GLenum source_id,
+void MojoGLES2Impl::CopySubTextureCHROMIUM(GLenum source_id,
GLenum dest_id,
GLint xoffset,
GLint yoffset,
@@ -1515,9 +1513,9 @@ void MojoGLES2Impl::CopySubTextureCHROMIUM(GLenum target,
GLboolean unpack_premultiply_alpha,
GLboolean unpack_unmultiply_alpha) {
MojoGLES2MakeCurrent(context_);
- glCopySubTextureCHROMIUM(target, source_id, dest_id, xoffset, yoffset, x, y,
- width, height, unpack_flip_y,
- unpack_premultiply_alpha, unpack_unmultiply_alpha);
+ glCopySubTextureCHROMIUM(source_id, dest_id, xoffset, yoffset, x, y, width,
+ height, unpack_flip_y, unpack_premultiply_alpha,
+ unpack_unmultiply_alpha);
}
void MojoGLES2Impl::CompressedCopyTextureCHROMIUM(GLenum target,
GLenum source_id,
« no previous file with comments | « mojo/gpu/mojo_gles2_impl_autogen.h ('k') | mojo/public/c/gles2/gles2_call_visitor_chromium_extension_autogen.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698