| 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 <map> | 8 #include <map> |
| 9 #include <vector> | 9 #include <vector> |
| 10 | 10 |
| (...skipping 106 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 117 int32 CreateGpuMemoryBufferImage(size_t width, | 117 int32 CreateGpuMemoryBufferImage(size_t width, |
| 118 size_t height, | 118 size_t height, |
| 119 unsigned internalformat, | 119 unsigned internalformat, |
| 120 unsigned usage) override; | 120 unsigned usage) override; |
| 121 uint32 InsertSyncPoint() override; | 121 uint32 InsertSyncPoint() override; |
| 122 uint32 InsertFutureSyncPoint() override; | 122 uint32 InsertFutureSyncPoint() override; |
| 123 void RetireSyncPoint(uint32 sync_point) override; | 123 void RetireSyncPoint(uint32 sync_point) override; |
| 124 void SignalSyncPoint(uint32 sync_point, | 124 void SignalSyncPoint(uint32 sync_point, |
| 125 const base::Closure& callback) override; | 125 const base::Closure& callback) override; |
| 126 void SignalQuery(uint32 query_id, const base::Closure& callback) override; | 126 void SignalQuery(uint32 query_id, const base::Closure& callback) override; |
| 127 void SetSurfaceVisible(bool visible) override; | |
| 128 void SetLock(base::Lock*) override; | 127 void SetLock(base::Lock*) override; |
| 129 bool IsGpuChannelLost() override; | 128 bool IsGpuChannelLost() override; |
| 130 CommandBufferNamespace GetNamespaceID() const override; | 129 CommandBufferNamespace GetNamespaceID() const override; |
| 131 uint64_t GetCommandBufferID() const override; | 130 uint64_t GetCommandBufferID() const override; |
| 132 uint64_t GenerateFenceSyncRelease() override; | 131 uint64_t GenerateFenceSyncRelease() override; |
| 133 bool IsFenceSyncRelease(uint64_t release) override; | 132 bool IsFenceSyncRelease(uint64_t release) override; |
| 134 bool IsFenceSyncFlushed(uint64_t release) override; | 133 bool IsFenceSyncFlushed(uint64_t release) override; |
| 135 bool IsFenceSyncFlushReceived(uint64_t release) override; | 134 bool IsFenceSyncFlushReceived(uint64_t release) override; |
| 136 void SignalSyncToken(const SyncToken& sync_token, | 135 void SignalSyncToken(const SyncToken& sync_token, |
| 137 const base::Closure& callback) override; | 136 const base::Closure& callback) override; |
| (...skipping 181 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 319 SyncPointManager* sync_point_manager_; // Non-owning. | 318 SyncPointManager* sync_point_manager_; // Non-owning. |
| 320 scoped_refptr<gpu::gles2::ShaderTranslatorCache> shader_translator_cache_; | 319 scoped_refptr<gpu::gles2::ShaderTranslatorCache> shader_translator_cache_; |
| 321 scoped_refptr<gpu::gles2::FramebufferCompletenessCache> | 320 scoped_refptr<gpu::gles2::FramebufferCompletenessCache> |
| 322 framebuffer_completeness_cache_; | 321 framebuffer_completeness_cache_; |
| 323 DISALLOW_COPY_AND_ASSIGN(GpuInProcessThread); | 322 DISALLOW_COPY_AND_ASSIGN(GpuInProcessThread); |
| 324 }; | 323 }; |
| 325 | 324 |
| 326 } // namespace gpu | 325 } // namespace gpu |
| 327 | 326 |
| 328 #endif // GPU_COMMAND_BUFFER_SERVICE_IN_PROCESS_COMMAND_BUFFER_H_ | 327 #endif // GPU_COMMAND_BUFFER_SERVICE_IN_PROCESS_COMMAND_BUFFER_H_ |
| OLD | NEW |