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 236 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
247 OP(GetRequestableExtensionsCHROMIUM) /* 488 */ \ | 247 OP(GetRequestableExtensionsCHROMIUM) /* 488 */ \ |
248 OP(RequestExtensionCHROMIUM) /* 489 */ \ | 248 OP(RequestExtensionCHROMIUM) /* 489 */ \ |
249 OP(GetProgramInfoCHROMIUM) /* 490 */ \ | 249 OP(GetProgramInfoCHROMIUM) /* 490 */ \ |
250 OP(GetUniformBlocksCHROMIUM) /* 491 */ \ | 250 OP(GetUniformBlocksCHROMIUM) /* 491 */ \ |
251 OP(GetTransformFeedbackVaryingsCHROMIUM) /* 492 */ \ | 251 OP(GetTransformFeedbackVaryingsCHROMIUM) /* 492 */ \ |
252 OP(GetUniformsES3CHROMIUM) /* 493 */ \ | 252 OP(GetUniformsES3CHROMIUM) /* 493 */ \ |
253 OP(GetTranslatedShaderSourceANGLE) /* 494 */ \ | 253 OP(GetTranslatedShaderSourceANGLE) /* 494 */ \ |
254 OP(PostSubBufferCHROMIUM) /* 495 */ \ | 254 OP(PostSubBufferCHROMIUM) /* 495 */ \ |
255 OP(TexImageIOSurface2DCHROMIUM) /* 496 */ \ | 255 OP(TexImageIOSurface2DCHROMIUM) /* 496 */ \ |
256 OP(CopyTextureCHROMIUM) /* 497 */ \ | 256 OP(CopyTextureCHROMIUM) /* 497 */ \ |
257 OP(DrawArraysInstancedANGLE) /* 498 */ \ | 257 OP(CopySubTextureCHROMIUM) /* 498 */ \ |
258 OP(DrawElementsInstancedANGLE) /* 499 */ \ | 258 OP(DrawArraysInstancedANGLE) /* 499 */ \ |
259 OP(VertexAttribDivisorANGLE) /* 500 */ \ | 259 OP(DrawElementsInstancedANGLE) /* 500 */ \ |
260 OP(GenMailboxCHROMIUM) /* 501 */ \ | 260 OP(VertexAttribDivisorANGLE) /* 501 */ \ |
261 OP(ProduceTextureCHROMIUMImmediate) /* 502 */ \ | 261 OP(GenMailboxCHROMIUM) /* 502 */ \ |
262 OP(ProduceTextureDirectCHROMIUMImmediate) /* 503 */ \ | 262 OP(ProduceTextureCHROMIUMImmediate) /* 503 */ \ |
263 OP(ConsumeTextureCHROMIUMImmediate) /* 504 */ \ | 263 OP(ProduceTextureDirectCHROMIUMImmediate) /* 504 */ \ |
264 OP(CreateAndConsumeTextureCHROMIUMImmediate) /* 505 */ \ | 264 OP(ConsumeTextureCHROMIUMImmediate) /* 505 */ \ |
265 OP(BindUniformLocationCHROMIUMBucket) /* 506 */ \ | 265 OP(CreateAndConsumeTextureCHROMIUMImmediate) /* 506 */ \ |
266 OP(GenValuebuffersCHROMIUMImmediate) /* 507 */ \ | 266 OP(BindUniformLocationCHROMIUMBucket) /* 507 */ \ |
267 OP(DeleteValuebuffersCHROMIUMImmediate) /* 508 */ \ | 267 OP(GenValuebuffersCHROMIUMImmediate) /* 508 */ \ |
268 OP(IsValuebufferCHROMIUM) /* 509 */ \ | 268 OP(DeleteValuebuffersCHROMIUMImmediate) /* 509 */ \ |
269 OP(BindValuebufferCHROMIUM) /* 510 */ \ | 269 OP(IsValuebufferCHROMIUM) /* 510 */ \ |
270 OP(SubscribeValueCHROMIUM) /* 511 */ \ | 270 OP(BindValuebufferCHROMIUM) /* 511 */ \ |
271 OP(PopulateSubscribedValuesCHROMIUM) /* 512 */ \ | 271 OP(SubscribeValueCHROMIUM) /* 512 */ \ |
272 OP(UniformValuebufferCHROMIUM) /* 513 */ \ | 272 OP(PopulateSubscribedValuesCHROMIUM) /* 513 */ \ |
273 OP(BindTexImage2DCHROMIUM) /* 514 */ \ | 273 OP(UniformValuebufferCHROMIUM) /* 514 */ \ |
274 OP(ReleaseTexImage2DCHROMIUM) /* 515 */ \ | 274 OP(BindTexImage2DCHROMIUM) /* 515 */ \ |
275 OP(TraceBeginCHROMIUM) /* 516 */ \ | 275 OP(ReleaseTexImage2DCHROMIUM) /* 516 */ \ |
276 OP(TraceEndCHROMIUM) /* 517 */ \ | 276 OP(TraceBeginCHROMIUM) /* 517 */ \ |
277 OP(AsyncTexSubImage2DCHROMIUM) /* 518 */ \ | 277 OP(TraceEndCHROMIUM) /* 518 */ \ |
278 OP(AsyncTexImage2DCHROMIUM) /* 519 */ \ | 278 OP(AsyncTexSubImage2DCHROMIUM) /* 519 */ \ |
279 OP(WaitAsyncTexImage2DCHROMIUM) /* 520 */ \ | 279 OP(AsyncTexImage2DCHROMIUM) /* 520 */ \ |
280 OP(WaitAllAsyncTexImage2DCHROMIUM) /* 521 */ \ | 280 OP(WaitAsyncTexImage2DCHROMIUM) /* 521 */ \ |
281 OP(DiscardFramebufferEXTImmediate) /* 522 */ \ | 281 OP(WaitAllAsyncTexImage2DCHROMIUM) /* 522 */ \ |
282 OP(LoseContextCHROMIUM) /* 523 */ \ | 282 OP(DiscardFramebufferEXTImmediate) /* 523 */ \ |
283 OP(InsertSyncPointCHROMIUM) /* 524 */ \ | 283 OP(LoseContextCHROMIUM) /* 524 */ \ |
284 OP(WaitSyncPointCHROMIUM) /* 525 */ \ | 284 OP(InsertSyncPointCHROMIUM) /* 525 */ \ |
285 OP(DrawBuffersEXTImmediate) /* 526 */ \ | 285 OP(WaitSyncPointCHROMIUM) /* 526 */ \ |
286 OP(DiscardBackbufferCHROMIUM) /* 527 */ \ | 286 OP(DrawBuffersEXTImmediate) /* 527 */ \ |
287 OP(ScheduleOverlayPlaneCHROMIUM) /* 528 */ \ | 287 OP(DiscardBackbufferCHROMIUM) /* 528 */ \ |
288 OP(SwapInterval) /* 529 */ \ | 288 OP(ScheduleOverlayPlaneCHROMIUM) /* 529 */ \ |
289 OP(MatrixLoadfCHROMIUMImmediate) /* 530 */ \ | 289 OP(SwapInterval) /* 530 */ \ |
290 OP(MatrixLoadIdentityCHROMIUM) /* 531 */ \ | 290 OP(MatrixLoadfCHROMIUMImmediate) /* 531 */ \ |
291 OP(BlendBarrierKHR) /* 532 */ | 291 OP(MatrixLoadIdentityCHROMIUM) /* 532 */ \ |
| 292 OP(BlendBarrierKHR) /* 533 */ |
292 | 293 |
293 enum CommandId { | 294 enum CommandId { |
294 kStartPoint = cmd::kLastCommonId, // All GLES2 commands start after this. | 295 kStartPoint = cmd::kLastCommonId, // All GLES2 commands start after this. |
295 #define GLES2_CMD_OP(name) k##name, | 296 #define GLES2_CMD_OP(name) k##name, |
296 GLES2_COMMAND_LIST(GLES2_CMD_OP) | 297 GLES2_COMMAND_LIST(GLES2_CMD_OP) |
297 #undef GLES2_CMD_OP | 298 #undef GLES2_CMD_OP |
298 kNumCommands | 299 kNumCommands |
299 }; | 300 }; |
300 | 301 |
301 #endif // GPU_COMMAND_BUFFER_COMMON_GLES2_CMD_IDS_AUTOGEN_H_ | 302 #endif // GPU_COMMAND_BUFFER_COMMON_GLES2_CMD_IDS_AUTOGEN_H_ |
OLD | NEW |