| 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 658 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 669 GLsizei width, | 669 GLsizei width, |
| 670 GLsizei height, | 670 GLsizei height, |
| 671 GLsizei depth, | 671 GLsizei depth, |
| 672 GLenum format, | 672 GLenum format, |
| 673 GLenum type, | 673 GLenum type, |
| 674 const void* pixels) { | 674 const void* pixels) { |
| 675 gles2::GetGLContext()->TexSubImage3D(target, level, xoffset, yoffset, zoffset, | 675 gles2::GetGLContext()->TexSubImage3D(target, level, xoffset, yoffset, zoffset, |
| 676 width, height, depth, format, type, | 676 width, height, depth, format, type, |
| 677 pixels); | 677 pixels); |
| 678 } | 678 } |
| 679 void GLES2TransformFeedbackVaryings(GLuint program, |
| 680 GLsizei count, |
| 681 const char* const* varyings, |
| 682 GLenum buffermode) { |
| 683 gles2::GetGLContext()->TransformFeedbackVaryings(program, count, varyings, |
| 684 buffermode); |
| 685 } |
| 679 void GLES2Uniform1f(GLint location, GLfloat x) { | 686 void GLES2Uniform1f(GLint location, GLfloat x) { |
| 680 gles2::GetGLContext()->Uniform1f(location, x); | 687 gles2::GetGLContext()->Uniform1f(location, x); |
| 681 } | 688 } |
| 682 void GLES2Uniform1fv(GLint location, GLsizei count, const GLfloat* v) { | 689 void GLES2Uniform1fv(GLint location, GLsizei count, const GLfloat* v) { |
| 683 gles2::GetGLContext()->Uniform1fv(location, count, v); | 690 gles2::GetGLContext()->Uniform1fv(location, count, v); |
| 684 } | 691 } |
| 685 void GLES2Uniform1i(GLint location, GLint x) { | 692 void GLES2Uniform1i(GLint location, GLint x) { |
| 686 gles2::GetGLContext()->Uniform1i(location, x); | 693 gles2::GetGLContext()->Uniform1i(location, x); |
| 687 } | 694 } |
| 688 void GLES2Uniform1iv(GLint location, GLsizei count, const GLint* v) { | 695 void GLES2Uniform1iv(GLint location, GLsizei count, const GLint* v) { |
| (...skipping 1141 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1830 }, | 1837 }, |
| 1831 { | 1838 { |
| 1832 "glTexSubImage2D", | 1839 "glTexSubImage2D", |
| 1833 reinterpret_cast<GLES2FunctionPointer>(glTexSubImage2D), | 1840 reinterpret_cast<GLES2FunctionPointer>(glTexSubImage2D), |
| 1834 }, | 1841 }, |
| 1835 { | 1842 { |
| 1836 "glTexSubImage3D", | 1843 "glTexSubImage3D", |
| 1837 reinterpret_cast<GLES2FunctionPointer>(glTexSubImage3D), | 1844 reinterpret_cast<GLES2FunctionPointer>(glTexSubImage3D), |
| 1838 }, | 1845 }, |
| 1839 { | 1846 { |
| 1847 "glTransformFeedbackVaryings", |
| 1848 reinterpret_cast<GLES2FunctionPointer>(glTransformFeedbackVaryings), |
| 1849 }, |
| 1850 { |
| 1840 "glUniform1f", | 1851 "glUniform1f", |
| 1841 reinterpret_cast<GLES2FunctionPointer>(glUniform1f), | 1852 reinterpret_cast<GLES2FunctionPointer>(glUniform1f), |
| 1842 }, | 1853 }, |
| 1843 { | 1854 { |
| 1844 "glUniform1fv", | 1855 "glUniform1fv", |
| 1845 reinterpret_cast<GLES2FunctionPointer>(glUniform1fv), | 1856 reinterpret_cast<GLES2FunctionPointer>(glUniform1fv), |
| 1846 }, | 1857 }, |
| 1847 { | 1858 { |
| 1848 "glUniform1i", | 1859 "glUniform1i", |
| 1849 reinterpret_cast<GLES2FunctionPointer>(glUniform1i), | 1860 reinterpret_cast<GLES2FunctionPointer>(glUniform1i), |
| (...skipping 504 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2354 reinterpret_cast<GLES2FunctionPointer>(glBlendBarrierKHR), | 2365 reinterpret_cast<GLES2FunctionPointer>(glBlendBarrierKHR), |
| 2355 }, | 2366 }, |
| 2356 { | 2367 { |
| 2357 NULL, | 2368 NULL, |
| 2358 NULL, | 2369 NULL, |
| 2359 }, | 2370 }, |
| 2360 }; | 2371 }; |
| 2361 | 2372 |
| 2362 } // namespace gles2 | 2373 } // namespace gles2 |
| 2363 #endif // GPU_COMMAND_BUFFER_CLIENT_GLES2_C_LIB_AUTOGEN_H_ | 2374 #endif // GPU_COMMAND_BUFFER_CLIENT_GLES2_C_LIB_AUTOGEN_H_ |
| OLD | NEW |