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 3142 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3153 uint32_t coeffs_shm_id, | 3153 uint32_t coeffs_shm_id, |
3154 uint32_t coeffs_shm_offset) { | 3154 uint32_t coeffs_shm_offset) { |
3155 gles2::cmds::ProgramPathFragmentInputGenCHROMIUM* c = | 3155 gles2::cmds::ProgramPathFragmentInputGenCHROMIUM* c = |
3156 GetCmdSpace<gles2::cmds::ProgramPathFragmentInputGenCHROMIUM>(); | 3156 GetCmdSpace<gles2::cmds::ProgramPathFragmentInputGenCHROMIUM>(); |
3157 if (c) { | 3157 if (c) { |
3158 c->Init(program, location, genMode, components, coeffs_shm_id, | 3158 c->Init(program, location, genMode, components, coeffs_shm_id, |
3159 coeffs_shm_offset); | 3159 coeffs_shm_offset); |
3160 } | 3160 } |
3161 } | 3161 } |
3162 | 3162 |
| 3163 void CoverageModulationCHROMIUM(GLenum components) { |
| 3164 gles2::cmds::CoverageModulationCHROMIUM* c = |
| 3165 GetCmdSpace<gles2::cmds::CoverageModulationCHROMIUM>(); |
| 3166 if (c) { |
| 3167 c->Init(components); |
| 3168 } |
| 3169 } |
| 3170 |
3163 void BlendBarrierKHR() { | 3171 void BlendBarrierKHR() { |
3164 gles2::cmds::BlendBarrierKHR* c = GetCmdSpace<gles2::cmds::BlendBarrierKHR>(); | 3172 gles2::cmds::BlendBarrierKHR* c = GetCmdSpace<gles2::cmds::BlendBarrierKHR>(); |
3165 if (c) { | 3173 if (c) { |
3166 c->Init(); | 3174 c->Init(); |
3167 } | 3175 } |
3168 } | 3176 } |
3169 | 3177 |
3170 void ApplyScreenSpaceAntialiasingCHROMIUM() { | 3178 void ApplyScreenSpaceAntialiasingCHROMIUM() { |
3171 gles2::cmds::ApplyScreenSpaceAntialiasingCHROMIUM* c = | 3179 gles2::cmds::ApplyScreenSpaceAntialiasingCHROMIUM* c = |
3172 GetCmdSpace<gles2::cmds::ApplyScreenSpaceAntialiasingCHROMIUM>(); | 3180 GetCmdSpace<gles2::cmds::ApplyScreenSpaceAntialiasingCHROMIUM>(); |
(...skipping 28 matching lines...) Expand all Loading... |
3201 uint32_t index_shm_id, | 3209 uint32_t index_shm_id, |
3202 uint32_t index_shm_offset) { | 3210 uint32_t index_shm_offset) { |
3203 gles2::cmds::GetFragDataIndexEXT* c = | 3211 gles2::cmds::GetFragDataIndexEXT* c = |
3204 GetCmdSpace<gles2::cmds::GetFragDataIndexEXT>(); | 3212 GetCmdSpace<gles2::cmds::GetFragDataIndexEXT>(); |
3205 if (c) { | 3213 if (c) { |
3206 c->Init(program, name_bucket_id, index_shm_id, index_shm_offset); | 3214 c->Init(program, name_bucket_id, index_shm_id, index_shm_offset); |
3207 } | 3215 } |
3208 } | 3216 } |
3209 | 3217 |
3210 #endif // GPU_COMMAND_BUFFER_CLIENT_GLES2_CMD_HELPER_AUTOGEN_H_ | 3218 #endif // GPU_COMMAND_BUFFER_CLIENT_GLES2_CMD_HELPER_AUTOGEN_H_ |
OLD | NEW |