| 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 2d607bf556c79a9ffb1527b6ba35727bd802b468..b2d49e75ea1f0d5aa1940b7bf029f3ba8a1a9ae5 100644
|
| --- a/gpu/command_buffer/service/gles2_cmd_copy_texture_chromium.h
|
| +++ b/gpu/command_buffer/service/gles2_cmd_copy_texture_chromium.h
|
| @@ -31,6 +31,16 @@ class GPU_EXPORT CopyTextureCHROMIUMResourceManager {
|
| bool flip_y, bool premultiply_alpha,
|
| bool unpremultiply_alpha);
|
|
|
| + // This will apply a transform on the source texture before copying to
|
| + // destination texture.
|
| + void DoCopyTextureWithTransform(const gles2::GLES2Decoder* decoder,
|
| + GLenum source_target, GLenum dest_target,
|
| + GLuint source_id, GLuint dest_id, GLint level,
|
| + GLsizei width, GLsizei height, bool flip_y,
|
| + bool premultiply_alpha,
|
| + bool unpremultiply_alpha,
|
| + const GLfloat transform_matrix[16]);
|
| +
|
| // The attributes used during invocation of the extension.
|
| static const GLuint kVertexPositionAttrib = 0;
|
|
|
|
|