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