| 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 3058 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3069 uint32_t coeffs_shm_id, | 3069 uint32_t coeffs_shm_id, |
| 3070 uint32_t coeffs_shm_offset) { | 3070 uint32_t coeffs_shm_offset) { |
| 3071 gles2::cmds::ProgramPathFragmentInputGenCHROMIUM* c = | 3071 gles2::cmds::ProgramPathFragmentInputGenCHROMIUM* c = |
| 3072 GetCmdSpace<gles2::cmds::ProgramPathFragmentInputGenCHROMIUM>(); | 3072 GetCmdSpace<gles2::cmds::ProgramPathFragmentInputGenCHROMIUM>(); |
| 3073 if (c) { | 3073 if (c) { |
| 3074 c->Init(program, location, genMode, components, coeffs_shm_id, | 3074 c->Init(program, location, genMode, components, coeffs_shm_id, |
| 3075 coeffs_shm_offset); | 3075 coeffs_shm_offset); |
| 3076 } | 3076 } |
| 3077 } | 3077 } |
| 3078 | 3078 |
| 3079 void GetBufferSubDataAsyncCHROMIUM(GLenum target, |
| 3080 GLintptr offset, |
| 3081 GLsizeiptr size, |
| 3082 uint32_t data_shm_id, |
| 3083 uint32_t data_shm_offset) { |
| 3084 gles2::cmds::GetBufferSubDataAsyncCHROMIUM* c = |
| 3085 GetCmdSpace<gles2::cmds::GetBufferSubDataAsyncCHROMIUM>(); |
| 3086 if (c) { |
| 3087 c->Init(target, offset, size, data_shm_id, data_shm_offset); |
| 3088 } |
| 3089 } |
| 3090 |
| 3079 void CoverageModulationCHROMIUM(GLenum components) { | 3091 void CoverageModulationCHROMIUM(GLenum components) { |
| 3080 gles2::cmds::CoverageModulationCHROMIUM* c = | 3092 gles2::cmds::CoverageModulationCHROMIUM* c = |
| 3081 GetCmdSpace<gles2::cmds::CoverageModulationCHROMIUM>(); | 3093 GetCmdSpace<gles2::cmds::CoverageModulationCHROMIUM>(); |
| 3082 if (c) { | 3094 if (c) { |
| 3083 c->Init(components); | 3095 c->Init(components); |
| 3084 } | 3096 } |
| 3085 } | 3097 } |
| 3086 | 3098 |
| 3087 void BlendBarrierKHR() { | 3099 void BlendBarrierKHR() { |
| 3088 gles2::cmds::BlendBarrierKHR* c = GetCmdSpace<gles2::cmds::BlendBarrierKHR>(); | 3100 gles2::cmds::BlendBarrierKHR* c = GetCmdSpace<gles2::cmds::BlendBarrierKHR>(); |
| (...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3151 GLint width, | 3163 GLint width, |
| 3152 GLint height) { | 3164 GLint height) { |
| 3153 gles2::cmds::SwapBuffersWithDamageCHROMIUM* c = | 3165 gles2::cmds::SwapBuffersWithDamageCHROMIUM* c = |
| 3154 GetCmdSpace<gles2::cmds::SwapBuffersWithDamageCHROMIUM>(); | 3166 GetCmdSpace<gles2::cmds::SwapBuffersWithDamageCHROMIUM>(); |
| 3155 if (c) { | 3167 if (c) { |
| 3156 c->Init(x, y, width, height); | 3168 c->Init(x, y, width, height); |
| 3157 } | 3169 } |
| 3158 } | 3170 } |
| 3159 | 3171 |
| 3160 #endif // GPU_COMMAND_BUFFER_CLIENT_GLES2_CMD_HELPER_AUTOGEN_H_ | 3172 #endif // GPU_COMMAND_BUFFER_CLIENT_GLES2_CMD_HELPER_AUTOGEN_H_ |
| OLD | NEW |