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 } |
| 355 void GLES2GetActiveUniformsiv(GLuint program, |
| 356 GLsizei count, |
| 357 const GLuint* indices, |
| 358 GLenum pname, |
| 359 GLint* params) { |
| 360 gles2::GetGLContext()->GetActiveUniformsiv(program, count, indices, pname, |
| 361 params); |
| 362 } |
349 void GLES2GetAttachedShaders(GLuint program, | 363 void GLES2GetAttachedShaders(GLuint program, |
350 GLsizei maxcount, | 364 GLsizei maxcount, |
351 GLsizei* count, | 365 GLsizei* count, |
352 GLuint* shaders) { | 366 GLuint* shaders) { |
353 gles2::GetGLContext()->GetAttachedShaders(program, maxcount, count, shaders); | 367 gles2::GetGLContext()->GetAttachedShaders(program, maxcount, count, shaders); |
354 } | 368 } |
355 GLint GLES2GetAttribLocation(GLuint program, const char* name) { | 369 GLint GLES2GetAttribLocation(GLuint program, const char* name) { |
356 return gles2::GetGLContext()->GetAttribLocation(program, name); | 370 return gles2::GetGLContext()->GetAttribLocation(program, name); |
357 } | 371 } |
358 void GLES2GetBooleanv(GLenum pname, GLboolean* params) { | 372 void GLES2GetBooleanv(GLenum pname, GLboolean* params) { |
(...skipping 73 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
432 } | 446 } |
433 const GLubyte* GLES2GetString(GLenum name) { | 447 const GLubyte* GLES2GetString(GLenum name) { |
434 return gles2::GetGLContext()->GetString(name); | 448 return gles2::GetGLContext()->GetString(name); |
435 } | 449 } |
436 void GLES2GetTexParameterfv(GLenum target, GLenum pname, GLfloat* params) { | 450 void GLES2GetTexParameterfv(GLenum target, GLenum pname, GLfloat* params) { |
437 gles2::GetGLContext()->GetTexParameterfv(target, pname, params); | 451 gles2::GetGLContext()->GetTexParameterfv(target, pname, params); |
438 } | 452 } |
439 void GLES2GetTexParameteriv(GLenum target, GLenum pname, GLint* params) { | 453 void GLES2GetTexParameteriv(GLenum target, GLenum pname, GLint* params) { |
440 gles2::GetGLContext()->GetTexParameteriv(target, pname, params); | 454 gles2::GetGLContext()->GetTexParameteriv(target, pname, params); |
441 } | 455 } |
| 456 void GLES2GetTransformFeedbackVarying(GLuint program, |
| 457 GLuint index, |
| 458 GLsizei bufsize, |
| 459 GLsizei* length, |
| 460 GLsizei* size, |
| 461 GLenum* type, |
| 462 char* name) { |
| 463 gles2::GetGLContext()->GetTransformFeedbackVarying(program, index, bufsize, |
| 464 length, size, type, name); |
| 465 } |
442 GLuint GLES2GetUniformBlockIndex(GLuint program, const char* name) { | 466 GLuint GLES2GetUniformBlockIndex(GLuint program, const char* name) { |
443 return gles2::GetGLContext()->GetUniformBlockIndex(program, name); | 467 return gles2::GetGLContext()->GetUniformBlockIndex(program, name); |
444 } | 468 } |
445 void GLES2GetUniformfv(GLuint program, GLint location, GLfloat* params) { | 469 void GLES2GetUniformfv(GLuint program, GLint location, GLfloat* params) { |
446 gles2::GetGLContext()->GetUniformfv(program, location, params); | 470 gles2::GetGLContext()->GetUniformfv(program, location, params); |
447 } | 471 } |
448 void GLES2GetUniformiv(GLuint program, GLint location, GLint* params) { | 472 void GLES2GetUniformiv(GLuint program, GLint location, GLint* params) { |
449 gles2::GetGLContext()->GetUniformiv(program, location, params); | 473 gles2::GetGLContext()->GetUniformiv(program, location, params); |
450 } | 474 } |
| 475 void GLES2GetUniformIndices(GLuint program, |
| 476 GLsizei count, |
| 477 const char* const* names, |
| 478 GLuint* indices) { |
| 479 gles2::GetGLContext()->GetUniformIndices(program, count, names, indices); |
| 480 } |
451 GLint GLES2GetUniformLocation(GLuint program, const char* name) { | 481 GLint GLES2GetUniformLocation(GLuint program, const char* name) { |
452 return gles2::GetGLContext()->GetUniformLocation(program, name); | 482 return gles2::GetGLContext()->GetUniformLocation(program, name); |
453 } | 483 } |
454 void GLES2GetVertexAttribfv(GLuint index, GLenum pname, GLfloat* params) { | 484 void GLES2GetVertexAttribfv(GLuint index, GLenum pname, GLfloat* params) { |
455 gles2::GetGLContext()->GetVertexAttribfv(index, pname, params); | 485 gles2::GetGLContext()->GetVertexAttribfv(index, pname, params); |
456 } | 486 } |
457 void GLES2GetVertexAttribiv(GLuint index, GLenum pname, GLint* params) { | 487 void GLES2GetVertexAttribiv(GLuint index, GLenum pname, GLint* params) { |
458 gles2::GetGLContext()->GetVertexAttribiv(index, pname, params); | 488 gles2::GetGLContext()->GetVertexAttribiv(index, pname, params); |
459 } | 489 } |
460 void GLES2GetVertexAttribPointerv(GLuint index, GLenum pname, void** pointer) { | 490 void GLES2GetVertexAttribPointerv(GLuint index, GLenum pname, void** pointer) { |
(...skipping 305 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
766 } | 796 } |
767 void GLES2Uniform4iv(GLint location, GLsizei count, const GLint* v) { | 797 void GLES2Uniform4iv(GLint location, GLsizei count, const GLint* v) { |
768 gles2::GetGLContext()->Uniform4iv(location, count, v); | 798 gles2::GetGLContext()->Uniform4iv(location, count, v); |
769 } | 799 } |
770 void GLES2Uniform4ui(GLint location, GLuint x, GLuint y, GLuint z, GLuint w) { | 800 void GLES2Uniform4ui(GLint location, GLuint x, GLuint y, GLuint z, GLuint w) { |
771 gles2::GetGLContext()->Uniform4ui(location, x, y, z, w); | 801 gles2::GetGLContext()->Uniform4ui(location, x, y, z, w); |
772 } | 802 } |
773 void GLES2Uniform4uiv(GLint location, GLsizei count, const GLuint* v) { | 803 void GLES2Uniform4uiv(GLint location, GLsizei count, const GLuint* v) { |
774 gles2::GetGLContext()->Uniform4uiv(location, count, v); | 804 gles2::GetGLContext()->Uniform4uiv(location, count, v); |
775 } | 805 } |
| 806 void GLES2UniformBlockBinding(GLuint program, GLuint index, GLuint binding) { |
| 807 gles2::GetGLContext()->UniformBlockBinding(program, index, binding); |
| 808 } |
776 void GLES2UniformMatrix2fv(GLint location, | 809 void GLES2UniformMatrix2fv(GLint location, |
777 GLsizei count, | 810 GLsizei count, |
778 GLboolean transpose, | 811 GLboolean transpose, |
779 const GLfloat* value) { | 812 const GLfloat* value) { |
780 gles2::GetGLContext()->UniformMatrix2fv(location, count, transpose, value); | 813 gles2::GetGLContext()->UniformMatrix2fv(location, count, transpose, value); |
781 } | 814 } |
782 void GLES2UniformMatrix2x3fv(GLint location, | 815 void GLES2UniformMatrix2x3fv(GLint location, |
783 GLsizei count, | 816 GLsizei count, |
784 GLboolean transpose, | 817 GLboolean transpose, |
785 const GLfloat* value) { | 818 const GLfloat* value) { |
(...skipping 265 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1051 GLsizei* size, | 1084 GLsizei* size, |
1052 void* info) { | 1085 void* info) { |
1053 gles2::GetGLContext()->GetProgramInfoCHROMIUM(program, bufsize, size, info); | 1086 gles2::GetGLContext()->GetProgramInfoCHROMIUM(program, bufsize, size, info); |
1054 } | 1087 } |
1055 void GLES2GetUniformBlocksCHROMIUM(GLuint program, | 1088 void GLES2GetUniformBlocksCHROMIUM(GLuint program, |
1056 GLsizei bufsize, | 1089 GLsizei bufsize, |
1057 GLsizei* size, | 1090 GLsizei* size, |
1058 void* info) { | 1091 void* info) { |
1059 gles2::GetGLContext()->GetUniformBlocksCHROMIUM(program, bufsize, size, info); | 1092 gles2::GetGLContext()->GetUniformBlocksCHROMIUM(program, bufsize, size, info); |
1060 } | 1093 } |
| 1094 void GLES2GetTransformFeedbackVaryingsCHROMIUM(GLuint program, |
| 1095 GLsizei bufsize, |
| 1096 GLsizei* size, |
| 1097 void* info) { |
| 1098 gles2::GetGLContext()->GetTransformFeedbackVaryingsCHROMIUM(program, bufsize, |
| 1099 size, info); |
| 1100 } |
| 1101 void GLES2GetUniformsES3CHROMIUM(GLuint program, |
| 1102 GLsizei bufsize, |
| 1103 GLsizei* size, |
| 1104 void* info) { |
| 1105 gles2::GetGLContext()->GetUniformsES3CHROMIUM(program, bufsize, size, info); |
| 1106 } |
1061 GLuint GLES2CreateStreamTextureCHROMIUM(GLuint texture) { | 1107 GLuint GLES2CreateStreamTextureCHROMIUM(GLuint texture) { |
1062 return gles2::GetGLContext()->CreateStreamTextureCHROMIUM(texture); | 1108 return gles2::GetGLContext()->CreateStreamTextureCHROMIUM(texture); |
1063 } | 1109 } |
1064 GLuint GLES2CreateImageCHROMIUM(ClientBuffer buffer, | 1110 GLuint GLES2CreateImageCHROMIUM(ClientBuffer buffer, |
1065 GLsizei width, | 1111 GLsizei width, |
1066 GLsizei height, | 1112 GLsizei height, |
1067 GLenum internalformat) { | 1113 GLenum internalformat) { |
1068 return gles2::GetGLContext()->CreateImageCHROMIUM(buffer, width, height, | 1114 return gles2::GetGLContext()->CreateImageCHROMIUM(buffer, width, height, |
1069 internalformat); | 1115 internalformat); |
1070 } | 1116 } |
(...skipping 481 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1552 }, | 1598 }, |
1553 { | 1599 { |
1554 "glGetActiveAttrib", | 1600 "glGetActiveAttrib", |
1555 reinterpret_cast<GLES2FunctionPointer>(glGetActiveAttrib), | 1601 reinterpret_cast<GLES2FunctionPointer>(glGetActiveAttrib), |
1556 }, | 1602 }, |
1557 { | 1603 { |
1558 "glGetActiveUniform", | 1604 "glGetActiveUniform", |
1559 reinterpret_cast<GLES2FunctionPointer>(glGetActiveUniform), | 1605 reinterpret_cast<GLES2FunctionPointer>(glGetActiveUniform), |
1560 }, | 1606 }, |
1561 { | 1607 { |
| 1608 "glGetActiveUniformBlockiv", |
| 1609 reinterpret_cast<GLES2FunctionPointer>(glGetActiveUniformBlockiv), |
| 1610 }, |
| 1611 { |
1562 "glGetActiveUniformBlockName", | 1612 "glGetActiveUniformBlockName", |
1563 reinterpret_cast<GLES2FunctionPointer>(glGetActiveUniformBlockName), | 1613 reinterpret_cast<GLES2FunctionPointer>(glGetActiveUniformBlockName), |
1564 }, | 1614 }, |
1565 { | 1615 { |
| 1616 "glGetActiveUniformsiv", |
| 1617 reinterpret_cast<GLES2FunctionPointer>(glGetActiveUniformsiv), |
| 1618 }, |
| 1619 { |
1566 "glGetAttachedShaders", | 1620 "glGetAttachedShaders", |
1567 reinterpret_cast<GLES2FunctionPointer>(glGetAttachedShaders), | 1621 reinterpret_cast<GLES2FunctionPointer>(glGetAttachedShaders), |
1568 }, | 1622 }, |
1569 { | 1623 { |
1570 "glGetAttribLocation", | 1624 "glGetAttribLocation", |
1571 reinterpret_cast<GLES2FunctionPointer>(glGetAttribLocation), | 1625 reinterpret_cast<GLES2FunctionPointer>(glGetAttribLocation), |
1572 }, | 1626 }, |
1573 { | 1627 { |
1574 "glGetBooleanv", | 1628 "glGetBooleanv", |
1575 reinterpret_cast<GLES2FunctionPointer>(glGetBooleanv), | 1629 reinterpret_cast<GLES2FunctionPointer>(glGetBooleanv), |
(...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1645 }, | 1699 }, |
1646 { | 1700 { |
1647 "glGetTexParameterfv", | 1701 "glGetTexParameterfv", |
1648 reinterpret_cast<GLES2FunctionPointer>(glGetTexParameterfv), | 1702 reinterpret_cast<GLES2FunctionPointer>(glGetTexParameterfv), |
1649 }, | 1703 }, |
1650 { | 1704 { |
1651 "glGetTexParameteriv", | 1705 "glGetTexParameteriv", |
1652 reinterpret_cast<GLES2FunctionPointer>(glGetTexParameteriv), | 1706 reinterpret_cast<GLES2FunctionPointer>(glGetTexParameteriv), |
1653 }, | 1707 }, |
1654 { | 1708 { |
| 1709 "glGetTransformFeedbackVarying", |
| 1710 reinterpret_cast<GLES2FunctionPointer>(glGetTransformFeedbackVarying), |
| 1711 }, |
| 1712 { |
1655 "glGetUniformBlockIndex", | 1713 "glGetUniformBlockIndex", |
1656 reinterpret_cast<GLES2FunctionPointer>(glGetUniformBlockIndex), | 1714 reinterpret_cast<GLES2FunctionPointer>(glGetUniformBlockIndex), |
1657 }, | 1715 }, |
1658 { | 1716 { |
1659 "glGetUniformfv", | 1717 "glGetUniformfv", |
1660 reinterpret_cast<GLES2FunctionPointer>(glGetUniformfv), | 1718 reinterpret_cast<GLES2FunctionPointer>(glGetUniformfv), |
1661 }, | 1719 }, |
1662 { | 1720 { |
1663 "glGetUniformiv", | 1721 "glGetUniformiv", |
1664 reinterpret_cast<GLES2FunctionPointer>(glGetUniformiv), | 1722 reinterpret_cast<GLES2FunctionPointer>(glGetUniformiv), |
1665 }, | 1723 }, |
1666 { | 1724 { |
| 1725 "glGetUniformIndices", |
| 1726 reinterpret_cast<GLES2FunctionPointer>(glGetUniformIndices), |
| 1727 }, |
| 1728 { |
1667 "glGetUniformLocation", | 1729 "glGetUniformLocation", |
1668 reinterpret_cast<GLES2FunctionPointer>(glGetUniformLocation), | 1730 reinterpret_cast<GLES2FunctionPointer>(glGetUniformLocation), |
1669 }, | 1731 }, |
1670 { | 1732 { |
1671 "glGetVertexAttribfv", | 1733 "glGetVertexAttribfv", |
1672 reinterpret_cast<GLES2FunctionPointer>(glGetVertexAttribfv), | 1734 reinterpret_cast<GLES2FunctionPointer>(glGetVertexAttribfv), |
1673 }, | 1735 }, |
1674 { | 1736 { |
1675 "glGetVertexAttribiv", | 1737 "glGetVertexAttribiv", |
1676 reinterpret_cast<GLES2FunctionPointer>(glGetVertexAttribiv), | 1738 reinterpret_cast<GLES2FunctionPointer>(glGetVertexAttribiv), |
(...skipping 292 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1969 }, | 2031 }, |
1970 { | 2032 { |
1971 "glUniform4ui", | 2033 "glUniform4ui", |
1972 reinterpret_cast<GLES2FunctionPointer>(glUniform4ui), | 2034 reinterpret_cast<GLES2FunctionPointer>(glUniform4ui), |
1973 }, | 2035 }, |
1974 { | 2036 { |
1975 "glUniform4uiv", | 2037 "glUniform4uiv", |
1976 reinterpret_cast<GLES2FunctionPointer>(glUniform4uiv), | 2038 reinterpret_cast<GLES2FunctionPointer>(glUniform4uiv), |
1977 }, | 2039 }, |
1978 { | 2040 { |
| 2041 "glUniformBlockBinding", |
| 2042 reinterpret_cast<GLES2FunctionPointer>(glUniformBlockBinding), |
| 2043 }, |
| 2044 { |
1979 "glUniformMatrix2fv", | 2045 "glUniformMatrix2fv", |
1980 reinterpret_cast<GLES2FunctionPointer>(glUniformMatrix2fv), | 2046 reinterpret_cast<GLES2FunctionPointer>(glUniformMatrix2fv), |
1981 }, | 2047 }, |
1982 { | 2048 { |
1983 "glUniformMatrix2x3fv", | 2049 "glUniformMatrix2x3fv", |
1984 reinterpret_cast<GLES2FunctionPointer>(glUniformMatrix2x3fv), | 2050 reinterpret_cast<GLES2FunctionPointer>(glUniformMatrix2x3fv), |
1985 }, | 2051 }, |
1986 { | 2052 { |
1987 "glUniformMatrix2x4fv", | 2053 "glUniformMatrix2x4fv", |
1988 reinterpret_cast<GLES2FunctionPointer>(glUniformMatrix2x4fv), | 2054 reinterpret_cast<GLES2FunctionPointer>(glUniformMatrix2x4fv), |
(...skipping 232 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2221 }, | 2287 }, |
2222 { | 2288 { |
2223 "glGetProgramInfoCHROMIUM", | 2289 "glGetProgramInfoCHROMIUM", |
2224 reinterpret_cast<GLES2FunctionPointer>(glGetProgramInfoCHROMIUM), | 2290 reinterpret_cast<GLES2FunctionPointer>(glGetProgramInfoCHROMIUM), |
2225 }, | 2291 }, |
2226 { | 2292 { |
2227 "glGetUniformBlocksCHROMIUM", | 2293 "glGetUniformBlocksCHROMIUM", |
2228 reinterpret_cast<GLES2FunctionPointer>(glGetUniformBlocksCHROMIUM), | 2294 reinterpret_cast<GLES2FunctionPointer>(glGetUniformBlocksCHROMIUM), |
2229 }, | 2295 }, |
2230 { | 2296 { |
| 2297 "glGetTransformFeedbackVaryingsCHROMIUM", |
| 2298 reinterpret_cast<GLES2FunctionPointer>( |
| 2299 glGetTransformFeedbackVaryingsCHROMIUM), |
| 2300 }, |
| 2301 { |
| 2302 "glGetUniformsES3CHROMIUM", |
| 2303 reinterpret_cast<GLES2FunctionPointer>(glGetUniformsES3CHROMIUM), |
| 2304 }, |
| 2305 { |
2231 "glCreateStreamTextureCHROMIUM", | 2306 "glCreateStreamTextureCHROMIUM", |
2232 reinterpret_cast<GLES2FunctionPointer>(glCreateStreamTextureCHROMIUM), | 2307 reinterpret_cast<GLES2FunctionPointer>(glCreateStreamTextureCHROMIUM), |
2233 }, | 2308 }, |
2234 { | 2309 { |
2235 "glCreateImageCHROMIUM", | 2310 "glCreateImageCHROMIUM", |
2236 reinterpret_cast<GLES2FunctionPointer>(glCreateImageCHROMIUM), | 2311 reinterpret_cast<GLES2FunctionPointer>(glCreateImageCHROMIUM), |
2237 }, | 2312 }, |
2238 { | 2313 { |
2239 "glDestroyImageCHROMIUM", | 2314 "glDestroyImageCHROMIUM", |
2240 reinterpret_cast<GLES2FunctionPointer>(glDestroyImageCHROMIUM), | 2315 reinterpret_cast<GLES2FunctionPointer>(glDestroyImageCHROMIUM), |
(...skipping 160 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2401 reinterpret_cast<GLES2FunctionPointer>(glBlendBarrierKHR), | 2476 reinterpret_cast<GLES2FunctionPointer>(glBlendBarrierKHR), |
2402 }, | 2477 }, |
2403 { | 2478 { |
2404 NULL, | 2479 NULL, |
2405 NULL, | 2480 NULL, |
2406 }, | 2481 }, |
2407 }; | 2482 }; |
2408 | 2483 |
2409 } // namespace gles2 | 2484 } // namespace gles2 |
2410 #endif // GPU_COMMAND_BUFFER_CLIENT_GLES2_C_LIB_AUTOGEN_H_ | 2485 #endif // GPU_COMMAND_BUFFER_CLIENT_GLES2_C_LIB_AUTOGEN_H_ |
OLD | NEW |