| 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 285 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 296 OP(LoseContextCHROMIUM) /* 537 */ \ | 296 OP(LoseContextCHROMIUM) /* 537 */ \ |
| 297 OP(InsertSyncPointCHROMIUM) /* 538 */ \ | 297 OP(InsertSyncPointCHROMIUM) /* 538 */ \ |
| 298 OP(WaitSyncPointCHROMIUM) /* 539 */ \ | 298 OP(WaitSyncPointCHROMIUM) /* 539 */ \ |
| 299 OP(InsertFenceSyncCHROMIUM) /* 540 */ \ | 299 OP(InsertFenceSyncCHROMIUM) /* 540 */ \ |
| 300 OP(GenSyncTokenCHROMIUMImmediate) /* 541 */ \ | 300 OP(GenSyncTokenCHROMIUMImmediate) /* 541 */ \ |
| 301 OP(GenUnverifiedSyncTokenCHROMIUMImmediate) /* 542 */ \ | 301 OP(GenUnverifiedSyncTokenCHROMIUMImmediate) /* 542 */ \ |
| 302 OP(WaitSyncTokenCHROMIUM) /* 543 */ \ | 302 OP(WaitSyncTokenCHROMIUM) /* 543 */ \ |
| 303 OP(DrawBuffersEXTImmediate) /* 544 */ \ | 303 OP(DrawBuffersEXTImmediate) /* 544 */ \ |
| 304 OP(DiscardBackbufferCHROMIUM) /* 545 */ \ | 304 OP(DiscardBackbufferCHROMIUM) /* 545 */ \ |
| 305 OP(ScheduleOverlayPlaneCHROMIUM) /* 546 */ \ | 305 OP(ScheduleOverlayPlaneCHROMIUM) /* 546 */ \ |
| 306 OP(SwapInterval) /* 547 */ \ | 306 OP(ScheduleCALayerCHROMIUM) /* 547 */ \ |
| 307 OP(FlushDriverCachesCHROMIUM) /* 548 */ \ | 307 OP(SwapInterval) /* 548 */ \ |
| 308 OP(MatrixLoadfCHROMIUMImmediate) /* 549 */ \ | 308 OP(FlushDriverCachesCHROMIUM) /* 549 */ \ |
| 309 OP(MatrixLoadIdentityCHROMIUM) /* 550 */ \ | 309 OP(MatrixLoadfCHROMIUMImmediate) /* 550 */ \ |
| 310 OP(GenPathsCHROMIUM) /* 551 */ \ | 310 OP(MatrixLoadIdentityCHROMIUM) /* 551 */ \ |
| 311 OP(DeletePathsCHROMIUM) /* 552 */ \ | 311 OP(GenPathsCHROMIUM) /* 552 */ \ |
| 312 OP(IsPathCHROMIUM) /* 553 */ \ | 312 OP(DeletePathsCHROMIUM) /* 553 */ \ |
| 313 OP(PathCommandsCHROMIUM) /* 554 */ \ | 313 OP(IsPathCHROMIUM) /* 554 */ \ |
| 314 OP(PathParameterfCHROMIUM) /* 555 */ \ | 314 OP(PathCommandsCHROMIUM) /* 555 */ \ |
| 315 OP(PathParameteriCHROMIUM) /* 556 */ \ | 315 OP(PathParameterfCHROMIUM) /* 556 */ \ |
| 316 OP(PathStencilFuncCHROMIUM) /* 557 */ \ | 316 OP(PathParameteriCHROMIUM) /* 557 */ \ |
| 317 OP(StencilFillPathCHROMIUM) /* 558 */ \ | 317 OP(PathStencilFuncCHROMIUM) /* 558 */ \ |
| 318 OP(StencilStrokePathCHROMIUM) /* 559 */ \ | 318 OP(StencilFillPathCHROMIUM) /* 559 */ \ |
| 319 OP(CoverFillPathCHROMIUM) /* 560 */ \ | 319 OP(StencilStrokePathCHROMIUM) /* 560 */ \ |
| 320 OP(CoverStrokePathCHROMIUM) /* 561 */ \ | 320 OP(CoverFillPathCHROMIUM) /* 561 */ \ |
| 321 OP(StencilThenCoverFillPathCHROMIUM) /* 562 */ \ | 321 OP(CoverStrokePathCHROMIUM) /* 562 */ \ |
| 322 OP(StencilThenCoverStrokePathCHROMIUM) /* 563 */ \ | 322 OP(StencilThenCoverFillPathCHROMIUM) /* 563 */ \ |
| 323 OP(StencilFillPathInstancedCHROMIUM) /* 564 */ \ | 323 OP(StencilThenCoverStrokePathCHROMIUM) /* 564 */ \ |
| 324 OP(StencilStrokePathInstancedCHROMIUM) /* 565 */ \ | 324 OP(StencilFillPathInstancedCHROMIUM) /* 565 */ \ |
| 325 OP(CoverFillPathInstancedCHROMIUM) /* 566 */ \ | 325 OP(StencilStrokePathInstancedCHROMIUM) /* 566 */ \ |
| 326 OP(CoverStrokePathInstancedCHROMIUM) /* 567 */ \ | 326 OP(CoverFillPathInstancedCHROMIUM) /* 567 */ \ |
| 327 OP(StencilThenCoverFillPathInstancedCHROMIUM) /* 568 */ \ | 327 OP(CoverStrokePathInstancedCHROMIUM) /* 568 */ \ |
| 328 OP(StencilThenCoverStrokePathInstancedCHROMIUM) /* 569 */ \ | 328 OP(StencilThenCoverFillPathInstancedCHROMIUM) /* 569 */ \ |
| 329 OP(BindFragmentInputLocationCHROMIUMBucket) /* 570 */ \ | 329 OP(StencilThenCoverStrokePathInstancedCHROMIUM) /* 570 */ \ |
| 330 OP(ProgramPathFragmentInputGenCHROMIUM) /* 571 */ \ | 330 OP(BindFragmentInputLocationCHROMIUMBucket) /* 571 */ \ |
| 331 OP(BlendBarrierKHR) /* 572 */ \ | 331 OP(ProgramPathFragmentInputGenCHROMIUM) /* 572 */ \ |
| 332 OP(ApplyScreenSpaceAntialiasingCHROMIUM) /* 573 */ | 332 OP(BlendBarrierKHR) /* 573 */ \ |
| 333 OP(ApplyScreenSpaceAntialiasingCHROMIUM) /* 574 */ |
| 333 | 334 |
| 334 enum CommandId { | 335 enum CommandId { |
| 335 kStartPoint = cmd::kLastCommonId, // All GLES2 commands start after this. | 336 kStartPoint = cmd::kLastCommonId, // All GLES2 commands start after this. |
| 336 #define GLES2_CMD_OP(name) k##name, | 337 #define GLES2_CMD_OP(name) k##name, |
| 337 GLES2_COMMAND_LIST(GLES2_CMD_OP) | 338 GLES2_COMMAND_LIST(GLES2_CMD_OP) |
| 338 #undef GLES2_CMD_OP | 339 #undef GLES2_CMD_OP |
| 339 kNumCommands | 340 kNumCommands |
| 340 }; | 341 }; |
| 341 | 342 |
| 342 #endif // GPU_COMMAND_BUFFER_COMMON_GLES2_CMD_IDS_AUTOGEN_H_ | 343 #endif // GPU_COMMAND_BUFFER_COMMON_GLES2_CMD_IDS_AUTOGEN_H_ |
| OLD | NEW |