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 940 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
951 uv_y, | 951 uv_y, |
952 uv_width, | 952 uv_width, |
953 uv_height); | 953 uv_height); |
954 } | 954 } |
955 void GLES2MatrixLoadfCHROMIUM(GLenum matrixMode, const GLfloat* m) { | 955 void GLES2MatrixLoadfCHROMIUM(GLenum matrixMode, const GLfloat* m) { |
956 gles2::GetGLContext()->MatrixLoadfCHROMIUM(matrixMode, m); | 956 gles2::GetGLContext()->MatrixLoadfCHROMIUM(matrixMode, m); |
957 } | 957 } |
958 void GLES2MatrixLoadIdentityCHROMIUM(GLenum matrixMode) { | 958 void GLES2MatrixLoadIdentityCHROMIUM(GLenum matrixMode) { |
959 gles2::GetGLContext()->MatrixLoadIdentityCHROMIUM(matrixMode); | 959 gles2::GetGLContext()->MatrixLoadIdentityCHROMIUM(matrixMode); |
960 } | 960 } |
| 961 void GLES2BlendBarrierKHR() { |
| 962 gles2::GetGLContext()->BlendBarrierKHR(); |
| 963 } |
961 | 964 |
962 namespace gles2 { | 965 namespace gles2 { |
963 | 966 |
964 extern const NameToFunc g_gles2_function_table[] = { | 967 extern const NameToFunc g_gles2_function_table[] = { |
965 { | 968 { |
966 "glActiveTexture", | 969 "glActiveTexture", |
967 reinterpret_cast<GLES2FunctionPointer>(glActiveTexture), | 970 reinterpret_cast<GLES2FunctionPointer>(glActiveTexture), |
968 }, | 971 }, |
969 { | 972 { |
970 "glAttachShader", | 973 "glAttachShader", |
(...skipping 839 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1810 }, | 1813 }, |
1811 { | 1814 { |
1812 "glMatrixLoadfCHROMIUM", | 1815 "glMatrixLoadfCHROMIUM", |
1813 reinterpret_cast<GLES2FunctionPointer>(glMatrixLoadfCHROMIUM), | 1816 reinterpret_cast<GLES2FunctionPointer>(glMatrixLoadfCHROMIUM), |
1814 }, | 1817 }, |
1815 { | 1818 { |
1816 "glMatrixLoadIdentityCHROMIUM", | 1819 "glMatrixLoadIdentityCHROMIUM", |
1817 reinterpret_cast<GLES2FunctionPointer>(glMatrixLoadIdentityCHROMIUM), | 1820 reinterpret_cast<GLES2FunctionPointer>(glMatrixLoadIdentityCHROMIUM), |
1818 }, | 1821 }, |
1819 { | 1822 { |
| 1823 "glBlendBarrierKHR", |
| 1824 reinterpret_cast<GLES2FunctionPointer>(glBlendBarrierKHR), |
| 1825 }, |
| 1826 { |
1820 NULL, | 1827 NULL, |
1821 NULL, | 1828 NULL, |
1822 }, | 1829 }, |
1823 }; | 1830 }; |
1824 | 1831 |
1825 } // namespace gles2 | 1832 } // namespace gles2 |
1826 #endif // GPU_COMMAND_BUFFER_CLIENT_GLES2_C_LIB_AUTOGEN_H_ | 1833 #endif // GPU_COMMAND_BUFFER_CLIENT_GLES2_C_LIB_AUTOGEN_H_ |
OLD | NEW |