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 1489 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1500 } | 1500 } |
1501 void GL_APIENTRY GLES2SwapInterval(GLint interval) { | 1501 void GL_APIENTRY GLES2SwapInterval(GLint interval) { |
1502 gles2::GetGLContext()->SwapInterval(interval); | 1502 gles2::GetGLContext()->SwapInterval(interval); |
1503 } | 1503 } |
1504 void GL_APIENTRY GLES2FlushDriverCachesCHROMIUM() { | 1504 void GL_APIENTRY GLES2FlushDriverCachesCHROMIUM() { |
1505 gles2::GetGLContext()->FlushDriverCachesCHROMIUM(); | 1505 gles2::GetGLContext()->FlushDriverCachesCHROMIUM(); |
1506 } | 1506 } |
1507 GLuint GL_APIENTRY GLES2GetLastFlushIdCHROMIUM() { | 1507 GLuint GL_APIENTRY GLES2GetLastFlushIdCHROMIUM() { |
1508 return gles2::GetGLContext()->GetLastFlushIdCHROMIUM(); | 1508 return gles2::GetGLContext()->GetLastFlushIdCHROMIUM(); |
1509 } | 1509 } |
| 1510 void GL_APIENTRY |
| 1511 GLES2ScheduleDCLayerSharedStateCHROMIUM(GLfloat opacity, |
| 1512 GLboolean is_clipped, |
| 1513 const GLfloat* clip_rect, |
| 1514 GLint z_order, |
| 1515 const GLfloat* transform) { |
| 1516 gles2::GetGLContext()->ScheduleDCLayerSharedStateCHROMIUM( |
| 1517 opacity, is_clipped, clip_rect, z_order, transform); |
| 1518 } |
| 1519 void GL_APIENTRY GLES2ScheduleDCLayerCHROMIUM(GLuint contents_texture_id, |
| 1520 const GLfloat* contents_rect, |
| 1521 GLuint background_color, |
| 1522 GLuint edge_aa_mask, |
| 1523 const GLfloat* bounds_rect, |
| 1524 GLuint filter) { |
| 1525 gles2::GetGLContext()->ScheduleDCLayerCHROMIUM( |
| 1526 contents_texture_id, contents_rect, background_color, edge_aa_mask, |
| 1527 bounds_rect, filter); |
| 1528 } |
1510 void GL_APIENTRY GLES2MatrixLoadfCHROMIUM(GLenum matrixMode, const GLfloat* m) { | 1529 void GL_APIENTRY GLES2MatrixLoadfCHROMIUM(GLenum matrixMode, const GLfloat* m) { |
1511 gles2::GetGLContext()->MatrixLoadfCHROMIUM(matrixMode, m); | 1530 gles2::GetGLContext()->MatrixLoadfCHROMIUM(matrixMode, m); |
1512 } | 1531 } |
1513 void GL_APIENTRY GLES2MatrixLoadIdentityCHROMIUM(GLenum matrixMode) { | 1532 void GL_APIENTRY GLES2MatrixLoadIdentityCHROMIUM(GLenum matrixMode) { |
1514 gles2::GetGLContext()->MatrixLoadIdentityCHROMIUM(matrixMode); | 1533 gles2::GetGLContext()->MatrixLoadIdentityCHROMIUM(matrixMode); |
1515 } | 1534 } |
1516 GLuint GL_APIENTRY GLES2GenPathsCHROMIUM(GLsizei range) { | 1535 GLuint GL_APIENTRY GLES2GenPathsCHROMIUM(GLsizei range) { |
1517 return gles2::GetGLContext()->GenPathsCHROMIUM(range); | 1536 return gles2::GetGLContext()->GenPathsCHROMIUM(range); |
1518 } | 1537 } |
1519 void GL_APIENTRY GLES2DeletePathsCHROMIUM(GLuint path, GLsizei range) { | 1538 void GL_APIENTRY GLES2DeletePathsCHROMIUM(GLuint path, GLsizei range) { |
(...skipping 1353 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2873 }, | 2892 }, |
2874 { | 2893 { |
2875 "glFlushDriverCachesCHROMIUM", | 2894 "glFlushDriverCachesCHROMIUM", |
2876 reinterpret_cast<GLES2FunctionPointer>(glFlushDriverCachesCHROMIUM), | 2895 reinterpret_cast<GLES2FunctionPointer>(glFlushDriverCachesCHROMIUM), |
2877 }, | 2896 }, |
2878 { | 2897 { |
2879 "glGetLastFlushIdCHROMIUM", | 2898 "glGetLastFlushIdCHROMIUM", |
2880 reinterpret_cast<GLES2FunctionPointer>(glGetLastFlushIdCHROMIUM), | 2899 reinterpret_cast<GLES2FunctionPointer>(glGetLastFlushIdCHROMIUM), |
2881 }, | 2900 }, |
2882 { | 2901 { |
| 2902 "glScheduleDCLayerSharedStateCHROMIUM", |
| 2903 reinterpret_cast<GLES2FunctionPointer>( |
| 2904 glScheduleDCLayerSharedStateCHROMIUM), |
| 2905 }, |
| 2906 { |
| 2907 "glScheduleDCLayerCHROMIUM", |
| 2908 reinterpret_cast<GLES2FunctionPointer>(glScheduleDCLayerCHROMIUM), |
| 2909 }, |
| 2910 { |
2883 "glMatrixLoadfCHROMIUM", | 2911 "glMatrixLoadfCHROMIUM", |
2884 reinterpret_cast<GLES2FunctionPointer>(glMatrixLoadfCHROMIUM), | 2912 reinterpret_cast<GLES2FunctionPointer>(glMatrixLoadfCHROMIUM), |
2885 }, | 2913 }, |
2886 { | 2914 { |
2887 "glMatrixLoadIdentityCHROMIUM", | 2915 "glMatrixLoadIdentityCHROMIUM", |
2888 reinterpret_cast<GLES2FunctionPointer>(glMatrixLoadIdentityCHROMIUM), | 2916 reinterpret_cast<GLES2FunctionPointer>(glMatrixLoadIdentityCHROMIUM), |
2889 }, | 2917 }, |
2890 { | 2918 { |
2891 "glGenPathsCHROMIUM", | 2919 "glGenPathsCHROMIUM", |
2892 reinterpret_cast<GLES2FunctionPointer>(glGenPathsCHROMIUM), | 2920 reinterpret_cast<GLES2FunctionPointer>(glGenPathsCHROMIUM), |
(...skipping 139 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3032 "glSetDrawRectangleCHROMIUM", | 3060 "glSetDrawRectangleCHROMIUM", |
3033 reinterpret_cast<GLES2FunctionPointer>(glSetDrawRectangleCHROMIUM), | 3061 reinterpret_cast<GLES2FunctionPointer>(glSetDrawRectangleCHROMIUM), |
3034 }, | 3062 }, |
3035 { | 3063 { |
3036 NULL, NULL, | 3064 NULL, NULL, |
3037 }, | 3065 }, |
3038 }; | 3066 }; |
3039 | 3067 |
3040 } // namespace gles2 | 3068 } // namespace gles2 |
3041 #endif // GPU_COMMAND_BUFFER_CLIENT_GLES2_C_LIB_AUTOGEN_H_ | 3069 #endif // GPU_COMMAND_BUFFER_CLIENT_GLES2_C_LIB_AUTOGEN_H_ |
OLD | NEW |