OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef CONTENT_COMMON_GPU_CLIENT_COMMAND_BUFFER_PROXY_IMPL_H_ | 5 #ifndef CONTENT_COMMON_GPU_CLIENT_COMMAND_BUFFER_PROXY_IMPL_H_ |
6 #define CONTENT_COMMON_GPU_CLIENT_COMMAND_BUFFER_PROXY_IMPL_H_ | 6 #define CONTENT_COMMON_GPU_CLIENT_COMMAND_BUFFER_PROXY_IMPL_H_ |
7 | 7 |
8 #include <map> | 8 #include <map> |
9 #include <queue> | 9 #include <queue> |
10 #include <string> | 10 #include <string> |
(...skipping 104 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
115 uint32 InsertSyncPoint() override; | 115 uint32 InsertSyncPoint() override; |
116 uint32_t InsertFutureSyncPoint() override; | 116 uint32_t InsertFutureSyncPoint() override; |
117 void RetireSyncPoint(uint32_t sync_point) override; | 117 void RetireSyncPoint(uint32_t sync_point) override; |
118 void SignalSyncPoint(uint32 sync_point, | 118 void SignalSyncPoint(uint32 sync_point, |
119 const base::Closure& callback) override; | 119 const base::Closure& callback) override; |
120 void SignalQuery(uint32 query, const base::Closure& callback) override; | 120 void SignalQuery(uint32 query, const base::Closure& callback) override; |
121 void SetLock(base::Lock* lock) override; | 121 void SetLock(base::Lock* lock) override; |
122 bool IsGpuChannelLost() override; | 122 bool IsGpuChannelLost() override; |
123 gpu::CommandBufferNamespace GetNamespaceID() const override; | 123 gpu::CommandBufferNamespace GetNamespaceID() const override; |
124 uint64_t GetCommandBufferID() const override; | 124 uint64_t GetCommandBufferID() const override; |
| 125 int32_t GetExtraCommandBufferData() const override; |
125 uint64_t GenerateFenceSyncRelease() override; | 126 uint64_t GenerateFenceSyncRelease() override; |
126 bool IsFenceSyncRelease(uint64_t release) override; | 127 bool IsFenceSyncRelease(uint64_t release) override; |
127 bool IsFenceSyncFlushed(uint64_t release) override; | 128 bool IsFenceSyncFlushed(uint64_t release) override; |
128 bool IsFenceSyncFlushReceived(uint64_t release) override; | 129 bool IsFenceSyncFlushReceived(uint64_t release) override; |
129 void SignalSyncToken(const gpu::SyncToken& sync_token, | 130 void SignalSyncToken(const gpu::SyncToken& sync_token, |
130 const base::Closure& callback) override; | 131 const base::Closure& callback) override; |
131 bool CanWaitUnverifiedSyncToken(const gpu::SyncToken* sync_token) override; | 132 bool CanWaitUnverifiedSyncToken(const gpu::SyncToken* sync_token) override; |
132 | 133 |
133 bool ProduceFrontBuffer(const gpu::Mailbox& mailbox); | 134 bool ProduceFrontBuffer(const gpu::Mailbox& mailbox); |
134 void SetContextLostCallback(const base::Closure& callback); | 135 void SetContextLostCallback(const base::Closure& callback); |
(...skipping 116 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
251 | 252 |
252 SwapBuffersCompletionCallback swap_buffers_completion_callback_; | 253 SwapBuffersCompletionCallback swap_buffers_completion_callback_; |
253 UpdateVSyncParametersCallback update_vsync_parameters_completion_callback_; | 254 UpdateVSyncParametersCallback update_vsync_parameters_completion_callback_; |
254 | 255 |
255 DISALLOW_COPY_AND_ASSIGN(CommandBufferProxyImpl); | 256 DISALLOW_COPY_AND_ASSIGN(CommandBufferProxyImpl); |
256 }; | 257 }; |
257 | 258 |
258 } // namespace content | 259 } // namespace content |
259 | 260 |
260 #endif // CONTENT_COMMON_GPU_CLIENT_COMMAND_BUFFER_PROXY_IMPL_H_ | 261 #endif // CONTENT_COMMON_GPU_CLIENT_COMMAND_BUFFER_PROXY_IMPL_H_ |
OLD | NEW |