| Index: gpu/command_buffer/service/gles2_cmd_copy_texture_chromium.cc
|
| diff --git a/gpu/command_buffer/service/gles2_cmd_copy_texture_chromium.cc b/gpu/command_buffer/service/gles2_cmd_copy_texture_chromium.cc
|
| index 251013b44b0a4d658c71c046fb3d5e8ed48f952c..9fa92b5bf689f90d59a11753ea60b29bf1340d43 100644
|
| --- a/gpu/command_buffer/service/gles2_cmd_copy_texture_chromium.cc
|
| +++ b/gpu/command_buffer/service/gles2_cmd_copy_texture_chromium.cc
|
| @@ -487,10 +487,39 @@ void CopyTextureCHROMIUMResourceManager::DoCopySubTexture(
|
| return;
|
| }
|
|
|
| + DoCopySubTextureWithTransform(
|
| + decoder, source_target, source_id, source_internal_format, dest_target,
|
| + dest_id, dest_internal_format, xoffset, yoffset, x, y, width, height,
|
| + dest_width, dest_height, source_width, source_height, flip_y,
|
| + premultiply_alpha, unpremultiply_alpha, kIdentityMatrix);
|
| +}
|
| +
|
| +void CopyTextureCHROMIUMResourceManager::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]) {
|
| DoCopyTextureInternal(decoder, source_target, source_id, dest_target, dest_id,
|
| xoffset, yoffset, x, y, width, height, dest_width, dest_height,
|
| source_width, source_height, flip_y, premultiply_alpha,
|
| - unpremultiply_alpha, kIdentityMatrix);
|
| + unpremultiply_alpha, transform_matrix);
|
| }
|
|
|
| void CopyTextureCHROMIUMResourceManager::DoCopyTextureWithTransform(
|
|
|