Index: content/renderer/gpu/command_buffer_proxy.h |
diff --git a/content/renderer/gpu/command_buffer_proxy.h b/content/renderer/gpu/command_buffer_proxy.h |
index 551e1ca5b357eab510df7b4506c0421bb5b27793..65916212053cdf6150924da6cdf31e5b70394c32 100644 |
--- a/content/renderer/gpu/command_buffer_proxy.h |
+++ b/content/renderer/gpu/command_buffer_proxy.h |
@@ -43,13 +43,12 @@ class CommandBufferProxy : public gpu::CommandBuffer, |
int route_id() const { return route_id_; } |
// CommandBuffer implementation: |
- virtual bool Initialize(int32 size) OVERRIDE; |
- virtual bool Initialize(base::SharedMemory* buffer, int32 size) OVERRIDE; |
- virtual gpu::Buffer GetRingBuffer() OVERRIDE; |
+ virtual bool Initialize() OVERRIDE; |
virtual State GetState() OVERRIDE; |
virtual State GetLastState() OVERRIDE; |
virtual void Flush(int32 put_offset) OVERRIDE; |
virtual State FlushSync(int32 put_offset, int32 last_known_get) OVERRIDE; |
+ virtual void SetGetBuffer(int32 shm_id) OVERRIDE; |
virtual void SetGetOffset(int32 get_offset) OVERRIDE; |
virtual int32 CreateTransferBuffer(size_t size, int32 id_request) OVERRIDE; |
virtual int32 RegisterTransferBuffer(base::SharedMemory* shared_memory, |
@@ -104,10 +103,6 @@ class CommandBufferProxy : public gpu::CommandBuffer, |
void OnDestroyed(gpu::error::ContextLostReason reason); |
void OnEchoAck(); |
- // As with the service, the client takes ownership of the ring buffer. |
- int32 num_entries_; |
- scoped_ptr<base::SharedMemory> ring_buffer_; |
- |
// Local cache of id to transfer buffer mapping. |
typedef std::map<int32, gpu::Buffer> TransferBufferMap; |
TransferBufferMap transfer_buffers_; |