| 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 | 259 |
| (...skipping 593 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 851 | 853 |
| 852 inline bool GLES2Implementation::GetTexParameterivHelper( | 854 inline bool GLES2Implementation::GetTexParameterivHelper( |
| 853 GLenum /* target */, GLenum /* pname */, GLint* /* params */) { | 855 GLenum /* target */, GLenum /* pname */, GLint* /* params */) { |
| 854 return false; | 856 return false; |
| 855 } | 857 } |
| 856 | 858 |
| 857 } // namespace gles2 | 859 } // namespace gles2 |
| 858 } // namespace gpu | 860 } // namespace gpu |
| 859 | 861 |
| 860 #endif // GPU_COMMAND_BUFFER_CLIENT_GLES2_IMPLEMENTATION_H_ | 862 #endif // GPU_COMMAND_BUFFER_CLIENT_GLES2_IMPLEMENTATION_H_ |
| OLD | NEW |