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_CLIENT_GLES2_IMPLEMENTATION_H_ | 5 #ifndef GPU_COMMAND_BUFFER_CLIENT_GLES2_IMPLEMENTATION_H_ |
6 #define GPU_COMMAND_BUFFER_CLIENT_GLES2_IMPLEMENTATION_H_ | 6 #define GPU_COMMAND_BUFFER_CLIENT_GLES2_IMPLEMENTATION_H_ |
7 | 7 |
8 #include <stddef.h> | 8 #include <stddef.h> |
9 #include <stdint.h> | 9 #include <stdint.h> |
10 | 10 |
(...skipping 234 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
245 GLint* values); | 245 GLint* values); |
246 bool GetQueryObjectValueHelper( | 246 bool GetQueryObjectValueHelper( |
247 const char* function_name, GLuint id, GLenum pname, GLuint64* params); | 247 const char* function_name, GLuint id, GLenum pname, GLuint64* params); |
248 | 248 |
249 void FreeUnusedSharedMemory(); | 249 void FreeUnusedSharedMemory(); |
250 void FreeEverything(); | 250 void FreeEverything(); |
251 | 251 |
252 void FreeSharedMemory(void*) override; | 252 void FreeSharedMemory(void*) override; |
253 | 253 |
254 // ContextSupport implementation. | 254 // ContextSupport implementation. |
| 255 void EnsureWorkVisibleAsync() override; |
255 void SignalSyncToken(const gpu::SyncToken& sync_token, | 256 void SignalSyncToken(const gpu::SyncToken& sync_token, |
256 const base::Closure& callback) override; | 257 const base::Closure& callback) override; |
257 bool IsSyncTokenSignaled(const gpu::SyncToken& sync_token) override; | 258 bool IsSyncTokenSignaled(const gpu::SyncToken& sync_token) override; |
258 void SignalQuery(uint32_t query, const base::Closure& callback) override; | 259 void SignalQuery(uint32_t query, const base::Closure& callback) override; |
259 void SetAggressivelyFreeResources(bool aggressively_free_resources) override; | 260 void SetAggressivelyFreeResources(bool aggressively_free_resources) override; |
260 | 261 |
261 // Helper to set verified bit on sync token if allowed by gpu control. | 262 // Helper to set verified bit on sync token if allowed by gpu control. |
262 bool GetVerifiedSyncTokenForIPC(const gpu::SyncToken& sync_token, | 263 bool GetVerifiedSyncTokenForIPC(const gpu::SyncToken& sync_token, |
263 gpu::SyncToken* verified_sync_token); | 264 gpu::SyncToken* verified_sync_token); |
264 | 265 |
(...skipping 613 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
878 | 879 |
879 inline bool GLES2Implementation::GetTexParameterivHelper( | 880 inline bool GLES2Implementation::GetTexParameterivHelper( |
880 GLenum /* target */, GLenum /* pname */, GLint* /* params */) { | 881 GLenum /* target */, GLenum /* pname */, GLint* /* params */) { |
881 return false; | 882 return false; |
882 } | 883 } |
883 | 884 |
884 } // namespace gles2 | 885 } // namespace gles2 |
885 } // namespace gpu | 886 } // namespace gpu |
886 | 887 |
887 #endif // GPU_COMMAND_BUFFER_CLIENT_GLES2_IMPLEMENTATION_H_ | 888 #endif // GPU_COMMAND_BUFFER_CLIENT_GLES2_IMPLEMENTATION_H_ |
OLD | NEW |