| 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 228 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 239 OP(EnableFeatureCHROMIUM) /* 480 */ \ | 239 OP(EnableFeatureCHROMIUM) /* 480 */ \ |
| 240 OP(ResizeCHROMIUM) /* 481 */ \ | 240 OP(ResizeCHROMIUM) /* 481 */ \ |
| 241 OP(GetRequestableExtensionsCHROMIUM) /* 482 */ \ | 241 OP(GetRequestableExtensionsCHROMIUM) /* 482 */ \ |
| 242 OP(RequestExtensionCHROMIUM) /* 483 */ \ | 242 OP(RequestExtensionCHROMIUM) /* 483 */ \ |
| 243 OP(GetProgramInfoCHROMIUM) /* 484 */ \ | 243 OP(GetProgramInfoCHROMIUM) /* 484 */ \ |
| 244 OP(GetUniformBlocksCHROMIUM) /* 485 */ \ | 244 OP(GetUniformBlocksCHROMIUM) /* 485 */ \ |
| 245 OP(GetTranslatedShaderSourceANGLE) /* 486 */ \ | 245 OP(GetTranslatedShaderSourceANGLE) /* 486 */ \ |
| 246 OP(PostSubBufferCHROMIUM) /* 487 */ \ | 246 OP(PostSubBufferCHROMIUM) /* 487 */ \ |
| 247 OP(TexImageIOSurface2DCHROMIUM) /* 488 */ \ | 247 OP(TexImageIOSurface2DCHROMIUM) /* 488 */ \ |
| 248 OP(CopyTextureCHROMIUM) /* 489 */ \ | 248 OP(CopyTextureCHROMIUM) /* 489 */ \ |
| 249 OP(DrawArraysInstancedANGLE) /* 490 */ \ | 249 OP(CopySubTextureCHROMIUM) /* 490 */ \ |
| 250 OP(DrawElementsInstancedANGLE) /* 491 */ \ | 250 OP(DrawArraysInstancedANGLE) /* 491 */ \ |
| 251 OP(VertexAttribDivisorANGLE) /* 492 */ \ | 251 OP(DrawElementsInstancedANGLE) /* 492 */ \ |
| 252 OP(GenMailboxCHROMIUM) /* 493 */ \ | 252 OP(VertexAttribDivisorANGLE) /* 493 */ \ |
| 253 OP(ProduceTextureCHROMIUMImmediate) /* 494 */ \ | 253 OP(GenMailboxCHROMIUM) /* 494 */ \ |
| 254 OP(ProduceTextureDirectCHROMIUMImmediate) /* 495 */ \ | 254 OP(ProduceTextureCHROMIUMImmediate) /* 495 */ \ |
| 255 OP(ConsumeTextureCHROMIUMImmediate) /* 496 */ \ | 255 OP(ProduceTextureDirectCHROMIUMImmediate) /* 496 */ \ |
| 256 OP(CreateAndConsumeTextureCHROMIUMImmediate) /* 497 */ \ | 256 OP(ConsumeTextureCHROMIUMImmediate) /* 497 */ \ |
| 257 OP(BindUniformLocationCHROMIUMBucket) /* 498 */ \ | 257 OP(CreateAndConsumeTextureCHROMIUMImmediate) /* 498 */ \ |
| 258 OP(GenValuebuffersCHROMIUMImmediate) /* 499 */ \ | 258 OP(BindUniformLocationCHROMIUMBucket) /* 499 */ \ |
| 259 OP(DeleteValuebuffersCHROMIUMImmediate) /* 500 */ \ | 259 OP(GenValuebuffersCHROMIUMImmediate) /* 500 */ \ |
| 260 OP(IsValuebufferCHROMIUM) /* 501 */ \ | 260 OP(DeleteValuebuffersCHROMIUMImmediate) /* 501 */ \ |
| 261 OP(BindValuebufferCHROMIUM) /* 502 */ \ | 261 OP(IsValuebufferCHROMIUM) /* 502 */ \ |
| 262 OP(SubscribeValueCHROMIUM) /* 503 */ \ | 262 OP(BindValuebufferCHROMIUM) /* 503 */ \ |
| 263 OP(PopulateSubscribedValuesCHROMIUM) /* 504 */ \ | 263 OP(SubscribeValueCHROMIUM) /* 504 */ \ |
| 264 OP(UniformValuebufferCHROMIUM) /* 505 */ \ | 264 OP(PopulateSubscribedValuesCHROMIUM) /* 505 */ \ |
| 265 OP(BindTexImage2DCHROMIUM) /* 506 */ \ | 265 OP(UniformValuebufferCHROMIUM) /* 506 */ \ |
| 266 OP(ReleaseTexImage2DCHROMIUM) /* 507 */ \ | 266 OP(BindTexImage2DCHROMIUM) /* 507 */ \ |
| 267 OP(TraceBeginCHROMIUM) /* 508 */ \ | 267 OP(ReleaseTexImage2DCHROMIUM) /* 508 */ \ |
| 268 OP(TraceEndCHROMIUM) /* 509 */ \ | 268 OP(TraceBeginCHROMIUM) /* 509 */ \ |
| 269 OP(AsyncTexSubImage2DCHROMIUM) /* 510 */ \ | 269 OP(TraceEndCHROMIUM) /* 510 */ \ |
| 270 OP(AsyncTexImage2DCHROMIUM) /* 511 */ \ | 270 OP(AsyncTexSubImage2DCHROMIUM) /* 511 */ \ |
| 271 OP(WaitAsyncTexImage2DCHROMIUM) /* 512 */ \ | 271 OP(AsyncTexImage2DCHROMIUM) /* 512 */ \ |
| 272 OP(WaitAllAsyncTexImage2DCHROMIUM) /* 513 */ \ | 272 OP(WaitAsyncTexImage2DCHROMIUM) /* 513 */ \ |
| 273 OP(DiscardFramebufferEXTImmediate) /* 514 */ \ | 273 OP(WaitAllAsyncTexImage2DCHROMIUM) /* 514 */ \ |
| 274 OP(LoseContextCHROMIUM) /* 515 */ \ | 274 OP(DiscardFramebufferEXTImmediate) /* 515 */ \ |
| 275 OP(InsertSyncPointCHROMIUM) /* 516 */ \ | 275 OP(LoseContextCHROMIUM) /* 516 */ \ |
| 276 OP(WaitSyncPointCHROMIUM) /* 517 */ \ | 276 OP(InsertSyncPointCHROMIUM) /* 517 */ \ |
| 277 OP(DrawBuffersEXTImmediate) /* 518 */ \ | 277 OP(WaitSyncPointCHROMIUM) /* 518 */ \ |
| 278 OP(DiscardBackbufferCHROMIUM) /* 519 */ \ | 278 OP(DrawBuffersEXTImmediate) /* 519 */ \ |
| 279 OP(ScheduleOverlayPlaneCHROMIUM) /* 520 */ \ | 279 OP(DiscardBackbufferCHROMIUM) /* 520 */ \ |
| 280 OP(SwapInterval) /* 521 */ \ | 280 OP(ScheduleOverlayPlaneCHROMIUM) /* 521 */ \ |
| 281 OP(MatrixLoadfCHROMIUMImmediate) /* 522 */ \ | 281 OP(SwapInterval) /* 522 */ \ |
| 282 OP(MatrixLoadIdentityCHROMIUM) /* 523 */ \ | 282 OP(MatrixLoadfCHROMIUMImmediate) /* 523 */ \ |
| 283 OP(BlendBarrierKHR) /* 524 */ | 283 OP(MatrixLoadIdentityCHROMIUM) /* 524 */ \ |
| 284 OP(BlendBarrierKHR) /* 525 */ |
| 284 | 285 |
| 285 enum CommandId { | 286 enum CommandId { |
| 286 kStartPoint = cmd::kLastCommonId, // All GLES2 commands start after this. | 287 kStartPoint = cmd::kLastCommonId, // All GLES2 commands start after this. |
| 287 #define GLES2_CMD_OP(name) k##name, | 288 #define GLES2_CMD_OP(name) k##name, |
| 288 GLES2_COMMAND_LIST(GLES2_CMD_OP) | 289 GLES2_COMMAND_LIST(GLES2_CMD_OP) |
| 289 #undef GLES2_CMD_OP | 290 #undef GLES2_CMD_OP |
| 290 kNumCommands | 291 kNumCommands |
| 291 }; | 292 }; |
| 292 | 293 |
| 293 #endif // GPU_COMMAND_BUFFER_COMMON_GLES2_CMD_IDS_AUTOGEN_H_ | 294 #endif // GPU_COMMAND_BUFFER_COMMON_GLES2_CMD_IDS_AUTOGEN_H_ |
| OLD | NEW |