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

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

Issue 2639973002: Add target argument to Copy{Sub}TextureCHROMIUM entry point (Closed)
Patch Set: use dest_target instead of target Created 3 years, 11 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 300fc739ee5999aaf99446c547e43e3fb3342f52..4f5f8eca935a1175706b53db093ac0abbb9c04a4 100644
--- a/gpu/command_buffer/client/gles2_cmd_helper_autogen.h
+++ b/gpu/command_buffer/client/gles2_cmd_helper_autogen.h
@@ -2506,6 +2506,7 @@ void PostSubBufferCHROMIUM(GLint x, GLint y, GLint width, GLint height) {
void CopyTextureCHROMIUM(GLenum source_id,
GLint source_level,
+ GLenum dest_target,
GLenum dest_id,
GLint dest_level,
GLint internalformat,
@@ -2516,14 +2517,15 @@ void CopyTextureCHROMIUM(GLenum source_id,
gles2::cmds::CopyTextureCHROMIUM* c =
GetCmdSpace<gles2::cmds::CopyTextureCHROMIUM>();
if (c) {
- c->Init(source_id, source_level, dest_id, dest_level, internalformat,
- dest_type, unpack_flip_y, unpack_premultiply_alpha,
+ c->Init(source_id, source_level, dest_target, dest_id, dest_level,
+ internalformat, dest_type, unpack_flip_y, unpack_premultiply_alpha,
unpack_unmultiply_alpha);
}
}
void CopySubTextureCHROMIUM(GLenum source_id,
GLint source_level,
+ GLenum dest_target,
GLenum dest_id,
GLint dest_level,
GLint xoffset,
@@ -2538,9 +2540,9 @@ void CopySubTextureCHROMIUM(GLenum source_id,
gles2::cmds::CopySubTextureCHROMIUM* c =
GetCmdSpace<gles2::cmds::CopySubTextureCHROMIUM>();
if (c) {
- c->Init(source_id, source_level, dest_id, dest_level, xoffset, yoffset, x,
- y, width, height, unpack_flip_y, unpack_premultiply_alpha,
- unpack_unmultiply_alpha);
+ c->Init(source_id, source_level, dest_target, dest_id, dest_level, xoffset,
+ yoffset, x, y, width, height, unpack_flip_y,
+ unpack_premultiply_alpha, unpack_unmultiply_alpha);
}
}

Powered by Google App Engine
This is Rietveld 408576698