| 12
 3
 4
 5
 6
 7
 8
 9
 10
 11
 12
 13
 14
 15
 16
 17
 18
 19
 20
 21
 22
 23
 24
 25
 26
 27
 28
 29
 30
 31
 32
 33
 34
 35
 36
 37
 38
 39
 40
 41
 42
 43
 44
 45
 46
 47
 48
 49
 50
 51
 52
 53
 54
 55
 56
 57
 58
 59
 60
 61
 62
 63
 64
 65
 66
 67
 68
 69
 70
 71
 72
 73
 74
 75
 76
 77
 78
 79
 80
 81
 82
 83
 84
 85
 86
 87
 88
 89
 90
 91
 92
 93
 94
 95
 96
 97
 98
 99
 100
 101
 102
 103
 104
 105
 106
 107
 108
 109
 110
 111
 112
 113
 114
 115
 116
 117
 118
 119
 120
 121
 122
 123
 124
 125
 126
 127
 128
 129
 130
 131
 132
 133
 134
 135
 136
 137
 138
 139
 140
 141
 142
 143
 144
 145
 146
 147
 148
 149
 150
 151
 152
 153
 154
 155
 156
 157
 158
 159
 160
 161
 162
 163
 164
 165
 166
 167
 168
 169
 170
 171
 172
 173
 174
 175
 176
 177
 178
 179
 180
 181
 182
 183
 184
 185
 186
 187
 188
 189
 190
 191
 192
 193
 194
 195
 196
 197
 198
 199
 200
 201
 202
 203
 204
 205
 206
 207
 208
 209
 210
 211
 212
 213
 214
 215
 216
 217
 218
 219
 220
 221
 222
 223
 
 | // Copyright 2014 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
// This file is auto-generated from
// gpu/command_buffer/build_gles2_cmd_buffer.py
// It's formatted by clang-format using chromium coding style:
//    clang-format -i -style=chromium filename
// DO NOT EDIT!
#ifndef GPU_COMMAND_BUFFER_COMMON_GLES2_CMD_IDS_AUTOGEN_H_
#define GPU_COMMAND_BUFFER_COMMON_GLES2_CMD_IDS_AUTOGEN_H_
#define GLES2_COMMAND_LIST(OP)                           \
  OP(ActiveTexture)                            /* 256 */ \
  OP(AttachShader)                             /* 257 */ \
  OP(BindAttribLocationBucket)                 /* 258 */ \
  OP(BindBuffer)                               /* 259 */ \
  OP(BindFramebuffer)                          /* 260 */ \
  OP(BindRenderbuffer)                         /* 261 */ \
  OP(BindTexture)                              /* 262 */ \
  OP(BlendColor)                               /* 263 */ \
  OP(BlendEquation)                            /* 264 */ \
  OP(BlendEquationSeparate)                    /* 265 */ \
  OP(BlendFunc)                                /* 266 */ \
  OP(BlendFuncSeparate)                        /* 267 */ \
  OP(BufferData)                               /* 268 */ \
  OP(BufferSubData)                            /* 269 */ \
  OP(CheckFramebufferStatus)                   /* 270 */ \
  OP(Clear)                                    /* 271 */ \
  OP(ClearColor)                               /* 272 */ \
  OP(ClearDepthf)                              /* 273 */ \
  OP(ClearStencil)                             /* 274 */ \
  OP(ColorMask)                                /* 275 */ \
  OP(CompileShader)                            /* 276 */ \
  OP(CompressedTexImage2DBucket)               /* 277 */ \
  OP(CompressedTexImage2D)                     /* 278 */ \
  OP(CompressedTexSubImage2DBucket)            /* 279 */ \
  OP(CompressedTexSubImage2D)                  /* 280 */ \
  OP(CopyTexImage2D)                           /* 281 */ \
  OP(CopyTexSubImage2D)                        /* 282 */ \
  OP(CreateProgram)                            /* 283 */ \
  OP(CreateShader)                             /* 284 */ \
  OP(CullFace)                                 /* 285 */ \
  OP(DeleteBuffersImmediate)                   /* 286 */ \
  OP(DeleteFramebuffersImmediate)              /* 287 */ \
  OP(DeleteProgram)                            /* 288 */ \
  OP(DeleteRenderbuffersImmediate)             /* 289 */ \
  OP(DeleteShader)                             /* 290 */ \
  OP(DeleteTexturesImmediate)                  /* 291 */ \
  OP(DepthFunc)                                /* 292 */ \
  OP(DepthMask)                                /* 293 */ \
  OP(DepthRangef)                              /* 294 */ \
  OP(DetachShader)                             /* 295 */ \
  OP(Disable)                                  /* 296 */ \
  OP(DisableVertexAttribArray)                 /* 297 */ \
  OP(DrawArrays)                               /* 298 */ \
  OP(DrawElements)                             /* 299 */ \
  OP(Enable)                                   /* 300 */ \
  OP(EnableVertexAttribArray)                  /* 301 */ \
  OP(Finish)                                   /* 302 */ \
  OP(Flush)                                    /* 303 */ \
  OP(FramebufferRenderbuffer)                  /* 304 */ \
  OP(FramebufferTexture2D)                     /* 305 */ \
  OP(FrontFace)                                /* 306 */ \
  OP(GenBuffersImmediate)                      /* 307 */ \
  OP(GenerateMipmap)                           /* 308 */ \
  OP(GenFramebuffersImmediate)                 /* 309 */ \
  OP(GenRenderbuffersImmediate)                /* 310 */ \
  OP(GenTexturesImmediate)                     /* 311 */ \
  OP(GetActiveAttrib)                          /* 312 */ \
  OP(GetActiveUniform)                         /* 313 */ \
  OP(GetAttachedShaders)                       /* 314 */ \
  OP(GetAttribLocation)                        /* 315 */ \
  OP(GetBooleanv)                              /* 316 */ \
  OP(GetBufferParameteriv)                     /* 317 */ \
  OP(GetError)                                 /* 318 */ \
  OP(GetFloatv)                                /* 319 */ \
  OP(GetFramebufferAttachmentParameteriv)      /* 320 */ \
  OP(GetIntegerv)                              /* 321 */ \
  OP(GetProgramiv)                             /* 322 */ \
  OP(GetProgramInfoLog)                        /* 323 */ \
  OP(GetRenderbufferParameteriv)               /* 324 */ \
  OP(GetShaderiv)                              /* 325 */ \
  OP(GetShaderInfoLog)                         /* 326 */ \
  OP(GetShaderPrecisionFormat)                 /* 327 */ \
  OP(GetShaderSource)                          /* 328 */ \
  OP(GetString)                                /* 329 */ \
  OP(GetTexParameterfv)                        /* 330 */ \
  OP(GetTexParameteriv)                        /* 331 */ \
  OP(GetUniformfv)                             /* 332 */ \
  OP(GetUniformiv)                             /* 333 */ \
  OP(GetUniformLocation)                       /* 334 */ \
  OP(GetVertexAttribfv)                        /* 335 */ \
  OP(GetVertexAttribiv)                        /* 336 */ \
  OP(GetVertexAttribPointerv)                  /* 337 */ \
  OP(Hint)                                     /* 338 */ \
  OP(IsBuffer)                                 /* 339 */ \
  OP(IsEnabled)                                /* 340 */ \
  OP(IsFramebuffer)                            /* 341 */ \
  OP(IsProgram)                                /* 342 */ \
  OP(IsRenderbuffer)                           /* 343 */ \
  OP(IsShader)                                 /* 344 */ \
  OP(IsTexture)                                /* 345 */ \
  OP(LineWidth)                                /* 346 */ \
  OP(LinkProgram)                              /* 347 */ \
  OP(PixelStorei)                              /* 348 */ \
  OP(PolygonOffset)                            /* 349 */ \
  OP(ReadPixels)                               /* 350 */ \
  OP(ReleaseShaderCompiler)                    /* 351 */ \
  OP(RenderbufferStorage)                      /* 352 */ \
  OP(SampleCoverage)                           /* 353 */ \
  OP(Scissor)                                  /* 354 */ \
  OP(ShaderBinary)                             /* 355 */ \
  OP(ShaderSourceBucket)                       /* 356 */ \
  OP(StencilFunc)                              /* 357 */ \
  OP(StencilFuncSeparate)                      /* 358 */ \
  OP(StencilMask)                              /* 359 */ \
  OP(StencilMaskSeparate)                      /* 360 */ \
  OP(StencilOp)                                /* 361 */ \
  OP(StencilOpSeparate)                        /* 362 */ \
  OP(TexImage2D)                               /* 363 */ \
  OP(TexParameterf)                            /* 364 */ \
  OP(TexParameterfvImmediate)                  /* 365 */ \
  OP(TexParameteri)                            /* 366 */ \
  OP(TexParameterivImmediate)                  /* 367 */ \
  OP(TexSubImage2D)                            /* 368 */ \
  OP(Uniform1f)                                /* 369 */ \
  OP(Uniform1fvImmediate)                      /* 370 */ \
  OP(Uniform1i)                                /* 371 */ \
  OP(Uniform1ivImmediate)                      /* 372 */ \
  OP(Uniform2f)                                /* 373 */ \
  OP(Uniform2fvImmediate)                      /* 374 */ \
  OP(Uniform2i)                                /* 375 */ \
  OP(Uniform2ivImmediate)                      /* 376 */ \
  OP(Uniform3f)                                /* 377 */ \
  OP(Uniform3fvImmediate)                      /* 378 */ \
  OP(Uniform3i)                                /* 379 */ \
  OP(Uniform3ivImmediate)                      /* 380 */ \
  OP(Uniform4f)                                /* 381 */ \
  OP(Uniform4fvImmediate)                      /* 382 */ \
  OP(Uniform4i)                                /* 383 */ \
  OP(Uniform4ivImmediate)                      /* 384 */ \
  OP(UniformMatrix2fvImmediate)                /* 385 */ \
  OP(UniformMatrix3fvImmediate)                /* 386 */ \
  OP(UniformMatrix4fvImmediate)                /* 387 */ \
  OP(UseProgram)                               /* 388 */ \
  OP(ValidateProgram)                          /* 389 */ \
  OP(VertexAttrib1f)                           /* 390 */ \
  OP(VertexAttrib1fvImmediate)                 /* 391 */ \
  OP(VertexAttrib2f)                           /* 392 */ \
  OP(VertexAttrib2fvImmediate)                 /* 393 */ \
  OP(VertexAttrib3f)                           /* 394 */ \
  OP(VertexAttrib3fvImmediate)                 /* 395 */ \
  OP(VertexAttrib4f)                           /* 396 */ \
  OP(VertexAttrib4fvImmediate)                 /* 397 */ \
  OP(VertexAttribPointer)                      /* 398 */ \
  OP(Viewport)                                 /* 399 */ \
  OP(BlitFramebufferCHROMIUM)                  /* 400 */ \
  OP(RenderbufferStorageMultisampleCHROMIUM)   /* 401 */ \
  OP(RenderbufferStorageMultisampleEXT)        /* 402 */ \
  OP(FramebufferTexture2DMultisampleEXT)       /* 403 */ \
  OP(TexStorage2DEXT)                          /* 404 */ \
  OP(GenQueriesEXTImmediate)                   /* 405 */ \
  OP(DeleteQueriesEXTImmediate)                /* 406 */ \
  OP(BeginQueryEXT)                            /* 407 */ \
  OP(EndQueryEXT)                              /* 408 */ \
  OP(InsertEventMarkerEXT)                     /* 409 */ \
  OP(PushGroupMarkerEXT)                       /* 410 */ \
  OP(PopGroupMarkerEXT)                        /* 411 */ \
  OP(GenVertexArraysOESImmediate)              /* 412 */ \
  OP(DeleteVertexArraysOESImmediate)           /* 413 */ \
  OP(IsVertexArrayOES)                         /* 414 */ \
  OP(BindVertexArrayOES)                       /* 415 */ \
  OP(SwapBuffers)                              /* 416 */ \
  OP(GetMaxValueInBufferCHROMIUM)              /* 417 */ \
  OP(GenSharedIdsCHROMIUM)                     /* 418 */ \
  OP(DeleteSharedIdsCHROMIUM)                  /* 419 */ \
  OP(RegisterSharedIdsCHROMIUM)                /* 420 */ \
  OP(EnableFeatureCHROMIUM)                    /* 421 */ \
  OP(ResizeCHROMIUM)                           /* 422 */ \
  OP(GetRequestableExtensionsCHROMIUM)         /* 423 */ \
  OP(RequestExtensionCHROMIUM)                 /* 424 */ \
  OP(GetMultipleIntegervCHROMIUM)              /* 425 */ \
  OP(GetProgramInfoCHROMIUM)                   /* 426 */ \
  OP(GetTranslatedShaderSourceANGLE)           /* 427 */ \
  OP(PostSubBufferCHROMIUM)                    /* 428 */ \
  OP(TexImageIOSurface2DCHROMIUM)              /* 429 */ \
  OP(CopyTextureCHROMIUM)                      /* 430 */ \
  OP(DrawArraysInstancedANGLE)                 /* 431 */ \
  OP(DrawElementsInstancedANGLE)               /* 432 */ \
  OP(VertexAttribDivisorANGLE)                 /* 433 */ \
  OP(GenMailboxCHROMIUM)                       /* 434 */ \
  OP(ProduceTextureCHROMIUMImmediate)          /* 435 */ \
  OP(ProduceTextureDirectCHROMIUMImmediate)    /* 436 */ \
  OP(ConsumeTextureCHROMIUMImmediate)          /* 437 */ \
  OP(CreateAndConsumeTextureCHROMIUMImmediate) /* 438 */ \
  OP(BindUniformLocationCHROMIUMBucket)        /* 439 */ \
  OP(BindTexImage2DCHROMIUM)                   /* 440 */ \
  OP(ReleaseTexImage2DCHROMIUM)                /* 441 */ \
  OP(TraceBeginCHROMIUM)                       /* 442 */ \
  OP(TraceEndCHROMIUM)                         /* 443 */ \
  OP(AsyncTexSubImage2DCHROMIUM)               /* 444 */ \
  OP(AsyncTexImage2DCHROMIUM)                  /* 445 */ \
  OP(WaitAsyncTexImage2DCHROMIUM)              /* 446 */ \
  OP(WaitAllAsyncTexImage2DCHROMIUM)           /* 447 */ \
  OP(DiscardFramebufferEXTImmediate)           /* 448 */ \
  OP(LoseContextCHROMIUM)                      /* 449 */ \
  OP(InsertSyncPointCHROMIUM)                  /* 450 */ \
  OP(WaitSyncPointCHROMIUM)                    /* 451 */ \
  OP(DrawBuffersEXTImmediate)                  /* 452 */ \
  OP(DiscardBackbufferCHROMIUM)                /* 453 */ \
  OP(ScheduleOverlayPlaneCHROMIUM)             /* 454 */
enum CommandId {
  kStartPoint = cmd::kLastCommonId,  // All GLES2 commands start after this.
#define GLES2_CMD_OP(name) k##name,
  GLES2_COMMAND_LIST(GLES2_CMD_OP)
#undef GLES2_CMD_OP
  kNumCommands
};
#endif  // GPU_COMMAND_BUFFER_COMMON_GLES2_CMD_IDS_AUTOGEN_H_
 |