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 f0438b4d2ca79f51abb2ab3bbb0db4b6544ea931..165c298a1b26e0411a3ee1d44a2004f4da6d28c0 100644 |
| --- a/gpu/command_buffer/service/gles2_cmd_copy_texture_chromium.h |
| +++ b/gpu/command_buffer/service/gles2_cmd_copy_texture_chromium.h |
| @@ -34,20 +34,25 @@ class GPU_EXPORT CopyTextureCHROMIUMResourceManager { |
| GLenum source_target, |
| GLuint source_id, |
| GLenum source_internal_format, |
| + GLenum dest_target, |
| GLuint dest_id, |
| GLenum dest_internal_format, |
| + GLenum dest_type, |
| GLsizei width, |
| GLsizei height, |
| bool flip_y, |
| bool premultiply_alpha, |
| - bool unpremultiply_alpha); |
| + bool unpremultiply_alpha, |
| + bool dest_cube_complete); |
| void DoCopySubTexture(const gles2::GLES2Decoder* decoder, |
| GLenum source_target, |
| GLuint source_id, |
| GLenum source_internal_format, |
| + GLenum dest_target, |
| GLuint dest_id, |
| GLenum dest_internal_format, |
| + GLenum dest_type, |
| GLint xoffset, |
| GLint yoffset, |
| GLint x, |
| @@ -60,7 +65,8 @@ class GPU_EXPORT CopyTextureCHROMIUMResourceManager { |
| GLsizei source_height, |
| bool flip_y, |
| bool premultiply_alpha, |
| - bool unpremultiply_alpha); |
| + bool unpremultiply_alpha, |
| + bool dest_cube_complete); |
| // This will apply a transform on the texture coordinates before sampling |
| // the source texture and copying to the destination texture. The transform |
| @@ -69,12 +75,16 @@ class GPU_EXPORT CopyTextureCHROMIUMResourceManager { |
| void DoCopyTextureWithTransform(const gles2::GLES2Decoder* decoder, |
| GLenum source_target, |
| GLuint source_id, |
| + GLenum dest_target, |
| GLuint dest_id, |
| + GLenum dest_internal_format, |
| + GLenum dest_type, |
| GLsizei width, |
| GLsizei height, |
| bool flip_y, |
| bool premultiply_alpha, |
| bool unpremultiply_alpha, |
| + bool dest_cube_complete, |
| const GLfloat transform_matrix[16]); |
| // The attributes used during invocation of the extension. |
| @@ -99,6 +109,7 @@ class GPU_EXPORT CopyTextureCHROMIUMResourceManager { |
| void DoCopyTextureInternal(const gles2::GLES2Decoder* decoder, |
| GLenum source_target, |
| GLuint source_id, |
| + GLenum dest_target, |
| GLuint dest_id, |
| GLint xoffset, |
| GLint yoffset, |
| @@ -124,6 +135,7 @@ class GPU_EXPORT CopyTextureCHROMIUMResourceManager { |
| ProgramMap programs_; |
| GLuint buffer_id_; |
| GLuint framebuffer_; |
| + GLuint staging_testure_; |
|
Ken Russell (switch to Gerrit)
2015/08/18 00:33:02
typo: should be staging_texture_ .
dshwang
2015/08/18 14:42:01
Acknowledged.
|
| DISALLOW_COPY_AND_ASSIGN(CopyTextureCHROMIUMResourceManager); |
| }; |