| 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 909 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 920 overlay_texture_id, | 920 overlay_texture_id, |
| 921 bounds_x, | 921 bounds_x, |
| 922 bounds_y, | 922 bounds_y, |
| 923 bounds_width, | 923 bounds_width, |
| 924 bounds_height, | 924 bounds_height, |
| 925 uv_x, | 925 uv_x, |
| 926 uv_y, | 926 uv_y, |
| 927 uv_width, | 927 uv_width, |
| 928 uv_height); | 928 uv_height); |
| 929 } | 929 } |
| 930 void GLES2MatrixLoadfCHROMIUM(GLenum matrixMode, const GLfloat* m) { |
| 931 gles2::GetGLContext()->MatrixLoadfCHROMIUM(matrixMode, m); |
| 932 } |
| 933 void GLES2MatrixLoadIdentityCHROMIUM(GLenum matrixMode) { |
| 934 gles2::GetGLContext()->MatrixLoadIdentityCHROMIUM(matrixMode); |
| 935 } |
| 930 | 936 |
| 931 namespace gles2 { | 937 namespace gles2 { |
| 932 | 938 |
| 933 extern const NameToFunc g_gles2_function_table[] = { | 939 extern const NameToFunc g_gles2_function_table[] = { |
| 934 {"glActiveTexture", | 940 {"glActiveTexture", |
| 935 reinterpret_cast<GLES2FunctionPointer>(glActiveTexture), }, | 941 reinterpret_cast<GLES2FunctionPointer>(glActiveTexture), }, |
| 936 {"glAttachShader", | 942 {"glAttachShader", |
| 937 reinterpret_cast<GLES2FunctionPointer>(glAttachShader), }, | 943 reinterpret_cast<GLES2FunctionPointer>(glAttachShader), }, |
| 938 {"glBindAttribLocation", | 944 {"glBindAttribLocation", |
| 939 reinterpret_cast<GLES2FunctionPointer>(glBindAttribLocation), }, | 945 reinterpret_cast<GLES2FunctionPointer>(glBindAttribLocation), }, |
| (...skipping 355 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1295 {"glInsertSyncPointCHROMIUM", | 1301 {"glInsertSyncPointCHROMIUM", |
| 1296 reinterpret_cast<GLES2FunctionPointer>(glInsertSyncPointCHROMIUM), }, | 1302 reinterpret_cast<GLES2FunctionPointer>(glInsertSyncPointCHROMIUM), }, |
| 1297 {"glWaitSyncPointCHROMIUM", | 1303 {"glWaitSyncPointCHROMIUM", |
| 1298 reinterpret_cast<GLES2FunctionPointer>(glWaitSyncPointCHROMIUM), }, | 1304 reinterpret_cast<GLES2FunctionPointer>(glWaitSyncPointCHROMIUM), }, |
| 1299 {"glDrawBuffersEXT", | 1305 {"glDrawBuffersEXT", |
| 1300 reinterpret_cast<GLES2FunctionPointer>(glDrawBuffersEXT), }, | 1306 reinterpret_cast<GLES2FunctionPointer>(glDrawBuffersEXT), }, |
| 1301 {"glDiscardBackbufferCHROMIUM", | 1307 {"glDiscardBackbufferCHROMIUM", |
| 1302 reinterpret_cast<GLES2FunctionPointer>(glDiscardBackbufferCHROMIUM), }, | 1308 reinterpret_cast<GLES2FunctionPointer>(glDiscardBackbufferCHROMIUM), }, |
| 1303 {"glScheduleOverlayPlaneCHROMIUM", | 1309 {"glScheduleOverlayPlaneCHROMIUM", |
| 1304 reinterpret_cast<GLES2FunctionPointer>(glScheduleOverlayPlaneCHROMIUM), }, | 1310 reinterpret_cast<GLES2FunctionPointer>(glScheduleOverlayPlaneCHROMIUM), }, |
| 1311 {"glMatrixLoadfCHROMIUM", |
| 1312 reinterpret_cast<GLES2FunctionPointer>(glMatrixLoadfCHROMIUM), }, |
| 1313 {"glMatrixLoadIdentityCHROMIUM", |
| 1314 reinterpret_cast<GLES2FunctionPointer>(glMatrixLoadIdentityCHROMIUM), }, |
| 1305 {NULL, NULL, }, }; | 1315 {NULL, NULL, }, }; |
| 1306 | 1316 |
| 1307 } // namespace gles2 | 1317 } // namespace gles2 |
| 1308 #endif // GPU_COMMAND_BUFFER_CLIENT_GLES2_C_LIB_AUTOGEN_H_ | 1318 #endif // GPU_COMMAND_BUFFER_CLIENT_GLES2_C_LIB_AUTOGEN_H_ |
| OLD | NEW |