Index: gpu/command_buffer/service/gles2_cmd_decoder_autogen.h |
diff --git a/gpu/command_buffer/service/gles2_cmd_decoder_autogen.h b/gpu/command_buffer/service/gles2_cmd_decoder_autogen.h |
index 7766b0decbf32c2676ed3dffc9c488bfe9674068..efe572f5b5fdff02136b6ae4b7fdf7c77a5cfc28 100644 |
--- a/gpu/command_buffer/service/gles2_cmd_decoder_autogen.h |
+++ b/gpu/command_buffer/service/gles2_cmd_decoder_autogen.h |
@@ -4197,6 +4197,22 @@ error::Error GLES2DecoderImpl::HandleCopyTextureCHROMIUM( |
return error::kNoError; |
} |
+error::Error GLES2DecoderImpl::HandleCopySubTextureCHROMIUM( |
+ uint32_t immediate_data_size, |
+ const void* cmd_data) { |
+ const gles2::cmds::CopySubTextureCHROMIUM& c = |
+ *static_cast<const gles2::cmds::CopySubTextureCHROMIUM*>(cmd_data); |
+ (void)c; |
+ GLenum target = static_cast<GLenum>(c.target); |
+ GLenum source_id = static_cast<GLenum>(c.source_id); |
+ GLenum dest_id = static_cast<GLenum>(c.dest_id); |
+ GLint level = static_cast<GLint>(c.level); |
+ GLint xoffset = static_cast<GLint>(c.xoffset); |
+ GLint yoffset = static_cast<GLint>(c.yoffset); |
+ DoCopySubTextureCHROMIUM(target, source_id, dest_id, level, xoffset, yoffset); |
+ return error::kNoError; |
+} |
+ |
error::Error GLES2DecoderImpl::HandleProduceTextureCHROMIUMImmediate( |
uint32_t immediate_data_size, |
const void* cmd_data) { |