| 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 2812 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2823 void DiscardBackbufferCHROMIUM() { | 2823 void DiscardBackbufferCHROMIUM() { |
| 2824 gles2::cmds::DiscardBackbufferCHROMIUM* c = | 2824 gles2::cmds::DiscardBackbufferCHROMIUM* c = |
| 2825 GetCmdSpace<gles2::cmds::DiscardBackbufferCHROMIUM>(); | 2825 GetCmdSpace<gles2::cmds::DiscardBackbufferCHROMIUM>(); |
| 2826 if (c) { | 2826 if (c) { |
| 2827 c->Init(); | 2827 c->Init(); |
| 2828 } | 2828 } |
| 2829 } | 2829 } |
| 2830 | 2830 |
| 2831 void ScheduleOverlayPlaneCHROMIUM(GLint plane_z_order, | 2831 void ScheduleOverlayPlaneCHROMIUM(GLint plane_z_order, |
| 2832 GLenum plane_transform, | 2832 GLenum plane_transform, |
| 2833 GLuint storage_format, |
| 2833 GLuint overlay_texture_id, | 2834 GLuint overlay_texture_id, |
| 2834 GLint bounds_x, | 2835 GLint bounds_x, |
| 2835 GLint bounds_y, | 2836 GLint bounds_y, |
| 2836 GLint bounds_width, | 2837 GLint bounds_width, |
| 2837 GLint bounds_height, | 2838 GLint bounds_height, |
| 2838 GLfloat uv_x, | 2839 GLfloat uv_x, |
| 2839 GLfloat uv_y, | 2840 GLfloat uv_y, |
| 2840 GLfloat uv_width, | 2841 GLfloat uv_width, |
| 2841 GLfloat uv_height) { | 2842 GLfloat uv_height, |
| 2843 GLboolean handle_scaling) { |
| 2842 gles2::cmds::ScheduleOverlayPlaneCHROMIUM* c = | 2844 gles2::cmds::ScheduleOverlayPlaneCHROMIUM* c = |
| 2843 GetCmdSpace<gles2::cmds::ScheduleOverlayPlaneCHROMIUM>(); | 2845 GetCmdSpace<gles2::cmds::ScheduleOverlayPlaneCHROMIUM>(); |
| 2844 if (c) { | 2846 if (c) { |
| 2845 c->Init(plane_z_order, plane_transform, overlay_texture_id, bounds_x, | 2847 c->Init(plane_z_order, plane_transform, storage_format, overlay_texture_id, |
| 2846 bounds_y, bounds_width, bounds_height, uv_x, uv_y, uv_width, | 2848 bounds_x, bounds_y, bounds_width, bounds_height, uv_x, uv_y, |
| 2847 uv_height); | 2849 uv_width, uv_height, handle_scaling); |
| 2848 } | 2850 } |
| 2849 } | 2851 } |
| 2850 | 2852 |
| 2851 void ScheduleCALayerCHROMIUM(GLuint contents_texture_id, | 2853 void ScheduleCALayerCHROMIUM(GLuint contents_texture_id, |
| 2852 GLfloat opacity, | 2854 GLfloat opacity, |
| 2853 GLuint background_color, | 2855 GLuint background_color, |
| 2854 GLuint shm_id, | 2856 GLuint shm_id, |
| 2855 GLuint shm_offset) { | 2857 GLuint shm_offset) { |
| 2856 gles2::cmds::ScheduleCALayerCHROMIUM* c = | 2858 gles2::cmds::ScheduleCALayerCHROMIUM* c = |
| 2857 GetCmdSpace<gles2::cmds::ScheduleCALayerCHROMIUM>(); | 2859 GetCmdSpace<gles2::cmds::ScheduleCALayerCHROMIUM>(); |
| (...skipping 344 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3202 uint32_t index_shm_id, | 3204 uint32_t index_shm_id, |
| 3203 uint32_t index_shm_offset) { | 3205 uint32_t index_shm_offset) { |
| 3204 gles2::cmds::GetFragDataIndexEXT* c = | 3206 gles2::cmds::GetFragDataIndexEXT* c = |
| 3205 GetCmdSpace<gles2::cmds::GetFragDataIndexEXT>(); | 3207 GetCmdSpace<gles2::cmds::GetFragDataIndexEXT>(); |
| 3206 if (c) { | 3208 if (c) { |
| 3207 c->Init(program, name_bucket_id, index_shm_id, index_shm_offset); | 3209 c->Init(program, name_bucket_id, index_shm_id, index_shm_offset); |
| 3208 } | 3210 } |
| 3209 } | 3211 } |
| 3210 | 3212 |
| 3211 #endif // GPU_COMMAND_BUFFER_CLIENT_GLES2_CMD_HELPER_AUTOGEN_H_ | 3213 #endif // GPU_COMMAND_BUFFER_CLIENT_GLES2_CMD_HELPER_AUTOGEN_H_ |
| OLD | NEW |