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 1386 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1397 GLfloat uv_y, | 1397 GLfloat uv_y, |
1398 GLfloat uv_width, | 1398 GLfloat uv_width, |
1399 GLfloat uv_height) { | 1399 GLfloat uv_height) { |
1400 gles2::GetGLContext()->ScheduleOverlayPlaneCHROMIUM( | 1400 gles2::GetGLContext()->ScheduleOverlayPlaneCHROMIUM( |
1401 plane_z_order, plane_transform, overlay_texture_id, bounds_x, bounds_y, | 1401 plane_z_order, plane_transform, overlay_texture_id, bounds_x, bounds_y, |
1402 bounds_width, bounds_height, uv_x, uv_y, uv_width, uv_height); | 1402 bounds_width, bounds_height, uv_x, uv_y, uv_width, uv_height); |
1403 } | 1403 } |
1404 void GLES2SwapInterval(GLint interval) { | 1404 void GLES2SwapInterval(GLint interval) { |
1405 gles2::GetGLContext()->SwapInterval(interval); | 1405 gles2::GetGLContext()->SwapInterval(interval); |
1406 } | 1406 } |
| 1407 void GLES2FlushDriverCachesCHROMIUM() { |
| 1408 gles2::GetGLContext()->FlushDriverCachesCHROMIUM(); |
| 1409 } |
1407 void GLES2MatrixLoadfCHROMIUM(GLenum matrixMode, const GLfloat* m) { | 1410 void GLES2MatrixLoadfCHROMIUM(GLenum matrixMode, const GLfloat* m) { |
1408 gles2::GetGLContext()->MatrixLoadfCHROMIUM(matrixMode, m); | 1411 gles2::GetGLContext()->MatrixLoadfCHROMIUM(matrixMode, m); |
1409 } | 1412 } |
1410 void GLES2MatrixLoadIdentityCHROMIUM(GLenum matrixMode) { | 1413 void GLES2MatrixLoadIdentityCHROMIUM(GLenum matrixMode) { |
1411 gles2::GetGLContext()->MatrixLoadIdentityCHROMIUM(matrixMode); | 1414 gles2::GetGLContext()->MatrixLoadIdentityCHROMIUM(matrixMode); |
1412 } | 1415 } |
1413 GLuint GLES2GenPathsCHROMIUM(GLsizei range) { | 1416 GLuint GLES2GenPathsCHROMIUM(GLsizei range) { |
1414 return gles2::GetGLContext()->GenPathsCHROMIUM(range); | 1417 return gles2::GetGLContext()->GenPathsCHROMIUM(range); |
1415 } | 1418 } |
1416 void GLES2DeletePathsCHROMIUM(GLuint path, GLsizei range) { | 1419 void GLES2DeletePathsCHROMIUM(GLuint path, GLsizei range) { |
(...skipping 1269 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2686 }, | 2689 }, |
2687 { | 2690 { |
2688 "glScheduleOverlayPlaneCHROMIUM", | 2691 "glScheduleOverlayPlaneCHROMIUM", |
2689 reinterpret_cast<GLES2FunctionPointer>(glScheduleOverlayPlaneCHROMIUM), | 2692 reinterpret_cast<GLES2FunctionPointer>(glScheduleOverlayPlaneCHROMIUM), |
2690 }, | 2693 }, |
2691 { | 2694 { |
2692 "glSwapInterval", | 2695 "glSwapInterval", |
2693 reinterpret_cast<GLES2FunctionPointer>(glSwapInterval), | 2696 reinterpret_cast<GLES2FunctionPointer>(glSwapInterval), |
2694 }, | 2697 }, |
2695 { | 2698 { |
| 2699 "glFlushDriverCachesCHROMIUM", |
| 2700 reinterpret_cast<GLES2FunctionPointer>(glFlushDriverCachesCHROMIUM), |
| 2701 }, |
| 2702 { |
2696 "glMatrixLoadfCHROMIUM", | 2703 "glMatrixLoadfCHROMIUM", |
2697 reinterpret_cast<GLES2FunctionPointer>(glMatrixLoadfCHROMIUM), | 2704 reinterpret_cast<GLES2FunctionPointer>(glMatrixLoadfCHROMIUM), |
2698 }, | 2705 }, |
2699 { | 2706 { |
2700 "glMatrixLoadIdentityCHROMIUM", | 2707 "glMatrixLoadIdentityCHROMIUM", |
2701 reinterpret_cast<GLES2FunctionPointer>(glMatrixLoadIdentityCHROMIUM), | 2708 reinterpret_cast<GLES2FunctionPointer>(glMatrixLoadIdentityCHROMIUM), |
2702 }, | 2709 }, |
2703 { | 2710 { |
2704 "glGenPathsCHROMIUM", | 2711 "glGenPathsCHROMIUM", |
2705 reinterpret_cast<GLES2FunctionPointer>(glGenPathsCHROMIUM), | 2712 reinterpret_cast<GLES2FunctionPointer>(glGenPathsCHROMIUM), |
(...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2762 reinterpret_cast<GLES2FunctionPointer>(glBlendBarrierKHR), | 2769 reinterpret_cast<GLES2FunctionPointer>(glBlendBarrierKHR), |
2763 }, | 2770 }, |
2764 { | 2771 { |
2765 NULL, | 2772 NULL, |
2766 NULL, | 2773 NULL, |
2767 }, | 2774 }, |
2768 }; | 2775 }; |
2769 | 2776 |
2770 } // namespace gles2 | 2777 } // namespace gles2 |
2771 #endif // GPU_COMMAND_BUFFER_CLIENT_GLES2_C_LIB_AUTOGEN_H_ | 2778 #endif // GPU_COMMAND_BUFFER_CLIENT_GLES2_C_LIB_AUTOGEN_H_ |
OLD | NEW |