Update V8 to version 4.6.8.
[chromium-blink-merge.git] / gpu / command_buffer / common / gles2_cmd_ids_autogen.h
blob2b0941bbda81369eda0432eb3049f9e37a1be89f
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(GetBufferParameteriv) /* 342 */ \
102 OP(GetError) /* 343 */ \
103 OP(GetFloatv) /* 344 */ \
104 OP(GetFragDataLocation) /* 345 */ \
105 OP(GetFramebufferAttachmentParameteriv) /* 346 */ \
106 OP(GetInteger64v) /* 347 */ \
107 OP(GetIntegeri_v) /* 348 */ \
108 OP(GetInteger64i_v) /* 349 */ \
109 OP(GetIntegerv) /* 350 */ \
110 OP(GetInternalformativ) /* 351 */ \
111 OP(GetProgramiv) /* 352 */ \
112 OP(GetProgramInfoLog) /* 353 */ \
113 OP(GetRenderbufferParameteriv) /* 354 */ \
114 OP(GetSamplerParameterfv) /* 355 */ \
115 OP(GetSamplerParameteriv) /* 356 */ \
116 OP(GetShaderiv) /* 357 */ \
117 OP(GetShaderInfoLog) /* 358 */ \
118 OP(GetShaderPrecisionFormat) /* 359 */ \
119 OP(GetShaderSource) /* 360 */ \
120 OP(GetString) /* 361 */ \
121 OP(GetSynciv) /* 362 */ \
122 OP(GetTexParameterfv) /* 363 */ \
123 OP(GetTexParameteriv) /* 364 */ \
124 OP(GetTransformFeedbackVarying) /* 365 */ \
125 OP(GetUniformBlockIndex) /* 366 */ \
126 OP(GetUniformfv) /* 367 */ \
127 OP(GetUniformiv) /* 368 */ \
128 OP(GetUniformuiv) /* 369 */ \
129 OP(GetUniformIndices) /* 370 */ \
130 OP(GetUniformLocation) /* 371 */ \
131 OP(GetVertexAttribfv) /* 372 */ \
132 OP(GetVertexAttribiv) /* 373 */ \
133 OP(GetVertexAttribIiv) /* 374 */ \
134 OP(GetVertexAttribIuiv) /* 375 */ \
135 OP(GetVertexAttribPointerv) /* 376 */ \
136 OP(Hint) /* 377 */ \
137 OP(InvalidateFramebufferImmediate) /* 378 */ \
138 OP(InvalidateSubFramebufferImmediate) /* 379 */ \
139 OP(IsBuffer) /* 380 */ \
140 OP(IsEnabled) /* 381 */ \
141 OP(IsFramebuffer) /* 382 */ \
142 OP(IsProgram) /* 383 */ \
143 OP(IsRenderbuffer) /* 384 */ \
144 OP(IsSampler) /* 385 */ \
145 OP(IsShader) /* 386 */ \
146 OP(IsSync) /* 387 */ \
147 OP(IsTexture) /* 388 */ \
148 OP(IsTransformFeedback) /* 389 */ \
149 OP(LineWidth) /* 390 */ \
150 OP(LinkProgram) /* 391 */ \
151 OP(PauseTransformFeedback) /* 392 */ \
152 OP(PixelStorei) /* 393 */ \
153 OP(PolygonOffset) /* 394 */ \
154 OP(ReadBuffer) /* 395 */ \
155 OP(ReadPixels) /* 396 */ \
156 OP(ReleaseShaderCompiler) /* 397 */ \
157 OP(RenderbufferStorage) /* 398 */ \
158 OP(ResumeTransformFeedback) /* 399 */ \
159 OP(SampleCoverage) /* 400 */ \
160 OP(SamplerParameterf) /* 401 */ \
161 OP(SamplerParameterfvImmediate) /* 402 */ \
162 OP(SamplerParameteri) /* 403 */ \
163 OP(SamplerParameterivImmediate) /* 404 */ \
164 OP(Scissor) /* 405 */ \
165 OP(ShaderBinary) /* 406 */ \
166 OP(ShaderSourceBucket) /* 407 */ \
167 OP(StencilFunc) /* 408 */ \
168 OP(StencilFuncSeparate) /* 409 */ \
169 OP(StencilMask) /* 410 */ \
170 OP(StencilMaskSeparate) /* 411 */ \
171 OP(StencilOp) /* 412 */ \
172 OP(StencilOpSeparate) /* 413 */ \
173 OP(TexImage2D) /* 414 */ \
174 OP(TexImage3D) /* 415 */ \
175 OP(TexParameterf) /* 416 */ \
176 OP(TexParameterfvImmediate) /* 417 */ \
177 OP(TexParameteri) /* 418 */ \
178 OP(TexParameterivImmediate) /* 419 */ \
179 OP(TexStorage3D) /* 420 */ \
180 OP(TexSubImage2D) /* 421 */ \
181 OP(TexSubImage3D) /* 422 */ \
182 OP(TransformFeedbackVaryingsBucket) /* 423 */ \
183 OP(Uniform1f) /* 424 */ \
184 OP(Uniform1fvImmediate) /* 425 */ \
185 OP(Uniform1i) /* 426 */ \
186 OP(Uniform1ivImmediate) /* 427 */ \
187 OP(Uniform1ui) /* 428 */ \
188 OP(Uniform1uivImmediate) /* 429 */ \
189 OP(Uniform2f) /* 430 */ \
190 OP(Uniform2fvImmediate) /* 431 */ \
191 OP(Uniform2i) /* 432 */ \
192 OP(Uniform2ivImmediate) /* 433 */ \
193 OP(Uniform2ui) /* 434 */ \
194 OP(Uniform2uivImmediate) /* 435 */ \
195 OP(Uniform3f) /* 436 */ \
196 OP(Uniform3fvImmediate) /* 437 */ \
197 OP(Uniform3i) /* 438 */ \
198 OP(Uniform3ivImmediate) /* 439 */ \
199 OP(Uniform3ui) /* 440 */ \
200 OP(Uniform3uivImmediate) /* 441 */ \
201 OP(Uniform4f) /* 442 */ \
202 OP(Uniform4fvImmediate) /* 443 */ \
203 OP(Uniform4i) /* 444 */ \
204 OP(Uniform4ivImmediate) /* 445 */ \
205 OP(Uniform4ui) /* 446 */ \
206 OP(Uniform4uivImmediate) /* 447 */ \
207 OP(UniformBlockBinding) /* 448 */ \
208 OP(UniformMatrix2fvImmediate) /* 449 */ \
209 OP(UniformMatrix2x3fvImmediate) /* 450 */ \
210 OP(UniformMatrix2x4fvImmediate) /* 451 */ \
211 OP(UniformMatrix3fvImmediate) /* 452 */ \
212 OP(UniformMatrix3x2fvImmediate) /* 453 */ \
213 OP(UniformMatrix3x4fvImmediate) /* 454 */ \
214 OP(UniformMatrix4fvImmediate) /* 455 */ \
215 OP(UniformMatrix4x2fvImmediate) /* 456 */ \
216 OP(UniformMatrix4x3fvImmediate) /* 457 */ \
217 OP(UseProgram) /* 458 */ \
218 OP(ValidateProgram) /* 459 */ \
219 OP(VertexAttrib1f) /* 460 */ \
220 OP(VertexAttrib1fvImmediate) /* 461 */ \
221 OP(VertexAttrib2f) /* 462 */ \
222 OP(VertexAttrib2fvImmediate) /* 463 */ \
223 OP(VertexAttrib3f) /* 464 */ \
224 OP(VertexAttrib3fvImmediate) /* 465 */ \
225 OP(VertexAttrib4f) /* 466 */ \
226 OP(VertexAttrib4fvImmediate) /* 467 */ \
227 OP(VertexAttribI4i) /* 468 */ \
228 OP(VertexAttribI4ivImmediate) /* 469 */ \
229 OP(VertexAttribI4ui) /* 470 */ \
230 OP(VertexAttribI4uivImmediate) /* 471 */ \
231 OP(VertexAttribIPointer) /* 472 */ \
232 OP(VertexAttribPointer) /* 473 */ \
233 OP(Viewport) /* 474 */ \
234 OP(WaitSync) /* 475 */ \
235 OP(BlitFramebufferCHROMIUM) /* 476 */ \
236 OP(RenderbufferStorageMultisampleCHROMIUM) /* 477 */ \
237 OP(RenderbufferStorageMultisampleEXT) /* 478 */ \
238 OP(FramebufferTexture2DMultisampleEXT) /* 479 */ \
239 OP(TexStorage2DEXT) /* 480 */ \
240 OP(GenQueriesEXTImmediate) /* 481 */ \
241 OP(DeleteQueriesEXTImmediate) /* 482 */ \
242 OP(BeginQueryEXT) /* 483 */ \
243 OP(BeginTransformFeedback) /* 484 */ \
244 OP(EndQueryEXT) /* 485 */ \
245 OP(EndTransformFeedback) /* 486 */ \
246 OP(InsertEventMarkerEXT) /* 487 */ \
247 OP(PushGroupMarkerEXT) /* 488 */ \
248 OP(PopGroupMarkerEXT) /* 489 */ \
249 OP(GenVertexArraysOESImmediate) /* 490 */ \
250 OP(DeleteVertexArraysOESImmediate) /* 491 */ \
251 OP(IsVertexArrayOES) /* 492 */ \
252 OP(BindVertexArrayOES) /* 493 */ \
253 OP(SwapBuffers) /* 494 */ \
254 OP(GetMaxValueInBufferCHROMIUM) /* 495 */ \
255 OP(EnableFeatureCHROMIUM) /* 496 */ \
256 OP(MapBufferRange) /* 497 */ \
257 OP(UnmapBuffer) /* 498 */ \
258 OP(ResizeCHROMIUM) /* 499 */ \
259 OP(GetRequestableExtensionsCHROMIUM) /* 500 */ \
260 OP(RequestExtensionCHROMIUM) /* 501 */ \
261 OP(GetProgramInfoCHROMIUM) /* 502 */ \
262 OP(GetUniformBlocksCHROMIUM) /* 503 */ \
263 OP(GetTransformFeedbackVaryingsCHROMIUM) /* 504 */ \
264 OP(GetUniformsES3CHROMIUM) /* 505 */ \
265 OP(GetTranslatedShaderSourceANGLE) /* 506 */ \
266 OP(PostSubBufferCHROMIUM) /* 507 */ \
267 OP(TexImageIOSurface2DCHROMIUM) /* 508 */ \
268 OP(CopyTextureCHROMIUM) /* 509 */ \
269 OP(CopySubTextureCHROMIUM) /* 510 */ \
270 OP(CompressedCopyTextureCHROMIUM) /* 511 */ \
271 OP(DrawArraysInstancedANGLE) /* 512 */ \
272 OP(DrawElementsInstancedANGLE) /* 513 */ \
273 OP(VertexAttribDivisorANGLE) /* 514 */ \
274 OP(GenMailboxCHROMIUM) /* 515 */ \
275 OP(ProduceTextureCHROMIUMImmediate) /* 516 */ \
276 OP(ProduceTextureDirectCHROMIUMImmediate) /* 517 */ \
277 OP(ConsumeTextureCHROMIUMImmediate) /* 518 */ \
278 OP(CreateAndConsumeTextureCHROMIUMImmediate) /* 519 */ \
279 OP(BindUniformLocationCHROMIUMBucket) /* 520 */ \
280 OP(GenValuebuffersCHROMIUMImmediate) /* 521 */ \
281 OP(DeleteValuebuffersCHROMIUMImmediate) /* 522 */ \
282 OP(IsValuebufferCHROMIUM) /* 523 */ \
283 OP(BindValuebufferCHROMIUM) /* 524 */ \
284 OP(SubscribeValueCHROMIUM) /* 525 */ \
285 OP(PopulateSubscribedValuesCHROMIUM) /* 526 */ \
286 OP(UniformValuebufferCHROMIUM) /* 527 */ \
287 OP(BindTexImage2DCHROMIUM) /* 528 */ \
288 OP(ReleaseTexImage2DCHROMIUM) /* 529 */ \
289 OP(TraceBeginCHROMIUM) /* 530 */ \
290 OP(TraceEndCHROMIUM) /* 531 */ \
291 OP(AsyncTexSubImage2DCHROMIUM) /* 532 */ \
292 OP(AsyncTexImage2DCHROMIUM) /* 533 */ \
293 OP(WaitAsyncTexImage2DCHROMIUM) /* 534 */ \
294 OP(WaitAllAsyncTexImage2DCHROMIUM) /* 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_