Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(866)

Unified Diff: mojo/gles2/command_buffer_client_impl.h

Issue 215803002: Remove CommandBuffer::GetTransferBuffer. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 6 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: mojo/gles2/command_buffer_client_impl.h
diff --git a/mojo/gles2/command_buffer_client_impl.h b/mojo/gles2/command_buffer_client_impl.h
index 2934274565f255ea4ec329ffbb935acf02313d5c..d6fdb364dafb1c154ffdc2273066fed5ee162523 100644
--- a/mojo/gles2/command_buffer_client_impl.h
+++ b/mojo/gles2/command_buffer_client_impl.h
@@ -56,15 +56,9 @@ class CommandBufferClientImpl : public CommandBufferClient,
virtual void WaitForTokenInRange(int32 start, int32 end) OVERRIDE;
virtual void WaitForGetOffsetInRange(int32 start, int32 end) OVERRIDE;
virtual void SetGetBuffer(int32 shm_id) OVERRIDE;
- virtual void SetGetOffset(int32 get_offset) OVERRIDE;
virtual scoped_refptr<gpu::Buffer> CreateTransferBuffer(size_t size,
int32* id) OVERRIDE;
virtual void DestroyTransferBuffer(int32 id) OVERRIDE;
- virtual scoped_refptr<gpu::Buffer> GetTransferBuffer(int32 id) OVERRIDE;
- virtual void SetToken(int32 token) OVERRIDE;
- virtual void SetParseError(gpu::error::Error error) OVERRIDE;
- virtual void SetContextLostReason(gpu::error::ContextLostReason reason)
- OVERRIDE;
// gpu::GpuControl implementation:
virtual gpu::Capabilities GetCapabilities() OVERRIDE;
@@ -88,8 +82,6 @@ class CommandBufferClientImpl : public CommandBufferClient,
void CancelAnimationFrames();
private:
- typedef std::map<int32, scoped_refptr<gpu::Buffer> > TransferBufferMap;
-
// CommandBufferClient implementation:
virtual void DidInitialize(bool success) OVERRIDE;
virtual void DidMakeProgress(const CommandBufferState& state) OVERRIDE;
@@ -115,7 +107,6 @@ class CommandBufferClientImpl : public CommandBufferClient,
State last_state_;
scoped_ptr<base::SharedMemory> shared_state_shm_;
- TransferBufferMap transfer_buffers_;
int32 last_put_offset_;
int32 next_transfer_buffer_id_;
« no previous file with comments | « mojo/examples/pepper_container_app/graphics_3d_resource.cc ('k') | mojo/gles2/command_buffer_client_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698