| 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 1449 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1460 GLint bounds_width, | 1460 GLint bounds_width, |
| 1461 GLint bounds_height, | 1461 GLint bounds_height, |
| 1462 GLfloat uv_x, | 1462 GLfloat uv_x, |
| 1463 GLfloat uv_y, | 1463 GLfloat uv_y, |
| 1464 GLfloat uv_width, | 1464 GLfloat uv_width, |
| 1465 GLfloat uv_height) { | 1465 GLfloat uv_height) { |
| 1466 gles2::GetGLContext()->ScheduleOverlayPlaneCHROMIUM( | 1466 gles2::GetGLContext()->ScheduleOverlayPlaneCHROMIUM( |
| 1467 plane_z_order, plane_transform, overlay_texture_id, bounds_x, bounds_y, | 1467 plane_z_order, plane_transform, overlay_texture_id, bounds_x, bounds_y, |
| 1468 bounds_width, bounds_height, uv_x, uv_y, uv_width, uv_height); | 1468 bounds_width, bounds_height, uv_x, uv_y, uv_width, uv_height); |
| 1469 } | 1469 } |
| 1470 void GL_APIENTRY |
| 1471 GLES2ScheduleCALayerSharedStateCHROMIUM(GLfloat opacity, |
| 1472 GLboolean is_clipped, |
| 1473 const GLfloat* clip_rect, |
| 1474 GLint sorting_context_id, |
| 1475 const GLfloat* transform) { |
| 1476 gles2::GetGLContext()->ScheduleCALayerSharedStateCHROMIUM( |
| 1477 opacity, is_clipped, clip_rect, sorting_context_id, transform); |
| 1478 } |
| 1470 void GL_APIENTRY GLES2ScheduleCALayerCHROMIUM(GLuint contents_texture_id, | 1479 void GL_APIENTRY GLES2ScheduleCALayerCHROMIUM(GLuint contents_texture_id, |
| 1471 const GLfloat* contents_rect, | 1480 const GLfloat* contents_rect, |
| 1472 GLfloat opacity, | |
| 1473 GLuint background_color, | 1481 GLuint background_color, |
| 1474 GLuint edge_aa_mask, | 1482 GLuint edge_aa_mask, |
| 1475 const GLfloat* bounds_rect, | 1483 const GLfloat* bounds_rect, |
| 1476 GLboolean is_clipped, | |
| 1477 const GLfloat* clip_rect, | |
| 1478 GLint sorting_context_id, | |
| 1479 const GLfloat* transform, | |
| 1480 GLuint filter) { | 1484 GLuint filter) { |
| 1481 gles2::GetGLContext()->ScheduleCALayerCHROMIUM( | 1485 gles2::GetGLContext()->ScheduleCALayerCHROMIUM( |
| 1482 contents_texture_id, contents_rect, opacity, background_color, | 1486 contents_texture_id, contents_rect, background_color, edge_aa_mask, |
| 1483 edge_aa_mask, bounds_rect, is_clipped, clip_rect, sorting_context_id, | 1487 bounds_rect, filter); |
| 1484 transform, filter); | |
| 1485 } | 1488 } |
| 1486 void GL_APIENTRY | 1489 void GL_APIENTRY |
| 1487 GLES2ScheduleCALayerInUseQueryCHROMIUM(GLsizei count, const GLuint* textures) { | 1490 GLES2ScheduleCALayerInUseQueryCHROMIUM(GLsizei count, const GLuint* textures) { |
| 1488 gles2::GetGLContext()->ScheduleCALayerInUseQueryCHROMIUM(count, textures); | 1491 gles2::GetGLContext()->ScheduleCALayerInUseQueryCHROMIUM(count, textures); |
| 1489 } | 1492 } |
| 1490 void GL_APIENTRY GLES2CommitOverlayPlanesCHROMIUM() { | 1493 void GL_APIENTRY GLES2CommitOverlayPlanesCHROMIUM() { |
| 1491 gles2::GetGLContext()->CommitOverlayPlanesCHROMIUM(); | 1494 gles2::GetGLContext()->CommitOverlayPlanesCHROMIUM(); |
| 1492 } | 1495 } |
| 1493 void GL_APIENTRY GLES2SwapInterval(GLint interval) { | 1496 void GL_APIENTRY GLES2SwapInterval(GLint interval) { |
| 1494 gles2::GetGLContext()->SwapInterval(interval); | 1497 gles2::GetGLContext()->SwapInterval(interval); |
| (...skipping 1318 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2813 }, | 2816 }, |
| 2814 { | 2817 { |
| 2815 "glDiscardBackbufferCHROMIUM", | 2818 "glDiscardBackbufferCHROMIUM", |
| 2816 reinterpret_cast<GLES2FunctionPointer>(glDiscardBackbufferCHROMIUM), | 2819 reinterpret_cast<GLES2FunctionPointer>(glDiscardBackbufferCHROMIUM), |
| 2817 }, | 2820 }, |
| 2818 { | 2821 { |
| 2819 "glScheduleOverlayPlaneCHROMIUM", | 2822 "glScheduleOverlayPlaneCHROMIUM", |
| 2820 reinterpret_cast<GLES2FunctionPointer>(glScheduleOverlayPlaneCHROMIUM), | 2823 reinterpret_cast<GLES2FunctionPointer>(glScheduleOverlayPlaneCHROMIUM), |
| 2821 }, | 2824 }, |
| 2822 { | 2825 { |
| 2826 "glScheduleCALayerSharedStateCHROMIUM", |
| 2827 reinterpret_cast<GLES2FunctionPointer>( |
| 2828 glScheduleCALayerSharedStateCHROMIUM), |
| 2829 }, |
| 2830 { |
| 2823 "glScheduleCALayerCHROMIUM", | 2831 "glScheduleCALayerCHROMIUM", |
| 2824 reinterpret_cast<GLES2FunctionPointer>(glScheduleCALayerCHROMIUM), | 2832 reinterpret_cast<GLES2FunctionPointer>(glScheduleCALayerCHROMIUM), |
| 2825 }, | 2833 }, |
| 2826 { | 2834 { |
| 2827 "glScheduleCALayerInUseQueryCHROMIUM", | 2835 "glScheduleCALayerInUseQueryCHROMIUM", |
| 2828 reinterpret_cast<GLES2FunctionPointer>( | 2836 reinterpret_cast<GLES2FunctionPointer>( |
| 2829 glScheduleCALayerInUseQueryCHROMIUM), | 2837 glScheduleCALayerInUseQueryCHROMIUM), |
| 2830 }, | 2838 }, |
| 2831 { | 2839 { |
| 2832 "glCommitOverlayPlanesCHROMIUM", | 2840 "glCommitOverlayPlanesCHROMIUM", |
| (...skipping 148 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2981 reinterpret_cast<GLES2FunctionPointer>( | 2989 reinterpret_cast<GLES2FunctionPointer>( |
| 2982 glUniformMatrix4fvStreamTextureMatrixCHROMIUM), | 2990 glUniformMatrix4fvStreamTextureMatrixCHROMIUM), |
| 2983 }, | 2991 }, |
| 2984 { | 2992 { |
| 2985 NULL, NULL, | 2993 NULL, NULL, |
| 2986 }, | 2994 }, |
| 2987 }; | 2995 }; |
| 2988 | 2996 |
| 2989 } // namespace gles2 | 2997 } // namespace gles2 |
| 2990 #endif // GPU_COMMAND_BUFFER_CLIENT_GLES2_C_LIB_AUTOGEN_H_ | 2998 #endif // GPU_COMMAND_BUFFER_CLIENT_GLES2_C_LIB_AUTOGEN_H_ |
| OLD | NEW |