Index: content/common/gpu/client/context_provider_command_buffer.h |
diff --git a/content/common/gpu/client/context_provider_command_buffer.h b/content/common/gpu/client/context_provider_command_buffer.h |
index 2f8e4f2ee0f151773fa7488f208c5921a4548916..d61e05c3c51699a5a1cb88a8cc9cc1b3f92b1faa 100644 |
--- a/content/common/gpu/client/context_provider_command_buffer.h |
+++ b/content/common/gpu/client/context_provider_command_buffer.h |
@@ -30,6 +30,15 @@ class CONTENT_EXPORT ContextProviderCommandBuffer |
scoped_ptr<WebGraphicsContext3DCommandBufferImpl> context3d, |
const std::string& debug_name); |
+ CommandBufferProxyImpl* GetCommandBufferProxy(); |
+ int GetGPUProcessID(); |
no sievers
2014/01/07 16:36:51
Yea, I've been trying to remove this entirely :)
h
|
+ |
+ void set_leak_on_destroy() { |
+ base::AutoLock lock(main_thread_lock_); |
+ leak_on_destroy_ = true; |
+ } |
+ |
+ // cc::ContextProvider implementation. |
virtual bool BindToCurrentThread() OVERRIDE; |
virtual WebGraphicsContext3DCommandBufferImpl* Context3d() OVERRIDE; |
virtual gpu::gles2::GLES2Interface* ContextGL() OVERRIDE; |
@@ -46,11 +55,6 @@ class CONTENT_EXPORT ContextProviderCommandBuffer |
const MemoryPolicyChangedCallback& memory_policy_changed_callback) |
OVERRIDE; |
- void set_leak_on_destroy() { |
- base::AutoLock lock(main_thread_lock_); |
- leak_on_destroy_ = true; |
- } |
- |
protected: |
ContextProviderCommandBuffer( |
scoped_ptr<WebGraphicsContext3DCommandBufferImpl> context3d, |