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 951 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
962 uv_y, | 962 uv_y, |
963 uv_width, | 963 uv_width, |
964 uv_height); | 964 uv_height); |
965 } | 965 } |
966 void GLES2MatrixLoadfCHROMIUM(GLenum matrixMode, const GLfloat* m) { | 966 void GLES2MatrixLoadfCHROMIUM(GLenum matrixMode, const GLfloat* m) { |
967 gles2::GetGLContext()->MatrixLoadfCHROMIUM(matrixMode, m); | 967 gles2::GetGLContext()->MatrixLoadfCHROMIUM(matrixMode, m); |
968 } | 968 } |
969 void GLES2MatrixLoadIdentityCHROMIUM(GLenum matrixMode) { | 969 void GLES2MatrixLoadIdentityCHROMIUM(GLenum matrixMode) { |
970 gles2::GetGLContext()->MatrixLoadIdentityCHROMIUM(matrixMode); | 970 gles2::GetGLContext()->MatrixLoadIdentityCHROMIUM(matrixMode); |
971 } | 971 } |
| 972 void GLES2BlendBarrierNV() { |
| 973 gles2::GetGLContext()->BlendBarrierNV(); |
| 974 } |
972 | 975 |
973 namespace gles2 { | 976 namespace gles2 { |
974 | 977 |
975 extern const NameToFunc g_gles2_function_table[] = { | 978 extern const NameToFunc g_gles2_function_table[] = { |
976 { | 979 { |
977 "glActiveTexture", | 980 "glActiveTexture", |
978 reinterpret_cast<GLES2FunctionPointer>(glActiveTexture), | 981 reinterpret_cast<GLES2FunctionPointer>(glActiveTexture), |
979 }, | 982 }, |
980 { | 983 { |
981 "glAttachShader", | 984 "glAttachShader", |
(...skipping 851 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1833 }, | 1836 }, |
1834 { | 1837 { |
1835 "glMatrixLoadfCHROMIUM", | 1838 "glMatrixLoadfCHROMIUM", |
1836 reinterpret_cast<GLES2FunctionPointer>(glMatrixLoadfCHROMIUM), | 1839 reinterpret_cast<GLES2FunctionPointer>(glMatrixLoadfCHROMIUM), |
1837 }, | 1840 }, |
1838 { | 1841 { |
1839 "glMatrixLoadIdentityCHROMIUM", | 1842 "glMatrixLoadIdentityCHROMIUM", |
1840 reinterpret_cast<GLES2FunctionPointer>(glMatrixLoadIdentityCHROMIUM), | 1843 reinterpret_cast<GLES2FunctionPointer>(glMatrixLoadIdentityCHROMIUM), |
1841 }, | 1844 }, |
1842 { | 1845 { |
| 1846 "glBlendBarrierNV", |
| 1847 reinterpret_cast<GLES2FunctionPointer>(glBlendBarrierNV), |
| 1848 }, |
| 1849 { |
1843 NULL, | 1850 NULL, |
1844 NULL, | 1851 NULL, |
1845 }, | 1852 }, |
1846 }; | 1853 }; |
1847 | 1854 |
1848 } // namespace gles2 | 1855 } // namespace gles2 |
1849 #endif // GPU_COMMAND_BUFFER_CLIENT_GLES2_C_LIB_AUTOGEN_H_ | 1856 #endif // GPU_COMMAND_BUFFER_CLIENT_GLES2_C_LIB_AUTOGEN_H_ |
OLD | NEW |