Index: gpu/command_buffer/client/gles2_implementation.h |
diff --git a/gpu/command_buffer/client/gles2_implementation.h b/gpu/command_buffer/client/gles2_implementation.h |
index 7124c7306b785a7a15dab0349b712e5d0e967402..180ef3c574666f027c4ef5c062e8e8086750c93e 100644 |
--- a/gpu/command_buffer/client/gles2_implementation.h |
+++ b/gpu/command_buffer/client/gles2_implementation.h |
@@ -482,7 +482,10 @@ class GLES2_IMPL_EXPORT GLES2Implementation : public GLES2Interface { |
// for error checking. |
bool MustBeContextLost(); |
+ bool GetBoundPixelTransferBuffer( |
+ GLenum target, const char* function_name, GLuint* buffer_id); |
BufferTracker::Buffer* GetBoundPixelUnpackTransferBufferIfValid( |
+ GLuint buffer_id, |
const char* function_name, GLuint offset, GLsizei size); |
const std::string& GetLogPrefix() const; |
@@ -547,7 +550,8 @@ class GLES2_IMPL_EXPORT GLES2Implementation : public GLES2Interface { |
// The currently bound array buffer. |
GLuint bound_array_buffer_id_; |
- // The currently bound pixel transfer buffer. |
+ // The currently bound pixel transfer buffers. |
+ GLuint bound_pixel_pack_transfer_buffer_id_; |
GLuint bound_pixel_unpack_transfer_buffer_id_; |
// Client side management for vertex array objects. Needed to correctly |