Index: ppapi/proxy/ppb_context_3d_proxy.cc |
=================================================================== |
--- ppapi/proxy/ppb_context_3d_proxy.cc (revision 75655) |
+++ ppapi/proxy/ppb_context_3d_proxy.cc (working copy) |
@@ -177,6 +177,9 @@ |
virtual State FlushSync(int32 put_offset); |
virtual void SetGetOffset(int32 get_offset); |
virtual int32 CreateTransferBuffer(size_t size); |
+ virtual int32 RegisterTransferBuffer( |
+ base::SharedMemory* shared_memory, |
+ size_t size); |
virtual void DestroyTransferBuffer(int32 id); |
virtual gpu::Buffer GetTransferBuffer(int32 handle); |
virtual void SetToken(int32 token); |
@@ -300,6 +303,14 @@ |
return -1; |
} |
+int32 PepperCommandBuffer::RegisterTransferBuffer( |
+ base::SharedMemory* shared_memory, |
+ size_t size) { |
+ // Not implemented in proxy. |
+ NOTREACHED(); |
+ return -1; |
+} |
+ |
void PepperCommandBuffer::DestroyTransferBuffer(int32 id) { |
if (last_state_.error != gpu::error::kNoError) |
return; |