Index: ppapi/proxy/ppb_context_3d_proxy.cc |
=================================================================== |
--- ppapi/proxy/ppb_context_3d_proxy.cc (revision 76263) |
+++ ppapi/proxy/ppb_context_3d_proxy.cc (working copy) |
@@ -177,6 +177,7 @@ |
// CommandBuffer implementation: |
virtual bool Initialize(int32 size); |
+ virtual bool Initialize(base::SharedMemory* buffer, int32 size); |
virtual gpu::Buffer GetRingBuffer(); |
virtual State GetState(); |
virtual void Flush(int32 put_offset); |
@@ -248,6 +249,12 @@ |
return false; |
} |
+bool PepperCommandBuffer::Initialize(base::SharedMemory* buffer, int32 size) { |
+ // Not implemented in proxy. |
+ NOTREACHED(); |
+ return false; |
+} |
+ |
gpu::Buffer PepperCommandBuffer::GetRingBuffer() { |
// Return locally cached ring buffer. |
gpu::Buffer buffer; |