OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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_GLES2_CONFORM_SUPPORT_EGL_DISPLAY_H_ | 5 #ifndef GPU_GLES2_CONFORM_SUPPORT_EGL_DISPLAY_H_ |
6 #define GPU_GLES2_CONFORM_SUPPORT_EGL_DISPLAY_H_ | 6 #define GPU_GLES2_CONFORM_SUPPORT_EGL_DISPLAY_H_ |
7 | 7 |
8 #include <EGL/egl.h> | 8 #include <EGL/egl.h> |
9 #include <stddef.h> | 9 #include <stddef.h> |
10 #include <stdint.h> | 10 #include <stdint.h> |
(...skipping 81 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
92 unsigned internalformat, | 92 unsigned internalformat, |
93 unsigned usage) override; | 93 unsigned usage) override; |
94 uint32_t InsertSyncPoint() override; | 94 uint32_t InsertSyncPoint() override; |
95 uint32_t InsertFutureSyncPoint() override; | 95 uint32_t InsertFutureSyncPoint() override; |
96 void RetireSyncPoint(uint32_t sync_point) override; | 96 void RetireSyncPoint(uint32_t sync_point) override; |
97 void SignalSyncPoint(uint32_t sync_point, | 97 void SignalSyncPoint(uint32_t sync_point, |
98 const base::Closure& callback) override; | 98 const base::Closure& callback) override; |
99 void SignalQuery(uint32_t query, const base::Closure& callback) override; | 99 void SignalQuery(uint32_t query, const base::Closure& callback) override; |
100 void SetLock(base::Lock*) override; | 100 void SetLock(base::Lock*) override; |
101 bool IsGpuChannelLost() override; | 101 bool IsGpuChannelLost() override; |
| 102 void EnsureWorkVisible() override; |
102 gpu::CommandBufferNamespace GetNamespaceID() const override; | 103 gpu::CommandBufferNamespace GetNamespaceID() const override; |
103 uint64_t GetCommandBufferID() const override; | 104 uint64_t GetCommandBufferID() const override; |
104 int32_t GetExtraCommandBufferData() const override; | 105 int32_t GetExtraCommandBufferData() const override; |
105 uint64_t GenerateFenceSyncRelease() override; | 106 uint64_t GenerateFenceSyncRelease() override; |
106 bool IsFenceSyncRelease(uint64_t release) override; | 107 bool IsFenceSyncRelease(uint64_t release) override; |
107 bool IsFenceSyncFlushed(uint64_t release) override; | 108 bool IsFenceSyncFlushed(uint64_t release) override; |
108 bool IsFenceSyncFlushReceived(uint64_t release) override; | 109 bool IsFenceSyncFlushReceived(uint64_t release) override; |
109 void SignalSyncToken(const gpu::SyncToken& sync_token, | 110 void SignalSyncToken(const gpu::SyncToken& sync_token, |
110 const base::Closure& callback) override; | 111 const base::Closure& callback) override; |
111 bool CanWaitUnverifiedSyncToken(const gpu::SyncToken* sync_token) override; | 112 bool CanWaitUnverifiedSyncToken(const gpu::SyncToken* sync_token) override; |
(...skipping 28 matching lines...) Expand all Loading... |
140 scoped_ptr<Config> config_; | 141 scoped_ptr<Config> config_; |
141 scoped_ptr<Surface> surface_; | 142 scoped_ptr<Surface> surface_; |
142 scoped_ptr<gpu::gles2::GLES2Implementation> context_; | 143 scoped_ptr<gpu::gles2::GLES2Implementation> context_; |
143 | 144 |
144 DISALLOW_COPY_AND_ASSIGN(Display); | 145 DISALLOW_COPY_AND_ASSIGN(Display); |
145 }; | 146 }; |
146 | 147 |
147 } // namespace egl | 148 } // namespace egl |
148 | 149 |
149 #endif // GPU_GLES2_CONFORM_SUPPORT_EGL_DISPLAY_H_ | 150 #endif // GPU_GLES2_CONFORM_SUPPORT_EGL_DISPLAY_H_ |
OLD | NEW |