Index: ppapi/proxy/ppapi_command_buffer_proxy.h |
diff --git a/ppapi/proxy/ppapi_command_buffer_proxy.h b/ppapi/proxy/ppapi_command_buffer_proxy.h |
index 3bf8eceed5e2abfa79c5e314aa7bdeb55fcbe8b9..ddb383891c12ab7a9ee078de325d8e09789a884b 100644 |
--- a/ppapi/proxy/ppapi_command_buffer_proxy.h |
+++ b/ppapi/proxy/ppapi_command_buffer_proxy.h |
@@ -30,7 +30,8 @@ class PPAPI_PROXY_EXPORT PpapiCommandBufferProxy : public gpu::CommandBuffer, |
PpapiCommandBufferProxy(const HostResource& resource, |
PluginDispatcher* dispatcher, |
const gpu::Capabilities& capabilities, |
- const SerializedHandle& shared_state); |
+ const SerializedHandle& shared_state, |
+ uint64_t command_buffer_id); |
~PpapiCommandBufferProxy() override; |
// gpu::CommandBuffer implementation: |
@@ -67,6 +68,8 @@ class PPAPI_PROXY_EXPORT PpapiCommandBufferProxy : public gpu::CommandBuffer, |
uint32 CreateStreamTexture(uint32 texture_id) override; |
void SetLock(base::Lock*) override; |
bool IsGpuChannelLost() override; |
+ gpu::CommandBufferNamespace GetNamespaceID() const override; |
+ uint64_t GetCommandBufferID() const override; |
private: |
bool Send(IPC::Message* msg); |
@@ -80,6 +83,8 @@ class PPAPI_PROXY_EXPORT PpapiCommandBufferProxy : public gpu::CommandBuffer, |
void FlushInternal(); |
+ const uint64_t command_buffer_id_; |
+ |
gpu::Capabilities capabilities_; |
State last_state_; |
scoped_ptr<base::SharedMemory> shared_state_shm_; |