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 954 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
965 overlay_texture_id, | 965 overlay_texture_id, |
966 bounds_x, | 966 bounds_x, |
967 bounds_y, | 967 bounds_y, |
968 bounds_width, | 968 bounds_width, |
969 bounds_height, | 969 bounds_height, |
970 uv_x, | 970 uv_x, |
971 uv_y, | 971 uv_y, |
972 uv_width, | 972 uv_width, |
973 uv_height); | 973 uv_height); |
974 } | 974 } |
| 975 void GLES2MatrixLoadfCHROMIUM(GLenum matrixMode, const GLfloat* m) { |
| 976 gles2::GetGLContext()->MatrixLoadfCHROMIUM(matrixMode, m); |
| 977 } |
| 978 void GLES2MatrixLoadIdentityCHROMIUM(GLenum matrixMode) { |
| 979 gles2::GetGLContext()->MatrixLoadIdentityCHROMIUM(matrixMode); |
| 980 } |
975 | 981 |
976 namespace gles2 { | 982 namespace gles2 { |
977 | 983 |
978 extern const NameToFunc g_gles2_function_table[] = { | 984 extern const NameToFunc g_gles2_function_table[] = { |
979 { | 985 { |
980 "glActiveTexture", reinterpret_cast<GLES2FunctionPointer>(glActiveTexture), | 986 "glActiveTexture", reinterpret_cast<GLES2FunctionPointer>(glActiveTexture), |
981 }, | 987 }, |
982 { | 988 { |
983 "glAttachShader", reinterpret_cast<GLES2FunctionPointer>(glAttachShader), | 989 "glAttachShader", reinterpret_cast<GLES2FunctionPointer>(glAttachShader), |
984 }, | 990 }, |
(...skipping 761 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1746 }, | 1752 }, |
1747 { | 1753 { |
1748 "glDiscardBackbufferCHROMIUM", | 1754 "glDiscardBackbufferCHROMIUM", |
1749 reinterpret_cast<GLES2FunctionPointer>(glDiscardBackbufferCHROMIUM), | 1755 reinterpret_cast<GLES2FunctionPointer>(glDiscardBackbufferCHROMIUM), |
1750 }, | 1756 }, |
1751 { | 1757 { |
1752 "glScheduleOverlayPlaneCHROMIUM", | 1758 "glScheduleOverlayPlaneCHROMIUM", |
1753 reinterpret_cast<GLES2FunctionPointer>(glScheduleOverlayPlaneCHROMIUM), | 1759 reinterpret_cast<GLES2FunctionPointer>(glScheduleOverlayPlaneCHROMIUM), |
1754 }, | 1760 }, |
1755 { | 1761 { |
| 1762 "glMatrixLoadfCHROMIUM", |
| 1763 reinterpret_cast<GLES2FunctionPointer>(glMatrixLoadfCHROMIUM), |
| 1764 }, |
| 1765 { |
| 1766 "glMatrixLoadIdentityCHROMIUM", |
| 1767 reinterpret_cast<GLES2FunctionPointer>(glMatrixLoadIdentityCHROMIUM), |
| 1768 }, |
| 1769 { |
1756 NULL, NULL, | 1770 NULL, NULL, |
1757 }, | 1771 }, |
1758 }; | 1772 }; |
1759 | 1773 |
1760 } // namespace gles2 | 1774 } // namespace gles2 |
1761 #endif // GPU_COMMAND_BUFFER_CLIENT_GLES2_C_LIB_AUTOGEN_H_ | 1775 #endif // GPU_COMMAND_BUFFER_CLIENT_GLES2_C_LIB_AUTOGEN_H_ |
OLD | NEW |