| 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 100 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 111 int32 CreateGpuMemoryBufferImage(size_t width, | 111 int32 CreateGpuMemoryBufferImage(size_t width, |
| 112 size_t height, | 112 size_t height, |
| 113 unsigned internal_format, | 113 unsigned internal_format, |
| 114 unsigned usage) override; | 114 unsigned usage) override; |
| 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 SetSurfaceVisible(bool visible) override; | |
| 122 void SetLock(base::Lock* lock) override; | 121 void SetLock(base::Lock* lock) override; |
| 123 bool IsGpuChannelLost() override; | 122 bool IsGpuChannelLost() override; |
| 124 gpu::CommandBufferNamespace GetNamespaceID() const override; | 123 gpu::CommandBufferNamespace GetNamespaceID() const override; |
| 125 uint64_t GetCommandBufferID() const override; | 124 uint64_t GetCommandBufferID() const override; |
| 126 uint64_t GenerateFenceSyncRelease() override; | 125 uint64_t GenerateFenceSyncRelease() override; |
| 127 bool IsFenceSyncRelease(uint64_t release) override; | 126 bool IsFenceSyncRelease(uint64_t release) override; |
| 128 bool IsFenceSyncFlushed(uint64_t release) override; | 127 bool IsFenceSyncFlushed(uint64_t release) override; |
| 129 bool IsFenceSyncFlushReceived(uint64_t release) override; | 128 bool IsFenceSyncFlushReceived(uint64_t release) override; |
| 130 void SignalSyncToken(const gpu::SyncToken& sync_token, | 129 void SignalSyncToken(const gpu::SyncToken& sync_token, |
| 131 const base::Closure& callback) override; | 130 const base::Closure& callback) override; |
| (...skipping 120 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 252 | 251 |
| 253 SwapBuffersCompletionCallback swap_buffers_completion_callback_; | 252 SwapBuffersCompletionCallback swap_buffers_completion_callback_; |
| 254 UpdateVSyncParametersCallback update_vsync_parameters_completion_callback_; | 253 UpdateVSyncParametersCallback update_vsync_parameters_completion_callback_; |
| 255 | 254 |
| 256 DISALLOW_COPY_AND_ASSIGN(CommandBufferProxyImpl); | 255 DISALLOW_COPY_AND_ASSIGN(CommandBufferProxyImpl); |
| 257 }; | 256 }; |
| 258 | 257 |
| 259 } // namespace content | 258 } // namespace content |
| 260 | 259 |
| 261 #endif // CONTENT_COMMON_GPU_CLIENT_COMMAND_BUFFER_PROXY_IMPL_H_ | 260 #endif // CONTENT_COMMON_GPU_CLIENT_COMMAND_BUFFER_PROXY_IMPL_H_ |
| OLD | NEW |