| 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 3133 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3144 uint32_t coeffs_shm_id, | 3144 uint32_t coeffs_shm_id, |
| 3145 uint32_t coeffs_shm_offset) { | 3145 uint32_t coeffs_shm_offset) { |
| 3146 gles2::cmds::ProgramPathFragmentInputGenCHROMIUM* c = | 3146 gles2::cmds::ProgramPathFragmentInputGenCHROMIUM* c = |
| 3147 GetCmdSpace<gles2::cmds::ProgramPathFragmentInputGenCHROMIUM>(); | 3147 GetCmdSpace<gles2::cmds::ProgramPathFragmentInputGenCHROMIUM>(); |
| 3148 if (c) { | 3148 if (c) { |
| 3149 c->Init(program, location, genMode, components, coeffs_shm_id, | 3149 c->Init(program, location, genMode, components, coeffs_shm_id, |
| 3150 coeffs_shm_offset); | 3150 coeffs_shm_offset); |
| 3151 } | 3151 } |
| 3152 } | 3152 } |
| 3153 | 3153 |
| 3154 void CoverageModulationCHROMIUM(GLenum components) { |
| 3155 gles2::cmds::CoverageModulationCHROMIUM* c = |
| 3156 GetCmdSpace<gles2::cmds::CoverageModulationCHROMIUM>(); |
| 3157 if (c) { |
| 3158 c->Init(components); |
| 3159 } |
| 3160 } |
| 3161 |
| 3154 void BlendBarrierKHR() { | 3162 void BlendBarrierKHR() { |
| 3155 gles2::cmds::BlendBarrierKHR* c = GetCmdSpace<gles2::cmds::BlendBarrierKHR>(); | 3163 gles2::cmds::BlendBarrierKHR* c = GetCmdSpace<gles2::cmds::BlendBarrierKHR>(); |
| 3156 if (c) { | 3164 if (c) { |
| 3157 c->Init(); | 3165 c->Init(); |
| 3158 } | 3166 } |
| 3159 } | 3167 } |
| 3160 | 3168 |
| 3161 void ApplyScreenSpaceAntialiasingCHROMIUM() { | 3169 void ApplyScreenSpaceAntialiasingCHROMIUM() { |
| 3162 gles2::cmds::ApplyScreenSpaceAntialiasingCHROMIUM* c = | 3170 gles2::cmds::ApplyScreenSpaceAntialiasingCHROMIUM* c = |
| 3163 GetCmdSpace<gles2::cmds::ApplyScreenSpaceAntialiasingCHROMIUM>(); | 3171 GetCmdSpace<gles2::cmds::ApplyScreenSpaceAntialiasingCHROMIUM>(); |
| (...skipping 28 matching lines...) Expand all Loading... |
| 3192 uint32_t index_shm_id, | 3200 uint32_t index_shm_id, |
| 3193 uint32_t index_shm_offset) { | 3201 uint32_t index_shm_offset) { |
| 3194 gles2::cmds::GetFragDataIndexEXT* c = | 3202 gles2::cmds::GetFragDataIndexEXT* c = |
| 3195 GetCmdSpace<gles2::cmds::GetFragDataIndexEXT>(); | 3203 GetCmdSpace<gles2::cmds::GetFragDataIndexEXT>(); |
| 3196 if (c) { | 3204 if (c) { |
| 3197 c->Init(program, name_bucket_id, index_shm_id, index_shm_offset); | 3205 c->Init(program, name_bucket_id, index_shm_id, index_shm_offset); |
| 3198 } | 3206 } |
| 3199 } | 3207 } |
| 3200 | 3208 |
| 3201 #endif // GPU_COMMAND_BUFFER_CLIENT_GLES2_CMD_HELPER_AUTOGEN_H_ | 3209 #endif // GPU_COMMAND_BUFFER_CLIENT_GLES2_CMD_HELPER_AUTOGEN_H_ |
| OLD | NEW |