OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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_TEST_CONTEXT_H_ | 5 #ifndef GPU_GLES2_CONFORM_TEST_CONTEXT_H_ |
6 #define GPU_GLES2_CONFORM_TEST_CONTEXT_H_ | 6 #define GPU_GLES2_CONFORM_TEST_CONTEXT_H_ |
7 | 7 |
8 #include <memory> | 8 #include <memory> |
9 | 9 |
10 #include "base/macros.h" | 10 #include "base/macros.h" |
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
59 void SetGpuControlClient(gpu::GpuControlClient*) override; | 59 void SetGpuControlClient(gpu::GpuControlClient*) override; |
60 gpu::Capabilities GetCapabilities() override; | 60 gpu::Capabilities GetCapabilities() override; |
61 int32_t CreateImage(ClientBuffer buffer, | 61 int32_t CreateImage(ClientBuffer buffer, |
62 size_t width, | 62 size_t width, |
63 size_t height, | 63 size_t height, |
64 unsigned internalformat) override; | 64 unsigned internalformat) override; |
65 void DestroyImage(int32_t id) override; | 65 void DestroyImage(int32_t id) override; |
66 void SignalQuery(uint32_t query, const base::Closure& callback) override; | 66 void SignalQuery(uint32_t query, const base::Closure& callback) override; |
67 void SetLock(base::Lock*) override; | 67 void SetLock(base::Lock*) override; |
68 void EnsureWorkVisible() override; | 68 void EnsureWorkVisible() override; |
| 69 void EnsureWorkVisibleAsync() override; |
69 gpu::CommandBufferNamespace GetNamespaceID() const override; | 70 gpu::CommandBufferNamespace GetNamespaceID() const override; |
70 gpu::CommandBufferId GetCommandBufferID() const override; | 71 gpu::CommandBufferId GetCommandBufferID() const override; |
71 int32_t GetExtraCommandBufferData() const override; | 72 int32_t GetExtraCommandBufferData() const override; |
72 uint64_t GenerateFenceSyncRelease() override; | 73 uint64_t GenerateFenceSyncRelease() override; |
73 bool IsFenceSyncRelease(uint64_t release) override; | 74 bool IsFenceSyncRelease(uint64_t release) override; |
74 bool IsFenceSyncFlushed(uint64_t release) override; | 75 bool IsFenceSyncFlushed(uint64_t release) override; |
75 bool IsFenceSyncFlushReceived(uint64_t release) override; | 76 bool IsFenceSyncFlushReceived(uint64_t release) override; |
76 bool IsFenceSyncReleased(uint64_t release) override; | 77 bool IsFenceSyncReleased(uint64_t release) override; |
77 void SignalSyncToken(const gpu::SyncToken& sync_token, | 78 void SignalSyncToken(const gpu::SyncToken& sync_token, |
78 const base::Closure& callback) override; | 79 const base::Closure& callback) override; |
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
113 | 114 |
114 scoped_refptr<gl::GLContext> gl_context_; | 115 scoped_refptr<gl::GLContext> gl_context_; |
115 | 116 |
116 std::unique_ptr<gpu::gles2::GLES2Interface> client_gl_context_; | 117 std::unique_ptr<gpu::gles2::GLES2Interface> client_gl_context_; |
117 DISALLOW_COPY_AND_ASSIGN(Context); | 118 DISALLOW_COPY_AND_ASSIGN(Context); |
118 }; | 119 }; |
119 | 120 |
120 } // namespace egl | 121 } // namespace egl |
121 | 122 |
122 #endif // GPU_GLES2_CONFORM_TEST_CONTEXT_H_ | 123 #endif // GPU_GLES2_CONFORM_TEST_CONTEXT_H_ |
OLD | NEW |