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 208 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
219 GLint* size, GLenum* type, char* name); | 219 GLint* size, GLenum* type, char* name); |
220 bool GetActiveUniformHelper( | 220 bool GetActiveUniformHelper( |
221 GLuint program, GLuint index, GLsizei bufsize, GLsizei* length, | 221 GLuint program, GLuint index, GLsizei bufsize, GLsizei* length, |
222 GLint* size, GLenum* type, char* name); | 222 GLint* size, GLenum* type, char* name); |
223 void GetUniformBlocksCHROMIUMHelper( | 223 void GetUniformBlocksCHROMIUMHelper( |
224 GLuint program, std::vector<int8>* result); | 224 GLuint program, std::vector<int8>* result); |
225 GLuint GetUniformBlockIndexHelper(GLuint program, const char* name); | 225 GLuint GetUniformBlockIndexHelper(GLuint program, const char* name); |
226 bool GetActiveUniformBlockNameHelper( | 226 bool GetActiveUniformBlockNameHelper( |
227 GLuint program, GLuint index, GLsizei bufsize, | 227 GLuint program, GLuint index, GLsizei bufsize, |
228 GLsizei* length, char* name); | 228 GLsizei* length, char* name); |
| 229 bool GetActiveUniformBlockivHelper( |
| 230 GLuint program, GLuint index, GLenum pname, GLint* params); |
229 | 231 |
230 void FreeUnusedSharedMemory(); | 232 void FreeUnusedSharedMemory(); |
231 void FreeEverything(); | 233 void FreeEverything(); |
232 | 234 |
233 // ContextSupport implementation. | 235 // ContextSupport implementation. |
234 void SignalSyncPoint(uint32 sync_point, | 236 void SignalSyncPoint(uint32 sync_point, |
235 const base::Closure& callback) override; | 237 const base::Closure& callback) override; |
236 void SignalQuery(uint32 query, const base::Closure& callback) override; | 238 void SignalQuery(uint32 query, const base::Closure& callback) override; |
237 void SetSurfaceVisible(bool visible) override; | 239 void SetSurfaceVisible(bool visible) override; |
238 | 240 |
(...skipping 569 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
808 | 810 |
809 inline bool GLES2Implementation::GetTexParameterivHelper( | 811 inline bool GLES2Implementation::GetTexParameterivHelper( |
810 GLenum /* target */, GLenum /* pname */, GLint* /* params */) { | 812 GLenum /* target */, GLenum /* pname */, GLint* /* params */) { |
811 return false; | 813 return false; |
812 } | 814 } |
813 | 815 |
814 } // namespace gles2 | 816 } // namespace gles2 |
815 } // namespace gpu | 817 } // namespace gpu |
816 | 818 |
817 #endif // GPU_COMMAND_BUFFER_CLIENT_GLES2_IMPLEMENTATION_H_ | 819 #endif // GPU_COMMAND_BUFFER_CLIENT_GLES2_IMPLEMENTATION_H_ |
OLD | NEW |