Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(554)

Side by Side Diff: gpu/command_buffer/client/gles2_c_lib_autogen.h

Issue 903273002: Update from https://crrev.com/315085 (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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
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 GLES2GetActiveUniformBlockName(GLuint program,
342 GLuint index,
343 GLsizei bufsize,
344 GLsizei* length,
345 char* name) {
346 gles2::GetGLContext()->GetActiveUniformBlockName(program, index, bufsize,
347 length, name);
348 }
341 void GLES2GetAttachedShaders(GLuint program, 349 void GLES2GetAttachedShaders(GLuint program,
342 GLsizei maxcount, 350 GLsizei maxcount,
343 GLsizei* count, 351 GLsizei* count,
344 GLuint* shaders) { 352 GLuint* shaders) {
345 gles2::GetGLContext()->GetAttachedShaders(program, maxcount, count, shaders); 353 gles2::GetGLContext()->GetAttachedShaders(program, maxcount, count, shaders);
346 } 354 }
347 GLint GLES2GetAttribLocation(GLuint program, const char* name) { 355 GLint GLES2GetAttribLocation(GLuint program, const char* name) {
348 return gles2::GetGLContext()->GetAttribLocation(program, name); 356 return gles2::GetGLContext()->GetAttribLocation(program, name);
349 } 357 }
350 void GLES2GetBooleanv(GLenum pname, GLboolean* params) { 358 void GLES2GetBooleanv(GLenum pname, GLboolean* params) {
(...skipping 73 matching lines...) Expand 10 before | Expand all | Expand 10 after
424 } 432 }
425 const GLubyte* GLES2GetString(GLenum name) { 433 const GLubyte* GLES2GetString(GLenum name) {
426 return gles2::GetGLContext()->GetString(name); 434 return gles2::GetGLContext()->GetString(name);
427 } 435 }
428 void GLES2GetTexParameterfv(GLenum target, GLenum pname, GLfloat* params) { 436 void GLES2GetTexParameterfv(GLenum target, GLenum pname, GLfloat* params) {
429 gles2::GetGLContext()->GetTexParameterfv(target, pname, params); 437 gles2::GetGLContext()->GetTexParameterfv(target, pname, params);
430 } 438 }
431 void GLES2GetTexParameteriv(GLenum target, GLenum pname, GLint* params) { 439 void GLES2GetTexParameteriv(GLenum target, GLenum pname, GLint* params) {
432 gles2::GetGLContext()->GetTexParameteriv(target, pname, params); 440 gles2::GetGLContext()->GetTexParameteriv(target, pname, params);
433 } 441 }
442 GLuint GLES2GetUniformBlockIndex(GLuint program, const char* name) {
443 return gles2::GetGLContext()->GetUniformBlockIndex(program, name);
444 }
434 void GLES2GetUniformfv(GLuint program, GLint location, GLfloat* params) { 445 void GLES2GetUniformfv(GLuint program, GLint location, GLfloat* params) {
435 gles2::GetGLContext()->GetUniformfv(program, location, params); 446 gles2::GetGLContext()->GetUniformfv(program, location, params);
436 } 447 }
437 void GLES2GetUniformiv(GLuint program, GLint location, GLint* params) { 448 void GLES2GetUniformiv(GLuint program, GLint location, GLint* params) {
438 gles2::GetGLContext()->GetUniformiv(program, location, params); 449 gles2::GetGLContext()->GetUniformiv(program, location, params);
439 } 450 }
440 GLint GLES2GetUniformLocation(GLuint program, const char* name) { 451 GLint GLES2GetUniformLocation(GLuint program, const char* name) {
441 return gles2::GetGLContext()->GetUniformLocation(program, name); 452 return gles2::GetGLContext()->GetUniformLocation(program, name);
442 } 453 }
443 void GLES2GetVertexAttribfv(GLuint index, GLenum pname, GLfloat* params) { 454 void GLES2GetVertexAttribfv(GLuint index, GLenum pname, GLfloat* params) {
(...skipping 127 matching lines...) Expand 10 before | Expand all | Expand 10 after
571 const GLchar* const* str, 582 const GLchar* const* str,
572 const GLint* length) { 583 const GLint* length) {
573 gles2::GetGLContext()->ShaderSource(shader, count, str, length); 584 gles2::GetGLContext()->ShaderSource(shader, count, str, length);
574 } 585 }
575 void GLES2ShallowFinishCHROMIUM() { 586 void GLES2ShallowFinishCHROMIUM() {
576 gles2::GetGLContext()->ShallowFinishCHROMIUM(); 587 gles2::GetGLContext()->ShallowFinishCHROMIUM();
577 } 588 }
578 void GLES2ShallowFlushCHROMIUM() { 589 void GLES2ShallowFlushCHROMIUM() {
579 gles2::GetGLContext()->ShallowFlushCHROMIUM(); 590 gles2::GetGLContext()->ShallowFlushCHROMIUM();
580 } 591 }
592 void GLES2OrderingBarrierCHROMIUM() {
593 gles2::GetGLContext()->OrderingBarrierCHROMIUM();
594 }
581 void GLES2StencilFunc(GLenum func, GLint ref, GLuint mask) { 595 void GLES2StencilFunc(GLenum func, GLint ref, GLuint mask) {
582 gles2::GetGLContext()->StencilFunc(func, ref, mask); 596 gles2::GetGLContext()->StencilFunc(func, ref, mask);
583 } 597 }
584 void GLES2StencilFuncSeparate(GLenum face, 598 void GLES2StencilFuncSeparate(GLenum face,
585 GLenum func, 599 GLenum func,
586 GLint ref, 600 GLint ref,
587 GLuint mask) { 601 GLuint mask) {
588 gles2::GetGLContext()->StencilFuncSeparate(face, func, ref, mask); 602 gles2::GetGLContext()->StencilFuncSeparate(face, func, ref, mask);
589 } 603 }
590 void GLES2StencilMask(GLuint mask) { 604 void GLES2StencilMask(GLuint mask) {
(...skipping 440 matching lines...) Expand 10 before | Expand all | Expand 10 after
1031 } 1045 }
1032 void GLES2RateLimitOffscreenContextCHROMIUM() { 1046 void GLES2RateLimitOffscreenContextCHROMIUM() {
1033 gles2::GetGLContext()->RateLimitOffscreenContextCHROMIUM(); 1047 gles2::GetGLContext()->RateLimitOffscreenContextCHROMIUM();
1034 } 1048 }
1035 void GLES2GetProgramInfoCHROMIUM(GLuint program, 1049 void GLES2GetProgramInfoCHROMIUM(GLuint program,
1036 GLsizei bufsize, 1050 GLsizei bufsize,
1037 GLsizei* size, 1051 GLsizei* size,
1038 void* info) { 1052 void* info) {
1039 gles2::GetGLContext()->GetProgramInfoCHROMIUM(program, bufsize, size, info); 1053 gles2::GetGLContext()->GetProgramInfoCHROMIUM(program, bufsize, size, info);
1040 } 1054 }
1055 void GLES2GetUniformBlocksCHROMIUM(GLuint program,
1056 GLsizei bufsize,
1057 GLsizei* size,
1058 void* info) {
1059 gles2::GetGLContext()->GetUniformBlocksCHROMIUM(program, bufsize, size, info);
1060 }
1041 GLuint GLES2CreateStreamTextureCHROMIUM(GLuint texture) { 1061 GLuint GLES2CreateStreamTextureCHROMIUM(GLuint texture) {
1042 return gles2::GetGLContext()->CreateStreamTextureCHROMIUM(texture); 1062 return gles2::GetGLContext()->CreateStreamTextureCHROMIUM(texture);
1043 } 1063 }
1044 GLuint GLES2CreateImageCHROMIUM(ClientBuffer buffer, 1064 GLuint GLES2CreateImageCHROMIUM(ClientBuffer buffer,
1045 GLsizei width, 1065 GLsizei width,
1046 GLsizei height, 1066 GLsizei height,
1047 GLenum internalformat) { 1067 GLenum internalformat) {
1048 return gles2::GetGLContext()->CreateImageCHROMIUM(buffer, width, height, 1068 return gles2::GetGLContext()->CreateImageCHROMIUM(buffer, width, height,
1049 internalformat); 1069 internalformat);
1050 } 1070 }
(...skipping 481 matching lines...) Expand 10 before | Expand all | Expand 10 after
1532 }, 1552 },
1533 { 1553 {
1534 "glGetActiveAttrib", 1554 "glGetActiveAttrib",
1535 reinterpret_cast<GLES2FunctionPointer>(glGetActiveAttrib), 1555 reinterpret_cast<GLES2FunctionPointer>(glGetActiveAttrib),
1536 }, 1556 },
1537 { 1557 {
1538 "glGetActiveUniform", 1558 "glGetActiveUniform",
1539 reinterpret_cast<GLES2FunctionPointer>(glGetActiveUniform), 1559 reinterpret_cast<GLES2FunctionPointer>(glGetActiveUniform),
1540 }, 1560 },
1541 { 1561 {
1562 "glGetActiveUniformBlockName",
1563 reinterpret_cast<GLES2FunctionPointer>(glGetActiveUniformBlockName),
1564 },
1565 {
1542 "glGetAttachedShaders", 1566 "glGetAttachedShaders",
1543 reinterpret_cast<GLES2FunctionPointer>(glGetAttachedShaders), 1567 reinterpret_cast<GLES2FunctionPointer>(glGetAttachedShaders),
1544 }, 1568 },
1545 { 1569 {
1546 "glGetAttribLocation", 1570 "glGetAttribLocation",
1547 reinterpret_cast<GLES2FunctionPointer>(glGetAttribLocation), 1571 reinterpret_cast<GLES2FunctionPointer>(glGetAttribLocation),
1548 }, 1572 },
1549 { 1573 {
1550 "glGetBooleanv", 1574 "glGetBooleanv",
1551 reinterpret_cast<GLES2FunctionPointer>(glGetBooleanv), 1575 reinterpret_cast<GLES2FunctionPointer>(glGetBooleanv),
(...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after
1621 }, 1645 },
1622 { 1646 {
1623 "glGetTexParameterfv", 1647 "glGetTexParameterfv",
1624 reinterpret_cast<GLES2FunctionPointer>(glGetTexParameterfv), 1648 reinterpret_cast<GLES2FunctionPointer>(glGetTexParameterfv),
1625 }, 1649 },
1626 { 1650 {
1627 "glGetTexParameteriv", 1651 "glGetTexParameteriv",
1628 reinterpret_cast<GLES2FunctionPointer>(glGetTexParameteriv), 1652 reinterpret_cast<GLES2FunctionPointer>(glGetTexParameteriv),
1629 }, 1653 },
1630 { 1654 {
1655 "glGetUniformBlockIndex",
1656 reinterpret_cast<GLES2FunctionPointer>(glGetUniformBlockIndex),
1657 },
1658 {
1631 "glGetUniformfv", 1659 "glGetUniformfv",
1632 reinterpret_cast<GLES2FunctionPointer>(glGetUniformfv), 1660 reinterpret_cast<GLES2FunctionPointer>(glGetUniformfv),
1633 }, 1661 },
1634 { 1662 {
1635 "glGetUniformiv", 1663 "glGetUniformiv",
1636 reinterpret_cast<GLES2FunctionPointer>(glGetUniformiv), 1664 reinterpret_cast<GLES2FunctionPointer>(glGetUniformiv),
1637 }, 1665 },
1638 { 1666 {
1639 "glGetUniformLocation", 1667 "glGetUniformLocation",
1640 reinterpret_cast<GLES2FunctionPointer>(glGetUniformLocation), 1668 reinterpret_cast<GLES2FunctionPointer>(glGetUniformLocation),
(...skipping 136 matching lines...) Expand 10 before | Expand all | Expand 10 after
1777 }, 1805 },
1778 { 1806 {
1779 "glShallowFinishCHROMIUM", 1807 "glShallowFinishCHROMIUM",
1780 reinterpret_cast<GLES2FunctionPointer>(glShallowFinishCHROMIUM), 1808 reinterpret_cast<GLES2FunctionPointer>(glShallowFinishCHROMIUM),
1781 }, 1809 },
1782 { 1810 {
1783 "glShallowFlushCHROMIUM", 1811 "glShallowFlushCHROMIUM",
1784 reinterpret_cast<GLES2FunctionPointer>(glShallowFlushCHROMIUM), 1812 reinterpret_cast<GLES2FunctionPointer>(glShallowFlushCHROMIUM),
1785 }, 1813 },
1786 { 1814 {
1815 "glOrderingBarrierCHROMIUM",
1816 reinterpret_cast<GLES2FunctionPointer>(glOrderingBarrierCHROMIUM),
1817 },
1818 {
1787 "glStencilFunc", 1819 "glStencilFunc",
1788 reinterpret_cast<GLES2FunctionPointer>(glStencilFunc), 1820 reinterpret_cast<GLES2FunctionPointer>(glStencilFunc),
1789 }, 1821 },
1790 { 1822 {
1791 "glStencilFuncSeparate", 1823 "glStencilFuncSeparate",
1792 reinterpret_cast<GLES2FunctionPointer>(glStencilFuncSeparate), 1824 reinterpret_cast<GLES2FunctionPointer>(glStencilFuncSeparate),
1793 }, 1825 },
1794 { 1826 {
1795 "glStencilMask", 1827 "glStencilMask",
1796 reinterpret_cast<GLES2FunctionPointer>(glStencilMask), 1828 reinterpret_cast<GLES2FunctionPointer>(glStencilMask),
(...skipping 388 matching lines...) Expand 10 before | Expand all | Expand 10 after
2185 { 2217 {
2186 "glRateLimitOffscreenContextCHROMIUM", 2218 "glRateLimitOffscreenContextCHROMIUM",
2187 reinterpret_cast<GLES2FunctionPointer>( 2219 reinterpret_cast<GLES2FunctionPointer>(
2188 glRateLimitOffscreenContextCHROMIUM), 2220 glRateLimitOffscreenContextCHROMIUM),
2189 }, 2221 },
2190 { 2222 {
2191 "glGetProgramInfoCHROMIUM", 2223 "glGetProgramInfoCHROMIUM",
2192 reinterpret_cast<GLES2FunctionPointer>(glGetProgramInfoCHROMIUM), 2224 reinterpret_cast<GLES2FunctionPointer>(glGetProgramInfoCHROMIUM),
2193 }, 2225 },
2194 { 2226 {
2227 "glGetUniformBlocksCHROMIUM",
2228 reinterpret_cast<GLES2FunctionPointer>(glGetUniformBlocksCHROMIUM),
2229 },
2230 {
2195 "glCreateStreamTextureCHROMIUM", 2231 "glCreateStreamTextureCHROMIUM",
2196 reinterpret_cast<GLES2FunctionPointer>(glCreateStreamTextureCHROMIUM), 2232 reinterpret_cast<GLES2FunctionPointer>(glCreateStreamTextureCHROMIUM),
2197 }, 2233 },
2198 { 2234 {
2199 "glCreateImageCHROMIUM", 2235 "glCreateImageCHROMIUM",
2200 reinterpret_cast<GLES2FunctionPointer>(glCreateImageCHROMIUM), 2236 reinterpret_cast<GLES2FunctionPointer>(glCreateImageCHROMIUM),
2201 }, 2237 },
2202 { 2238 {
2203 "glDestroyImageCHROMIUM", 2239 "glDestroyImageCHROMIUM",
2204 reinterpret_cast<GLES2FunctionPointer>(glDestroyImageCHROMIUM), 2240 reinterpret_cast<GLES2FunctionPointer>(glDestroyImageCHROMIUM),
(...skipping 160 matching lines...) Expand 10 before | Expand all | Expand 10 after
2365 reinterpret_cast<GLES2FunctionPointer>(glBlendBarrierKHR), 2401 reinterpret_cast<GLES2FunctionPointer>(glBlendBarrierKHR),
2366 }, 2402 },
2367 { 2403 {
2368 NULL, 2404 NULL,
2369 NULL, 2405 NULL,
2370 }, 2406 },
2371 }; 2407 };
2372 2408
2373 } // namespace gles2 2409 } // namespace gles2
2374 #endif // GPU_COMMAND_BUFFER_CLIENT_GLES2_C_LIB_AUTOGEN_H_ 2410 #endif // GPU_COMMAND_BUFFER_CLIENT_GLES2_C_LIB_AUTOGEN_H_
OLDNEW
« no previous file with comments | « gpu/command_buffer/client/gl_in_process_context.cc ('k') | gpu/command_buffer/client/gles2_cmd_helper_autogen.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698