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 933bf6592c44305db8d4fdbf5961124e34194c56..fc297dfc4d839a1e2b91a4afefd6d70adadb254f 100644 |
--- a/gpu/command_buffer/service/gles2_cmd_copy_texture_chromium.h |
+++ b/gpu/command_buffer/service/gles2_cmd_copy_texture_chromium.h |
@@ -7,6 +7,13 @@ |
#include "gpu/command_buffer/service/gl_utils.h" |
+namespace gpu { |
+namespace gles2 { |
+ |
+class GLES2Decoder; |
+ |
+} // namespace gles2. |
+ |
// This class encapsulates the resources required to implement the |
// GL_CHROMIUM_copy_texture extension. The copy operation is performed |
// via a blit to a framebuffer object. |
@@ -14,11 +21,13 @@ class CopyTextureCHROMIUMResourceManager { |
public: |
CopyTextureCHROMIUMResourceManager() : initialized_(false) {} |
- void Initialize(); |
+ void Initialize(const gles2::GLES2Decoder* decoder); |
void Destroy(); |
- void DoCopyTexture(GLenum target, GLuint source_id, GLuint dest_id, |
- GLint level, bool flip_y, bool premultiply_alpha, |
+ void DoCopyTexture(const gles2::GLES2Decoder* decoder, |
+ GLenum target, GLuint source_id, GLuint dest_id, |
+ GLint level, GLsizei width, GLsizei height, |
+ bool flip_y, bool premultiply_alpha, |
bool unpremultiply_alpha); |
// The attributes used during invocation of the extension. |
@@ -37,6 +46,8 @@ class CopyTextureCHROMIUMResourceManager { |
DISALLOW_COPY_AND_ASSIGN(CopyTextureCHROMIUMResourceManager); |
}; |
+} // namespace gpu. |
+ |
#endif // GPU_COMMAND_BUFFER_SERVICE_GLES2_CMD_COPY_TEXTURE_CHROMIUM_H_ |