| 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 3085 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3096 } | 3096 } |
| 3097 | 3097 |
| 3098 void ApplyScreenSpaceAntialiasingCHROMIUM() { | 3098 void ApplyScreenSpaceAntialiasingCHROMIUM() { |
| 3099 gles2::cmds::ApplyScreenSpaceAntialiasingCHROMIUM* c = | 3099 gles2::cmds::ApplyScreenSpaceAntialiasingCHROMIUM* c = |
| 3100 GetCmdSpace<gles2::cmds::ApplyScreenSpaceAntialiasingCHROMIUM>(); | 3100 GetCmdSpace<gles2::cmds::ApplyScreenSpaceAntialiasingCHROMIUM>(); |
| 3101 if (c) { | 3101 if (c) { |
| 3102 c->Init(); | 3102 c->Init(); |
| 3103 } | 3103 } |
| 3104 } | 3104 } |
| 3105 | 3105 |
| 3106 void BindFragDataLocationIndexedEXTBucket(GLuint program, |
| 3107 GLuint colorNumber, |
| 3108 GLuint index, |
| 3109 uint32_t name_bucket_id) { |
| 3110 gles2::cmds::BindFragDataLocationIndexedEXTBucket* c = |
| 3111 GetCmdSpace<gles2::cmds::BindFragDataLocationIndexedEXTBucket>(); |
| 3112 if (c) { |
| 3113 c->Init(program, colorNumber, index, name_bucket_id); |
| 3114 } |
| 3115 } |
| 3116 |
| 3117 void BindFragDataLocationEXTBucket(GLuint program, |
| 3118 GLuint colorNumber, |
| 3119 uint32_t name_bucket_id) { |
| 3120 gles2::cmds::BindFragDataLocationEXTBucket* c = |
| 3121 GetCmdSpace<gles2::cmds::BindFragDataLocationEXTBucket>(); |
| 3122 if (c) { |
| 3123 c->Init(program, colorNumber, name_bucket_id); |
| 3124 } |
| 3125 } |
| 3126 |
| 3127 void GetFragDataIndexEXT(GLuint program, |
| 3128 uint32_t name_bucket_id, |
| 3129 uint32_t index_shm_id, |
| 3130 uint32_t index_shm_offset) { |
| 3131 gles2::cmds::GetFragDataIndexEXT* c = |
| 3132 GetCmdSpace<gles2::cmds::GetFragDataIndexEXT>(); |
| 3133 if (c) { |
| 3134 c->Init(program, name_bucket_id, index_shm_id, index_shm_offset); |
| 3135 } |
| 3136 } |
| 3137 |
| 3106 #endif // GPU_COMMAND_BUFFER_CLIENT_GLES2_CMD_HELPER_AUTOGEN_H_ | 3138 #endif // GPU_COMMAND_BUFFER_CLIENT_GLES2_CMD_HELPER_AUTOGEN_H_ |
| OLD | NEW |