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

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

Issue 2610853005: Modify Copy{Sub}TextureCHROMIUM entry point to add level argument (Closed)
Patch Set: fix chromeos 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 c893a282a826c7b7b13172a57f2d8c5b2616ac98..300fc739ee5999aaf99446c547e43e3fb3342f52 100644
--- a/gpu/command_buffer/client/gles2_cmd_helper_autogen.h
+++ b/gpu/command_buffer/client/gles2_cmd_helper_autogen.h
@@ -2505,7 +2505,9 @@ void PostSubBufferCHROMIUM(GLint x, GLint y, GLint width, GLint height) {
}
void CopyTextureCHROMIUM(GLenum source_id,
+ GLint source_level,
GLenum dest_id,
+ GLint dest_level,
GLint internalformat,
GLenum dest_type,
GLboolean unpack_flip_y,
@@ -2514,13 +2516,16 @@ void CopyTextureCHROMIUM(GLenum source_id,
gles2::cmds::CopyTextureCHROMIUM* c =
GetCmdSpace<gles2::cmds::CopyTextureCHROMIUM>();
if (c) {
- c->Init(source_id, dest_id, internalformat, dest_type, unpack_flip_y,
- unpack_premultiply_alpha, unpack_unmultiply_alpha);
+ c->Init(source_id, source_level, 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_id,
+ GLint dest_level,
GLint xoffset,
GLint yoffset,
GLint x,
@@ -2533,8 +2538,9 @@ void CopySubTextureCHROMIUM(GLenum source_id,
gles2::cmds::CopySubTextureCHROMIUM* c =
GetCmdSpace<gles2::cmds::CopySubTextureCHROMIUM>();
if (c) {
- c->Init(source_id, dest_id, xoffset, yoffset, x, y, width, height,
- unpack_flip_y, unpack_premultiply_alpha, unpack_unmultiply_alpha);
+ 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);
}
}
« 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