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 886 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
897 } | 897 } |
898 void GLES2WaitSyncPointCHROMIUM(GLuint sync_point) { | 898 void GLES2WaitSyncPointCHROMIUM(GLuint sync_point) { |
899 gles2::GetGLContext()->WaitSyncPointCHROMIUM(sync_point); | 899 gles2::GetGLContext()->WaitSyncPointCHROMIUM(sync_point); |
900 } | 900 } |
901 void GLES2DrawBuffersEXT(GLsizei count, const GLenum* bufs) { | 901 void GLES2DrawBuffersEXT(GLsizei count, const GLenum* bufs) { |
902 gles2::GetGLContext()->DrawBuffersEXT(count, bufs); | 902 gles2::GetGLContext()->DrawBuffersEXT(count, bufs); |
903 } | 903 } |
904 void GLES2DiscardBackbufferCHROMIUM() { | 904 void GLES2DiscardBackbufferCHROMIUM() { |
905 gles2::GetGLContext()->DiscardBackbufferCHROMIUM(); | 905 gles2::GetGLContext()->DiscardBackbufferCHROMIUM(); |
906 } | 906 } |
| 907 void GLES2ScheduleOverlayPlaneCHROMIUM(GLint plane_z_order, |
| 908 GLenum plane_transform, |
| 909 GLuint overlay_texture_id, |
| 910 GLint bounds_x, |
| 911 GLint bounds_y, |
| 912 GLint bounds_width, |
| 913 GLint bounds_height, |
| 914 GLfloat uv_x, |
| 915 GLfloat uv_y, |
| 916 GLfloat uv_width, |
| 917 GLfloat uv_height) { |
| 918 gles2::GetGLContext()->ScheduleOverlayPlaneCHROMIUM(plane_z_order, |
| 919 plane_transform, |
| 920 overlay_texture_id, |
| 921 bounds_x, |
| 922 bounds_y, |
| 923 bounds_width, |
| 924 bounds_height, |
| 925 uv_x, |
| 926 uv_y, |
| 927 uv_width, |
| 928 uv_height); |
| 929 } |
907 | 930 |
908 namespace gles2 { | 931 namespace gles2 { |
909 | 932 |
910 extern const NameToFunc g_gles2_function_table[] = { | 933 extern const NameToFunc g_gles2_function_table[] = { |
911 {"glActiveTexture", | 934 {"glActiveTexture", |
912 reinterpret_cast<GLES2FunctionPointer>(glActiveTexture), }, | 935 reinterpret_cast<GLES2FunctionPointer>(glActiveTexture), }, |
913 {"glAttachShader", | 936 {"glAttachShader", |
914 reinterpret_cast<GLES2FunctionPointer>(glAttachShader), }, | 937 reinterpret_cast<GLES2FunctionPointer>(glAttachShader), }, |
915 {"glBindAttribLocation", | 938 {"glBindAttribLocation", |
916 reinterpret_cast<GLES2FunctionPointer>(glBindAttribLocation), }, | 939 reinterpret_cast<GLES2FunctionPointer>(glBindAttribLocation), }, |
(...skipping 353 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1270 {"glLoseContextCHROMIUM", | 1293 {"glLoseContextCHROMIUM", |
1271 reinterpret_cast<GLES2FunctionPointer>(glLoseContextCHROMIUM), }, | 1294 reinterpret_cast<GLES2FunctionPointer>(glLoseContextCHROMIUM), }, |
1272 {"glInsertSyncPointCHROMIUM", | 1295 {"glInsertSyncPointCHROMIUM", |
1273 reinterpret_cast<GLES2FunctionPointer>(glInsertSyncPointCHROMIUM), }, | 1296 reinterpret_cast<GLES2FunctionPointer>(glInsertSyncPointCHROMIUM), }, |
1274 {"glWaitSyncPointCHROMIUM", | 1297 {"glWaitSyncPointCHROMIUM", |
1275 reinterpret_cast<GLES2FunctionPointer>(glWaitSyncPointCHROMIUM), }, | 1298 reinterpret_cast<GLES2FunctionPointer>(glWaitSyncPointCHROMIUM), }, |
1276 {"glDrawBuffersEXT", | 1299 {"glDrawBuffersEXT", |
1277 reinterpret_cast<GLES2FunctionPointer>(glDrawBuffersEXT), }, | 1300 reinterpret_cast<GLES2FunctionPointer>(glDrawBuffersEXT), }, |
1278 {"glDiscardBackbufferCHROMIUM", | 1301 {"glDiscardBackbufferCHROMIUM", |
1279 reinterpret_cast<GLES2FunctionPointer>(glDiscardBackbufferCHROMIUM), }, | 1302 reinterpret_cast<GLES2FunctionPointer>(glDiscardBackbufferCHROMIUM), }, |
| 1303 {"glScheduleOverlayPlaneCHROMIUM", |
| 1304 reinterpret_cast<GLES2FunctionPointer>(glScheduleOverlayPlaneCHROMIUM), }, |
1280 {NULL, NULL, }, }; | 1305 {NULL, NULL, }, }; |
1281 | 1306 |
1282 } // namespace gles2 | 1307 } // namespace gles2 |
1283 #endif // GPU_COMMAND_BUFFER_CLIENT_GLES2_C_LIB_AUTOGEN_H_ | 1308 #endif // GPU_COMMAND_BUFFER_CLIENT_GLES2_C_LIB_AUTOGEN_H_ |
OLD | NEW |