Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(415)

Side by Side Diff: gpu/command_buffer/client/gles2_implementation.h

Issue 2379203002: implement getBufferSubDataAsync prototype (Closed)
Patch Set: small clarification Created 4 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 228 matching lines...) Expand 10 before | Expand all | Expand 10 after
239 GLenum pname, GLint* params); 239 GLenum pname, GLint* params);
240 bool GetSyncivHelper( 240 bool GetSyncivHelper(
241 GLsync sync, GLenum pname, GLsizei bufsize, GLsizei* length, 241 GLsync sync, GLenum pname, GLsizei bufsize, GLsizei* length,
242 GLint* values); 242 GLint* values);
243 bool GetQueryObjectValueHelper( 243 bool GetQueryObjectValueHelper(
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;
250
249 // ContextSupport implementation. 251 // ContextSupport implementation.
250 void SignalSyncToken(const gpu::SyncToken& sync_token, 252 void SignalSyncToken(const gpu::SyncToken& sync_token,
251 const base::Closure& callback) override; 253 const base::Closure& callback) override;
252 void SignalQuery(uint32_t query, const base::Closure& callback) override; 254 void SignalQuery(uint32_t query, const base::Closure& callback) override;
253 void SetAggressivelyFreeResources(bool aggressively_free_resources) override; 255 void SetAggressivelyFreeResources(bool aggressively_free_resources) override;
254 256
255 // base::trace_event::MemoryDumpProvider implementation. 257 // base::trace_event::MemoryDumpProvider implementation.
256 bool OnMemoryDump(const base::trace_event::MemoryDumpArgs& args, 258 bool OnMemoryDump(const base::trace_event::MemoryDumpArgs& args,
257 base::trace_event::ProcessMemoryDump* pmd) override; 259 base::trace_event::ProcessMemoryDump* pmd) override;
258 260
(...skipping 613 matching lines...) Expand 10 before | Expand all | Expand 10 after
872 874
873 inline bool GLES2Implementation::GetTexParameterivHelper( 875 inline bool GLES2Implementation::GetTexParameterivHelper(
874 GLenum /* target */, GLenum /* pname */, GLint* /* params */) { 876 GLenum /* target */, GLenum /* pname */, GLint* /* params */) {
875 return false; 877 return false;
876 } 878 }
877 879
878 } // namespace gles2 880 } // namespace gles2
879 } // namespace gpu 881 } // namespace gpu
880 882
881 #endif // GPU_COMMAND_BUFFER_CLIENT_GLES2_IMPLEMENTATION_H_ 883 #endif // GPU_COMMAND_BUFFER_CLIENT_GLES2_IMPLEMENTATION_H_
OLDNEW
« no previous file with comments | « gpu/command_buffer/client/gles2_cmd_helper_autogen.h ('k') | gpu/command_buffer/client/gles2_implementation.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698