| 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 1494 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1505 GLint bounds_width, | 1505 GLint bounds_width, |
| 1506 GLint bounds_height, | 1506 GLint bounds_height, |
| 1507 GLfloat uv_x, | 1507 GLfloat uv_x, |
| 1508 GLfloat uv_y, | 1508 GLfloat uv_y, |
| 1509 GLfloat uv_width, | 1509 GLfloat uv_width, |
| 1510 GLfloat uv_height) { | 1510 GLfloat uv_height) { |
| 1511 gles2::GetGLContext()->ScheduleOverlayPlaneCHROMIUM( | 1511 gles2::GetGLContext()->ScheduleOverlayPlaneCHROMIUM( |
| 1512 plane_z_order, plane_transform, overlay_texture_id, bounds_x, bounds_y, | 1512 plane_z_order, plane_transform, overlay_texture_id, bounds_x, bounds_y, |
| 1513 bounds_width, bounds_height, uv_x, uv_y, uv_width, uv_height); | 1513 bounds_width, bounds_height, uv_x, uv_y, uv_width, uv_height); |
| 1514 } | 1514 } |
| 1515 void GL_APIENTRY |
| 1516 GLES2ScheduleSolidColorOverlayPlaneCHROMIUM(GLint plane_z_order, |
| 1517 GLint bounds_x, |
| 1518 GLint bounds_y, |
| 1519 GLint bounds_width, |
| 1520 GLint bounds_height, |
| 1521 GLclampf red, |
| 1522 GLclampf green, |
| 1523 GLclampf blue, |
| 1524 GLclampf alpha) { |
| 1525 gles2::GetGLContext()->ScheduleSolidColorOverlayPlaneCHROMIUM( |
| 1526 plane_z_order, bounds_x, bounds_y, bounds_width, bounds_height, red, |
| 1527 green, blue, alpha); |
| 1528 } |
| 1515 void GL_APIENTRY GLES2SwapInterval(GLint interval) { | 1529 void GL_APIENTRY GLES2SwapInterval(GLint interval) { |
| 1516 gles2::GetGLContext()->SwapInterval(interval); | 1530 gles2::GetGLContext()->SwapInterval(interval); |
| 1517 } | 1531 } |
| 1518 void GL_APIENTRY GLES2FlushDriverCachesCHROMIUM() { | 1532 void GL_APIENTRY GLES2FlushDriverCachesCHROMIUM() { |
| 1519 gles2::GetGLContext()->FlushDriverCachesCHROMIUM(); | 1533 gles2::GetGLContext()->FlushDriverCachesCHROMIUM(); |
| 1520 } | 1534 } |
| 1521 void GL_APIENTRY GLES2MatrixLoadfCHROMIUM(GLenum matrixMode, const GLfloat* m) { | 1535 void GL_APIENTRY GLES2MatrixLoadfCHROMIUM(GLenum matrixMode, const GLfloat* m) { |
| 1522 gles2::GetGLContext()->MatrixLoadfCHROMIUM(matrixMode, m); | 1536 gles2::GetGLContext()->MatrixLoadfCHROMIUM(matrixMode, m); |
| 1523 } | 1537 } |
| 1524 void GL_APIENTRY GLES2MatrixLoadIdentityCHROMIUM(GLenum matrixMode) { | 1538 void GL_APIENTRY GLES2MatrixLoadIdentityCHROMIUM(GLenum matrixMode) { |
| (...skipping 1222 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2747 }, | 2761 }, |
| 2748 { | 2762 { |
| 2749 "glDiscardBackbufferCHROMIUM", | 2763 "glDiscardBackbufferCHROMIUM", |
| 2750 reinterpret_cast<GLES2FunctionPointer>(glDiscardBackbufferCHROMIUM), | 2764 reinterpret_cast<GLES2FunctionPointer>(glDiscardBackbufferCHROMIUM), |
| 2751 }, | 2765 }, |
| 2752 { | 2766 { |
| 2753 "glScheduleOverlayPlaneCHROMIUM", | 2767 "glScheduleOverlayPlaneCHROMIUM", |
| 2754 reinterpret_cast<GLES2FunctionPointer>(glScheduleOverlayPlaneCHROMIUM), | 2768 reinterpret_cast<GLES2FunctionPointer>(glScheduleOverlayPlaneCHROMIUM), |
| 2755 }, | 2769 }, |
| 2756 { | 2770 { |
| 2771 "glScheduleSolidColorOverlayPlaneCHROMIUM", |
| 2772 reinterpret_cast<GLES2FunctionPointer>( |
| 2773 glScheduleSolidColorOverlayPlaneCHROMIUM), |
| 2774 }, |
| 2775 { |
| 2757 "glSwapInterval", | 2776 "glSwapInterval", |
| 2758 reinterpret_cast<GLES2FunctionPointer>(glSwapInterval), | 2777 reinterpret_cast<GLES2FunctionPointer>(glSwapInterval), |
| 2759 }, | 2778 }, |
| 2760 { | 2779 { |
| 2761 "glFlushDriverCachesCHROMIUM", | 2780 "glFlushDriverCachesCHROMIUM", |
| 2762 reinterpret_cast<GLES2FunctionPointer>(glFlushDriverCachesCHROMIUM), | 2781 reinterpret_cast<GLES2FunctionPointer>(glFlushDriverCachesCHROMIUM), |
| 2763 }, | 2782 }, |
| 2764 { | 2783 { |
| 2765 "glMatrixLoadfCHROMIUM", | 2784 "glMatrixLoadfCHROMIUM", |
| 2766 reinterpret_cast<GLES2FunctionPointer>(glMatrixLoadfCHROMIUM), | 2785 reinterpret_cast<GLES2FunctionPointer>(glMatrixLoadfCHROMIUM), |
| (...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2836 reinterpret_cast<GLES2FunctionPointer>( | 2855 reinterpret_cast<GLES2FunctionPointer>( |
| 2837 glApplyScreenSpaceAntialiasingCHROMIUM), | 2856 glApplyScreenSpaceAntialiasingCHROMIUM), |
| 2838 }, | 2857 }, |
| 2839 { | 2858 { |
| 2840 NULL, NULL, | 2859 NULL, NULL, |
| 2841 }, | 2860 }, |
| 2842 }; | 2861 }; |
| 2843 | 2862 |
| 2844 } // namespace gles2 | 2863 } // namespace gles2 |
| 2845 #endif // GPU_COMMAND_BUFFER_CLIENT_GLES2_C_LIB_AUTOGEN_H_ | 2864 #endif // GPU_COMMAND_BUFFER_CLIENT_GLES2_C_LIB_AUTOGEN_H_ |
| OLD | NEW |