| Index: gpu/command_buffer/client/gles2_implementation_impl_autogen.h
|
| diff --git a/gpu/command_buffer/client/gles2_implementation_impl_autogen.h b/gpu/command_buffer/client/gles2_implementation_impl_autogen.h
|
| index e10aa498039a6d4e168cffcb1bf7146efb361b7e..fe6bc010d62b41d993d16bda663aa6e65d40f5d1 100644
|
| --- a/gpu/command_buffer/client/gles2_implementation_impl_autogen.h
|
| +++ b/gpu/command_buffer/client/gles2_implementation_impl_autogen.h
|
| @@ -3218,6 +3218,36 @@ void GLES2Implementation::ReleaseTexImage2DCHROMIUM(GLenum target,
|
| CheckGLError();
|
| }
|
|
|
| +void GLES2Implementation::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) {
|
| + GPU_CLIENT_SINGLE_THREAD_CHECK();
|
| + GPU_CLIENT_LOG("[" << GetLogPrefix() << "] glCopyImageSubDataCHROMIUM("
|
| + << source_image_id << ", " << dest_texture_id << ", "
|
| + << xoffset << ", " << yoffset << ", " << x << ", " << y
|
| + << ", " << width << ", " << height << ", " << in_fence_id
|
| + << ", " << out_fence_id << ")");
|
| + if (width < 0) {
|
| + SetGLError(GL_INVALID_VALUE, "glCopyImageSubDataCHROMIUM", "width < 0");
|
| + return;
|
| + }
|
| + if (height < 0) {
|
| + SetGLError(GL_INVALID_VALUE, "glCopyImageSubDataCHROMIUM", "height < 0");
|
| + return;
|
| + }
|
| + helper_->CopyImageSubDataCHROMIUM(source_image_id, dest_texture_id, xoffset,
|
| + yoffset, x, y, width, height, in_fence_id,
|
| + out_fence_id);
|
| + CheckGLError();
|
| +}
|
| +
|
| void GLES2Implementation::DiscardFramebufferEXT(GLenum target,
|
| GLsizei count,
|
| const GLenum* attachments) {
|
|
|