| 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 <list> | 8 #include <list> |
| 9 #include <map> | 9 #include <map> |
| 10 #include <queue> | 10 #include <queue> |
| (...skipping 238 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 249 | 249 |
| 250 void FreeUnusedSharedMemory(); | 250 void FreeUnusedSharedMemory(); |
| 251 void FreeEverything(); | 251 void FreeEverything(); |
| 252 | 252 |
| 253 // ContextSupport implementation. | 253 // ContextSupport implementation. |
| 254 void SignalSyncPoint(uint32 sync_point, | 254 void SignalSyncPoint(uint32 sync_point, |
| 255 const base::Closure& callback) override; | 255 const base::Closure& callback) override; |
| 256 void SignalSyncToken(const gpu::SyncToken& sync_token, | 256 void SignalSyncToken(const gpu::SyncToken& sync_token, |
| 257 const base::Closure& callback) override; | 257 const base::Closure& callback) override; |
| 258 void SignalQuery(uint32 query, const base::Closure& callback) override; | 258 void SignalQuery(uint32 query, const base::Closure& callback) override; |
| 259 void SetSurfaceVisible(bool visible) override; | |
| 260 void SetAggressivelyFreeResources(bool aggressively_free_resources) override; | 259 void SetAggressivelyFreeResources(bool aggressively_free_resources) override; |
| 261 | 260 |
| 262 // base::trace_event::MemoryDumpProvider implementation. | 261 // base::trace_event::MemoryDumpProvider implementation. |
| 263 bool OnMemoryDump(const base::trace_event::MemoryDumpArgs& args, | 262 bool OnMemoryDump(const base::trace_event::MemoryDumpArgs& args, |
| 264 base::trace_event::ProcessMemoryDump* pmd) override; | 263 base::trace_event::ProcessMemoryDump* pmd) override; |
| 265 | 264 |
| 266 void SetErrorMessageCallback( | 265 void SetErrorMessageCallback( |
| 267 GLES2ImplementationErrorMessageCallback* callback) { | 266 GLES2ImplementationErrorMessageCallback* callback) { |
| 268 error_message_callback_ = callback; | 267 error_message_callback_ = callback; |
| 269 } | 268 } |
| (...skipping 576 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 846 | 845 |
| 847 inline bool GLES2Implementation::GetTexParameterivHelper( | 846 inline bool GLES2Implementation::GetTexParameterivHelper( |
| 848 GLenum /* target */, GLenum /* pname */, GLint* /* params */) { | 847 GLenum /* target */, GLenum /* pname */, GLint* /* params */) { |
| 849 return false; | 848 return false; |
| 850 } | 849 } |
| 851 | 850 |
| 852 } // namespace gles2 | 851 } // namespace gles2 |
| 853 } // namespace gpu | 852 } // namespace gpu |
| 854 | 853 |
| 855 #endif // GPU_COMMAND_BUFFER_CLIENT_GLES2_IMPLEMENTATION_H_ | 854 #endif // GPU_COMMAND_BUFFER_CLIENT_GLES2_IMPLEMENTATION_H_ |
| OLD | NEW |