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

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

Issue 2443023002: gpu: Add CHROMIUM_copy_image extension.
Patch Set: rebase Created 4 years, 2 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 5f9dba914da740505df557ce2c93fa2bf2b7e31d..ad7ea2b35d77be341bbdcfcae2b16487cfec93c6 100644
--- a/gpu/command_buffer/client/gles2_cmd_helper_autogen.h
+++ b/gpu/command_buffer/client/gles2_cmd_helper_autogen.h
@@ -2651,6 +2651,24 @@ void ReleaseTexImage2DCHROMIUM(GLenum target, GLint imageId) {
}
}
+void CopyImageSubDataCHROMIUM(GLint source_image_id,
+ GLint dest_texture_id,
+ GLint xoffset,
+ GLint yoffset,
+ GLint x,
+ GLint y,
+ GLsizei width,
+ GLsizei height,
+ GLint in_fence_id,
+ GLint out_fence_id) {
+ gles2::cmds::CopyImageSubDataCHROMIUM* c =
+ GetCmdSpace<gles2::cmds::CopyImageSubDataCHROMIUM>();
+ if (c) {
+ c->Init(source_image_id, dest_texture_id, xoffset, yoffset, x, y, width,
+ height, in_fence_id, out_fence_id);
+ }
+}
+
void TraceBeginCHROMIUM(GLuint category_bucket_id, GLuint name_bucket_id) {
gles2::cmds::TraceBeginCHROMIUM* c =
GetCmdSpace<gles2::cmds::TraceBeginCHROMIUM>();
« 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