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 <GLES2/gl2.h> | 8 #include <GLES2/gl2.h> |
9 | 9 |
10 #include <list> | 10 #include <list> |
(...skipping 227 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
238 GLuint program, GLuint index, GLsizei bufsize, GLsizei* length, | 238 GLuint program, GLuint index, GLsizei bufsize, GLsizei* length, |
239 GLint* size, GLenum* type, char* name); | 239 GLint* size, GLenum* type, char* name); |
240 bool GetUniformIndicesHelper( | 240 bool GetUniformIndicesHelper( |
241 GLuint program, GLsizei count, const char* const* names, GLuint* indices); | 241 GLuint program, GLsizei count, const char* const* names, GLuint* indices); |
242 bool GetActiveUniformsivHelper( | 242 bool GetActiveUniformsivHelper( |
243 GLuint program, GLsizei count, const GLuint* indices, | 243 GLuint program, GLsizei count, const GLuint* indices, |
244 GLenum pname, GLint* params); | 244 GLenum pname, GLint* params); |
245 bool GetSyncivHelper( | 245 bool GetSyncivHelper( |
246 GLsync sync, GLenum pname, GLsizei bufsize, GLsizei* length, | 246 GLsync sync, GLenum pname, GLsizei bufsize, GLsizei* length, |
247 GLint* values); | 247 GLint* values); |
| 248 bool GetQueryObjectValueHelper( |
| 249 const char* function_name, GLuint id, GLenum pname, GLuint64* params); |
248 | 250 |
249 void FreeUnusedSharedMemory(); | 251 void FreeUnusedSharedMemory(); |
250 void FreeEverything(); | 252 void FreeEverything(); |
251 | 253 |
252 // ContextSupport implementation. | 254 // ContextSupport implementation. |
253 void SignalSyncPoint(uint32 sync_point, | 255 void SignalSyncPoint(uint32 sync_point, |
254 const base::Closure& callback) override; | 256 const base::Closure& callback) override; |
255 void SignalQuery(uint32 query, const base::Closure& callback) override; | 257 void SignalQuery(uint32 query, const base::Closure& callback) override; |
256 void SetSurfaceVisible(bool visible) override; | 258 void SetSurfaceVisible(bool visible) override; |
257 void SetAggressivelyFreeResources(bool aggressively_free_resources) override; | 259 void SetAggressivelyFreeResources(bool aggressively_free_resources) override; |
(...skipping 591 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
849 | 851 |
850 inline bool GLES2Implementation::GetTexParameterivHelper( | 852 inline bool GLES2Implementation::GetTexParameterivHelper( |
851 GLenum /* target */, GLenum /* pname */, GLint* /* params */) { | 853 GLenum /* target */, GLenum /* pname */, GLint* /* params */) { |
852 return false; | 854 return false; |
853 } | 855 } |
854 | 856 |
855 } // namespace gles2 | 857 } // namespace gles2 |
856 } // namespace gpu | 858 } // namespace gpu |
857 | 859 |
858 #endif // GPU_COMMAND_BUFFER_CLIENT_GLES2_IMPLEMENTATION_H_ | 860 #endif // GPU_COMMAND_BUFFER_CLIENT_GLES2_IMPLEMENTATION_H_ |
OLD | NEW |