Chromium Code Reviews| 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 size_t height, | 111 size_t height, |
| 112 unsigned internalformat, | 112 unsigned internalformat, |
| 113 unsigned usage) override; | 113 unsigned usage) override; |
| 114 uint32 InsertSyncPoint() override; | 114 uint32 InsertSyncPoint() override; |
| 115 uint32_t InsertFutureSyncPoint() override; | 115 uint32_t InsertFutureSyncPoint() override; |
| 116 void RetireSyncPoint(uint32_t sync_point) override; | 116 void RetireSyncPoint(uint32_t sync_point) override; |
| 117 void SignalSyncPoint(uint32 sync_point, | 117 void SignalSyncPoint(uint32 sync_point, |
| 118 const base::Closure& callback) override; | 118 const base::Closure& callback) override; |
| 119 void SignalQuery(uint32 query, const base::Closure& callback) override; | 119 void SignalQuery(uint32 query, const base::Closure& callback) override; |
| 120 void SetSurfaceVisible(bool visible) override; | 120 void SetSurfaceVisible(bool visible) override; |
| 121 uint32 CreateStreamTexture(uint32 texture_id) override; | 121 uint32 CreateStreamTexture(uint32 texture_id) final; |
|
no sievers
2015/10/26 21:35:33
It'd be nice to pull the other changes you suggest
sivag
2015/10/27 15:42:44
Done.
| |
| 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 uint64_t GenerateFenceSyncRelease() override; | 126 uint64_t GenerateFenceSyncRelease() override; |
| 127 bool IsFenceSyncRelease(uint64_t release) override; | 127 bool IsFenceSyncRelease(uint64_t release) override; |
| 128 bool IsFenceSyncFlushed(uint64_t release) override; | 128 bool IsFenceSyncFlushed(uint64_t release) override; |
| 129 bool IsFenceSyncFlushReceived(uint64_t release) override; | 129 bool IsFenceSyncFlushReceived(uint64_t release) override; |
| 130 bool CanWaitUnverifiedSyncToken(const gpu::SyncToken* sync_token) override; | 130 bool CanWaitUnverifiedSyncToken(const gpu::SyncToken* sync_token) override; |
| 131 | 131 |
| (...skipping 117 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 249 | 249 |
| 250 SwapBuffersCompletionCallback swap_buffers_completion_callback_; | 250 SwapBuffersCompletionCallback swap_buffers_completion_callback_; |
| 251 UpdateVSyncParametersCallback update_vsync_parameters_completion_callback_; | 251 UpdateVSyncParametersCallback update_vsync_parameters_completion_callback_; |
| 252 | 252 |
| 253 DISALLOW_COPY_AND_ASSIGN(CommandBufferProxyImpl); | 253 DISALLOW_COPY_AND_ASSIGN(CommandBufferProxyImpl); |
| 254 }; | 254 }; |
| 255 | 255 |
| 256 } // namespace content | 256 } // namespace content |
| 257 | 257 |
| 258 #endif // CONTENT_COMMON_GPU_CLIENT_COMMAND_BUFFER_PROXY_IMPL_H_ | 258 #endif // CONTENT_COMMON_GPU_CLIENT_COMMAND_BUFFER_PROXY_IMPL_H_ |
| OLD | NEW |