| Index: content/common/gpu/gpu_channel.h
|
| diff --git a/content/common/gpu/gpu_channel.h b/content/common/gpu/gpu_channel.h
|
| index 73ed31288a01cbecc35ea3a8215579b0cbeadfdb..6b707289cc55df3a924f66619667f332ceeb7966 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;
|
| +class ValueStateMap;
|
| +namespace gles2 {
|
| +}
|
| }
|
|
|
| namespace IPC {
|
| @@ -151,6 +155,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::ValueStateMap* pending_valuebuffer_state() const {
|
| + return pending_valuebuffer_state_.get();
|
| + }
|
| +
|
| private:
|
| friend class GpuChannelMessageFilter;
|
|
|
| @@ -207,6 +219,8 @@ class GpuChannel : public IPC::Listener, public IPC::Sender {
|
|
|
| scoped_refptr<gpu::gles2::MailboxManager> mailbox_manager_;
|
|
|
| + scoped_refptr<gpu::ValueStateMap> pending_valuebuffer_state_;
|
| +
|
| typedef IDMap<GpuCommandBufferStub, IDMapOwnPointer> StubMap;
|
| StubMap stubs_;
|
|
|
|
|