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 279 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
290 OP(WaitSyncTokenCHROMIUM) /* 531 */ \ | 290 OP(WaitSyncTokenCHROMIUM) /* 531 */ \ |
291 OP(DrawBuffersEXTImmediate) /* 532 */ \ | 291 OP(DrawBuffersEXTImmediate) /* 532 */ \ |
292 OP(DiscardBackbufferCHROMIUM) /* 533 */ \ | 292 OP(DiscardBackbufferCHROMIUM) /* 533 */ \ |
293 OP(ScheduleOverlayPlaneCHROMIUM) /* 534 */ \ | 293 OP(ScheduleOverlayPlaneCHROMIUM) /* 534 */ \ |
294 OP(ScheduleCALayerSharedStateCHROMIUM) /* 535 */ \ | 294 OP(ScheduleCALayerSharedStateCHROMIUM) /* 535 */ \ |
295 OP(ScheduleCALayerCHROMIUM) /* 536 */ \ | 295 OP(ScheduleCALayerCHROMIUM) /* 536 */ \ |
296 OP(ScheduleCALayerInUseQueryCHROMIUMImmediate) /* 537 */ \ | 296 OP(ScheduleCALayerInUseQueryCHROMIUMImmediate) /* 537 */ \ |
297 OP(CommitOverlayPlanesCHROMIUM) /* 538 */ \ | 297 OP(CommitOverlayPlanesCHROMIUM) /* 538 */ \ |
298 OP(SwapInterval) /* 539 */ \ | 298 OP(SwapInterval) /* 539 */ \ |
299 OP(FlushDriverCachesCHROMIUM) /* 540 */ \ | 299 OP(FlushDriverCachesCHROMIUM) /* 540 */ \ |
300 OP(MatrixLoadfCHROMIUMImmediate) /* 541 */ \ | 300 OP(ScheduleDCLayerSharedStateCHROMIUM) /* 541 */ \ |
301 OP(MatrixLoadIdentityCHROMIUM) /* 542 */ \ | 301 OP(ScheduleDCLayerCHROMIUM) /* 542 */ \ |
302 OP(GenPathsCHROMIUM) /* 543 */ \ | 302 OP(MatrixLoadfCHROMIUMImmediate) /* 543 */ \ |
303 OP(DeletePathsCHROMIUM) /* 544 */ \ | 303 OP(MatrixLoadIdentityCHROMIUM) /* 544 */ \ |
304 OP(IsPathCHROMIUM) /* 545 */ \ | 304 OP(GenPathsCHROMIUM) /* 545 */ \ |
305 OP(PathCommandsCHROMIUM) /* 546 */ \ | 305 OP(DeletePathsCHROMIUM) /* 546 */ \ |
306 OP(PathParameterfCHROMIUM) /* 547 */ \ | 306 OP(IsPathCHROMIUM) /* 547 */ \ |
307 OP(PathParameteriCHROMIUM) /* 548 */ \ | 307 OP(PathCommandsCHROMIUM) /* 548 */ \ |
308 OP(PathStencilFuncCHROMIUM) /* 549 */ \ | 308 OP(PathParameterfCHROMIUM) /* 549 */ \ |
309 OP(StencilFillPathCHROMIUM) /* 550 */ \ | 309 OP(PathParameteriCHROMIUM) /* 550 */ \ |
310 OP(StencilStrokePathCHROMIUM) /* 551 */ \ | 310 OP(PathStencilFuncCHROMIUM) /* 551 */ \ |
311 OP(CoverFillPathCHROMIUM) /* 552 */ \ | 311 OP(StencilFillPathCHROMIUM) /* 552 */ \ |
312 OP(CoverStrokePathCHROMIUM) /* 553 */ \ | 312 OP(StencilStrokePathCHROMIUM) /* 553 */ \ |
313 OP(StencilThenCoverFillPathCHROMIUM) /* 554 */ \ | 313 OP(CoverFillPathCHROMIUM) /* 554 */ \ |
314 OP(StencilThenCoverStrokePathCHROMIUM) /* 555 */ \ | 314 OP(CoverStrokePathCHROMIUM) /* 555 */ \ |
315 OP(StencilFillPathInstancedCHROMIUM) /* 556 */ \ | 315 OP(StencilThenCoverFillPathCHROMIUM) /* 556 */ \ |
316 OP(StencilStrokePathInstancedCHROMIUM) /* 557 */ \ | 316 OP(StencilThenCoverStrokePathCHROMIUM) /* 557 */ \ |
317 OP(CoverFillPathInstancedCHROMIUM) /* 558 */ \ | 317 OP(StencilFillPathInstancedCHROMIUM) /* 558 */ \ |
318 OP(CoverStrokePathInstancedCHROMIUM) /* 559 */ \ | 318 OP(StencilStrokePathInstancedCHROMIUM) /* 559 */ \ |
319 OP(StencilThenCoverFillPathInstancedCHROMIUM) /* 560 */ \ | 319 OP(CoverFillPathInstancedCHROMIUM) /* 560 */ \ |
320 OP(StencilThenCoverStrokePathInstancedCHROMIUM) /* 561 */ \ | 320 OP(CoverStrokePathInstancedCHROMIUM) /* 561 */ \ |
321 OP(BindFragmentInputLocationCHROMIUMBucket) /* 562 */ \ | 321 OP(StencilThenCoverFillPathInstancedCHROMIUM) /* 562 */ \ |
322 OP(ProgramPathFragmentInputGenCHROMIUM) /* 563 */ \ | 322 OP(StencilThenCoverStrokePathInstancedCHROMIUM) /* 563 */ \ |
323 OP(GetBufferSubDataAsyncCHROMIUM) /* 564 */ \ | 323 OP(BindFragmentInputLocationCHROMIUMBucket) /* 564 */ \ |
324 OP(CoverageModulationCHROMIUM) /* 565 */ \ | 324 OP(ProgramPathFragmentInputGenCHROMIUM) /* 565 */ \ |
325 OP(BlendBarrierKHR) /* 566 */ \ | 325 OP(GetBufferSubDataAsyncCHROMIUM) /* 566 */ \ |
326 OP(ApplyScreenSpaceAntialiasingCHROMIUM) /* 567 */ \ | 326 OP(CoverageModulationCHROMIUM) /* 567 */ \ |
327 OP(BindFragDataLocationIndexedEXTBucket) /* 568 */ \ | 327 OP(BlendBarrierKHR) /* 568 */ \ |
328 OP(BindFragDataLocationEXTBucket) /* 569 */ \ | 328 OP(ApplyScreenSpaceAntialiasingCHROMIUM) /* 569 */ \ |
329 OP(GetFragDataIndexEXT) /* 570 */ \ | 329 OP(BindFragDataLocationIndexedEXTBucket) /* 570 */ \ |
330 OP(UniformMatrix4fvStreamTextureMatrixCHROMIUMImmediate) /* 571 */ \ | 330 OP(BindFragDataLocationEXTBucket) /* 571 */ \ |
331 OP(OverlayPromotionHintCHROMIUM) /* 572 */ \ | 331 OP(GetFragDataIndexEXT) /* 572 */ \ |
332 OP(SwapBuffersWithBoundsCHROMIUMImmediate) /* 573 */ \ | 332 OP(UniformMatrix4fvStreamTextureMatrixCHROMIUMImmediate) /* 573 */ \ |
333 OP(SetDrawRectangleCHROMIUM) /* 574 */ | 333 OP(OverlayPromotionHintCHROMIUM) /* 574 */ \ |
| 334 OP(SwapBuffersWithBoundsCHROMIUMImmediate) /* 575 */ \ |
| 335 OP(SetDrawRectangleCHROMIUM) /* 576 */ |
334 | 336 |
335 enum CommandId { | 337 enum CommandId { |
336 kOneBeforeStartPoint = | 338 kOneBeforeStartPoint = |
337 cmd::kLastCommonId, // All GLES2 commands start after this. | 339 cmd::kLastCommonId, // All GLES2 commands start after this. |
338 #define GLES2_CMD_OP(name) k##name, | 340 #define GLES2_CMD_OP(name) k##name, |
339 GLES2_COMMAND_LIST(GLES2_CMD_OP) | 341 GLES2_COMMAND_LIST(GLES2_CMD_OP) |
340 #undef GLES2_CMD_OP | 342 #undef GLES2_CMD_OP |
341 kNumCommands, | 343 kNumCommands, |
342 kFirstGLES2Command = kOneBeforeStartPoint + 1 | 344 kFirstGLES2Command = kOneBeforeStartPoint + 1 |
343 }; | 345 }; |
344 | 346 |
345 #endif // GPU_COMMAND_BUFFER_COMMON_GLES2_CMD_IDS_AUTOGEN_H_ | 347 #endif // GPU_COMMAND_BUFFER_COMMON_GLES2_CMD_IDS_AUTOGEN_H_ |
OLD | NEW |