Index: content/common/gpu/gpu_channel.h |
diff --git a/content/common/gpu/gpu_channel.h b/content/common/gpu/gpu_channel.h |
index 0d8538f4889b72d4d094c5923b08417502cfcdcf..6e2eaa6dff620775f291b9d28782647d654010c1 100644 |
--- a/content/common/gpu/gpu_channel.h |
+++ b/content/common/gpu/gpu_channel.h |
@@ -34,6 +34,10 @@ class WaitableEvent; |
namespace gpu { |
class PreemptionFlag; |
+union ValueState; |
+namespace gles2 { |
+class ValuebufferManager; |
+} |
} |
namespace IPC { |
@@ -145,6 +149,14 @@ class GpuChannel : public IPC::Listener, public IPC::Sender { |
bool allow_future_sync_points() const { return allow_future_sync_points_; } |
+ void HandleUpdateValueState(unsigned int target, |
+ const gpu::ValueState& state); |
+ |
+ // Visible for testing. |
+ const gpu::gles2::ValuebufferManager* valuebuffer_manager() const { |
+ return valuebuffer_manager_.get(); |
+ } |
+ |
private: |
friend class GpuChannelMessageFilter; |
@@ -201,6 +213,8 @@ class GpuChannel : public IPC::Listener, public IPC::Sender { |
scoped_refptr<gpu::gles2::MailboxManager> mailbox_manager_; |
+ scoped_refptr<gpu::gles2::ValuebufferManager> valuebuffer_manager_; |
piman
2014/11/26 20:47:09
I don't think you can share the whole ValuebufferM
orglofch
2014/12/01 01:54:29
Done.
|
+ |
typedef IDMap<GpuCommandBufferStub, IDMapOwnPointer> StubMap; |
StubMap stubs_; |