| 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 240 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 251 OP(PopGroupMarkerEXT) /* 492 */ \ | 251 OP(PopGroupMarkerEXT) /* 492 */ \ |
| 252 OP(GenVertexArraysOESImmediate) /* 493 */ \ | 252 OP(GenVertexArraysOESImmediate) /* 493 */ \ |
| 253 OP(DeleteVertexArraysOESImmediate) /* 494 */ \ | 253 OP(DeleteVertexArraysOESImmediate) /* 494 */ \ |
| 254 OP(IsVertexArrayOES) /* 495 */ \ | 254 OP(IsVertexArrayOES) /* 495 */ \ |
| 255 OP(BindVertexArrayOES) /* 496 */ \ | 255 OP(BindVertexArrayOES) /* 496 */ \ |
| 256 OP(SwapBuffers) /* 497 */ \ | 256 OP(SwapBuffers) /* 497 */ \ |
| 257 OP(GetMaxValueInBufferCHROMIUM) /* 498 */ \ | 257 OP(GetMaxValueInBufferCHROMIUM) /* 498 */ \ |
| 258 OP(EnableFeatureCHROMIUM) /* 499 */ \ | 258 OP(EnableFeatureCHROMIUM) /* 499 */ \ |
| 259 OP(MapBufferRange) /* 500 */ \ | 259 OP(MapBufferRange) /* 500 */ \ |
| 260 OP(UnmapBuffer) /* 501 */ \ | 260 OP(UnmapBuffer) /* 501 */ \ |
| 261 OP(ResizeCHROMIUM) /* 502 */ \ | 261 OP(FlushMappedBufferRange) /* 502 */ \ |
| 262 OP(GetRequestableExtensionsCHROMIUM) /* 503 */ \ | 262 OP(ResizeCHROMIUM) /* 503 */ \ |
| 263 OP(RequestExtensionCHROMIUM) /* 504 */ \ | 263 OP(GetRequestableExtensionsCHROMIUM) /* 504 */ \ |
| 264 OP(GetProgramInfoCHROMIUM) /* 505 */ \ | 264 OP(RequestExtensionCHROMIUM) /* 505 */ \ |
| 265 OP(GetUniformBlocksCHROMIUM) /* 506 */ \ | 265 OP(GetProgramInfoCHROMIUM) /* 506 */ \ |
| 266 OP(GetTransformFeedbackVaryingsCHROMIUM) /* 507 */ \ | 266 OP(GetUniformBlocksCHROMIUM) /* 507 */ \ |
| 267 OP(GetUniformsES3CHROMIUM) /* 508 */ \ | 267 OP(GetTransformFeedbackVaryingsCHROMIUM) /* 508 */ \ |
| 268 OP(DescheduleUntilFinishedCHROMIUM) /* 509 */ \ | 268 OP(GetUniformsES3CHROMIUM) /* 509 */ \ |
| 269 OP(GetTranslatedShaderSourceANGLE) /* 510 */ \ | 269 OP(DescheduleUntilFinishedCHROMIUM) /* 510 */ \ |
| 270 OP(PostSubBufferCHROMIUM) /* 511 */ \ | 270 OP(GetTranslatedShaderSourceANGLE) /* 511 */ \ |
| 271 OP(CopyTextureCHROMIUM) /* 512 */ \ | 271 OP(PostSubBufferCHROMIUM) /* 512 */ \ |
| 272 OP(CopySubTextureCHROMIUM) /* 513 */ \ | 272 OP(CopyTextureCHROMIUM) /* 513 */ \ |
| 273 OP(CompressedCopyTextureCHROMIUM) /* 514 */ \ | 273 OP(CopySubTextureCHROMIUM) /* 514 */ \ |
| 274 OP(DrawArraysInstancedANGLE) /* 515 */ \ | 274 OP(CompressedCopyTextureCHROMIUM) /* 515 */ \ |
| 275 OP(DrawElementsInstancedANGLE) /* 516 */ \ | 275 OP(DrawArraysInstancedANGLE) /* 516 */ \ |
| 276 OP(VertexAttribDivisorANGLE) /* 517 */ \ | 276 OP(DrawElementsInstancedANGLE) /* 517 */ \ |
| 277 OP(GenMailboxCHROMIUM) /* 518 */ \ | 277 OP(VertexAttribDivisorANGLE) /* 518 */ \ |
| 278 OP(ProduceTextureCHROMIUMImmediate) /* 519 */ \ | 278 OP(GenMailboxCHROMIUM) /* 519 */ \ |
| 279 OP(ProduceTextureDirectCHROMIUMImmediate) /* 520 */ \ | 279 OP(ProduceTextureCHROMIUMImmediate) /* 520 */ \ |
| 280 OP(ConsumeTextureCHROMIUMImmediate) /* 521 */ \ | 280 OP(ProduceTextureDirectCHROMIUMImmediate) /* 521 */ \ |
| 281 OP(CreateAndConsumeTextureCHROMIUMImmediate) /* 522 */ \ | 281 OP(ConsumeTextureCHROMIUMImmediate) /* 522 */ \ |
| 282 OP(BindUniformLocationCHROMIUMBucket) /* 523 */ \ | 282 OP(CreateAndConsumeTextureCHROMIUMImmediate) /* 523 */ \ |
| 283 OP(BindTexImage2DCHROMIUM) /* 524 */ \ | 283 OP(BindUniformLocationCHROMIUMBucket) /* 524 */ \ |
| 284 OP(ReleaseTexImage2DCHROMIUM) /* 525 */ \ | 284 OP(BindTexImage2DCHROMIUM) /* 525 */ \ |
| 285 OP(TraceBeginCHROMIUM) /* 526 */ \ | 285 OP(ReleaseTexImage2DCHROMIUM) /* 526 */ \ |
| 286 OP(TraceEndCHROMIUM) /* 527 */ \ | 286 OP(TraceBeginCHROMIUM) /* 527 */ \ |
| 287 OP(DiscardFramebufferEXTImmediate) /* 528 */ \ | 287 OP(TraceEndCHROMIUM) /* 528 */ \ |
| 288 OP(LoseContextCHROMIUM) /* 529 */ \ | 288 OP(DiscardFramebufferEXTImmediate) /* 529 */ \ |
| 289 OP(InsertFenceSyncCHROMIUM) /* 530 */ \ | 289 OP(LoseContextCHROMIUM) /* 530 */ \ |
| 290 OP(GenSyncTokenCHROMIUMImmediate) /* 531 */ \ | 290 OP(InsertFenceSyncCHROMIUM) /* 531 */ \ |
| 291 OP(GenUnverifiedSyncTokenCHROMIUMImmediate) /* 532 */ \ | 291 OP(GenSyncTokenCHROMIUMImmediate) /* 532 */ \ |
| 292 OP(VerifySyncTokensCHROMIUMImmediate) /* 533 */ \ | 292 OP(GenUnverifiedSyncTokenCHROMIUMImmediate) /* 533 */ \ |
| 293 OP(WaitSyncTokenCHROMIUM) /* 534 */ \ | 293 OP(VerifySyncTokensCHROMIUMImmediate) /* 534 */ \ |
| 294 OP(DrawBuffersEXTImmediate) /* 535 */ \ | 294 OP(WaitSyncTokenCHROMIUM) /* 535 */ \ |
| 295 OP(DiscardBackbufferCHROMIUM) /* 536 */ \ | 295 OP(DrawBuffersEXTImmediate) /* 536 */ \ |
| 296 OP(ScheduleOverlayPlaneCHROMIUM) /* 537 */ \ | 296 OP(DiscardBackbufferCHROMIUM) /* 537 */ \ |
| 297 OP(ScheduleCALayerSharedStateCHROMIUM) /* 538 */ \ | 297 OP(ScheduleOverlayPlaneCHROMIUM) /* 538 */ \ |
| 298 OP(ScheduleCALayerCHROMIUM) /* 539 */ \ | 298 OP(ScheduleCALayerSharedStateCHROMIUM) /* 539 */ \ |
| 299 OP(ScheduleCALayerInUseQueryCHROMIUMImmediate) /* 540 */ \ | 299 OP(ScheduleCALayerCHROMIUM) /* 540 */ \ |
| 300 OP(CommitOverlayPlanesCHROMIUM) /* 541 */ \ | 300 OP(ScheduleCALayerInUseQueryCHROMIUMImmediate) /* 541 */ \ |
| 301 OP(SwapInterval) /* 542 */ \ | 301 OP(CommitOverlayPlanesCHROMIUM) /* 542 */ \ |
| 302 OP(FlushDriverCachesCHROMIUM) /* 543 */ \ | 302 OP(SwapInterval) /* 543 */ \ |
| 303 OP(MatrixLoadfCHROMIUMImmediate) /* 544 */ \ | 303 OP(FlushDriverCachesCHROMIUM) /* 544 */ \ |
| 304 OP(MatrixLoadIdentityCHROMIUM) /* 545 */ \ | 304 OP(MatrixLoadfCHROMIUMImmediate) /* 545 */ \ |
| 305 OP(GenPathsCHROMIUM) /* 546 */ \ | 305 OP(MatrixLoadIdentityCHROMIUM) /* 546 */ \ |
| 306 OP(DeletePathsCHROMIUM) /* 547 */ \ | 306 OP(GenPathsCHROMIUM) /* 547 */ \ |
| 307 OP(IsPathCHROMIUM) /* 548 */ \ | 307 OP(DeletePathsCHROMIUM) /* 548 */ \ |
| 308 OP(PathCommandsCHROMIUM) /* 549 */ \ | 308 OP(IsPathCHROMIUM) /* 549 */ \ |
| 309 OP(PathParameterfCHROMIUM) /* 550 */ \ | 309 OP(PathCommandsCHROMIUM) /* 550 */ \ |
| 310 OP(PathParameteriCHROMIUM) /* 551 */ \ | 310 OP(PathParameterfCHROMIUM) /* 551 */ \ |
| 311 OP(PathStencilFuncCHROMIUM) /* 552 */ \ | 311 OP(PathParameteriCHROMIUM) /* 552 */ \ |
| 312 OP(StencilFillPathCHROMIUM) /* 553 */ \ | 312 OP(PathStencilFuncCHROMIUM) /* 553 */ \ |
| 313 OP(StencilStrokePathCHROMIUM) /* 554 */ \ | 313 OP(StencilFillPathCHROMIUM) /* 554 */ \ |
| 314 OP(CoverFillPathCHROMIUM) /* 555 */ \ | 314 OP(StencilStrokePathCHROMIUM) /* 555 */ \ |
| 315 OP(CoverStrokePathCHROMIUM) /* 556 */ \ | 315 OP(CoverFillPathCHROMIUM) /* 556 */ \ |
| 316 OP(StencilThenCoverFillPathCHROMIUM) /* 557 */ \ | 316 OP(CoverStrokePathCHROMIUM) /* 557 */ \ |
| 317 OP(StencilThenCoverStrokePathCHROMIUM) /* 558 */ \ | 317 OP(StencilThenCoverFillPathCHROMIUM) /* 558 */ \ |
| 318 OP(StencilFillPathInstancedCHROMIUM) /* 559 */ \ | 318 OP(StencilThenCoverStrokePathCHROMIUM) /* 559 */ \ |
| 319 OP(StencilStrokePathInstancedCHROMIUM) /* 560 */ \ | 319 OP(StencilFillPathInstancedCHROMIUM) /* 560 */ \ |
| 320 OP(CoverFillPathInstancedCHROMIUM) /* 561 */ \ | 320 OP(StencilStrokePathInstancedCHROMIUM) /* 561 */ \ |
| 321 OP(CoverStrokePathInstancedCHROMIUM) /* 562 */ \ | 321 OP(CoverFillPathInstancedCHROMIUM) /* 562 */ \ |
| 322 OP(StencilThenCoverFillPathInstancedCHROMIUM) /* 563 */ \ | 322 OP(CoverStrokePathInstancedCHROMIUM) /* 563 */ \ |
| 323 OP(StencilThenCoverStrokePathInstancedCHROMIUM) /* 564 */ \ | 323 OP(StencilThenCoverFillPathInstancedCHROMIUM) /* 564 */ \ |
| 324 OP(BindFragmentInputLocationCHROMIUMBucket) /* 565 */ \ | 324 OP(StencilThenCoverStrokePathInstancedCHROMIUM) /* 565 */ \ |
| 325 OP(ProgramPathFragmentInputGenCHROMIUM) /* 566 */ \ | 325 OP(BindFragmentInputLocationCHROMIUMBucket) /* 566 */ \ |
| 326 OP(CoverageModulationCHROMIUM) /* 567 */ \ | 326 OP(ProgramPathFragmentInputGenCHROMIUM) /* 567 */ \ |
| 327 OP(BlendBarrierKHR) /* 568 */ \ | 327 OP(CoverageModulationCHROMIUM) /* 568 */ \ |
| 328 OP(ApplyScreenSpaceAntialiasingCHROMIUM) /* 569 */ \ | 328 OP(BlendBarrierKHR) /* 569 */ \ |
| 329 OP(BindFragDataLocationIndexedEXTBucket) /* 570 */ \ | 329 OP(ApplyScreenSpaceAntialiasingCHROMIUM) /* 570 */ \ |
| 330 OP(BindFragDataLocationEXTBucket) /* 571 */ \ | 330 OP(BindFragDataLocationIndexedEXTBucket) /* 571 */ \ |
| 331 OP(GetFragDataIndexEXT) /* 572 */ \ | 331 OP(BindFragDataLocationEXTBucket) /* 572 */ \ |
| 332 OP(UniformMatrix4fvStreamTextureMatrixCHROMIUMImmediate) /* 573 */ | 332 OP(GetFragDataIndexEXT) /* 573 */ \ |
| 333 OP(UniformMatrix4fvStreamTextureMatrixCHROMIUMImmediate) /* 574 */ |
| 333 | 334 |
| 334 enum CommandId { | 335 enum CommandId { |
| 335 kOneBeforeStartPoint = | 336 kOneBeforeStartPoint = |
| 336 cmd::kLastCommonId, // All GLES2 commands start after this. | 337 cmd::kLastCommonId, // All GLES2 commands start after this. |
| 337 #define GLES2_CMD_OP(name) k##name, | 338 #define GLES2_CMD_OP(name) k##name, |
| 338 GLES2_COMMAND_LIST(GLES2_CMD_OP) | 339 GLES2_COMMAND_LIST(GLES2_CMD_OP) |
| 339 #undef GLES2_CMD_OP | 340 #undef GLES2_CMD_OP |
| 340 kNumCommands, | 341 kNumCommands, |
| 341 kFirstGLES2Command = kOneBeforeStartPoint + 1 | 342 kFirstGLES2Command = kOneBeforeStartPoint + 1 |
| 342 }; | 343 }; |
| 343 | 344 |
| 344 #endif // GPU_COMMAND_BUFFER_COMMON_GLES2_CMD_IDS_AUTOGEN_H_ | 345 #endif // GPU_COMMAND_BUFFER_COMMON_GLES2_CMD_IDS_AUTOGEN_H_ |
| OLD | NEW |