| 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 191 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 202 OP(GetMaxValueInBufferCHROMIUM) /* 443 */ \ | 202 OP(GetMaxValueInBufferCHROMIUM) /* 443 */ \ |
| 203 OP(EnableFeatureCHROMIUM) /* 444 */ \ | 203 OP(EnableFeatureCHROMIUM) /* 444 */ \ |
| 204 OP(ResizeCHROMIUM) /* 445 */ \ | 204 OP(ResizeCHROMIUM) /* 445 */ \ |
| 205 OP(GetRequestableExtensionsCHROMIUM) /* 446 */ \ | 205 OP(GetRequestableExtensionsCHROMIUM) /* 446 */ \ |
| 206 OP(RequestExtensionCHROMIUM) /* 447 */ \ | 206 OP(RequestExtensionCHROMIUM) /* 447 */ \ |
| 207 OP(GetProgramInfoCHROMIUM) /* 448 */ \ | 207 OP(GetProgramInfoCHROMIUM) /* 448 */ \ |
| 208 OP(GetTranslatedShaderSourceANGLE) /* 449 */ \ | 208 OP(GetTranslatedShaderSourceANGLE) /* 449 */ \ |
| 209 OP(PostSubBufferCHROMIUM) /* 450 */ \ | 209 OP(PostSubBufferCHROMIUM) /* 450 */ \ |
| 210 OP(TexImageIOSurface2DCHROMIUM) /* 451 */ \ | 210 OP(TexImageIOSurface2DCHROMIUM) /* 451 */ \ |
| 211 OP(CopyTextureCHROMIUM) /* 452 */ \ | 211 OP(CopyTextureCHROMIUM) /* 452 */ \ |
| 212 OP(DrawArraysInstancedANGLE) /* 453 */ \ | 212 OP(CopyCompressedTextureCHROMIUM) /* 453 */ \ |
| 213 OP(DrawElementsInstancedANGLE) /* 454 */ \ | 213 OP(DrawArraysInstancedANGLE) /* 454 */ \ |
| 214 OP(VertexAttribDivisorANGLE) /* 455 */ \ | 214 OP(DrawElementsInstancedANGLE) /* 455 */ \ |
| 215 OP(GenMailboxCHROMIUM) /* 456 */ \ | 215 OP(VertexAttribDivisorANGLE) /* 456 */ \ |
| 216 OP(ProduceTextureCHROMIUMImmediate) /* 457 */ \ | 216 OP(GenMailboxCHROMIUM) /* 457 */ \ |
| 217 OP(ProduceTextureDirectCHROMIUMImmediate) /* 458 */ \ | 217 OP(ProduceTextureCHROMIUMImmediate) /* 458 */ \ |
| 218 OP(ConsumeTextureCHROMIUMImmediate) /* 459 */ \ | 218 OP(ProduceTextureDirectCHROMIUMImmediate) /* 459 */ \ |
| 219 OP(CreateAndConsumeTextureCHROMIUMImmediate) /* 460 */ \ | 219 OP(ConsumeTextureCHROMIUMImmediate) /* 460 */ \ |
| 220 OP(BindUniformLocationCHROMIUMBucket) /* 461 */ \ | 220 OP(CreateAndConsumeTextureCHROMIUMImmediate) /* 461 */ \ |
| 221 OP(GenValuebuffersCHROMIUMImmediate) /* 462 */ \ | 221 OP(BindUniformLocationCHROMIUMBucket) /* 462 */ \ |
| 222 OP(DeleteValuebuffersCHROMIUMImmediate) /* 463 */ \ | 222 OP(GenValuebuffersCHROMIUMImmediate) /* 463 */ \ |
| 223 OP(IsValuebufferCHROMIUM) /* 464 */ \ | 223 OP(DeleteValuebuffersCHROMIUMImmediate) /* 464 */ \ |
| 224 OP(BindValuebufferCHROMIUM) /* 465 */ \ | 224 OP(IsValuebufferCHROMIUM) /* 465 */ \ |
| 225 OP(SubscribeValueCHROMIUM) /* 466 */ \ | 225 OP(BindValuebufferCHROMIUM) /* 466 */ \ |
| 226 OP(PopulateSubscribedValuesCHROMIUM) /* 467 */ \ | 226 OP(SubscribeValueCHROMIUM) /* 467 */ \ |
| 227 OP(UniformValuebufferCHROMIUM) /* 468 */ \ | 227 OP(PopulateSubscribedValuesCHROMIUM) /* 468 */ \ |
| 228 OP(BindTexImage2DCHROMIUM) /* 469 */ \ | 228 OP(UniformValuebufferCHROMIUM) /* 469 */ \ |
| 229 OP(ReleaseTexImage2DCHROMIUM) /* 470 */ \ | 229 OP(BindTexImage2DCHROMIUM) /* 470 */ \ |
| 230 OP(TraceBeginCHROMIUM) /* 471 */ \ | 230 OP(ReleaseTexImage2DCHROMIUM) /* 471 */ \ |
| 231 OP(TraceEndCHROMIUM) /* 472 */ \ | 231 OP(TraceBeginCHROMIUM) /* 472 */ \ |
| 232 OP(AsyncTexSubImage2DCHROMIUM) /* 473 */ \ | 232 OP(TraceEndCHROMIUM) /* 473 */ \ |
| 233 OP(AsyncTexImage2DCHROMIUM) /* 474 */ \ | 233 OP(AsyncTexSubImage2DCHROMIUM) /* 474 */ \ |
| 234 OP(WaitAsyncTexImage2DCHROMIUM) /* 475 */ \ | 234 OP(AsyncTexImage2DCHROMIUM) /* 475 */ \ |
| 235 OP(WaitAllAsyncTexImage2DCHROMIUM) /* 476 */ \ | 235 OP(AsyncCompressedTexSubImage2DCHROMIUM) /* 476 */ \ |
| 236 OP(DiscardFramebufferEXTImmediate) /* 477 */ \ | 236 OP(AsyncCompressedTexImage2DCHROMIUM) /* 477 */ \ |
| 237 OP(LoseContextCHROMIUM) /* 478 */ \ | 237 OP(WaitAsyncTexImage2DCHROMIUM) /* 478 */ \ |
| 238 OP(InsertSyncPointCHROMIUM) /* 479 */ \ | 238 OP(WaitAllAsyncTexImage2DCHROMIUM) /* 479 */ \ |
| 239 OP(WaitSyncPointCHROMIUM) /* 480 */ \ | 239 OP(DiscardFramebufferEXTImmediate) /* 480 */ \ |
| 240 OP(DrawBuffersEXTImmediate) /* 481 */ \ | 240 OP(LoseContextCHROMIUM) /* 481 */ \ |
| 241 OP(DiscardBackbufferCHROMIUM) /* 482 */ \ | 241 OP(InsertSyncPointCHROMIUM) /* 482 */ \ |
| 242 OP(ScheduleOverlayPlaneCHROMIUM) /* 483 */ \ | 242 OP(WaitSyncPointCHROMIUM) /* 483 */ \ |
| 243 OP(SwapInterval) /* 484 */ \ | 243 OP(DrawBuffersEXTImmediate) /* 484 */ \ |
| 244 OP(MatrixLoadfCHROMIUMImmediate) /* 485 */ \ | 244 OP(DiscardBackbufferCHROMIUM) /* 485 */ \ |
| 245 OP(MatrixLoadIdentityCHROMIUM) /* 486 */ \ | 245 OP(ScheduleOverlayPlaneCHROMIUM) /* 486 */ \ |
| 246 OP(BlendBarrierKHR) /* 487 */ | 246 OP(SwapInterval) /* 487 */ \ |
| 247 OP(MatrixLoadfCHROMIUMImmediate) /* 488 */ \ |
| 248 OP(MatrixLoadIdentityCHROMIUM) /* 489 */ \ |
| 249 OP(BlendBarrierKHR) /* 490 */ |
| 247 | 250 |
| 248 enum CommandId { | 251 enum CommandId { |
| 249 kStartPoint = cmd::kLastCommonId, // All GLES2 commands start after this. | 252 kStartPoint = cmd::kLastCommonId, // All GLES2 commands start after this. |
| 250 #define GLES2_CMD_OP(name) k##name, | 253 #define GLES2_CMD_OP(name) k##name, |
| 251 GLES2_COMMAND_LIST(GLES2_CMD_OP) | 254 GLES2_COMMAND_LIST(GLES2_CMD_OP) |
| 252 #undef GLES2_CMD_OP | 255 #undef GLES2_CMD_OP |
| 253 kNumCommands | 256 kNumCommands |
| 254 }; | 257 }; |
| 255 | 258 |
| 256 #endif // GPU_COMMAND_BUFFER_COMMON_GLES2_CMD_IDS_AUTOGEN_H_ | 259 #endif // GPU_COMMAND_BUFFER_COMMON_GLES2_CMD_IDS_AUTOGEN_H_ |
| OLD | NEW |