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 643 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
654 GLsizei width, | 654 GLsizei width, |
655 GLsizei height, | 655 GLsizei height, |
656 GLsizei depth, | 656 GLsizei depth, |
657 GLenum format, | 657 GLenum format, |
658 GLenum type, | 658 GLenum type, |
659 const void* pixels) { | 659 const void* pixels) { |
660 gles2::GetGLContext()->TexSubImage3D(target, level, xoffset, yoffset, zoffset, | 660 gles2::GetGLContext()->TexSubImage3D(target, level, xoffset, yoffset, zoffset, |
661 width, height, depth, format, type, | 661 width, height, depth, format, type, |
662 pixels); | 662 pixels); |
663 } | 663 } |
| 664 void GLES2TransformFeedbackVaryings(GLuint program, |
| 665 GLsizei count, |
| 666 const char* const* varyings, |
| 667 GLenum buffermode) { |
| 668 gles2::GetGLContext()->TransformFeedbackVaryings(program, count, varyings, |
| 669 buffermode); |
| 670 } |
664 void GLES2Uniform1f(GLint location, GLfloat x) { | 671 void GLES2Uniform1f(GLint location, GLfloat x) { |
665 gles2::GetGLContext()->Uniform1f(location, x); | 672 gles2::GetGLContext()->Uniform1f(location, x); |
666 } | 673 } |
667 void GLES2Uniform1fv(GLint location, GLsizei count, const GLfloat* v) { | 674 void GLES2Uniform1fv(GLint location, GLsizei count, const GLfloat* v) { |
668 gles2::GetGLContext()->Uniform1fv(location, count, v); | 675 gles2::GetGLContext()->Uniform1fv(location, count, v); |
669 } | 676 } |
670 void GLES2Uniform1i(GLint location, GLint x) { | 677 void GLES2Uniform1i(GLint location, GLint x) { |
671 gles2::GetGLContext()->Uniform1i(location, x); | 678 gles2::GetGLContext()->Uniform1i(location, x); |
672 } | 679 } |
673 void GLES2Uniform1iv(GLint location, GLsizei count, const GLint* v) { | 680 void GLES2Uniform1iv(GLint location, GLsizei count, const GLint* v) { |
(...skipping 1133 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1807 }, | 1814 }, |
1808 { | 1815 { |
1809 "glTexSubImage2D", | 1816 "glTexSubImage2D", |
1810 reinterpret_cast<GLES2FunctionPointer>(glTexSubImage2D), | 1817 reinterpret_cast<GLES2FunctionPointer>(glTexSubImage2D), |
1811 }, | 1818 }, |
1812 { | 1819 { |
1813 "glTexSubImage3D", | 1820 "glTexSubImage3D", |
1814 reinterpret_cast<GLES2FunctionPointer>(glTexSubImage3D), | 1821 reinterpret_cast<GLES2FunctionPointer>(glTexSubImage3D), |
1815 }, | 1822 }, |
1816 { | 1823 { |
| 1824 "glTransformFeedbackVaryings", |
| 1825 reinterpret_cast<GLES2FunctionPointer>(glTransformFeedbackVaryings), |
| 1826 }, |
| 1827 { |
1817 "glUniform1f", | 1828 "glUniform1f", |
1818 reinterpret_cast<GLES2FunctionPointer>(glUniform1f), | 1829 reinterpret_cast<GLES2FunctionPointer>(glUniform1f), |
1819 }, | 1830 }, |
1820 { | 1831 { |
1821 "glUniform1fv", | 1832 "glUniform1fv", |
1822 reinterpret_cast<GLES2FunctionPointer>(glUniform1fv), | 1833 reinterpret_cast<GLES2FunctionPointer>(glUniform1fv), |
1823 }, | 1834 }, |
1824 { | 1835 { |
1825 "glUniform1i", | 1836 "glUniform1i", |
1826 reinterpret_cast<GLES2FunctionPointer>(glUniform1i), | 1837 reinterpret_cast<GLES2FunctionPointer>(glUniform1i), |
(...skipping 504 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2331 reinterpret_cast<GLES2FunctionPointer>(glBlendBarrierKHR), | 2342 reinterpret_cast<GLES2FunctionPointer>(glBlendBarrierKHR), |
2332 }, | 2343 }, |
2333 { | 2344 { |
2334 NULL, | 2345 NULL, |
2335 NULL, | 2346 NULL, |
2336 }, | 2347 }, |
2337 }; | 2348 }; |
2338 | 2349 |
2339 } // namespace gles2 | 2350 } // namespace gles2 |
2340 #endif // GPU_COMMAND_BUFFER_CLIENT_GLES2_C_LIB_AUTOGEN_H_ | 2351 #endif // GPU_COMMAND_BUFFER_CLIENT_GLES2_C_LIB_AUTOGEN_H_ |
OLD | NEW |