Index: ppapi/proxy/ppb_graphics_3d_proxy.h |
diff --git a/ppapi/proxy/ppb_graphics_3d_proxy.h b/ppapi/proxy/ppb_graphics_3d_proxy.h |
index 70c96e90c673dcf5cbb2eed315d0222445f4b090..f86b16d7872060cc31db6a05d6bcab266bc96ed7 100644 |
--- a/ppapi/proxy/ppb_graphics_3d_proxy.h |
+++ b/ppapi/proxy/ppb_graphics_3d_proxy.h |
@@ -37,11 +37,9 @@ class Graphics3D : public PPB_Graphics3D_Shared { |
virtual PP_Bool SetGetBuffer(int32_t shm_id) OVERRIDE; |
virtual gpu::CommandBuffer::State GetState() OVERRIDE; |
virtual PP_Bool Flush(int32_t put_offset) OVERRIDE; |
- virtual int32_t CreateTransferBuffer(uint32_t size) OVERRIDE; |
+ virtual scoped_refptr<gpu::Buffer> CreateTransferBuffer(uint32_t size, |
+ int32* id) OVERRIDE; |
virtual PP_Bool DestroyTransferBuffer(int32_t id) OVERRIDE; |
- virtual PP_Bool GetTransferBuffer(int32_t id, |
- int* shm_handle, |
- uint32_t* shm_size) OVERRIDE; |
virtual gpu::CommandBuffer::State WaitForTokenInRange(int32_t start, |
int32_t end) OVERRIDE; |
virtual gpu::CommandBuffer::State WaitForGetOffsetInRange(int32_t start, |
@@ -96,14 +94,13 @@ class PPB_Graphics3D_Proxy : public InterfaceProxy { |
gpu::CommandBuffer::State* state, |
bool* success); |
void OnMsgAsyncFlush(const HostResource& context, int32 put_offset); |
- void OnMsgCreateTransferBuffer(const HostResource& context, |
- uint32 size, |
- int32* id); |
+ void OnMsgCreateTransferBuffer( |
+ const HostResource& context, |
+ uint32 size, |
+ int32* id, |
+ ppapi::proxy::SerializedHandle* transfer_buffer); |
void OnMsgDestroyTransferBuffer(const HostResource& context, |
int32 id); |
- void OnMsgGetTransferBuffer(const HostResource& context, |
- int32 id, |
- ppapi::proxy::SerializedHandle* transfer_buffer); |
void OnMsgSwapBuffers(const HostResource& context); |
void OnMsgInsertSyncPoint(const HostResource& context, uint32* sync_point); |
// Renderer->plugin message handlers. |