Fix crash in SpeechRecognizerImpl introduced in AudioParams refactor.
[chromium-blink-merge.git] / gpu / command_buffer / common / gles2_cmd_ids_autogen.h
blob010dac0475a9f5bd978865220d713e0cf236841b
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
3 // found in the LICENSE file.
5 // This file is auto-generated from
6 // gpu/command_buffer/build_gles2_cmd_buffer.py
7 // It's formatted by clang-format using chromium coding style:
8 // clang-format -i -style=chromium filename
9 // DO NOT EDIT!
11 #ifndef GPU_COMMAND_BUFFER_COMMON_GLES2_CMD_IDS_AUTOGEN_H_
12 #define GPU_COMMAND_BUFFER_COMMON_GLES2_CMD_IDS_AUTOGEN_H_
14 #define GLES2_COMMAND_LIST(OP) \
15 OP(ActiveTexture) /* 256 */ \
16 OP(AttachShader) /* 257 */ \
17 OP(BindAttribLocationBucket) /* 258 */ \
18 OP(BindBuffer) /* 259 */ \
19 OP(BindBufferBase) /* 260 */ \
20 OP(BindBufferRange) /* 261 */ \
21 OP(BindFramebuffer) /* 262 */ \
22 OP(BindRenderbuffer) /* 263 */ \
23 OP(BindSampler) /* 264 */ \
24 OP(BindTexture) /* 265 */ \
25 OP(BindTransformFeedback) /* 266 */ \
26 OP(BlendColor) /* 267 */ \
27 OP(BlendEquation) /* 268 */ \
28 OP(BlendEquationSeparate) /* 269 */ \
29 OP(BlendFunc) /* 270 */ \
30 OP(BlendFuncSeparate) /* 271 */ \
31 OP(BufferData) /* 272 */ \
32 OP(BufferSubData) /* 273 */ \
33 OP(CheckFramebufferStatus) /* 274 */ \
34 OP(Clear) /* 275 */ \
35 OP(ClearBufferfi) /* 276 */ \
36 OP(ClearBufferfvImmediate) /* 277 */ \
37 OP(ClearBufferivImmediate) /* 278 */ \
38 OP(ClearBufferuivImmediate) /* 279 */ \
39 OP(ClearColor) /* 280 */ \
40 OP(ClearDepthf) /* 281 */ \
41 OP(ClearStencil) /* 282 */ \
42 OP(ClientWaitSync) /* 283 */ \
43 OP(ColorMask) /* 284 */ \
44 OP(CompileShader) /* 285 */ \
45 OP(CompressedTexImage2DBucket) /* 286 */ \
46 OP(CompressedTexImage2D) /* 287 */ \
47 OP(CompressedTexSubImage2DBucket) /* 288 */ \
48 OP(CompressedTexSubImage2D) /* 289 */ \
49 OP(CompressedTexImage3DBucket) /* 290 */ \
50 OP(CompressedTexImage3D) /* 291 */ \
51 OP(CompressedTexSubImage3DBucket) /* 292 */ \
52 OP(CompressedTexSubImage3D) /* 293 */ \
53 OP(CopyBufferSubData) /* 294 */ \
54 OP(CopyTexImage2D) /* 295 */ \
55 OP(CopyTexSubImage2D) /* 296 */ \
56 OP(CopyTexSubImage3D) /* 297 */ \
57 OP(CreateProgram) /* 298 */ \
58 OP(CreateShader) /* 299 */ \
59 OP(CullFace) /* 300 */ \
60 OP(DeleteBuffersImmediate) /* 301 */ \
61 OP(DeleteFramebuffersImmediate) /* 302 */ \
62 OP(DeleteProgram) /* 303 */ \
63 OP(DeleteRenderbuffersImmediate) /* 304 */ \
64 OP(DeleteSamplersImmediate) /* 305 */ \
65 OP(DeleteSync) /* 306 */ \
66 OP(DeleteShader) /* 307 */ \
67 OP(DeleteTexturesImmediate) /* 308 */ \
68 OP(DeleteTransformFeedbacksImmediate) /* 309 */ \
69 OP(DepthFunc) /* 310 */ \
70 OP(DepthMask) /* 311 */ \
71 OP(DepthRangef) /* 312 */ \
72 OP(DetachShader) /* 313 */ \
73 OP(Disable) /* 314 */ \
74 OP(DisableVertexAttribArray) /* 315 */ \
75 OP(DrawArrays) /* 316 */ \
76 OP(DrawElements) /* 317 */ \
77 OP(Enable) /* 318 */ \
78 OP(EnableVertexAttribArray) /* 319 */ \
79 OP(FenceSync) /* 320 */ \
80 OP(Finish) /* 321 */ \
81 OP(Flush) /* 322 */ \
82 OP(FramebufferRenderbuffer) /* 323 */ \
83 OP(FramebufferTexture2D) /* 324 */ \
84 OP(FramebufferTextureLayer) /* 325 */ \
85 OP(FrontFace) /* 326 */ \
86 OP(GenBuffersImmediate) /* 327 */ \
87 OP(GenerateMipmap) /* 328 */ \
88 OP(GenFramebuffersImmediate) /* 329 */ \
89 OP(GenRenderbuffersImmediate) /* 330 */ \
90 OP(GenSamplersImmediate) /* 331 */ \
91 OP(GenTexturesImmediate) /* 332 */ \
92 OP(GenTransformFeedbacksImmediate) /* 333 */ \
93 OP(GetActiveAttrib) /* 334 */ \
94 OP(GetActiveUniform) /* 335 */ \
95 OP(GetActiveUniformBlockiv) /* 336 */ \
96 OP(GetActiveUniformBlockName) /* 337 */ \
97 OP(GetActiveUniformsiv) /* 338 */ \
98 OP(GetAttachedShaders) /* 339 */ \
99 OP(GetAttribLocation) /* 340 */ \
100 OP(GetBooleanv) /* 341 */ \
101 OP(GetBufferParameteri64v) /* 342 */ \
102 OP(GetBufferParameteriv) /* 343 */ \
103 OP(GetError) /* 344 */ \
104 OP(GetFloatv) /* 345 */ \
105 OP(GetFragDataLocation) /* 346 */ \
106 OP(GetFramebufferAttachmentParameteriv) /* 347 */ \
107 OP(GetInteger64v) /* 348 */ \
108 OP(GetIntegeri_v) /* 349 */ \
109 OP(GetInteger64i_v) /* 350 */ \
110 OP(GetIntegerv) /* 351 */ \
111 OP(GetInternalformativ) /* 352 */ \
112 OP(GetProgramiv) /* 353 */ \
113 OP(GetProgramInfoLog) /* 354 */ \
114 OP(GetRenderbufferParameteriv) /* 355 */ \
115 OP(GetSamplerParameterfv) /* 356 */ \
116 OP(GetSamplerParameteriv) /* 357 */ \
117 OP(GetShaderiv) /* 358 */ \
118 OP(GetShaderInfoLog) /* 359 */ \
119 OP(GetShaderPrecisionFormat) /* 360 */ \
120 OP(GetShaderSource) /* 361 */ \
121 OP(GetString) /* 362 */ \
122 OP(GetSynciv) /* 363 */ \
123 OP(GetTexParameterfv) /* 364 */ \
124 OP(GetTexParameteriv) /* 365 */ \
125 OP(GetTransformFeedbackVarying) /* 366 */ \
126 OP(GetUniformBlockIndex) /* 367 */ \
127 OP(GetUniformfv) /* 368 */ \
128 OP(GetUniformiv) /* 369 */ \
129 OP(GetUniformuiv) /* 370 */ \
130 OP(GetUniformIndices) /* 371 */ \
131 OP(GetUniformLocation) /* 372 */ \
132 OP(GetVertexAttribfv) /* 373 */ \
133 OP(GetVertexAttribiv) /* 374 */ \
134 OP(GetVertexAttribIiv) /* 375 */ \
135 OP(GetVertexAttribIuiv) /* 376 */ \
136 OP(GetVertexAttribPointerv) /* 377 */ \
137 OP(Hint) /* 378 */ \
138 OP(InvalidateFramebufferImmediate) /* 379 */ \
139 OP(InvalidateSubFramebufferImmediate) /* 380 */ \
140 OP(IsBuffer) /* 381 */ \
141 OP(IsEnabled) /* 382 */ \
142 OP(IsFramebuffer) /* 383 */ \
143 OP(IsProgram) /* 384 */ \
144 OP(IsRenderbuffer) /* 385 */ \
145 OP(IsSampler) /* 386 */ \
146 OP(IsShader) /* 387 */ \
147 OP(IsSync) /* 388 */ \
148 OP(IsTexture) /* 389 */ \
149 OP(IsTransformFeedback) /* 390 */ \
150 OP(LineWidth) /* 391 */ \
151 OP(LinkProgram) /* 392 */ \
152 OP(PauseTransformFeedback) /* 393 */ \
153 OP(PixelStorei) /* 394 */ \
154 OP(PolygonOffset) /* 395 */ \
155 OP(ReadBuffer) /* 396 */ \
156 OP(ReadPixels) /* 397 */ \
157 OP(ReleaseShaderCompiler) /* 398 */ \
158 OP(RenderbufferStorage) /* 399 */ \
159 OP(ResumeTransformFeedback) /* 400 */ \
160 OP(SampleCoverage) /* 401 */ \
161 OP(SamplerParameterf) /* 402 */ \
162 OP(SamplerParameterfvImmediate) /* 403 */ \
163 OP(SamplerParameteri) /* 404 */ \
164 OP(SamplerParameterivImmediate) /* 405 */ \
165 OP(Scissor) /* 406 */ \
166 OP(ShaderBinary) /* 407 */ \
167 OP(ShaderSourceBucket) /* 408 */ \
168 OP(StencilFunc) /* 409 */ \
169 OP(StencilFuncSeparate) /* 410 */ \
170 OP(StencilMask) /* 411 */ \
171 OP(StencilMaskSeparate) /* 412 */ \
172 OP(StencilOp) /* 413 */ \
173 OP(StencilOpSeparate) /* 414 */ \
174 OP(TexImage2D) /* 415 */ \
175 OP(TexImage3D) /* 416 */ \
176 OP(TexParameterf) /* 417 */ \
177 OP(TexParameterfvImmediate) /* 418 */ \
178 OP(TexParameteri) /* 419 */ \
179 OP(TexParameterivImmediate) /* 420 */ \
180 OP(TexStorage3D) /* 421 */ \
181 OP(TexSubImage2D) /* 422 */ \
182 OP(TexSubImage3D) /* 423 */ \
183 OP(TransformFeedbackVaryingsBucket) /* 424 */ \
184 OP(Uniform1f) /* 425 */ \
185 OP(Uniform1fvImmediate) /* 426 */ \
186 OP(Uniform1i) /* 427 */ \
187 OP(Uniform1ivImmediate) /* 428 */ \
188 OP(Uniform1ui) /* 429 */ \
189 OP(Uniform1uivImmediate) /* 430 */ \
190 OP(Uniform2f) /* 431 */ \
191 OP(Uniform2fvImmediate) /* 432 */ \
192 OP(Uniform2i) /* 433 */ \
193 OP(Uniform2ivImmediate) /* 434 */ \
194 OP(Uniform2ui) /* 435 */ \
195 OP(Uniform2uivImmediate) /* 436 */ \
196 OP(Uniform3f) /* 437 */ \
197 OP(Uniform3fvImmediate) /* 438 */ \
198 OP(Uniform3i) /* 439 */ \
199 OP(Uniform3ivImmediate) /* 440 */ \
200 OP(Uniform3ui) /* 441 */ \
201 OP(Uniform3uivImmediate) /* 442 */ \
202 OP(Uniform4f) /* 443 */ \
203 OP(Uniform4fvImmediate) /* 444 */ \
204 OP(Uniform4i) /* 445 */ \
205 OP(Uniform4ivImmediate) /* 446 */ \
206 OP(Uniform4ui) /* 447 */ \
207 OP(Uniform4uivImmediate) /* 448 */ \
208 OP(UniformBlockBinding) /* 449 */ \
209 OP(UniformMatrix2fvImmediate) /* 450 */ \
210 OP(UniformMatrix2x3fvImmediate) /* 451 */ \
211 OP(UniformMatrix2x4fvImmediate) /* 452 */ \
212 OP(UniformMatrix3fvImmediate) /* 453 */ \
213 OP(UniformMatrix3x2fvImmediate) /* 454 */ \
214 OP(UniformMatrix3x4fvImmediate) /* 455 */ \
215 OP(UniformMatrix4fvImmediate) /* 456 */ \
216 OP(UniformMatrix4x2fvImmediate) /* 457 */ \
217 OP(UniformMatrix4x3fvImmediate) /* 458 */ \
218 OP(UseProgram) /* 459 */ \
219 OP(ValidateProgram) /* 460 */ \
220 OP(VertexAttrib1f) /* 461 */ \
221 OP(VertexAttrib1fvImmediate) /* 462 */ \
222 OP(VertexAttrib2f) /* 463 */ \
223 OP(VertexAttrib2fvImmediate) /* 464 */ \
224 OP(VertexAttrib3f) /* 465 */ \
225 OP(VertexAttrib3fvImmediate) /* 466 */ \
226 OP(VertexAttrib4f) /* 467 */ \
227 OP(VertexAttrib4fvImmediate) /* 468 */ \
228 OP(VertexAttribI4i) /* 469 */ \
229 OP(VertexAttribI4ivImmediate) /* 470 */ \
230 OP(VertexAttribI4ui) /* 471 */ \
231 OP(VertexAttribI4uivImmediate) /* 472 */ \
232 OP(VertexAttribIPointer) /* 473 */ \
233 OP(VertexAttribPointer) /* 474 */ \
234 OP(Viewport) /* 475 */ \
235 OP(WaitSync) /* 476 */ \
236 OP(BlitFramebufferCHROMIUM) /* 477 */ \
237 OP(RenderbufferStorageMultisampleCHROMIUM) /* 478 */ \
238 OP(RenderbufferStorageMultisampleEXT) /* 479 */ \
239 OP(FramebufferTexture2DMultisampleEXT) /* 480 */ \
240 OP(TexStorage2DEXT) /* 481 */ \
241 OP(GenQueriesEXTImmediate) /* 482 */ \
242 OP(DeleteQueriesEXTImmediate) /* 483 */ \
243 OP(QueryCounterEXT) /* 484 */ \
244 OP(BeginQueryEXT) /* 485 */ \
245 OP(BeginTransformFeedback) /* 486 */ \
246 OP(EndQueryEXT) /* 487 */ \
247 OP(EndTransformFeedback) /* 488 */ \
248 OP(SetDisjointValueSyncCHROMIUM) /* 489 */ \
249 OP(InsertEventMarkerEXT) /* 490 */ \
250 OP(PushGroupMarkerEXT) /* 491 */ \
251 OP(PopGroupMarkerEXT) /* 492 */ \
252 OP(GenVertexArraysOESImmediate) /* 493 */ \
253 OP(DeleteVertexArraysOESImmediate) /* 494 */ \
254 OP(IsVertexArrayOES) /* 495 */ \
255 OP(BindVertexArrayOES) /* 496 */ \
256 OP(SwapBuffers) /* 497 */ \
257 OP(GetMaxValueInBufferCHROMIUM) /* 498 */ \
258 OP(EnableFeatureCHROMIUM) /* 499 */ \
259 OP(MapBufferRange) /* 500 */ \
260 OP(UnmapBuffer) /* 501 */ \
261 OP(ResizeCHROMIUM) /* 502 */ \
262 OP(GetRequestableExtensionsCHROMIUM) /* 503 */ \
263 OP(RequestExtensionCHROMIUM) /* 504 */ \
264 OP(GetProgramInfoCHROMIUM) /* 505 */ \
265 OP(GetUniformBlocksCHROMIUM) /* 506 */ \
266 OP(GetTransformFeedbackVaryingsCHROMIUM) /* 507 */ \
267 OP(GetUniformsES3CHROMIUM) /* 508 */ \
268 OP(GetTranslatedShaderSourceANGLE) /* 509 */ \
269 OP(PostSubBufferCHROMIUM) /* 510 */ \
270 OP(TexImageIOSurface2DCHROMIUM) /* 511 */ \
271 OP(CopyTextureCHROMIUM) /* 512 */ \
272 OP(CopySubTextureCHROMIUM) /* 513 */ \
273 OP(CompressedCopyTextureCHROMIUM) /* 514 */ \
274 OP(CompressedCopySubTextureCHROMIUM) /* 515 */ \
275 OP(DrawArraysInstancedANGLE) /* 516 */ \
276 OP(DrawElementsInstancedANGLE) /* 517 */ \
277 OP(VertexAttribDivisorANGLE) /* 518 */ \
278 OP(GenMailboxCHROMIUM) /* 519 */ \
279 OP(ProduceTextureCHROMIUMImmediate) /* 520 */ \
280 OP(ProduceTextureDirectCHROMIUMImmediate) /* 521 */ \
281 OP(ConsumeTextureCHROMIUMImmediate) /* 522 */ \
282 OP(CreateAndConsumeTextureCHROMIUMImmediate) /* 523 */ \
283 OP(BindUniformLocationCHROMIUMBucket) /* 524 */ \
284 OP(GenValuebuffersCHROMIUMImmediate) /* 525 */ \
285 OP(DeleteValuebuffersCHROMIUMImmediate) /* 526 */ \
286 OP(IsValuebufferCHROMIUM) /* 527 */ \
287 OP(BindValuebufferCHROMIUM) /* 528 */ \
288 OP(SubscribeValueCHROMIUM) /* 529 */ \
289 OP(PopulateSubscribedValuesCHROMIUM) /* 530 */ \
290 OP(UniformValuebufferCHROMIUM) /* 531 */ \
291 OP(BindTexImage2DCHROMIUM) /* 532 */ \
292 OP(ReleaseTexImage2DCHROMIUM) /* 533 */ \
293 OP(TraceBeginCHROMIUM) /* 534 */ \
294 OP(TraceEndCHROMIUM) /* 535 */ \
295 OP(DiscardFramebufferEXTImmediate) /* 536 */ \
296 OP(LoseContextCHROMIUM) /* 537 */ \
297 OP(InsertSyncPointCHROMIUM) /* 538 */ \
298 OP(WaitSyncPointCHROMIUM) /* 539 */ \
299 OP(DrawBuffersEXTImmediate) /* 540 */ \
300 OP(DiscardBackbufferCHROMIUM) /* 541 */ \
301 OP(ScheduleOverlayPlaneCHROMIUM) /* 542 */ \
302 OP(SwapInterval) /* 543 */ \
303 OP(FlushDriverCachesCHROMIUM) /* 544 */ \
304 OP(MatrixLoadfCHROMIUMImmediate) /* 545 */ \
305 OP(MatrixLoadIdentityCHROMIUM) /* 546 */ \
306 OP(GenPathsCHROMIUM) /* 547 */ \
307 OP(DeletePathsCHROMIUM) /* 548 */ \
308 OP(IsPathCHROMIUM) /* 549 */ \
309 OP(PathCommandsCHROMIUM) /* 550 */ \
310 OP(PathParameterfCHROMIUM) /* 551 */ \
311 OP(PathParameteriCHROMIUM) /* 552 */ \
312 OP(PathStencilFuncCHROMIUM) /* 553 */ \
313 OP(StencilFillPathCHROMIUM) /* 554 */ \
314 OP(StencilStrokePathCHROMIUM) /* 555 */ \
315 OP(CoverFillPathCHROMIUM) /* 556 */ \
316 OP(CoverStrokePathCHROMIUM) /* 557 */ \
317 OP(StencilThenCoverFillPathCHROMIUM) /* 558 */ \
318 OP(StencilThenCoverStrokePathCHROMIUM) /* 559 */ \
319 OP(BlendBarrierKHR) /* 560 */
321 enum CommandId {
322 kStartPoint = cmd::kLastCommonId, // All GLES2 commands start after this.
323 #define GLES2_CMD_OP(name) k##name,
324 GLES2_COMMAND_LIST(GLES2_CMD_OP)
325 #undef GLES2_CMD_OP
326 kNumCommands
329 #endif // GPU_COMMAND_BUFFER_COMMON_GLES2_CMD_IDS_AUTOGEN_H_