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 202 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
213 void GetProgramInfoCHROMIUMHelper(GLuint program, std::vector<int8>* result); | 213 void GetProgramInfoCHROMIUMHelper(GLuint program, std::vector<int8>* result); |
214 GLint GetAttribLocationHelper(GLuint program, const char* name); | 214 GLint GetAttribLocationHelper(GLuint program, const char* name); |
215 GLint GetUniformLocationHelper(GLuint program, const char* name); | 215 GLint GetUniformLocationHelper(GLuint program, const char* name); |
216 GLint GetFragDataLocationHelper(GLuint program, const char* name); | 216 GLint GetFragDataLocationHelper(GLuint program, const char* name); |
217 bool GetActiveAttribHelper( | 217 bool GetActiveAttribHelper( |
218 GLuint program, GLuint index, GLsizei bufsize, GLsizei* length, | 218 GLuint program, GLuint index, GLsizei bufsize, GLsizei* length, |
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( |
| 224 GLuint program, std::vector<int8>* result); |
| 225 GLuint GetUniformBlockIndexHelper(GLuint program, const char* name); |
| 226 bool GetActiveUniformBlockNameHelper( |
| 227 GLuint program, GLuint index, GLsizei bufsize, |
| 228 GLsizei* length, char* name); |
223 | 229 |
224 void FreeUnusedSharedMemory(); | 230 void FreeUnusedSharedMemory(); |
225 void FreeEverything(); | 231 void FreeEverything(); |
226 | 232 |
227 // ContextSupport implementation. | 233 // ContextSupport implementation. |
228 void SignalSyncPoint(uint32 sync_point, | 234 void SignalSyncPoint(uint32 sync_point, |
229 const base::Closure& callback) override; | 235 const base::Closure& callback) override; |
230 void SignalQuery(uint32 query, const base::Closure& callback) override; | 236 void SignalQuery(uint32 query, const base::Closure& callback) override; |
231 void SetSurfaceVisible(bool visible) override; | 237 void SetSurfaceVisible(bool visible) override; |
232 | 238 |
(...skipping 562 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
795 | 801 |
796 inline bool GLES2Implementation::GetTexParameterivHelper( | 802 inline bool GLES2Implementation::GetTexParameterivHelper( |
797 GLenum /* target */, GLenum /* pname */, GLint* /* params */) { | 803 GLenum /* target */, GLenum /* pname */, GLint* /* params */) { |
798 return false; | 804 return false; |
799 } | 805 } |
800 | 806 |
801 } // namespace gles2 | 807 } // namespace gles2 |
802 } // namespace gpu | 808 } // namespace gpu |
803 | 809 |
804 #endif // GPU_COMMAND_BUFFER_CLIENT_GLES2_IMPLEMENTATION_H_ | 810 #endif // GPU_COMMAND_BUFFER_CLIENT_GLES2_IMPLEMENTATION_H_ |
OLD | NEW |