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 <stddef.h> | 8 #include <stddef.h> |
9 #include <stdint.h> | 9 #include <stdint.h> |
10 | 10 |
(...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
69 unsigned internalformat, | 69 unsigned internalformat, |
70 unsigned usage) override; | 70 unsigned usage) override; |
71 uint32_t InsertSyncPoint() override; | 71 uint32_t InsertSyncPoint() override; |
72 uint32_t InsertFutureSyncPoint() override; | 72 uint32_t InsertFutureSyncPoint() override; |
73 void RetireSyncPoint(uint32_t sync_point) override; | 73 void RetireSyncPoint(uint32_t sync_point) override; |
74 void SignalSyncPoint(uint32_t sync_point, | 74 void SignalSyncPoint(uint32_t sync_point, |
75 const base::Closure& callback) override; | 75 const base::Closure& callback) override; |
76 void SignalQuery(uint32_t query, const base::Closure& callback) override; | 76 void SignalQuery(uint32_t query, const base::Closure& callback) override; |
77 void SetLock(base::Lock*) override; | 77 void SetLock(base::Lock*) override; |
78 bool IsGpuChannelLost() override; | 78 bool IsGpuChannelLost() override; |
| 79 void EnsureWorkVisible() override; |
79 gpu::CommandBufferNamespace GetNamespaceID() const override; | 80 gpu::CommandBufferNamespace GetNamespaceID() const override; |
80 uint64_t GetCommandBufferID() const override; | 81 uint64_t GetCommandBufferID() const override; |
81 int32_t GetExtraCommandBufferData() const override; | 82 int32_t GetExtraCommandBufferData() const override; |
82 uint64_t GenerateFenceSyncRelease() override; | 83 uint64_t GenerateFenceSyncRelease() override; |
83 bool IsFenceSyncRelease(uint64_t release) override; | 84 bool IsFenceSyncRelease(uint64_t release) override; |
84 bool IsFenceSyncFlushed(uint64_t release) override; | 85 bool IsFenceSyncFlushed(uint64_t release) override; |
85 bool IsFenceSyncFlushReceived(uint64_t release) override; | 86 bool IsFenceSyncFlushReceived(uint64_t release) override; |
86 void SignalSyncToken(const gpu::SyncToken& sync_token, | 87 void SignalSyncToken(const gpu::SyncToken& sync_token, |
87 const base::Closure& callback) override; | 88 const base::Closure& callback) override; |
88 bool CanWaitUnverifiedSyncToken(const gpu::SyncToken* sync_token) override; | 89 bool CanWaitUnverifiedSyncToken(const gpu::SyncToken* sync_token) override; |
(...skipping 25 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 |