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