| 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 252 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 263 OP(GetProgramInfoCHROMIUM) /* 504 */ \ | 263 OP(GetProgramInfoCHROMIUM) /* 504 */ \ |
| 264 OP(GetUniformBlocksCHROMIUM) /* 505 */ \ | 264 OP(GetUniformBlocksCHROMIUM) /* 505 */ \ |
| 265 OP(GetTransformFeedbackVaryingsCHROMIUM) /* 506 */ \ | 265 OP(GetTransformFeedbackVaryingsCHROMIUM) /* 506 */ \ |
| 266 OP(GetUniformsES3CHROMIUM) /* 507 */ \ | 266 OP(GetUniformsES3CHROMIUM) /* 507 */ \ |
| 267 OP(GetTranslatedShaderSourceANGLE) /* 508 */ \ | 267 OP(GetTranslatedShaderSourceANGLE) /* 508 */ \ |
| 268 OP(PostSubBufferCHROMIUM) /* 509 */ \ | 268 OP(PostSubBufferCHROMIUM) /* 509 */ \ |
| 269 OP(TexImageIOSurface2DCHROMIUM) /* 510 */ \ | 269 OP(TexImageIOSurface2DCHROMIUM) /* 510 */ \ |
| 270 OP(CopyTextureCHROMIUM) /* 511 */ \ | 270 OP(CopyTextureCHROMIUM) /* 511 */ \ |
| 271 OP(CopySubTextureCHROMIUM) /* 512 */ \ | 271 OP(CopySubTextureCHROMIUM) /* 512 */ \ |
| 272 OP(CompressedCopyTextureCHROMIUM) /* 513 */ \ | 272 OP(CompressedCopyTextureCHROMIUM) /* 513 */ \ |
| 273 OP(DrawArraysInstancedANGLE) /* 514 */ \ | 273 OP(CompressedCopySubTextureCHROMIUM) /* 514 */ \ |
| 274 OP(DrawElementsInstancedANGLE) /* 515 */ \ | 274 OP(DrawArraysInstancedANGLE) /* 515 */ \ |
| 275 OP(VertexAttribDivisorANGLE) /* 516 */ \ | 275 OP(DrawElementsInstancedANGLE) /* 516 */ \ |
| 276 OP(GenMailboxCHROMIUM) /* 517 */ \ | 276 OP(VertexAttribDivisorANGLE) /* 517 */ \ |
| 277 OP(ProduceTextureCHROMIUMImmediate) /* 518 */ \ | 277 OP(GenMailboxCHROMIUM) /* 518 */ \ |
| 278 OP(ProduceTextureDirectCHROMIUMImmediate) /* 519 */ \ | 278 OP(ProduceTextureCHROMIUMImmediate) /* 519 */ \ |
| 279 OP(ConsumeTextureCHROMIUMImmediate) /* 520 */ \ | 279 OP(ProduceTextureDirectCHROMIUMImmediate) /* 520 */ \ |
| 280 OP(CreateAndConsumeTextureCHROMIUMImmediate) /* 521 */ \ | 280 OP(ConsumeTextureCHROMIUMImmediate) /* 521 */ \ |
| 281 OP(BindUniformLocationCHROMIUMBucket) /* 522 */ \ | 281 OP(CreateAndConsumeTextureCHROMIUMImmediate) /* 522 */ \ |
| 282 OP(GenValuebuffersCHROMIUMImmediate) /* 523 */ \ | 282 OP(BindUniformLocationCHROMIUMBucket) /* 523 */ \ |
| 283 OP(DeleteValuebuffersCHROMIUMImmediate) /* 524 */ \ | 283 OP(GenValuebuffersCHROMIUMImmediate) /* 524 */ \ |
| 284 OP(IsValuebufferCHROMIUM) /* 525 */ \ | 284 OP(DeleteValuebuffersCHROMIUMImmediate) /* 525 */ \ |
| 285 OP(BindValuebufferCHROMIUM) /* 526 */ \ | 285 OP(IsValuebufferCHROMIUM) /* 526 */ \ |
| 286 OP(SubscribeValueCHROMIUM) /* 527 */ \ | 286 OP(BindValuebufferCHROMIUM) /* 527 */ \ |
| 287 OP(PopulateSubscribedValuesCHROMIUM) /* 528 */ \ | 287 OP(SubscribeValueCHROMIUM) /* 528 */ \ |
| 288 OP(UniformValuebufferCHROMIUM) /* 529 */ \ | 288 OP(PopulateSubscribedValuesCHROMIUM) /* 529 */ \ |
| 289 OP(BindTexImage2DCHROMIUM) /* 530 */ \ | 289 OP(UniformValuebufferCHROMIUM) /* 530 */ \ |
| 290 OP(ReleaseTexImage2DCHROMIUM) /* 531 */ \ | 290 OP(BindTexImage2DCHROMIUM) /* 531 */ \ |
| 291 OP(TraceBeginCHROMIUM) /* 532 */ \ | 291 OP(ReleaseTexImage2DCHROMIUM) /* 532 */ \ |
| 292 OP(TraceEndCHROMIUM) /* 533 */ \ | 292 OP(TraceBeginCHROMIUM) /* 533 */ \ |
| 293 OP(AsyncTexSubImage2DCHROMIUM) /* 534 */ \ | 293 OP(TraceEndCHROMIUM) /* 534 */ \ |
| 294 OP(AsyncTexImage2DCHROMIUM) /* 535 */ \ | 294 OP(AsyncTexSubImage2DCHROMIUM) /* 535 */ \ |
| 295 OP(WaitAsyncTexImage2DCHROMIUM) /* 536 */ \ | 295 OP(AsyncTexImage2DCHROMIUM) /* 536 */ \ |
| 296 OP(WaitAllAsyncTexImage2DCHROMIUM) /* 537 */ \ | 296 OP(WaitAsyncTexImage2DCHROMIUM) /* 537 */ \ |
| 297 OP(DiscardFramebufferEXTImmediate) /* 538 */ \ | 297 OP(WaitAllAsyncTexImage2DCHROMIUM) /* 538 */ \ |
| 298 OP(LoseContextCHROMIUM) /* 539 */ \ | 298 OP(DiscardFramebufferEXTImmediate) /* 539 */ \ |
| 299 OP(InsertSyncPointCHROMIUM) /* 540 */ \ | 299 OP(LoseContextCHROMIUM) /* 540 */ \ |
| 300 OP(WaitSyncPointCHROMIUM) /* 541 */ \ | 300 OP(InsertSyncPointCHROMIUM) /* 541 */ \ |
| 301 OP(DrawBuffersEXTImmediate) /* 542 */ \ | 301 OP(WaitSyncPointCHROMIUM) /* 542 */ \ |
| 302 OP(DiscardBackbufferCHROMIUM) /* 543 */ \ | 302 OP(DrawBuffersEXTImmediate) /* 543 */ \ |
| 303 OP(ScheduleOverlayPlaneCHROMIUM) /* 544 */ \ | 303 OP(DiscardBackbufferCHROMIUM) /* 544 */ \ |
| 304 OP(SwapInterval) /* 545 */ \ | 304 OP(ScheduleOverlayPlaneCHROMIUM) /* 545 */ \ |
| 305 OP(FlushDriverCachesCHROMIUM) /* 546 */ \ | 305 OP(SwapInterval) /* 546 */ \ |
| 306 OP(MatrixLoadfCHROMIUMImmediate) /* 547 */ \ | 306 OP(FlushDriverCachesCHROMIUM) /* 547 */ \ |
| 307 OP(MatrixLoadIdentityCHROMIUM) /* 548 */ \ | 307 OP(MatrixLoadfCHROMIUMImmediate) /* 548 */ \ |
| 308 OP(GenPathsCHROMIUM) /* 549 */ \ | 308 OP(MatrixLoadIdentityCHROMIUM) /* 549 */ \ |
| 309 OP(DeletePathsCHROMIUM) /* 550 */ \ | 309 OP(GenPathsCHROMIUM) /* 550 */ \ |
| 310 OP(IsPathCHROMIUM) /* 551 */ \ | 310 OP(DeletePathsCHROMIUM) /* 551 */ \ |
| 311 OP(PathCommandsCHROMIUM) /* 552 */ \ | 311 OP(IsPathCHROMIUM) /* 552 */ \ |
| 312 OP(PathParameterfCHROMIUM) /* 553 */ \ | 312 OP(PathCommandsCHROMIUM) /* 553 */ \ |
| 313 OP(PathParameteriCHROMIUM) /* 554 */ \ | 313 OP(PathParameterfCHROMIUM) /* 554 */ \ |
| 314 OP(PathStencilFuncCHROMIUM) /* 555 */ \ | 314 OP(PathParameteriCHROMIUM) /* 555 */ \ |
| 315 OP(StencilFillPathCHROMIUM) /* 556 */ \ | 315 OP(PathStencilFuncCHROMIUM) /* 556 */ \ |
| 316 OP(StencilStrokePathCHROMIUM) /* 557 */ \ | 316 OP(StencilFillPathCHROMIUM) /* 557 */ \ |
| 317 OP(CoverFillPathCHROMIUM) /* 558 */ \ | 317 OP(StencilStrokePathCHROMIUM) /* 558 */ \ |
| 318 OP(CoverStrokePathCHROMIUM) /* 559 */ \ | 318 OP(CoverFillPathCHROMIUM) /* 559 */ \ |
| 319 OP(StencilThenCoverFillPathCHROMIUM) /* 560 */ \ | 319 OP(CoverStrokePathCHROMIUM) /* 560 */ \ |
| 320 OP(StencilThenCoverStrokePathCHROMIUM) /* 561 */ \ | 320 OP(StencilThenCoverFillPathCHROMIUM) /* 561 */ \ |
| 321 OP(BlendBarrierKHR) /* 562 */ | 321 OP(StencilThenCoverStrokePathCHROMIUM) /* 562 */ \ |
| 322 OP(BlendBarrierKHR) /* 563 */ |
| 322 | 323 |
| 323 enum CommandId { | 324 enum CommandId { |
| 324 kStartPoint = cmd::kLastCommonId, // All GLES2 commands start after this. | 325 kStartPoint = cmd::kLastCommonId, // All GLES2 commands start after this. |
| 325 #define GLES2_CMD_OP(name) k##name, | 326 #define GLES2_CMD_OP(name) k##name, |
| 326 GLES2_COMMAND_LIST(GLES2_CMD_OP) | 327 GLES2_COMMAND_LIST(GLES2_CMD_OP) |
| 327 #undef GLES2_CMD_OP | 328 #undef GLES2_CMD_OP |
| 328 kNumCommands | 329 kNumCommands |
| 329 }; | 330 }; |
| 330 | 331 |
| 331 #endif // GPU_COMMAND_BUFFER_COMMON_GLES2_CMD_IDS_AUTOGEN_H_ | 332 #endif // GPU_COMMAND_BUFFER_COMMON_GLES2_CMD_IDS_AUTOGEN_H_ |
| OLD | NEW |