| 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 2802 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2813 void DiscardBackbufferCHROMIUM() { | 2813 void DiscardBackbufferCHROMIUM() { |
| 2814 gles2::cmds::DiscardBackbufferCHROMIUM* c = | 2814 gles2::cmds::DiscardBackbufferCHROMIUM* c = |
| 2815 GetCmdSpace<gles2::cmds::DiscardBackbufferCHROMIUM>(); | 2815 GetCmdSpace<gles2::cmds::DiscardBackbufferCHROMIUM>(); |
| 2816 if (c) { | 2816 if (c) { |
| 2817 c->Init(); | 2817 c->Init(); |
| 2818 } | 2818 } |
| 2819 } | 2819 } |
| 2820 | 2820 |
| 2821 void ScheduleOverlayPlaneCHROMIUM(GLint plane_z_order, | 2821 void ScheduleOverlayPlaneCHROMIUM(GLint plane_z_order, |
| 2822 GLenum plane_transform, | 2822 GLenum plane_transform, |
| 2823 GLuint storage_format, |
| 2823 GLuint overlay_texture_id, | 2824 GLuint overlay_texture_id, |
| 2824 GLint bounds_x, | 2825 GLint bounds_x, |
| 2825 GLint bounds_y, | 2826 GLint bounds_y, |
| 2826 GLint bounds_width, | 2827 GLint bounds_width, |
| 2827 GLint bounds_height, | 2828 GLint bounds_height, |
| 2828 GLfloat uv_x, | 2829 GLfloat uv_x, |
| 2829 GLfloat uv_y, | 2830 GLfloat uv_y, |
| 2830 GLfloat uv_width, | 2831 GLfloat uv_width, |
| 2831 GLfloat uv_height) { | 2832 GLfloat uv_height, |
| 2833 GLboolean handle_scaling) { |
| 2832 gles2::cmds::ScheduleOverlayPlaneCHROMIUM* c = | 2834 gles2::cmds::ScheduleOverlayPlaneCHROMIUM* c = |
| 2833 GetCmdSpace<gles2::cmds::ScheduleOverlayPlaneCHROMIUM>(); | 2835 GetCmdSpace<gles2::cmds::ScheduleOverlayPlaneCHROMIUM>(); |
| 2834 if (c) { | 2836 if (c) { |
| 2835 c->Init(plane_z_order, plane_transform, overlay_texture_id, bounds_x, | 2837 c->Init(plane_z_order, plane_transform, storage_format, |
| 2836 bounds_y, bounds_width, bounds_height, uv_x, uv_y, uv_width, | 2838 overlay_texture_id, bounds_x, bounds_y, bounds_width, bounds_height, |
| 2837 uv_height); | 2839 uv_x, uv_y, uv_width, uv_height, handle_scaling); |
| 2838 } | 2840 } |
| 2839 } | 2841 } |
| 2840 | 2842 |
| 2841 void ScheduleCALayerCHROMIUM(GLuint contents_texture_id, | 2843 void ScheduleCALayerCHROMIUM(GLuint contents_texture_id, |
| 2842 GLfloat opacity, | 2844 GLfloat opacity, |
| 2843 GLuint background_color, | 2845 GLuint background_color, |
| 2844 GLuint shm_id, | 2846 GLuint shm_id, |
| 2845 GLuint shm_offset) { | 2847 GLuint shm_offset) { |
| 2846 gles2::cmds::ScheduleCALayerCHROMIUM* c = | 2848 gles2::cmds::ScheduleCALayerCHROMIUM* c = |
| 2847 GetCmdSpace<gles2::cmds::ScheduleCALayerCHROMIUM>(); | 2849 GetCmdSpace<gles2::cmds::ScheduleCALayerCHROMIUM>(); |
| (...skipping 344 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3192 uint32_t index_shm_id, | 3194 uint32_t index_shm_id, |
| 3193 uint32_t index_shm_offset) { | 3195 uint32_t index_shm_offset) { |
| 3194 gles2::cmds::GetFragDataIndexEXT* c = | 3196 gles2::cmds::GetFragDataIndexEXT* c = |
| 3195 GetCmdSpace<gles2::cmds::GetFragDataIndexEXT>(); | 3197 GetCmdSpace<gles2::cmds::GetFragDataIndexEXT>(); |
| 3196 if (c) { | 3198 if (c) { |
| 3197 c->Init(program, name_bucket_id, index_shm_id, index_shm_offset); | 3199 c->Init(program, name_bucket_id, index_shm_id, index_shm_offset); |
| 3198 } | 3200 } |
| 3199 } | 3201 } |
| 3200 | 3202 |
| 3201 #endif // GPU_COMMAND_BUFFER_CLIENT_GLES2_CMD_HELPER_AUTOGEN_H_ | 3203 #endif // GPU_COMMAND_BUFFER_CLIENT_GLES2_CMD_HELPER_AUTOGEN_H_ |
| OLD | NEW |