OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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 MOJO_GLES2_COMMAND_BUFFER_CLIENT_IMPL_H_ | 5 #ifndef MOJO_GLES2_COMMAND_BUFFER_CLIENT_IMPL_H_ |
6 #define MOJO_GLES2_COMMAND_BUFFER_CLIENT_IMPL_H_ | 6 #define MOJO_GLES2_COMMAND_BUFFER_CLIENT_IMPL_H_ |
7 | 7 |
8 #include <map> | 8 #include <map> |
9 #include <vector> | 9 #include <vector> |
10 | 10 |
(...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
68 uint32 InsertSyncPoint() override; | 68 uint32 InsertSyncPoint() override; |
69 uint32 InsertFutureSyncPoint() override; | 69 uint32 InsertFutureSyncPoint() override; |
70 void RetireSyncPoint(uint32 sync_point) override; | 70 void RetireSyncPoint(uint32 sync_point) override; |
71 void SignalSyncPoint(uint32 sync_point, | 71 void SignalSyncPoint(uint32 sync_point, |
72 const base::Closure& callback) override; | 72 const base::Closure& callback) override; |
73 void SignalQuery(uint32 query, const base::Closure& callback) override; | 73 void SignalQuery(uint32 query, const base::Closure& callback) override; |
74 void SetLock(base::Lock*) override; | 74 void SetLock(base::Lock*) override; |
75 bool IsGpuChannelLost() override; | 75 bool IsGpuChannelLost() override; |
76 gpu::CommandBufferNamespace GetNamespaceID() const override; | 76 gpu::CommandBufferNamespace GetNamespaceID() const override; |
77 uint64_t GetCommandBufferID() const override; | 77 uint64_t GetCommandBufferID() const override; |
| 78 int32_t GetExtraCommandBufferData() const override; |
78 uint64_t GenerateFenceSyncRelease() override; | 79 uint64_t GenerateFenceSyncRelease() override; |
79 bool IsFenceSyncRelease(uint64_t release) override; | 80 bool IsFenceSyncRelease(uint64_t release) override; |
80 bool IsFenceSyncFlushed(uint64_t release) override; | 81 bool IsFenceSyncFlushed(uint64_t release) override; |
81 bool IsFenceSyncFlushReceived(uint64_t release) override; | 82 bool IsFenceSyncFlushReceived(uint64_t release) override; |
82 void SignalSyncToken(const gpu::SyncToken& sync_token, | 83 void SignalSyncToken(const gpu::SyncToken& sync_token, |
83 const base::Closure& callback) override; | 84 const base::Closure& callback) override; |
84 bool CanWaitUnverifiedSyncToken(const gpu::SyncToken* sync_token) override; | 85 bool CanWaitUnverifiedSyncToken(const gpu::SyncToken* sync_token) override; |
85 | 86 |
86 private: | 87 private: |
87 class SyncClientImpl; | 88 class SyncClientImpl; |
(...skipping 26 matching lines...) Expand all Loading... |
114 | 115 |
115 uint64_t next_fence_sync_release_; | 116 uint64_t next_fence_sync_release_; |
116 uint64_t flushed_fence_sync_release_; | 117 uint64_t flushed_fence_sync_release_; |
117 | 118 |
118 const MojoAsyncWaiter* async_waiter_; | 119 const MojoAsyncWaiter* async_waiter_; |
119 }; | 120 }; |
120 | 121 |
121 } // gles2 | 122 } // gles2 |
122 | 123 |
123 #endif // MOJO_GLES2_COMMAND_BUFFER_CLIENT_IMPL_H_ | 124 #endif // MOJO_GLES2_COMMAND_BUFFER_CLIENT_IMPL_H_ |
OLD | NEW |