| 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 <stddef.h> | 8 #include <stddef.h> |
| 9 #include <stdint.h> | 9 #include <stdint.h> |
| 10 | 10 |
| (...skipping 106 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 117 unsigned internal_format, | 117 unsigned internal_format, |
| 118 unsigned usage) override; | 118 unsigned usage) override; |
| 119 uint32_t InsertSyncPoint() override; | 119 uint32_t InsertSyncPoint() override; |
| 120 uint32_t InsertFutureSyncPoint() override; | 120 uint32_t InsertFutureSyncPoint() override; |
| 121 void RetireSyncPoint(uint32_t sync_point) override; | 121 void RetireSyncPoint(uint32_t sync_point) override; |
| 122 void SignalSyncPoint(uint32_t sync_point, | 122 void SignalSyncPoint(uint32_t sync_point, |
| 123 const base::Closure& callback) override; | 123 const base::Closure& callback) override; |
| 124 void SignalQuery(uint32_t query, const base::Closure& callback) override; | 124 void SignalQuery(uint32_t query, const base::Closure& callback) override; |
| 125 void SetLock(base::Lock* lock) override; | 125 void SetLock(base::Lock* lock) override; |
| 126 bool IsGpuChannelLost() override; | 126 bool IsGpuChannelLost() override; |
| 127 void EnsureWorkVisible() override; |
| 127 gpu::CommandBufferNamespace GetNamespaceID() const override; | 128 gpu::CommandBufferNamespace GetNamespaceID() const override; |
| 128 uint64_t GetCommandBufferID() const override; | 129 uint64_t GetCommandBufferID() const override; |
| 129 int32_t GetExtraCommandBufferData() const override; | 130 int32_t GetExtraCommandBufferData() const override; |
| 130 uint64_t GenerateFenceSyncRelease() override; | 131 uint64_t GenerateFenceSyncRelease() override; |
| 131 bool IsFenceSyncRelease(uint64_t release) override; | 132 bool IsFenceSyncRelease(uint64_t release) override; |
| 132 bool IsFenceSyncFlushed(uint64_t release) override; | 133 bool IsFenceSyncFlushed(uint64_t release) override; |
| 133 bool IsFenceSyncFlushReceived(uint64_t release) override; | 134 bool IsFenceSyncFlushReceived(uint64_t release) override; |
| 134 void SignalSyncToken(const gpu::SyncToken& sync_token, | 135 void SignalSyncToken(const gpu::SyncToken& sync_token, |
| 135 const base::Closure& callback) override; | 136 const base::Closure& callback) override; |
| 136 bool CanWaitUnverifiedSyncToken(const gpu::SyncToken* sync_token) override; | 137 bool CanWaitUnverifiedSyncToken(const gpu::SyncToken* sync_token) override; |
| (...skipping 119 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 256 | 257 |
| 257 SwapBuffersCompletionCallback swap_buffers_completion_callback_; | 258 SwapBuffersCompletionCallback swap_buffers_completion_callback_; |
| 258 UpdateVSyncParametersCallback update_vsync_parameters_completion_callback_; | 259 UpdateVSyncParametersCallback update_vsync_parameters_completion_callback_; |
| 259 | 260 |
| 260 DISALLOW_COPY_AND_ASSIGN(CommandBufferProxyImpl); | 261 DISALLOW_COPY_AND_ASSIGN(CommandBufferProxyImpl); |
| 261 }; | 262 }; |
| 262 | 263 |
| 263 } // namespace content | 264 } // namespace content |
| 264 | 265 |
| 265 #endif // CONTENT_COMMON_GPU_CLIENT_COMMAND_BUFFER_PROXY_IMPL_H_ | 266 #endif // CONTENT_COMMON_GPU_CLIENT_COMMAND_BUFFER_PROXY_IMPL_H_ |
| OLD | NEW |