OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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 // This file is auto-generated from | 5 // This file is auto-generated from |
6 // gpu/command_buffer/build_gles2_cmd_buffer.py | 6 // gpu/command_buffer/build_gles2_cmd_buffer.py |
7 // It's formatted by clang-format using chromium coding style: | 7 // It's formatted by clang-format using chromium coding style: |
8 // clang-format -i -style=chromium filename | 8 // clang-format -i -style=chromium filename |
9 // DO NOT EDIT! | 9 // DO NOT EDIT! |
10 | 10 |
(...skipping 320 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
331 void GLES2GetActiveUniform(GLuint program, | 331 void GLES2GetActiveUniform(GLuint program, |
332 GLuint index, | 332 GLuint index, |
333 GLsizei bufsize, | 333 GLsizei bufsize, |
334 GLsizei* length, | 334 GLsizei* length, |
335 GLint* size, | 335 GLint* size, |
336 GLenum* type, | 336 GLenum* type, |
337 char* name) { | 337 char* name) { |
338 gles2::GetGLContext()->GetActiveUniform(program, index, bufsize, length, size, | 338 gles2::GetGLContext()->GetActiveUniform(program, index, bufsize, length, size, |
339 type, name); | 339 type, name); |
340 } | 340 } |
| 341 void GLES2GetActiveUniformBlockiv(GLuint program, |
| 342 GLuint index, |
| 343 GLenum pname, |
| 344 GLint* params) { |
| 345 gles2::GetGLContext()->GetActiveUniformBlockiv(program, index, pname, params); |
| 346 } |
341 void GLES2GetActiveUniformBlockName(GLuint program, | 347 void GLES2GetActiveUniformBlockName(GLuint program, |
342 GLuint index, | 348 GLuint index, |
343 GLsizei bufsize, | 349 GLsizei bufsize, |
344 GLsizei* length, | 350 GLsizei* length, |
345 char* name) { | 351 char* name) { |
346 gles2::GetGLContext()->GetActiveUniformBlockName(program, index, bufsize, | 352 gles2::GetGLContext()->GetActiveUniformBlockName(program, index, bufsize, |
347 length, name); | 353 length, name); |
348 } | 354 } |
349 void GLES2GetAttachedShaders(GLuint program, | 355 void GLES2GetAttachedShaders(GLuint program, |
350 GLsizei maxcount, | 356 GLsizei maxcount, |
(...skipping 1201 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1552 }, | 1558 }, |
1553 { | 1559 { |
1554 "glGetActiveAttrib", | 1560 "glGetActiveAttrib", |
1555 reinterpret_cast<GLES2FunctionPointer>(glGetActiveAttrib), | 1561 reinterpret_cast<GLES2FunctionPointer>(glGetActiveAttrib), |
1556 }, | 1562 }, |
1557 { | 1563 { |
1558 "glGetActiveUniform", | 1564 "glGetActiveUniform", |
1559 reinterpret_cast<GLES2FunctionPointer>(glGetActiveUniform), | 1565 reinterpret_cast<GLES2FunctionPointer>(glGetActiveUniform), |
1560 }, | 1566 }, |
1561 { | 1567 { |
| 1568 "glGetActiveUniformBlockiv", |
| 1569 reinterpret_cast<GLES2FunctionPointer>(glGetActiveUniformBlockiv), |
| 1570 }, |
| 1571 { |
1562 "glGetActiveUniformBlockName", | 1572 "glGetActiveUniformBlockName", |
1563 reinterpret_cast<GLES2FunctionPointer>(glGetActiveUniformBlockName), | 1573 reinterpret_cast<GLES2FunctionPointer>(glGetActiveUniformBlockName), |
1564 }, | 1574 }, |
1565 { | 1575 { |
1566 "glGetAttachedShaders", | 1576 "glGetAttachedShaders", |
1567 reinterpret_cast<GLES2FunctionPointer>(glGetAttachedShaders), | 1577 reinterpret_cast<GLES2FunctionPointer>(glGetAttachedShaders), |
1568 }, | 1578 }, |
1569 { | 1579 { |
1570 "glGetAttribLocation", | 1580 "glGetAttribLocation", |
1571 reinterpret_cast<GLES2FunctionPointer>(glGetAttribLocation), | 1581 reinterpret_cast<GLES2FunctionPointer>(glGetAttribLocation), |
(...skipping 829 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2401 reinterpret_cast<GLES2FunctionPointer>(glBlendBarrierKHR), | 2411 reinterpret_cast<GLES2FunctionPointer>(glBlendBarrierKHR), |
2402 }, | 2412 }, |
2403 { | 2413 { |
2404 NULL, | 2414 NULL, |
2405 NULL, | 2415 NULL, |
2406 }, | 2416 }, |
2407 }; | 2417 }; |
2408 | 2418 |
2409 } // namespace gles2 | 2419 } // namespace gles2 |
2410 #endif // GPU_COMMAND_BUFFER_CLIENT_GLES2_C_LIB_AUTOGEN_H_ | 2420 #endif // GPU_COMMAND_BUFFER_CLIENT_GLES2_C_LIB_AUTOGEN_H_ |
OLD | NEW |