summaryrefslogtreecommitdiffstats
path: root/gpu/command_buffer/common/gles2_cmd_ids_autogen.h
blob: 824ceb2fec36c5dc409854e41ca7b6aad93eb8af (plain)
1
2
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
224
225
226
227
228
// 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(BindAttribLocation)                       /* 258 */ \
  OP(BindAttribLocationBucket)                 /* 259 */ \
  OP(BindBuffer)                               /* 260 */ \
  OP(BindFramebuffer)                          /* 261 */ \
  OP(BindRenderbuffer)                         /* 262 */ \
  OP(BindTexture)                              /* 263 */ \
  OP(BlendColor)                               /* 264 */ \
  OP(BlendEquation)                            /* 265 */ \
  OP(BlendEquationSeparate)                    /* 266 */ \
  OP(BlendFunc)                                /* 267 */ \
  OP(BlendFuncSeparate)                        /* 268 */ \
  OP(BufferData)                               /* 269 */ \
  OP(BufferSubData)                            /* 270 */ \
  OP(CheckFramebufferStatus)                   /* 271 */ \
  OP(Clear)                                    /* 272 */ \
  OP(ClearColor)                               /* 273 */ \
  OP(ClearDepthf)                              /* 274 */ \
  OP(ClearStencil)                             /* 275 */ \
  OP(ColorMask)                                /* 276 */ \
  OP(CompileShader)                            /* 277 */ \
  OP(CompressedTexImage2D)                     /* 278 */ \
  OP(CompressedTexImage2DBucket)               /* 279 */ \
  OP(CompressedTexSubImage2D)                  /* 280 */ \
  OP(CompressedTexSubImage2DBucket)            /* 281 */ \
  OP(CopyTexImage2D)                           /* 282 */ \
  OP(CopyTexSubImage2D)                        /* 283 */ \
  OP(CreateProgram)                            /* 284 */ \
  OP(CreateShader)                             /* 285 */ \
  OP(CullFace)                                 /* 286 */ \
  OP(DeleteBuffersImmediate)                   /* 287 */ \
  OP(DeleteFramebuffersImmediate)              /* 288 */ \
  OP(DeleteProgram)                            /* 289 */ \
  OP(DeleteRenderbuffersImmediate)             /* 290 */ \
  OP(DeleteShader)                             /* 291 */ \
  OP(DeleteTexturesImmediate)                  /* 292 */ \
  OP(DepthFunc)                                /* 293 */ \
  OP(DepthMask)                                /* 294 */ \
  OP(DepthRangef)                              /* 295 */ \
  OP(DetachShader)                             /* 296 */ \
  OP(Disable)                                  /* 297 */ \
  OP(DisableVertexAttribArray)                 /* 298 */ \
  OP(DrawArrays)                               /* 299 */ \
  OP(DrawElements)                             /* 300 */ \
  OP(Enable)                                   /* 301 */ \
  OP(EnableVertexAttribArray)                  /* 302 */ \
  OP(Finish)                                   /* 303 */ \
  OP(Flush)                                    /* 304 */ \
  OP(FramebufferRenderbuffer)                  /* 305 */ \
  OP(FramebufferTexture2D)                     /* 306 */ \
  OP(FrontFace)                                /* 307 */ \
  OP(GenBuffersImmediate)                      /* 308 */ \
  OP(GenerateMipmap)                           /* 309 */ \
  OP(GenFramebuffersImmediate)                 /* 310 */ \
  OP(GenRenderbuffersImmediate)                /* 311 */ \
  OP(GenTexturesImmediate)                     /* 312 */ \
  OP(GetActiveAttrib)                          /* 313 */ \
  OP(GetActiveUniform)                         /* 314 */ \
  OP(GetAttachedShaders)                       /* 315 */ \
  OP(GetAttribLocation)                        /* 316 */ \
  OP(GetAttribLocationBucket)                  /* 317 */ \
  OP(GetBooleanv)                              /* 318 */ \
  OP(GetBufferParameteriv)                     /* 319 */ \
  OP(GetError)                                 /* 320 */ \
  OP(GetFloatv)                                /* 321 */ \
  OP(GetFramebufferAttachmentParameteriv)      /* 322 */ \
  OP(GetIntegerv)                              /* 323 */ \
  OP(GetProgramiv)                             /* 324 */ \
  OP(GetProgramInfoLog)                        /* 325 */ \
  OP(GetRenderbufferParameteriv)               /* 326 */ \
  OP(GetShaderiv)                              /* 327 */ \
  OP(GetShaderInfoLog)                         /* 328 */ \
  OP(GetShaderPrecisionFormat)                 /* 329 */ \
  OP(GetShaderSource)                          /* 330 */ \
  OP(GetString)                                /* 331 */ \
  OP(GetTexParameterfv)                        /* 332 */ \
  OP(GetTexParameteriv)                        /* 333 */ \
  OP(GetUniformfv)                             /* 334 */ \
  OP(GetUniformiv)                             /* 335 */ \
  OP(GetUniformLocation)                       /* 336 */ \
  OP(GetUniformLocationBucket)                 /* 337 */ \
  OP(GetVertexAttribfv)                        /* 338 */ \
  OP(GetVertexAttribiv)                        /* 339 */ \
  OP(GetVertexAttribPointerv)                  /* 340 */ \
  OP(Hint)                                     /* 341 */ \
  OP(IsBuffer)                                 /* 342 */ \
  OP(IsEnabled)                                /* 343 */ \
  OP(IsFramebuffer)                            /* 344 */ \
  OP(IsProgram)                                /* 345 */ \
  OP(IsRenderbuffer)                           /* 346 */ \
  OP(IsShader)                                 /* 347 */ \
  OP(IsTexture)                                /* 348 */ \
  OP(LineWidth)                                /* 349 */ \
  OP(LinkProgram)                              /* 350 */ \
  OP(PixelStorei)                              /* 351 */ \
  OP(PolygonOffset)                            /* 352 */ \
  OP(ReadPixels)                               /* 353 */ \
  OP(ReleaseShaderCompiler)                    /* 354 */ \
  OP(RenderbufferStorage)                      /* 355 */ \
  OP(SampleCoverage)                           /* 356 */ \
  OP(Scissor)                                  /* 357 */ \
  OP(ShaderBinary)                             /* 358 */ \
  OP(ShaderSource)                             /* 359 */ \
  OP(ShaderSourceBucket)                       /* 360 */ \
  OP(StencilFunc)                              /* 361 */ \
  OP(StencilFuncSeparate)                      /* 362 */ \
  OP(StencilMask)                              /* 363 */ \
  OP(StencilMaskSeparate)                      /* 364 */ \
  OP(StencilOp)                                /* 365 */ \
  OP(StencilOpSeparate)                        /* 366 */ \
  OP(TexImage2D)                               /* 367 */ \
  OP(TexParameterf)                            /* 368 */ \
  OP(TexParameterfvImmediate)                  /* 369 */ \
  OP(TexParameteri)                            /* 370 */ \
  OP(TexParameterivImmediate)                  /* 371 */ \
  OP(TexSubImage2D)                            /* 372 */ \
  OP(Uniform1f)                                /* 373 */ \
  OP(Uniform1fvImmediate)                      /* 374 */ \
  OP(Uniform1i)                                /* 375 */ \
  OP(Uniform1ivImmediate)                      /* 376 */ \
  OP(Uniform2f)                                /* 377 */ \
  OP(Uniform2fvImmediate)                      /* 378 */ \
  OP(Uniform2i)                                /* 379 */ \
  OP(Uniform2ivImmediate)                      /* 380 */ \
  OP(Uniform3f)                                /* 381 */ \
  OP(Uniform3fvImmediate)                      /* 382 */ \
  OP(Uniform3i)                                /* 383 */ \
  OP(Uniform3ivImmediate)                      /* 384 */ \
  OP(Uniform4f)                                /* 385 */ \
  OP(Uniform4fvImmediate)                      /* 386 */ \
  OP(Uniform4i)                                /* 387 */ \
  OP(Uniform4ivImmediate)                      /* 388 */ \
  OP(UniformMatrix2fvImmediate)                /* 389 */ \
  OP(UniformMatrix3fvImmediate)                /* 390 */ \
  OP(UniformMatrix4fvImmediate)                /* 391 */ \
  OP(UseProgram)                               /* 392 */ \
  OP(ValidateProgram)                          /* 393 */ \
  OP(VertexAttrib1f)                           /* 394 */ \
  OP(VertexAttrib1fvImmediate)                 /* 395 */ \
  OP(VertexAttrib2f)                           /* 396 */ \
  OP(VertexAttrib2fvImmediate)                 /* 397 */ \
  OP(VertexAttrib3f)                           /* 398 */ \
  OP(VertexAttrib3fvImmediate)                 /* 399 */ \
  OP(VertexAttrib4f)                           /* 400 */ \
  OP(VertexAttrib4fvImmediate)                 /* 401 */ \
  OP(VertexAttribPointer)                      /* 402 */ \
  OP(Viewport)                                 /* 403 */ \
  OP(BlitFramebufferCHROMIUM)                  /* 404 */ \
  OP(RenderbufferStorageMultisampleCHROMIUM)   /* 405 */ \
  OP(RenderbufferStorageMultisampleEXT)        /* 406 */ \
  OP(FramebufferTexture2DMultisampleEXT)       /* 407 */ \
  OP(TexStorage2DEXT)                          /* 408 */ \
  OP(GenQueriesEXTImmediate)                   /* 409 */ \
  OP(DeleteQueriesEXTImmediate)                /* 410 */ \
  OP(BeginQueryEXT)                            /* 411 */ \
  OP(EndQueryEXT)                              /* 412 */ \
  OP(InsertEventMarkerEXT)                     /* 413 */ \
  OP(PushGroupMarkerEXT)                       /* 414 */ \
  OP(PopGroupMarkerEXT)                        /* 415 */ \
  OP(GenVertexArraysOESImmediate)              /* 416 */ \
  OP(DeleteVertexArraysOESImmediate)           /* 417 */ \
  OP(IsVertexArrayOES)                         /* 418 */ \
  OP(BindVertexArrayOES)                       /* 419 */ \
  OP(SwapBuffers)                              /* 420 */ \
  OP(GetMaxValueInBufferCHROMIUM)              /* 421 */ \
  OP(GenSharedIdsCHROMIUM)                     /* 422 */ \
  OP(DeleteSharedIdsCHROMIUM)                  /* 423 */ \
  OP(RegisterSharedIdsCHROMIUM)                /* 424 */ \
  OP(EnableFeatureCHROMIUM)                    /* 425 */ \
  OP(ResizeCHROMIUM)                           /* 426 */ \
  OP(GetRequestableExtensionsCHROMIUM)         /* 427 */ \
  OP(RequestExtensionCHROMIUM)                 /* 428 */ \
  OP(GetMultipleIntegervCHROMIUM)              /* 429 */ \
  OP(GetProgramInfoCHROMIUM)                   /* 430 */ \
  OP(GetTranslatedShaderSourceANGLE)           /* 431 */ \
  OP(PostSubBufferCHROMIUM)                    /* 432 */ \
  OP(TexImageIOSurface2DCHROMIUM)              /* 433 */ \
  OP(CopyTextureCHROMIUM)                      /* 434 */ \
  OP(DrawArraysInstancedANGLE)                 /* 435 */ \
  OP(DrawElementsInstancedANGLE)               /* 436 */ \
  OP(VertexAttribDivisorANGLE)                 /* 437 */ \
  OP(GenMailboxCHROMIUM)                       /* 438 */ \
  OP(ProduceTextureCHROMIUMImmediate)          /* 439 */ \
  OP(ProduceTextureDirectCHROMIUMImmediate)    /* 440 */ \
  OP(ConsumeTextureCHROMIUMImmediate)          /* 441 */ \
  OP(CreateAndConsumeTextureCHROMIUMImmediate) /* 442 */ \
  OP(BindUniformLocationCHROMIUM)              /* 443 */ \
  OP(BindUniformLocationCHROMIUMBucket)        /* 444 */ \
  OP(BindTexImage2DCHROMIUM)                   /* 445 */ \
  OP(ReleaseTexImage2DCHROMIUM)                /* 446 */ \
  OP(TraceBeginCHROMIUM)                       /* 447 */ \
  OP(TraceEndCHROMIUM)                         /* 448 */ \
  OP(AsyncTexSubImage2DCHROMIUM)               /* 449 */ \
  OP(AsyncTexImage2DCHROMIUM)                  /* 450 */ \
  OP(WaitAsyncTexImage2DCHROMIUM)              /* 451 */ \
  OP(WaitAllAsyncTexImage2DCHROMIUM)           /* 452 */ \
  OP(DiscardFramebufferEXTImmediate)           /* 453 */ \
  OP(LoseContextCHROMIUM)                      /* 454 */ \
  OP(InsertSyncPointCHROMIUM)                  /* 455 */ \
  OP(WaitSyncPointCHROMIUM)                    /* 456 */ \
  OP(DrawBuffersEXTImmediate)                  /* 457 */ \
  OP(DiscardBackbufferCHROMIUM)                /* 458 */ \
  OP(ScheduleOverlayPlaneCHROMIUM)             /* 459 */

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_