| OLD | NEW |
| 1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 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 COMPONENTS_MUS_GLES2_COMMAND_BUFFER_LOCAL_H_ | 5 #ifndef COMPONENTS_MUS_GLES2_COMMAND_BUFFER_LOCAL_H_ |
| 6 #define COMPONENTS_MUS_GLES2_COMMAND_BUFFER_LOCAL_H_ | 6 #define COMPONENTS_MUS_GLES2_COMMAND_BUFFER_LOCAL_H_ |
| 7 | 7 |
| 8 #include <stddef.h> | 8 #include <stddef.h> |
| 9 #include <stdint.h> | 9 #include <stdint.h> |
| 10 | 10 |
| (...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 67 unsigned internalformat, | 67 unsigned internalformat, |
| 68 unsigned usage) override; | 68 unsigned usage) override; |
| 69 uint32_t InsertSyncPoint() override; | 69 uint32_t InsertSyncPoint() override; |
| 70 uint32_t InsertFutureSyncPoint() override; | 70 uint32_t InsertFutureSyncPoint() override; |
| 71 void RetireSyncPoint(uint32_t sync_point) override; | 71 void RetireSyncPoint(uint32_t sync_point) override; |
| 72 void SignalSyncPoint(uint32_t sync_point, | 72 void SignalSyncPoint(uint32_t sync_point, |
| 73 const base::Closure& callback) override; | 73 const base::Closure& callback) override; |
| 74 void SignalQuery(uint32_t query, const base::Closure& callback) override; | 74 void SignalQuery(uint32_t query, const base::Closure& callback) override; |
| 75 void SetLock(base::Lock*) override; | 75 void SetLock(base::Lock*) override; |
| 76 bool IsGpuChannelLost() override; | 76 bool IsGpuChannelLost() override; |
| 77 void SynchronizeCommandBuffer() override; |
| 77 gpu::CommandBufferNamespace GetNamespaceID() const override; | 78 gpu::CommandBufferNamespace GetNamespaceID() const override; |
| 78 uint64_t GetCommandBufferID() const override; | 79 uint64_t GetCommandBufferID() const override; |
| 79 int32_t GetExtraCommandBufferData() const override; | 80 int32_t GetExtraCommandBufferData() const override; |
| 80 uint64_t GenerateFenceSyncRelease() override; | 81 uint64_t GenerateFenceSyncRelease() override; |
| 81 bool IsFenceSyncRelease(uint64_t release) override; | 82 bool IsFenceSyncRelease(uint64_t release) override; |
| 82 bool IsFenceSyncFlushed(uint64_t release) override; | 83 bool IsFenceSyncFlushed(uint64_t release) override; |
| 83 bool IsFenceSyncFlushReceived(uint64_t release) override; | 84 bool IsFenceSyncFlushReceived(uint64_t release) override; |
| 84 void SignalSyncToken(const gpu::SyncToken& sync_token, | 85 void SignalSyncToken(const gpu::SyncToken& sync_token, |
| 85 const base::Closure& callback) override; | 86 const base::Closure& callback) override; |
| 86 bool CanWaitUnverifiedSyncToken(const gpu::SyncToken* sync_token) override; | 87 bool CanWaitUnverifiedSyncToken(const gpu::SyncToken* sync_token) override; |
| (...skipping 26 matching lines...) Expand all Loading... |
| 113 uint64_t next_fence_sync_release_; | 114 uint64_t next_fence_sync_release_; |
| 114 | 115 |
| 115 base::WeakPtrFactory<CommandBufferLocal> weak_factory_; | 116 base::WeakPtrFactory<CommandBufferLocal> weak_factory_; |
| 116 | 117 |
| 117 DISALLOW_COPY_AND_ASSIGN(CommandBufferLocal); | 118 DISALLOW_COPY_AND_ASSIGN(CommandBufferLocal); |
| 118 }; | 119 }; |
| 119 | 120 |
| 120 } // namespace mus | 121 } // namespace mus |
| 121 | 122 |
| 122 #endif // COMPONENTS_MUS_GLES2_COMMAND_BUFFER_LOCAL_H_ | 123 #endif // COMPONENTS_MUS_GLES2_COMMAND_BUFFER_LOCAL_H_ |
| OLD | NEW |