OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 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 | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 // This file is auto-generated from | 5 // This file is auto-generated from |
6 // gpu/command_buffer/build_gles2_cmd_buffer.py | 6 // gpu/command_buffer/build_gles2_cmd_buffer.py |
7 // It's formatted by clang-format using chromium coding style: | 7 // It's formatted by clang-format using chromium coding style: |
8 // clang-format -i -style=chromium filename | 8 // clang-format -i -style=chromium filename |
9 // DO NOT EDIT! | 9 // DO NOT EDIT! |
10 | 10 |
(...skipping 244 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
255 OP(RequestExtensionCHROMIUM) /* 496 */ \ | 255 OP(RequestExtensionCHROMIUM) /* 496 */ \ |
256 OP(GetProgramInfoCHROMIUM) /* 497 */ \ | 256 OP(GetProgramInfoCHROMIUM) /* 497 */ \ |
257 OP(GetUniformBlocksCHROMIUM) /* 498 */ \ | 257 OP(GetUniformBlocksCHROMIUM) /* 498 */ \ |
258 OP(GetTransformFeedbackVaryingsCHROMIUM) /* 499 */ \ | 258 OP(GetTransformFeedbackVaryingsCHROMIUM) /* 499 */ \ |
259 OP(GetUniformsES3CHROMIUM) /* 500 */ \ | 259 OP(GetUniformsES3CHROMIUM) /* 500 */ \ |
260 OP(GetTranslatedShaderSourceANGLE) /* 501 */ \ | 260 OP(GetTranslatedShaderSourceANGLE) /* 501 */ \ |
261 OP(PostSubBufferCHROMIUM) /* 502 */ \ | 261 OP(PostSubBufferCHROMIUM) /* 502 */ \ |
262 OP(TexImageIOSurface2DCHROMIUM) /* 503 */ \ | 262 OP(TexImageIOSurface2DCHROMIUM) /* 503 */ \ |
263 OP(CopyTextureCHROMIUM) /* 504 */ \ | 263 OP(CopyTextureCHROMIUM) /* 504 */ \ |
264 OP(CopySubTextureCHROMIUM) /* 505 */ \ | 264 OP(CopySubTextureCHROMIUM) /* 505 */ \ |
265 OP(DrawArraysInstancedANGLE) /* 506 */ \ | 265 OP(CopyCompressedTextureCHROMIUM) /* 506 */ \ |
266 OP(DrawElementsInstancedANGLE) /* 507 */ \ | 266 OP(DrawArraysInstancedANGLE) /* 507 */ \ |
267 OP(VertexAttribDivisorANGLE) /* 508 */ \ | 267 OP(DrawElementsInstancedANGLE) /* 508 */ \ |
268 OP(GenMailboxCHROMIUM) /* 509 */ \ | 268 OP(VertexAttribDivisorANGLE) /* 509 */ \ |
269 OP(ProduceTextureCHROMIUMImmediate) /* 510 */ \ | 269 OP(GenMailboxCHROMIUM) /* 510 */ \ |
270 OP(ProduceTextureDirectCHROMIUMImmediate) /* 511 */ \ | 270 OP(ProduceTextureCHROMIUMImmediate) /* 511 */ \ |
271 OP(ConsumeTextureCHROMIUMImmediate) /* 512 */ \ | 271 OP(ProduceTextureDirectCHROMIUMImmediate) /* 512 */ \ |
272 OP(CreateAndConsumeTextureCHROMIUMImmediate) /* 513 */ \ | 272 OP(ConsumeTextureCHROMIUMImmediate) /* 513 */ \ |
273 OP(BindUniformLocationCHROMIUMBucket) /* 514 */ \ | 273 OP(CreateAndConsumeTextureCHROMIUMImmediate) /* 514 */ \ |
274 OP(GenValuebuffersCHROMIUMImmediate) /* 515 */ \ | 274 OP(BindUniformLocationCHROMIUMBucket) /* 515 */ \ |
275 OP(DeleteValuebuffersCHROMIUMImmediate) /* 516 */ \ | 275 OP(GenValuebuffersCHROMIUMImmediate) /* 516 */ \ |
276 OP(IsValuebufferCHROMIUM) /* 517 */ \ | 276 OP(DeleteValuebuffersCHROMIUMImmediate) /* 517 */ \ |
277 OP(BindValuebufferCHROMIUM) /* 518 */ \ | 277 OP(IsValuebufferCHROMIUM) /* 518 */ \ |
278 OP(SubscribeValueCHROMIUM) /* 519 */ \ | 278 OP(BindValuebufferCHROMIUM) /* 519 */ \ |
279 OP(PopulateSubscribedValuesCHROMIUM) /* 520 */ \ | 279 OP(SubscribeValueCHROMIUM) /* 520 */ \ |
280 OP(UniformValuebufferCHROMIUM) /* 521 */ \ | 280 OP(PopulateSubscribedValuesCHROMIUM) /* 521 */ \ |
281 OP(BindTexImage2DCHROMIUM) /* 522 */ \ | 281 OP(UniformValuebufferCHROMIUM) /* 522 */ \ |
282 OP(ReleaseTexImage2DCHROMIUM) /* 523 */ \ | 282 OP(BindTexImage2DCHROMIUM) /* 523 */ \ |
283 OP(TraceBeginCHROMIUM) /* 524 */ \ | 283 OP(ReleaseTexImage2DCHROMIUM) /* 524 */ \ |
284 OP(TraceEndCHROMIUM) /* 525 */ \ | 284 OP(TraceBeginCHROMIUM) /* 525 */ \ |
285 OP(AsyncTexSubImage2DCHROMIUM) /* 526 */ \ | 285 OP(TraceEndCHROMIUM) /* 526 */ \ |
286 OP(AsyncTexImage2DCHROMIUM) /* 527 */ \ | 286 OP(AsyncTexSubImage2DCHROMIUM) /* 527 */ \ |
287 OP(WaitAsyncTexImage2DCHROMIUM) /* 528 */ \ | 287 OP(AsyncTexImage2DCHROMIUM) /* 528 */ \ |
288 OP(WaitAllAsyncTexImage2DCHROMIUM) /* 529 */ \ | 288 OP(WaitAsyncTexImage2DCHROMIUM) /* 529 */ \ |
289 OP(DiscardFramebufferEXTImmediate) /* 530 */ \ | 289 OP(WaitAllAsyncTexImage2DCHROMIUM) /* 530 */ \ |
290 OP(LoseContextCHROMIUM) /* 531 */ \ | 290 OP(DiscardFramebufferEXTImmediate) /* 531 */ \ |
291 OP(InsertSyncPointCHROMIUM) /* 532 */ \ | 291 OP(LoseContextCHROMIUM) /* 532 */ \ |
292 OP(WaitSyncPointCHROMIUM) /* 533 */ \ | 292 OP(InsertSyncPointCHROMIUM) /* 533 */ \ |
293 OP(DrawBuffersEXTImmediate) /* 534 */ \ | 293 OP(WaitSyncPointCHROMIUM) /* 534 */ \ |
294 OP(DiscardBackbufferCHROMIUM) /* 535 */ \ | 294 OP(DrawBuffersEXTImmediate) /* 535 */ \ |
295 OP(ScheduleOverlayPlaneCHROMIUM) /* 536 */ \ | 295 OP(DiscardBackbufferCHROMIUM) /* 536 */ \ |
296 OP(SwapInterval) /* 537 */ \ | 296 OP(ScheduleOverlayPlaneCHROMIUM) /* 537 */ \ |
297 OP(MatrixLoadfCHROMIUMImmediate) /* 538 */ \ | 297 OP(SwapInterval) /* 538 */ \ |
298 OP(MatrixLoadIdentityCHROMIUM) /* 539 */ \ | 298 OP(MatrixLoadfCHROMIUMImmediate) /* 539 */ \ |
299 OP(BlendBarrierKHR) /* 540 */ | 299 OP(MatrixLoadIdentityCHROMIUM) /* 540 */ \ |
| 300 OP(BlendBarrierKHR) /* 541 */ |
300 | 301 |
301 enum CommandId { | 302 enum CommandId { |
302 kStartPoint = cmd::kLastCommonId, // All GLES2 commands start after this. | 303 kStartPoint = cmd::kLastCommonId, // All GLES2 commands start after this. |
303 #define GLES2_CMD_OP(name) k##name, | 304 #define GLES2_CMD_OP(name) k##name, |
304 GLES2_COMMAND_LIST(GLES2_CMD_OP) | 305 GLES2_COMMAND_LIST(GLES2_CMD_OP) |
305 #undef GLES2_CMD_OP | 306 #undef GLES2_CMD_OP |
306 kNumCommands | 307 kNumCommands |
307 }; | 308 }; |
308 | 309 |
309 #endif // GPU_COMMAND_BUFFER_COMMON_GLES2_CMD_IDS_AUTOGEN_H_ | 310 #endif // GPU_COMMAND_BUFFER_COMMON_GLES2_CMD_IDS_AUTOGEN_H_ |
OLD | NEW |