| Index: gpu/command_buffer/service/gles2_cmd_copy_texture_chromium.h
|
| diff --git a/gpu/command_buffer/service/gles2_cmd_copy_texture_chromium.h b/gpu/command_buffer/service/gles2_cmd_copy_texture_chromium.h
|
| index aae3741f731cee03b06b62af73f9acbcc0a828aa..95b25a0585f2e11411497cb9fcfc660ba034d0be 100644
|
| --- a/gpu/command_buffer/service/gles2_cmd_copy_texture_chromium.h
|
| +++ b/gpu/command_buffer/service/gles2_cmd_copy_texture_chromium.h
|
| @@ -67,6 +67,28 @@ class GPU_EXPORT CopyTextureCHROMIUMResourceManager {
|
| bool premultiply_alpha,
|
| bool unpremultiply_alpha);
|
|
|
| + void DoCopySubTextureWithTransform(const gles2::GLES2Decoder* decoder,
|
| + GLenum source_target,
|
| + GLuint source_id,
|
| + GLenum source_internal_format,
|
| + GLenum dest_target,
|
| + GLuint dest_id,
|
| + GLenum dest_internal_format,
|
| + GLint xoffset,
|
| + GLint yoffset,
|
| + GLint x,
|
| + GLint y,
|
| + GLsizei width,
|
| + GLsizei height,
|
| + GLsizei dest_width,
|
| + GLsizei dest_height,
|
| + GLsizei source_width,
|
| + GLsizei source_height,
|
| + bool flip_y,
|
| + bool premultiply_alpha,
|
| + bool unpremultiply_alpha,
|
| + const GLfloat transform_matrix[16]);
|
| +
|
| // This will apply a transform on the texture coordinates before sampling
|
| // the source texture and copying to the destination texture. The transform
|
| // matrix should be given in column-major form, so it can be passed
|
|
|