| 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 1498 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1509 GLint bounds_width, | 1509 GLint bounds_width, |
| 1510 GLint bounds_height, | 1510 GLint bounds_height, |
| 1511 GLfloat uv_x, | 1511 GLfloat uv_x, |
| 1512 GLfloat uv_y, | 1512 GLfloat uv_y, |
| 1513 GLfloat uv_width, | 1513 GLfloat uv_width, |
| 1514 GLfloat uv_height) { | 1514 GLfloat uv_height) { |
| 1515 gles2::GetGLContext()->ScheduleOverlayPlaneCHROMIUM( | 1515 gles2::GetGLContext()->ScheduleOverlayPlaneCHROMIUM( |
| 1516 plane_z_order, plane_transform, overlay_texture_id, bounds_x, bounds_y, | 1516 plane_z_order, plane_transform, overlay_texture_id, bounds_x, bounds_y, |
| 1517 bounds_width, bounds_height, uv_x, uv_y, uv_width, uv_height); | 1517 bounds_width, bounds_height, uv_x, uv_y, uv_width, uv_height); |
| 1518 } | 1518 } |
| 1519 void GL_APIENTRY GLES2ScheduleCALayerCHROMIUM(GLuint contents_texture_id, |
| 1520 const GLfloat* contents_rect, |
| 1521 GLfloat opacity, |
| 1522 const GLuint background_color, |
| 1523 const GLfloat* bounds_size, |
| 1524 const GLfloat* transform) { |
| 1525 gles2::GetGLContext()->ScheduleCALayerCHROMIUM( |
| 1526 contents_texture_id, contents_rect, opacity, background_color, |
| 1527 bounds_size, transform); |
| 1528 } |
| 1519 void GL_APIENTRY GLES2SwapInterval(GLint interval) { | 1529 void GL_APIENTRY GLES2SwapInterval(GLint interval) { |
| 1520 gles2::GetGLContext()->SwapInterval(interval); | 1530 gles2::GetGLContext()->SwapInterval(interval); |
| 1521 } | 1531 } |
| 1522 void GL_APIENTRY GLES2FlushDriverCachesCHROMIUM() { | 1532 void GL_APIENTRY GLES2FlushDriverCachesCHROMIUM() { |
| 1523 gles2::GetGLContext()->FlushDriverCachesCHROMIUM(); | 1533 gles2::GetGLContext()->FlushDriverCachesCHROMIUM(); |
| 1524 } | 1534 } |
| 1525 void GL_APIENTRY GLES2MatrixLoadfCHROMIUM(GLenum matrixMode, const GLfloat* m) { | 1535 void GL_APIENTRY GLES2MatrixLoadfCHROMIUM(GLenum matrixMode, const GLfloat* m) { |
| 1526 gles2::GetGLContext()->MatrixLoadfCHROMIUM(matrixMode, m); | 1536 gles2::GetGLContext()->MatrixLoadfCHROMIUM(matrixMode, m); |
| 1527 } | 1537 } |
| 1528 void GL_APIENTRY GLES2MatrixLoadIdentityCHROMIUM(GLenum matrixMode) { | 1538 void GL_APIENTRY GLES2MatrixLoadIdentityCHROMIUM(GLenum matrixMode) { |
| (...skipping 1320 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2849 }, | 2859 }, |
| 2850 { | 2860 { |
| 2851 "glDiscardBackbufferCHROMIUM", | 2861 "glDiscardBackbufferCHROMIUM", |
| 2852 reinterpret_cast<GLES2FunctionPointer>(glDiscardBackbufferCHROMIUM), | 2862 reinterpret_cast<GLES2FunctionPointer>(glDiscardBackbufferCHROMIUM), |
| 2853 }, | 2863 }, |
| 2854 { | 2864 { |
| 2855 "glScheduleOverlayPlaneCHROMIUM", | 2865 "glScheduleOverlayPlaneCHROMIUM", |
| 2856 reinterpret_cast<GLES2FunctionPointer>(glScheduleOverlayPlaneCHROMIUM), | 2866 reinterpret_cast<GLES2FunctionPointer>(glScheduleOverlayPlaneCHROMIUM), |
| 2857 }, | 2867 }, |
| 2858 { | 2868 { |
| 2869 "glScheduleCALayerCHROMIUM", |
| 2870 reinterpret_cast<GLES2FunctionPointer>(glScheduleCALayerCHROMIUM), |
| 2871 }, |
| 2872 { |
| 2859 "glSwapInterval", | 2873 "glSwapInterval", |
| 2860 reinterpret_cast<GLES2FunctionPointer>(glSwapInterval), | 2874 reinterpret_cast<GLES2FunctionPointer>(glSwapInterval), |
| 2861 }, | 2875 }, |
| 2862 { | 2876 { |
| 2863 "glFlushDriverCachesCHROMIUM", | 2877 "glFlushDriverCachesCHROMIUM", |
| 2864 reinterpret_cast<GLES2FunctionPointer>(glFlushDriverCachesCHROMIUM), | 2878 reinterpret_cast<GLES2FunctionPointer>(glFlushDriverCachesCHROMIUM), |
| 2865 }, | 2879 }, |
| 2866 { | 2880 { |
| 2867 "glMatrixLoadfCHROMIUM", | 2881 "glMatrixLoadfCHROMIUM", |
| 2868 reinterpret_cast<GLES2FunctionPointer>(glMatrixLoadfCHROMIUM), | 2882 reinterpret_cast<GLES2FunctionPointer>(glMatrixLoadfCHROMIUM), |
| (...skipping 109 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2978 reinterpret_cast<GLES2FunctionPointer>( | 2992 reinterpret_cast<GLES2FunctionPointer>( |
| 2979 glApplyScreenSpaceAntialiasingCHROMIUM), | 2993 glApplyScreenSpaceAntialiasingCHROMIUM), |
| 2980 }, | 2994 }, |
| 2981 { | 2995 { |
| 2982 NULL, NULL, | 2996 NULL, NULL, |
| 2983 }, | 2997 }, |
| 2984 }; | 2998 }; |
| 2985 | 2999 |
| 2986 } // namespace gles2 | 3000 } // namespace gles2 |
| 2987 #endif // GPU_COMMAND_BUFFER_CLIENT_GLES2_C_LIB_AUTOGEN_H_ | 3001 #endif // GPU_COMMAND_BUFFER_CLIENT_GLES2_C_LIB_AUTOGEN_H_ |
| OLD | NEW |