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 105 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
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 SetSurfaceVisible(bool visible) override; | 121 void SetSurfaceVisible(bool visible) override; |
122 void SetLock(base::Lock* lock) override; | 122 void SetLock(base::Lock* lock) override; |
123 bool IsGpuChannelLost() override; | 123 bool IsGpuChannelLost() override; |
124 gpu::CommandBufferNamespace GetNamespaceID() const override; | 124 gpu::CommandBufferNamespace GetNamespaceID() const override; |
125 uint64_t GetCommandBufferID() const override; | 125 uint64_t GetCommandBufferID() const override; |
| 126 uint32_t GetExtraCommandBufferData() const override; |
126 uint64_t GenerateFenceSyncRelease() override; | 127 uint64_t GenerateFenceSyncRelease() override; |
127 bool IsFenceSyncRelease(uint64_t release) override; | 128 bool IsFenceSyncRelease(uint64_t release) override; |
128 bool IsFenceSyncFlushed(uint64_t release) override; | 129 bool IsFenceSyncFlushed(uint64_t release) override; |
129 bool IsFenceSyncFlushReceived(uint64_t release) override; | 130 bool IsFenceSyncFlushReceived(uint64_t release) override; |
130 void SignalSyncToken(const gpu::SyncToken& sync_token, | 131 void SignalSyncToken(const gpu::SyncToken& sync_token, |
131 const base::Closure& callback) override; | 132 const base::Closure& callback) override; |
132 bool CanWaitUnverifiedSyncToken(const gpu::SyncToken* sync_token) override; | 133 bool CanWaitUnverifiedSyncToken(const gpu::SyncToken* sync_token) override; |
133 | 134 |
134 bool ProduceFrontBuffer(const gpu::Mailbox& mailbox); | 135 bool ProduceFrontBuffer(const gpu::Mailbox& mailbox); |
135 void SetContextLostCallback(const base::Closure& callback); | 136 void SetContextLostCallback(const base::Closure& callback); |
(...skipping 116 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
252 | 253 |
253 SwapBuffersCompletionCallback swap_buffers_completion_callback_; | 254 SwapBuffersCompletionCallback swap_buffers_completion_callback_; |
254 UpdateVSyncParametersCallback update_vsync_parameters_completion_callback_; | 255 UpdateVSyncParametersCallback update_vsync_parameters_completion_callback_; |
255 | 256 |
256 DISALLOW_COPY_AND_ASSIGN(CommandBufferProxyImpl); | 257 DISALLOW_COPY_AND_ASSIGN(CommandBufferProxyImpl); |
257 }; | 258 }; |
258 | 259 |
259 } // namespace content | 260 } // namespace content |
260 | 261 |
261 #endif // CONTENT_COMMON_GPU_CLIENT_COMMAND_BUFFER_PROXY_IMPL_H_ | 262 #endif // CONTENT_COMMON_GPU_CLIENT_COMMAND_BUFFER_PROXY_IMPL_H_ |
OLD | NEW |