summaryrefslogtreecommitdiffstats
path: root/ppapi/proxy/ppb_context_3d_proxy.cc
diff options
context:
space:
mode:
Diffstat (limited to 'ppapi/proxy/ppb_context_3d_proxy.cc')
-rw-r--r--ppapi/proxy/ppb_context_3d_proxy.cc10
1 files changed, 10 insertions, 0 deletions
diff --git a/ppapi/proxy/ppb_context_3d_proxy.cc b/ppapi/proxy/ppb_context_3d_proxy.cc
index 076f133..d36ed2a 100644
--- a/ppapi/proxy/ppb_context_3d_proxy.cc
+++ b/ppapi/proxy/ppb_context_3d_proxy.cc
@@ -180,6 +180,8 @@ class PepperCommandBuffer : public gpu::CommandBuffer {
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);
@@ -303,6 +305,14 @@ int32 PepperCommandBuffer::CreateTransferBuffer(size_t size) {
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;