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 485 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
496 } | 496 } |
497 void GLES2TexParameterfv(GLenum target, GLenum pname, const GLfloat* params) { | 497 void GLES2TexParameterfv(GLenum target, GLenum pname, const GLfloat* params) { |
498 gles2::GetGLContext()->TexParameterfv(target, pname, params); | 498 gles2::GetGLContext()->TexParameterfv(target, pname, params); |
499 } | 499 } |
500 void GLES2TexParameteri(GLenum target, GLenum pname, GLint param) { | 500 void GLES2TexParameteri(GLenum target, GLenum pname, GLint param) { |
501 gles2::GetGLContext()->TexParameteri(target, pname, param); | 501 gles2::GetGLContext()->TexParameteri(target, pname, param); |
502 } | 502 } |
503 void GLES2TexParameteriv(GLenum target, GLenum pname, const GLint* params) { | 503 void GLES2TexParameteriv(GLenum target, GLenum pname, const GLint* params) { |
504 gles2::GetGLContext()->TexParameteriv(target, pname, params); | 504 gles2::GetGLContext()->TexParameteriv(target, pname, params); |
505 } | 505 } |
| 506 void GLES2TexStorage3D(GLenum target, |
| 507 GLsizei levels, |
| 508 GLenum internalFormat, |
| 509 GLsizei width, |
| 510 GLsizei height, |
| 511 GLsizei depth) { |
| 512 gles2::GetGLContext()->TexStorage3D(target, levels, internalFormat, width, |
| 513 height, depth); |
| 514 } |
506 void GLES2TexSubImage2D(GLenum target, | 515 void GLES2TexSubImage2D(GLenum target, |
507 GLint level, | 516 GLint level, |
508 GLint xoffset, | 517 GLint xoffset, |
509 GLint yoffset, | 518 GLint yoffset, |
510 GLsizei width, | 519 GLsizei width, |
511 GLsizei height, | 520 GLsizei height, |
512 GLenum format, | 521 GLenum format, |
513 GLenum type, | 522 GLenum type, |
514 const void* pixels) { | 523 const void* pixels) { |
515 gles2::GetGLContext()->TexSubImage2D(target, level, xoffset, yoffset, width, | 524 gles2::GetGLContext()->TexSubImage2D(target, level, xoffset, yoffset, width, |
(...skipping 1007 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1523 }, | 1532 }, |
1524 { | 1533 { |
1525 "glTexParameteri", | 1534 "glTexParameteri", |
1526 reinterpret_cast<GLES2FunctionPointer>(glTexParameteri), | 1535 reinterpret_cast<GLES2FunctionPointer>(glTexParameteri), |
1527 }, | 1536 }, |
1528 { | 1537 { |
1529 "glTexParameteriv", | 1538 "glTexParameteriv", |
1530 reinterpret_cast<GLES2FunctionPointer>(glTexParameteriv), | 1539 reinterpret_cast<GLES2FunctionPointer>(glTexParameteriv), |
1531 }, | 1540 }, |
1532 { | 1541 { |
| 1542 "glTexStorage3D", |
| 1543 reinterpret_cast<GLES2FunctionPointer>(glTexStorage3D), |
| 1544 }, |
| 1545 { |
1533 "glTexSubImage2D", | 1546 "glTexSubImage2D", |
1534 reinterpret_cast<GLES2FunctionPointer>(glTexSubImage2D), | 1547 reinterpret_cast<GLES2FunctionPointer>(glTexSubImage2D), |
1535 }, | 1548 }, |
1536 { | 1549 { |
1537 "glUniform1f", | 1550 "glUniform1f", |
1538 reinterpret_cast<GLES2FunctionPointer>(glUniform1f), | 1551 reinterpret_cast<GLES2FunctionPointer>(glUniform1f), |
1539 }, | 1552 }, |
1540 { | 1553 { |
1541 "glUniform1fv", | 1554 "glUniform1fv", |
1542 reinterpret_cast<GLES2FunctionPointer>(glUniform1fv), | 1555 reinterpret_cast<GLES2FunctionPointer>(glUniform1fv), |
(...skipping 496 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2039 reinterpret_cast<GLES2FunctionPointer>(glBlendBarrierKHR), | 2052 reinterpret_cast<GLES2FunctionPointer>(glBlendBarrierKHR), |
2040 }, | 2053 }, |
2041 { | 2054 { |
2042 NULL, | 2055 NULL, |
2043 NULL, | 2056 NULL, |
2044 }, | 2057 }, |
2045 }; | 2058 }; |
2046 | 2059 |
2047 } // namespace gles2 | 2060 } // namespace gles2 |
2048 #endif // GPU_COMMAND_BUFFER_CLIENT_GLES2_C_LIB_AUTOGEN_H_ | 2061 #endif // GPU_COMMAND_BUFFER_CLIENT_GLES2_C_LIB_AUTOGEN_H_ |
OLD | NEW |