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_COMMAND_BUFFER_TESTS_GL_MANAGER_H_ | 5 #ifndef GPU_COMMAND_BUFFER_TESTS_GL_MANAGER_H_ |
6 #define GPU_COMMAND_BUFFER_TESTS_GL_MANAGER_H_ | 6 #define GPU_COMMAND_BUFFER_TESTS_GL_MANAGER_H_ |
7 | 7 |
8 #include "base/containers/scoped_ptr_hash_map.h" | 8 #include "base/containers/scoped_ptr_hash_map.h" |
9 #include "base/memory/ref_counted.h" | 9 #include "base/memory/ref_counted.h" |
10 #include "base/memory/scoped_ptr.h" | 10 #include "base/memory/scoped_ptr.h" |
(...skipping 109 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
120 size_t height, | 120 size_t height, |
121 unsigned internalformat, | 121 unsigned internalformat, |
122 unsigned usage) override; | 122 unsigned usage) override; |
123 uint32 InsertSyncPoint() override; | 123 uint32 InsertSyncPoint() override; |
124 uint32 InsertFutureSyncPoint() override; | 124 uint32 InsertFutureSyncPoint() override; |
125 void RetireSyncPoint(uint32 sync_point) override; | 125 void RetireSyncPoint(uint32 sync_point) override; |
126 void SignalSyncPoint(uint32 sync_point, | 126 void SignalSyncPoint(uint32 sync_point, |
127 const base::Closure& callback) override; | 127 const base::Closure& callback) override; |
128 void SignalQuery(uint32 query, const base::Closure& callback) override; | 128 void SignalQuery(uint32 query, const base::Closure& callback) override; |
129 void SetSurfaceVisible(bool visible) override; | 129 void SetSurfaceVisible(bool visible) override; |
130 uint32 CreateStreamTexture(uint32 texture_id) override; | 130 uint32 CreateStreamTexture(uint32 texture_id); |
no sievers
2015/10/27 16:58:56
you can remove this and the stub implementation in
sivag
2015/11/05 09:42:50
Done.
| |
131 void SetLock(base::Lock*) override; | 131 void SetLock(base::Lock*) override; |
132 bool IsGpuChannelLost() override; | 132 bool IsGpuChannelLost() override; |
133 gpu::CommandBufferNamespace GetNamespaceID() const override; | 133 gpu::CommandBufferNamespace GetNamespaceID() const override; |
134 uint64_t GetCommandBufferID() const override; | 134 uint64_t GetCommandBufferID() const override; |
135 uint64_t GenerateFenceSyncRelease() override; | 135 uint64_t GenerateFenceSyncRelease() override; |
136 bool IsFenceSyncRelease(uint64_t release) override; | 136 bool IsFenceSyncRelease(uint64_t release) override; |
137 bool IsFenceSyncFlushed(uint64_t release) override; | 137 bool IsFenceSyncFlushed(uint64_t release) override; |
138 bool IsFenceSyncFlushReceived(uint64_t release) override; | 138 bool IsFenceSyncFlushReceived(uint64_t release) override; |
139 void SignalSyncToken(const gpu::SyncToken& sync_token, | 139 void SignalSyncToken(const gpu::SyncToken& sync_token, |
140 const base::Closure& callback) override; | 140 const base::Closure& callback) override; |
(...skipping 30 matching lines...) Expand all Loading... | |
171 // Used on Android to virtualize GL for all contexts. | 171 // Used on Android to virtualize GL for all contexts. |
172 static int use_count_; | 172 static int use_count_; |
173 static scoped_refptr<gfx::GLShareGroup>* base_share_group_; | 173 static scoped_refptr<gfx::GLShareGroup>* base_share_group_; |
174 static scoped_refptr<gfx::GLSurface>* base_surface_; | 174 static scoped_refptr<gfx::GLSurface>* base_surface_; |
175 static scoped_refptr<gfx::GLContext>* base_context_; | 175 static scoped_refptr<gfx::GLContext>* base_context_; |
176 }; | 176 }; |
177 | 177 |
178 } // namespace gpu | 178 } // namespace gpu |
179 | 179 |
180 #endif // GPU_COMMAND_BUFFER_TESTS_GL_MANAGER_H_ | 180 #endif // GPU_COMMAND_BUFFER_TESTS_GL_MANAGER_H_ |
OLD | NEW |