| 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 3066 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 3077                                          uint32_t coeffs_shm_id, | 3077                                          uint32_t coeffs_shm_id, | 
| 3078                                          uint32_t coeffs_shm_offset) { | 3078                                          uint32_t coeffs_shm_offset) { | 
| 3079   gles2::cmds::ProgramPathFragmentInputGenCHROMIUM* c = | 3079   gles2::cmds::ProgramPathFragmentInputGenCHROMIUM* c = | 
| 3080       GetCmdSpace<gles2::cmds::ProgramPathFragmentInputGenCHROMIUM>(); | 3080       GetCmdSpace<gles2::cmds::ProgramPathFragmentInputGenCHROMIUM>(); | 
| 3081   if (c) { | 3081   if (c) { | 
| 3082     c->Init(program, location, genMode, components, coeffs_shm_id, | 3082     c->Init(program, location, genMode, components, coeffs_shm_id, | 
| 3083             coeffs_shm_offset); | 3083             coeffs_shm_offset); | 
| 3084   } | 3084   } | 
| 3085 } | 3085 } | 
| 3086 | 3086 | 
|  | 3087 void GetBufferSubDataAsyncCHROMIUM(GLenum target, | 
|  | 3088                                    GLintptr offset, | 
|  | 3089                                    GLsizeiptr size, | 
|  | 3090                                    uint32_t data_shm_id, | 
|  | 3091                                    uint32_t data_shm_offset) { | 
|  | 3092   gles2::cmds::GetBufferSubDataAsyncCHROMIUM* c = | 
|  | 3093       GetCmdSpace<gles2::cmds::GetBufferSubDataAsyncCHROMIUM>(); | 
|  | 3094   if (c) { | 
|  | 3095     c->Init(target, offset, size, data_shm_id, data_shm_offset); | 
|  | 3096   } | 
|  | 3097 } | 
|  | 3098 | 
| 3087 void CoverageModulationCHROMIUM(GLenum components) { | 3099 void CoverageModulationCHROMIUM(GLenum components) { | 
| 3088   gles2::cmds::CoverageModulationCHROMIUM* c = | 3100   gles2::cmds::CoverageModulationCHROMIUM* c = | 
| 3089       GetCmdSpace<gles2::cmds::CoverageModulationCHROMIUM>(); | 3101       GetCmdSpace<gles2::cmds::CoverageModulationCHROMIUM>(); | 
| 3090   if (c) { | 3102   if (c) { | 
| 3091     c->Init(components); | 3103     c->Init(components); | 
| 3092   } | 3104   } | 
| 3093 } | 3105 } | 
| 3094 | 3106 | 
| 3095 void BlendBarrierKHR() { | 3107 void BlendBarrierKHR() { | 
| 3096   gles2::cmds::BlendBarrierKHR* c = GetCmdSpace<gles2::cmds::BlendBarrierKHR>(); | 3108   gles2::cmds::BlendBarrierKHR* c = GetCmdSpace<gles2::cmds::BlendBarrierKHR>(); | 
| (...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 3159                                    GLint width, | 3171                                    GLint width, | 
| 3160                                    GLint height) { | 3172                                    GLint height) { | 
| 3161   gles2::cmds::SwapBuffersWithDamageCHROMIUM* c = | 3173   gles2::cmds::SwapBuffersWithDamageCHROMIUM* c = | 
| 3162       GetCmdSpace<gles2::cmds::SwapBuffersWithDamageCHROMIUM>(); | 3174       GetCmdSpace<gles2::cmds::SwapBuffersWithDamageCHROMIUM>(); | 
| 3163   if (c) { | 3175   if (c) { | 
| 3164     c->Init(x, y, width, height); | 3176     c->Init(x, y, width, height); | 
| 3165   } | 3177   } | 
| 3166 } | 3178 } | 
| 3167 | 3179 | 
| 3168 #endif  // GPU_COMMAND_BUFFER_CLIENT_GLES2_CMD_HELPER_AUTOGEN_H_ | 3180 #endif  // GPU_COMMAND_BUFFER_CLIENT_GLES2_CMD_HELPER_AUTOGEN_H_ | 
| OLD | NEW | 
|---|