OLD | NEW |
1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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 GPU_COMMAND_BUFFER_SERVICE_IN_PROCESS_COMMAND_BUFFER_H_ | 5 #ifndef GPU_COMMAND_BUFFER_SERVICE_IN_PROCESS_COMMAND_BUFFER_H_ |
6 #define GPU_COMMAND_BUFFER_SERVICE_IN_PROCESS_COMMAND_BUFFER_H_ | 6 #define GPU_COMMAND_BUFFER_SERVICE_IN_PROCESS_COMMAND_BUFFER_H_ |
7 | 7 |
8 #include <stddef.h> | 8 #include <stddef.h> |
9 #include <stdint.h> | 9 #include <stdint.h> |
10 | 10 |
(...skipping 112 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
123 unsigned internalformat, | 123 unsigned internalformat, |
124 unsigned usage) override; | 124 unsigned usage) override; |
125 uint32_t InsertSyncPoint() override; | 125 uint32_t InsertSyncPoint() override; |
126 uint32_t InsertFutureSyncPoint() override; | 126 uint32_t InsertFutureSyncPoint() override; |
127 void RetireSyncPoint(uint32_t sync_point) override; | 127 void RetireSyncPoint(uint32_t sync_point) override; |
128 void SignalSyncPoint(uint32_t sync_point, | 128 void SignalSyncPoint(uint32_t sync_point, |
129 const base::Closure& callback) override; | 129 const base::Closure& callback) override; |
130 void SignalQuery(uint32_t query_id, const base::Closure& callback) override; | 130 void SignalQuery(uint32_t query_id, const base::Closure& callback) override; |
131 void SetLock(base::Lock*) override; | 131 void SetLock(base::Lock*) override; |
132 bool IsGpuChannelLost() override; | 132 bool IsGpuChannelLost() override; |
| 133 void EnsureWorkVisible() override; |
133 CommandBufferNamespace GetNamespaceID() const override; | 134 CommandBufferNamespace GetNamespaceID() const override; |
134 uint64_t GetCommandBufferID() const override; | 135 uint64_t GetCommandBufferID() const override; |
135 int32_t GetExtraCommandBufferData() const override; | 136 int32_t GetExtraCommandBufferData() const override; |
136 uint64_t GenerateFenceSyncRelease() override; | 137 uint64_t GenerateFenceSyncRelease() override; |
137 bool IsFenceSyncRelease(uint64_t release) override; | 138 bool IsFenceSyncRelease(uint64_t release) override; |
138 bool IsFenceSyncFlushed(uint64_t release) override; | 139 bool IsFenceSyncFlushed(uint64_t release) override; |
139 bool IsFenceSyncFlushReceived(uint64_t release) override; | 140 bool IsFenceSyncFlushReceived(uint64_t release) override; |
140 void SignalSyncToken(const SyncToken& sync_token, | 141 void SignalSyncToken(const SyncToken& sync_token, |
141 const base::Closure& callback) override; | 142 const base::Closure& callback) override; |
142 bool CanWaitUnverifiedSyncToken(const SyncToken* sync_token) override; | 143 bool CanWaitUnverifiedSyncToken(const SyncToken* sync_token) override; |
(...skipping 179 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
322 SyncPointManager* sync_point_manager_; // Non-owning. | 323 SyncPointManager* sync_point_manager_; // Non-owning. |
323 scoped_refptr<gpu::gles2::ShaderTranslatorCache> shader_translator_cache_; | 324 scoped_refptr<gpu::gles2::ShaderTranslatorCache> shader_translator_cache_; |
324 scoped_refptr<gpu::gles2::FramebufferCompletenessCache> | 325 scoped_refptr<gpu::gles2::FramebufferCompletenessCache> |
325 framebuffer_completeness_cache_; | 326 framebuffer_completeness_cache_; |
326 DISALLOW_COPY_AND_ASSIGN(GpuInProcessThread); | 327 DISALLOW_COPY_AND_ASSIGN(GpuInProcessThread); |
327 }; | 328 }; |
328 | 329 |
329 } // namespace gpu | 330 } // namespace gpu |
330 | 331 |
331 #endif // GPU_COMMAND_BUFFER_SERVICE_IN_PROCESS_COMMAND_BUFFER_H_ | 332 #endif // GPU_COMMAND_BUFFER_SERVICE_IN_PROCESS_COMMAND_BUFFER_H_ |
OLD | NEW |