Chromium Code Reviews| 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..03401c507c952506c2e13a2e145da4af0430fd22 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,15 @@ 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, |
|
fgalligan1
2013/04/04 20:38:10
Indentation is off. Either line up with "(" or 4 s
hkuang
2013/04/04 22:56:45
Done.
|
| + 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]); |
|
fgalligan1
2013/04/04 20:38:10
16 is meaningless here. Basically you are passing
hkuang
2013/04/04 22:56:45
Keep it as it is now as see the StreamTextureProxy
|
| + |
| // The attributes used during invocation of the extension. |
| static const GLuint kVertexPositionAttrib = 0; |