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 249 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
260 OP(RequestExtensionCHROMIUM) /* 501 */ \ | 260 OP(RequestExtensionCHROMIUM) /* 501 */ \ |
261 OP(GetProgramInfoCHROMIUM) /* 502 */ \ | 261 OP(GetProgramInfoCHROMIUM) /* 502 */ \ |
262 OP(GetUniformBlocksCHROMIUM) /* 503 */ \ | 262 OP(GetUniformBlocksCHROMIUM) /* 503 */ \ |
263 OP(GetTransformFeedbackVaryingsCHROMIUM) /* 504 */ \ | 263 OP(GetTransformFeedbackVaryingsCHROMIUM) /* 504 */ \ |
264 OP(GetUniformsES3CHROMIUM) /* 505 */ \ | 264 OP(GetUniformsES3CHROMIUM) /* 505 */ \ |
265 OP(GetTranslatedShaderSourceANGLE) /* 506 */ \ | 265 OP(GetTranslatedShaderSourceANGLE) /* 506 */ \ |
266 OP(PostSubBufferCHROMIUM) /* 507 */ \ | 266 OP(PostSubBufferCHROMIUM) /* 507 */ \ |
267 OP(TexImageIOSurface2DCHROMIUM) /* 508 */ \ | 267 OP(TexImageIOSurface2DCHROMIUM) /* 508 */ \ |
268 OP(CopyTextureCHROMIUM) /* 509 */ \ | 268 OP(CopyTextureCHROMIUM) /* 509 */ \ |
269 OP(CopySubTextureCHROMIUM) /* 510 */ \ | 269 OP(CopySubTextureCHROMIUM) /* 510 */ \ |
270 OP(DrawArraysInstancedANGLE) /* 511 */ \ | 270 OP(CompressedCopyTextureCHROMIUM) /* 511 */ \ |
271 OP(DrawElementsInstancedANGLE) /* 512 */ \ | 271 OP(DrawArraysInstancedANGLE) /* 512 */ \ |
272 OP(VertexAttribDivisorANGLE) /* 513 */ \ | 272 OP(DrawElementsInstancedANGLE) /* 513 */ \ |
273 OP(GenMailboxCHROMIUM) /* 514 */ \ | 273 OP(VertexAttribDivisorANGLE) /* 514 */ \ |
274 OP(ProduceTextureCHROMIUMImmediate) /* 515 */ \ | 274 OP(GenMailboxCHROMIUM) /* 515 */ \ |
275 OP(ProduceTextureDirectCHROMIUMImmediate) /* 516 */ \ | 275 OP(ProduceTextureCHROMIUMImmediate) /* 516 */ \ |
276 OP(ConsumeTextureCHROMIUMImmediate) /* 517 */ \ | 276 OP(ProduceTextureDirectCHROMIUMImmediate) /* 517 */ \ |
277 OP(CreateAndConsumeTextureCHROMIUMImmediate) /* 518 */ \ | 277 OP(ConsumeTextureCHROMIUMImmediate) /* 518 */ \ |
278 OP(BindUniformLocationCHROMIUMBucket) /* 519 */ \ | 278 OP(CreateAndConsumeTextureCHROMIUMImmediate) /* 519 */ \ |
279 OP(GenValuebuffersCHROMIUMImmediate) /* 520 */ \ | 279 OP(BindUniformLocationCHROMIUMBucket) /* 520 */ \ |
280 OP(DeleteValuebuffersCHROMIUMImmediate) /* 521 */ \ | 280 OP(GenValuebuffersCHROMIUMImmediate) /* 521 */ \ |
281 OP(IsValuebufferCHROMIUM) /* 522 */ \ | 281 OP(DeleteValuebuffersCHROMIUMImmediate) /* 522 */ \ |
282 OP(BindValuebufferCHROMIUM) /* 523 */ \ | 282 OP(IsValuebufferCHROMIUM) /* 523 */ \ |
283 OP(SubscribeValueCHROMIUM) /* 524 */ \ | 283 OP(BindValuebufferCHROMIUM) /* 524 */ \ |
284 OP(PopulateSubscribedValuesCHROMIUM) /* 525 */ \ | 284 OP(SubscribeValueCHROMIUM) /* 525 */ \ |
285 OP(UniformValuebufferCHROMIUM) /* 526 */ \ | 285 OP(PopulateSubscribedValuesCHROMIUM) /* 526 */ \ |
286 OP(BindTexImage2DCHROMIUM) /* 527 */ \ | 286 OP(UniformValuebufferCHROMIUM) /* 527 */ \ |
287 OP(ReleaseTexImage2DCHROMIUM) /* 528 */ \ | 287 OP(BindTexImage2DCHROMIUM) /* 528 */ \ |
288 OP(TraceBeginCHROMIUM) /* 529 */ \ | 288 OP(ReleaseTexImage2DCHROMIUM) /* 529 */ \ |
289 OP(TraceEndCHROMIUM) /* 530 */ \ | 289 OP(TraceBeginCHROMIUM) /* 530 */ \ |
290 OP(AsyncTexSubImage2DCHROMIUM) /* 531 */ \ | 290 OP(TraceEndCHROMIUM) /* 531 */ \ |
291 OP(AsyncTexImage2DCHROMIUM) /* 532 */ \ | 291 OP(AsyncTexSubImage2DCHROMIUM) /* 532 */ \ |
292 OP(WaitAsyncTexImage2DCHROMIUM) /* 533 */ \ | 292 OP(AsyncTexImage2DCHROMIUM) /* 533 */ \ |
293 OP(WaitAllAsyncTexImage2DCHROMIUM) /* 534 */ \ | 293 OP(WaitAsyncTexImage2DCHROMIUM) /* 534 */ \ |
294 OP(DiscardFramebufferEXTImmediate) /* 535 */ \ | 294 OP(WaitAllAsyncTexImage2DCHROMIUM) /* 535 */ \ |
295 OP(LoseContextCHROMIUM) /* 536 */ \ | 295 OP(DiscardFramebufferEXTImmediate) /* 536 */ \ |
296 OP(InsertSyncPointCHROMIUM) /* 537 */ \ | 296 OP(LoseContextCHROMIUM) /* 537 */ \ |
297 OP(WaitSyncPointCHROMIUM) /* 538 */ \ | 297 OP(InsertSyncPointCHROMIUM) /* 538 */ \ |
298 OP(DrawBuffersEXTImmediate) /* 539 */ \ | 298 OP(WaitSyncPointCHROMIUM) /* 539 */ \ |
299 OP(DiscardBackbufferCHROMIUM) /* 540 */ \ | 299 OP(DrawBuffersEXTImmediate) /* 540 */ \ |
300 OP(ScheduleOverlayPlaneCHROMIUM) /* 541 */ \ | 300 OP(DiscardBackbufferCHROMIUM) /* 541 */ \ |
301 OP(SwapInterval) /* 542 */ \ | 301 OP(ScheduleOverlayPlaneCHROMIUM) /* 542 */ \ |
302 OP(MatrixLoadfCHROMIUMImmediate) /* 543 */ \ | 302 OP(SwapInterval) /* 543 */ \ |
303 OP(MatrixLoadIdentityCHROMIUM) /* 544 */ \ | 303 OP(MatrixLoadfCHROMIUMImmediate) /* 544 */ \ |
304 OP(BlendBarrierKHR) /* 545 */ | 304 OP(MatrixLoadIdentityCHROMIUM) /* 545 */ \ |
| 305 OP(BlendBarrierKHR) /* 546 */ |
305 | 306 |
306 enum CommandId { | 307 enum CommandId { |
307 kStartPoint = cmd::kLastCommonId, // All GLES2 commands start after this. | 308 kStartPoint = cmd::kLastCommonId, // All GLES2 commands start after this. |
308 #define GLES2_CMD_OP(name) k##name, | 309 #define GLES2_CMD_OP(name) k##name, |
309 GLES2_COMMAND_LIST(GLES2_CMD_OP) | 310 GLES2_COMMAND_LIST(GLES2_CMD_OP) |
310 #undef GLES2_CMD_OP | 311 #undef GLES2_CMD_OP |
311 kNumCommands | 312 kNumCommands |
312 }; | 313 }; |
313 | 314 |
314 #endif // GPU_COMMAND_BUFFER_COMMON_GLES2_CMD_IDS_AUTOGEN_H_ | 315 #endif // GPU_COMMAND_BUFFER_COMMON_GLES2_CMD_IDS_AUTOGEN_H_ |
OLD | NEW |