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

Unified Diff: gpu/command_buffer/client/gles2_cmd_helper_autogen.h

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: gpu/command_buffer/client/gles2_cmd_helper_autogen.h
diff --git a/gpu/command_buffer/client/gles2_cmd_helper_autogen.h b/gpu/command_buffer/client/gles2_cmd_helper_autogen.h
index 3d7daa58776798cfb136ed8507960aee23da143e..ba82b35f3a12f8d71165a81d24ac16cf502770bd 100644
--- a/gpu/command_buffer/client/gles2_cmd_helper_autogen.h
+++ b/gpu/command_buffer/client/gles2_cmd_helper_autogen.h
@@ -2491,8 +2491,7 @@ void TexImageIOSurface2DCHROMIUM(GLenum target,
}
}
-void CopyTextureCHROMIUM(GLenum target,
- GLenum source_id,
+void CopyTextureCHROMIUM(GLenum source_id,
GLenum dest_id,
GLint internalformat,
GLenum dest_type,
@@ -2502,13 +2501,12 @@ void CopyTextureCHROMIUM(GLenum target,
gles2::cmds::CopyTextureCHROMIUM* c =
GetCmdSpace<gles2::cmds::CopyTextureCHROMIUM>();
if (c) {
- c->Init(target, source_id, dest_id, internalformat, dest_type,
- unpack_flip_y, unpack_premultiply_alpha, unpack_unmultiply_alpha);
+ c->Init(source_id, dest_id, internalformat, dest_type, unpack_flip_y,
+ unpack_premultiply_alpha, unpack_unmultiply_alpha);
}
}
-void CopySubTextureCHROMIUM(GLenum target,
- GLenum source_id,
+void CopySubTextureCHROMIUM(GLenum source_id,
GLenum dest_id,
GLint xoffset,
GLint yoffset,
@@ -2522,7 +2520,7 @@ void CopySubTextureCHROMIUM(GLenum target,
gles2::cmds::CopySubTextureCHROMIUM* c =
GetCmdSpace<gles2::cmds::CopySubTextureCHROMIUM>();
if (c) {
- c->Init(target, source_id, dest_id, xoffset, yoffset, x, y, width, height,
+ c->Init(source_id, dest_id, xoffset, yoffset, x, y, width, height,
unpack_flip_y, unpack_premultiply_alpha, unpack_unmultiply_alpha);
}
}
« no previous file with comments | « gpu/command_buffer/client/gles2_c_lib_autogen.h ('k') | gpu/command_buffer/client/gles2_implementation_autogen.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698