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 1487 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1498 gles2::GetGLContext()->WaitSyncTokenCHROMIUM(sync_token); | 1498 gles2::GetGLContext()->WaitSyncTokenCHROMIUM(sync_token); |
1499 } | 1499 } |
1500 void GL_APIENTRY GLES2DrawBuffersEXT(GLsizei count, const GLenum* bufs) { | 1500 void GL_APIENTRY GLES2DrawBuffersEXT(GLsizei count, const GLenum* bufs) { |
1501 gles2::GetGLContext()->DrawBuffersEXT(count, bufs); | 1501 gles2::GetGLContext()->DrawBuffersEXT(count, bufs); |
1502 } | 1502 } |
1503 void GL_APIENTRY GLES2DiscardBackbufferCHROMIUM() { | 1503 void GL_APIENTRY GLES2DiscardBackbufferCHROMIUM() { |
1504 gles2::GetGLContext()->DiscardBackbufferCHROMIUM(); | 1504 gles2::GetGLContext()->DiscardBackbufferCHROMIUM(); |
1505 } | 1505 } |
1506 void GL_APIENTRY GLES2ScheduleOverlayPlaneCHROMIUM(GLint plane_z_order, | 1506 void GL_APIENTRY GLES2ScheduleOverlayPlaneCHROMIUM(GLint plane_z_order, |
1507 GLenum plane_transform, | 1507 GLenum plane_transform, |
| 1508 GLuint storage_format, |
1508 GLuint overlay_texture_id, | 1509 GLuint overlay_texture_id, |
1509 GLint bounds_x, | 1510 GLint bounds_x, |
1510 GLint bounds_y, | 1511 GLint bounds_y, |
1511 GLint bounds_width, | 1512 GLint bounds_width, |
1512 GLint bounds_height, | 1513 GLint bounds_height, |
1513 GLfloat uv_x, | 1514 GLfloat uv_x, |
1514 GLfloat uv_y, | 1515 GLfloat uv_y, |
1515 GLfloat uv_width, | 1516 GLfloat uv_width, |
1516 GLfloat uv_height) { | 1517 GLfloat uv_height, |
| 1518 GLboolean handle_scaling) { |
1517 gles2::GetGLContext()->ScheduleOverlayPlaneCHROMIUM( | 1519 gles2::GetGLContext()->ScheduleOverlayPlaneCHROMIUM( |
1518 plane_z_order, plane_transform, overlay_texture_id, bounds_x, bounds_y, | 1520 plane_z_order, plane_transform, storage_format, overlay_texture_id, |
1519 bounds_width, bounds_height, uv_x, uv_y, uv_width, uv_height); | 1521 bounds_x, bounds_y, bounds_width, bounds_height, uv_x, uv_y, uv_width, |
| 1522 uv_height, handle_scaling); |
1520 } | 1523 } |
1521 void GL_APIENTRY GLES2ScheduleCALayerCHROMIUM(GLuint contents_texture_id, | 1524 void GL_APIENTRY GLES2ScheduleCALayerCHROMIUM(GLuint contents_texture_id, |
1522 const GLfloat* contents_rect, | 1525 const GLfloat* contents_rect, |
1523 GLfloat opacity, | 1526 GLfloat opacity, |
1524 const GLuint background_color, | 1527 const GLuint background_color, |
1525 const GLfloat* bounds_size, | 1528 const GLfloat* bounds_size, |
1526 const GLfloat* transform) { | 1529 const GLfloat* transform) { |
1527 gles2::GetGLContext()->ScheduleCALayerCHROMIUM( | 1530 gles2::GetGLContext()->ScheduleCALayerCHROMIUM( |
1528 contents_texture_id, contents_rect, opacity, background_color, | 1531 contents_texture_id, contents_rect, opacity, background_color, |
1529 bounds_size, transform); | 1532 bounds_size, transform); |
(...skipping 1499 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3029 "glGetFragDataIndexEXT", | 3032 "glGetFragDataIndexEXT", |
3030 reinterpret_cast<GLES2FunctionPointer>(glGetFragDataIndexEXT), | 3033 reinterpret_cast<GLES2FunctionPointer>(glGetFragDataIndexEXT), |
3031 }, | 3034 }, |
3032 { | 3035 { |
3033 NULL, NULL, | 3036 NULL, NULL, |
3034 }, | 3037 }, |
3035 }; | 3038 }; |
3036 | 3039 |
3037 } // namespace gles2 | 3040 } // namespace gles2 |
3038 #endif // GPU_COMMAND_BUFFER_CLIENT_GLES2_C_LIB_AUTOGEN_H_ | 3041 #endif // GPU_COMMAND_BUFFER_CLIENT_GLES2_C_LIB_AUTOGEN_H_ |
OLD | NEW |