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 160 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
171 OP(GenVertexArraysOESImmediate) /* 412 */ \ | 171 OP(GenVertexArraysOESImmediate) /* 412 */ \ |
172 OP(DeleteVertexArraysOESImmediate) /* 413 */ \ | 172 OP(DeleteVertexArraysOESImmediate) /* 413 */ \ |
173 OP(IsVertexArrayOES) /* 414 */ \ | 173 OP(IsVertexArrayOES) /* 414 */ \ |
174 OP(BindVertexArrayOES) /* 415 */ \ | 174 OP(BindVertexArrayOES) /* 415 */ \ |
175 OP(SwapBuffers) /* 416 */ \ | 175 OP(SwapBuffers) /* 416 */ \ |
176 OP(GetMaxValueInBufferCHROMIUM) /* 417 */ \ | 176 OP(GetMaxValueInBufferCHROMIUM) /* 417 */ \ |
177 OP(EnableFeatureCHROMIUM) /* 418 */ \ | 177 OP(EnableFeatureCHROMIUM) /* 418 */ \ |
178 OP(ResizeCHROMIUM) /* 419 */ \ | 178 OP(ResizeCHROMIUM) /* 419 */ \ |
179 OP(GetRequestableExtensionsCHROMIUM) /* 420 */ \ | 179 OP(GetRequestableExtensionsCHROMIUM) /* 420 */ \ |
180 OP(RequestExtensionCHROMIUM) /* 421 */ \ | 180 OP(RequestExtensionCHROMIUM) /* 421 */ \ |
181 OP(GetMultipleIntegervCHROMIUM) /* 422 */ \ | 181 OP(GetProgramInfoCHROMIUM) /* 422 */ \ |
182 OP(GetProgramInfoCHROMIUM) /* 423 */ \ | 182 OP(GetTranslatedShaderSourceANGLE) /* 423 */ \ |
183 OP(GetTranslatedShaderSourceANGLE) /* 424 */ \ | 183 OP(PostSubBufferCHROMIUM) /* 424 */ \ |
184 OP(PostSubBufferCHROMIUM) /* 425 */ \ | 184 OP(TexImageIOSurface2DCHROMIUM) /* 425 */ \ |
185 OP(TexImageIOSurface2DCHROMIUM) /* 426 */ \ | 185 OP(CopyTextureCHROMIUM) /* 426 */ \ |
186 OP(CopyTextureCHROMIUM) /* 427 */ \ | 186 OP(DrawArraysInstancedANGLE) /* 427 */ \ |
187 OP(DrawArraysInstancedANGLE) /* 428 */ \ | 187 OP(DrawElementsInstancedANGLE) /* 428 */ \ |
188 OP(DrawElementsInstancedANGLE) /* 429 */ \ | 188 OP(VertexAttribDivisorANGLE) /* 429 */ \ |
189 OP(VertexAttribDivisorANGLE) /* 430 */ \ | 189 OP(GenMailboxCHROMIUM) /* 430 */ \ |
190 OP(GenMailboxCHROMIUM) /* 431 */ \ | 190 OP(ProduceTextureCHROMIUMImmediate) /* 431 */ \ |
191 OP(ProduceTextureCHROMIUMImmediate) /* 432 */ \ | 191 OP(ProduceTextureDirectCHROMIUMImmediate) /* 432 */ \ |
192 OP(ProduceTextureDirectCHROMIUMImmediate) /* 433 */ \ | 192 OP(ConsumeTextureCHROMIUMImmediate) /* 433 */ \ |
193 OP(ConsumeTextureCHROMIUMImmediate) /* 434 */ \ | 193 OP(CreateAndConsumeTextureCHROMIUMImmediate) /* 434 */ \ |
194 OP(CreateAndConsumeTextureCHROMIUMImmediate) /* 435 */ \ | 194 OP(BindUniformLocationCHROMIUMBucket) /* 435 */ \ |
195 OP(BindUniformLocationCHROMIUMBucket) /* 436 */ \ | 195 OP(GenValuebuffersCHROMIUMImmediate) /* 436 */ \ |
196 OP(BindTexImage2DCHROMIUM) /* 437 */ \ | 196 OP(DeleteValuebuffersCHROMIUMImmediate) /* 437 */ \ |
197 OP(ReleaseTexImage2DCHROMIUM) /* 438 */ \ | 197 OP(IsValuebufferCHROMIUM) /* 438 */ \ |
198 OP(TraceBeginCHROMIUM) /* 439 */ \ | 198 OP(BindValuebufferCHROMIUM) /* 439 */ \ |
199 OP(TraceEndCHROMIUM) /* 440 */ \ | 199 OP(SubscribeValueCHROMIUM) /* 440 */ \ |
200 OP(AsyncTexSubImage2DCHROMIUM) /* 441 */ \ | 200 OP(PopulateSubscribedValuesCHROMIUM) /* 441 */ \ |
201 OP(AsyncTexImage2DCHROMIUM) /* 442 */ \ | 201 OP(UniformValuebufferCHROMIUM) /* 442 */ \ |
202 OP(WaitAsyncTexImage2DCHROMIUM) /* 443 */ \ | 202 OP(BindTexImage2DCHROMIUM) /* 443 */ \ |
203 OP(WaitAllAsyncTexImage2DCHROMIUM) /* 444 */ \ | 203 OP(ReleaseTexImage2DCHROMIUM) /* 444 */ \ |
204 OP(DiscardFramebufferEXTImmediate) /* 445 */ \ | 204 OP(TraceBeginCHROMIUM) /* 445 */ \ |
205 OP(LoseContextCHROMIUM) /* 446 */ \ | 205 OP(TraceEndCHROMIUM) /* 446 */ \ |
206 OP(InsertSyncPointCHROMIUM) /* 447 */ \ | 206 OP(AsyncTexSubImage2DCHROMIUM) /* 447 */ \ |
207 OP(WaitSyncPointCHROMIUM) /* 448 */ \ | 207 OP(AsyncTexImage2DCHROMIUM) /* 448 */ \ |
208 OP(DrawBuffersEXTImmediate) /* 449 */ \ | 208 OP(WaitAsyncTexImage2DCHROMIUM) /* 449 */ \ |
209 OP(DiscardBackbufferCHROMIUM) /* 450 */ \ | 209 OP(WaitAllAsyncTexImage2DCHROMIUM) /* 450 */ \ |
210 OP(ScheduleOverlayPlaneCHROMIUM) /* 451 */ \ | 210 OP(DiscardFramebufferEXTImmediate) /* 451 */ \ |
211 OP(MatrixLoadfCHROMIUMImmediate) /* 452 */ \ | 211 OP(LoseContextCHROMIUM) /* 452 */ \ |
212 OP(MatrixLoadIdentityCHROMIUM) /* 453 */ \ | 212 OP(InsertSyncPointCHROMIUM) /* 453 */ \ |
213 OP(BlendBarrierKHR) /* 454 */ | 213 OP(WaitSyncPointCHROMIUM) /* 454 */ \ |
| 214 OP(DrawBuffersEXTImmediate) /* 455 */ \ |
| 215 OP(DiscardBackbufferCHROMIUM) /* 456 */ \ |
| 216 OP(ScheduleOverlayPlaneCHROMIUM) /* 457 */ \ |
| 217 OP(MatrixLoadfCHROMIUMImmediate) /* 458 */ \ |
| 218 OP(MatrixLoadIdentityCHROMIUM) /* 459 */ \ |
| 219 OP(BlendBarrierKHR) /* 460 */ |
214 | 220 |
215 enum CommandId { | 221 enum CommandId { |
216 kStartPoint = cmd::kLastCommonId, // All GLES2 commands start after this. | 222 kStartPoint = cmd::kLastCommonId, // All GLES2 commands start after this. |
217 #define GLES2_CMD_OP(name) k##name, | 223 #define GLES2_CMD_OP(name) k##name, |
218 GLES2_COMMAND_LIST(GLES2_CMD_OP) | 224 GLES2_COMMAND_LIST(GLES2_CMD_OP) |
219 #undef GLES2_CMD_OP | 225 #undef GLES2_CMD_OP |
220 kNumCommands | 226 kNumCommands |
221 }; | 227 }; |
222 | 228 |
223 #endif // GPU_COMMAND_BUFFER_COMMON_GLES2_CMD_IDS_AUTOGEN_H_ | 229 #endif // GPU_COMMAND_BUFFER_COMMON_GLES2_CMD_IDS_AUTOGEN_H_ |
OLD | NEW |