| 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 IsSyncTokenSignalled(const gpu::SyncToken& sync_token) override; | 254 bool IsSyncTokenSignaled(const gpu::SyncToken& sync_token) override; |
| 255 void SignalQuery(uint32_t query, const base::Closure& callback) override; | 255 void SignalQuery(uint32_t query, const base::Closure& callback) override; |
| 256 void SetAggressivelyFreeResources(bool aggressively_free_resources) override; | 256 void SetAggressivelyFreeResources(bool aggressively_free_resources) override; |
| 257 | 257 |
| 258 // base::trace_event::MemoryDumpProvider implementation. | 258 // base::trace_event::MemoryDumpProvider implementation. |
| 259 bool OnMemoryDump(const base::trace_event::MemoryDumpArgs& args, | 259 bool OnMemoryDump(const base::trace_event::MemoryDumpArgs& args, |
| 260 base::trace_event::ProcessMemoryDump* pmd) override; | 260 base::trace_event::ProcessMemoryDump* pmd) override; |
| 261 | 261 |
| 262 const scoped_refptr<ShareGroup>& share_group() const { return share_group_; } | 262 const scoped_refptr<ShareGroup>& share_group() const { return share_group_; } |
| 263 | 263 |
| 264 const Capabilities& capabilities() const { | 264 const Capabilities& capabilities() const { |
| (...skipping 606 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 871 | 871 |
| 872 inline bool GLES2Implementation::GetTexParameterivHelper( | 872 inline bool GLES2Implementation::GetTexParameterivHelper( |
| 873 GLenum /* target */, GLenum /* pname */, GLint* /* params */) { | 873 GLenum /* target */, GLenum /* pname */, GLint* /* params */) { |
| 874 return false; | 874 return false; |
| 875 } | 875 } |
| 876 | 876 |
| 877 } // namespace gles2 | 877 } // namespace gles2 |
| 878 } // namespace gpu | 878 } // namespace gpu |
| 879 | 879 |
| 880 #endif // GPU_COMMAND_BUFFER_CLIENT_GLES2_IMPLEMENTATION_H_ | 880 #endif // GPU_COMMAND_BUFFER_CLIENT_GLES2_IMPLEMENTATION_H_ |
| OLD | NEW |