| 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 233 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 244 const char* function_name, GLuint id, GLenum pname, GLuint64* params); | 244 const char* function_name, GLuint id, GLenum pname, GLuint64* params); |
| 245 | 245 |
| 246 void FreeUnusedSharedMemory(); | 246 void FreeUnusedSharedMemory(); |
| 247 void FreeEverything(); | 247 void FreeEverything(); |
| 248 | 248 |
| 249 void FreeSharedMemory(void*) override; | 249 void FreeSharedMemory(void*) override; |
| 250 | 250 |
| 251 // ContextSupport implementation. | 251 // ContextSupport implementation. |
| 252 void SignalSyncToken(const gpu::SyncToken& sync_token, | 252 void SignalSyncToken(const gpu::SyncToken& sync_token, |
| 253 const base::Closure& callback) override; | 253 const base::Closure& callback) override; |
| 254 bool IsFenceSyncReleased(uint64_t release_count) override; |
| 254 void SignalQuery(uint32_t query, const base::Closure& callback) override; | 255 void SignalQuery(uint32_t query, const base::Closure& callback) override; |
| 255 void SetAggressivelyFreeResources(bool aggressively_free_resources) override; | 256 void SetAggressivelyFreeResources(bool aggressively_free_resources) override; |
| 256 | 257 |
| 257 // base::trace_event::MemoryDumpProvider implementation. | 258 // base::trace_event::MemoryDumpProvider implementation. |
| 258 bool OnMemoryDump(const base::trace_event::MemoryDumpArgs& args, | 259 bool OnMemoryDump(const base::trace_event::MemoryDumpArgs& args, |
| 259 base::trace_event::ProcessMemoryDump* pmd) override; | 260 base::trace_event::ProcessMemoryDump* pmd) override; |
| 260 | 261 |
| 261 const scoped_refptr<ShareGroup>& share_group() const { return share_group_; } | 262 const scoped_refptr<ShareGroup>& share_group() const { return share_group_; } |
| 262 | 263 |
| 263 const Capabilities& capabilities() const { | 264 const Capabilities& capabilities() const { |
| (...skipping 610 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 874 | 875 |
| 875 inline bool GLES2Implementation::GetTexParameterivHelper( | 876 inline bool GLES2Implementation::GetTexParameterivHelper( |
| 876 GLenum /* target */, GLenum /* pname */, GLint* /* params */) { | 877 GLenum /* target */, GLenum /* pname */, GLint* /* params */) { |
| 877 return false; | 878 return false; |
| 878 } | 879 } |
| 879 | 880 |
| 880 } // namespace gles2 | 881 } // namespace gles2 |
| 881 } // namespace gpu | 882 } // namespace gpu |
| 882 | 883 |
| 883 #endif // GPU_COMMAND_BUFFER_CLIENT_GLES2_IMPLEMENTATION_H_ | 884 #endif // GPU_COMMAND_BUFFER_CLIENT_GLES2_IMPLEMENTATION_H_ |
| OLD | NEW |