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 101 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
112 size_t height, | 112 size_t height, |
113 unsigned internalformat, | 113 unsigned internalformat, |
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; | 121 void SetSurfaceVisible(bool visible) override; |
122 uint32 CreateStreamTexture(uint32 texture_id) override; | 122 uint32 CreateStreamTexture(uint32 texture_id); |
no sievers
2015/10/27 16:58:56
nit: move it down to the non-virtual methods
sivag
2015/11/05 09:42:50
Done.
| |
123 void SetLock(base::Lock* lock) override; | 123 void SetLock(base::Lock* lock) override; |
124 bool IsGpuChannelLost() override; | 124 bool IsGpuChannelLost() override; |
125 gpu::CommandBufferNamespace GetNamespaceID() const override; | 125 gpu::CommandBufferNamespace GetNamespaceID() const override; |
126 uint64_t GetCommandBufferID() const override; | 126 uint64_t GetCommandBufferID() const override; |
127 uint64_t GenerateFenceSyncRelease() override; | 127 uint64_t GenerateFenceSyncRelease() override; |
128 bool IsFenceSyncRelease(uint64_t release) override; | 128 bool IsFenceSyncRelease(uint64_t release) override; |
129 bool IsFenceSyncFlushed(uint64_t release) override; | 129 bool IsFenceSyncFlushed(uint64_t release) override; |
130 bool IsFenceSyncFlushReceived(uint64_t release) override; | 130 bool IsFenceSyncFlushReceived(uint64_t release) override; |
131 void SignalSyncToken(const gpu::SyncToken& sync_token, | 131 void SignalSyncToken(const gpu::SyncToken& sync_token, |
132 const base::Closure& callback) override; | 132 const base::Closure& callback) override; |
(...skipping 119 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
252 | 252 |
253 SwapBuffersCompletionCallback swap_buffers_completion_callback_; | 253 SwapBuffersCompletionCallback swap_buffers_completion_callback_; |
254 UpdateVSyncParametersCallback update_vsync_parameters_completion_callback_; | 254 UpdateVSyncParametersCallback update_vsync_parameters_completion_callback_; |
255 | 255 |
256 DISALLOW_COPY_AND_ASSIGN(CommandBufferProxyImpl); | 256 DISALLOW_COPY_AND_ASSIGN(CommandBufferProxyImpl); |
257 }; | 257 }; |
258 | 258 |
259 } // namespace content | 259 } // namespace content |
260 | 260 |
261 #endif // CONTENT_COMMON_GPU_CLIENT_COMMAND_BUFFER_PROXY_IMPL_H_ | 261 #endif // CONTENT_COMMON_GPU_CLIENT_COMMAND_BUFFER_PROXY_IMPL_H_ |
OLD | NEW |