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 217 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
228 OP(GetMaxValueInBufferCHROMIUM) /* 469 */ \ | 228 OP(GetMaxValueInBufferCHROMIUM) /* 469 */ \ |
229 OP(EnableFeatureCHROMIUM) /* 470 */ \ | 229 OP(EnableFeatureCHROMIUM) /* 470 */ \ |
230 OP(ResizeCHROMIUM) /* 471 */ \ | 230 OP(ResizeCHROMIUM) /* 471 */ \ |
231 OP(GetRequestableExtensionsCHROMIUM) /* 472 */ \ | 231 OP(GetRequestableExtensionsCHROMIUM) /* 472 */ \ |
232 OP(RequestExtensionCHROMIUM) /* 473 */ \ | 232 OP(RequestExtensionCHROMIUM) /* 473 */ \ |
233 OP(GetProgramInfoCHROMIUM) /* 474 */ \ | 233 OP(GetProgramInfoCHROMIUM) /* 474 */ \ |
234 OP(GetTranslatedShaderSourceANGLE) /* 475 */ \ | 234 OP(GetTranslatedShaderSourceANGLE) /* 475 */ \ |
235 OP(PostSubBufferCHROMIUM) /* 476 */ \ | 235 OP(PostSubBufferCHROMIUM) /* 476 */ \ |
236 OP(TexImageIOSurface2DCHROMIUM) /* 477 */ \ | 236 OP(TexImageIOSurface2DCHROMIUM) /* 477 */ \ |
237 OP(CopyTextureCHROMIUM) /* 478 */ \ | 237 OP(CopyTextureCHROMIUM) /* 478 */ \ |
238 OP(DrawArraysInstancedANGLE) /* 479 */ \ | 238 OP(CopySubTextureCHROMIUM) /* 479 */ \ |
239 OP(DrawElementsInstancedANGLE) /* 480 */ \ | 239 OP(DrawArraysInstancedANGLE) /* 480 */ \ |
240 OP(VertexAttribDivisorANGLE) /* 481 */ \ | 240 OP(DrawElementsInstancedANGLE) /* 481 */ \ |
241 OP(GenMailboxCHROMIUM) /* 482 */ \ | 241 OP(VertexAttribDivisorANGLE) /* 482 */ \ |
242 OP(ProduceTextureCHROMIUMImmediate) /* 483 */ \ | 242 OP(GenMailboxCHROMIUM) /* 483 */ \ |
243 OP(ProduceTextureDirectCHROMIUMImmediate) /* 484 */ \ | 243 OP(ProduceTextureCHROMIUMImmediate) /* 484 */ \ |
244 OP(ConsumeTextureCHROMIUMImmediate) /* 485 */ \ | 244 OP(ProduceTextureDirectCHROMIUMImmediate) /* 485 */ \ |
245 OP(CreateAndConsumeTextureCHROMIUMImmediate) /* 486 */ \ | 245 OP(ConsumeTextureCHROMIUMImmediate) /* 486 */ \ |
246 OP(BindUniformLocationCHROMIUMBucket) /* 487 */ \ | 246 OP(CreateAndConsumeTextureCHROMIUMImmediate) /* 487 */ \ |
247 OP(GenValuebuffersCHROMIUMImmediate) /* 488 */ \ | 247 OP(BindUniformLocationCHROMIUMBucket) /* 488 */ \ |
248 OP(DeleteValuebuffersCHROMIUMImmediate) /* 489 */ \ | 248 OP(GenValuebuffersCHROMIUMImmediate) /* 489 */ \ |
249 OP(IsValuebufferCHROMIUM) /* 490 */ \ | 249 OP(DeleteValuebuffersCHROMIUMImmediate) /* 490 */ \ |
250 OP(BindValuebufferCHROMIUM) /* 491 */ \ | 250 OP(IsValuebufferCHROMIUM) /* 491 */ \ |
251 OP(SubscribeValueCHROMIUM) /* 492 */ \ | 251 OP(BindValuebufferCHROMIUM) /* 492 */ \ |
252 OP(PopulateSubscribedValuesCHROMIUM) /* 493 */ \ | 252 OP(SubscribeValueCHROMIUM) /* 493 */ \ |
253 OP(UniformValuebufferCHROMIUM) /* 494 */ \ | 253 OP(PopulateSubscribedValuesCHROMIUM) /* 494 */ \ |
254 OP(BindTexImage2DCHROMIUM) /* 495 */ \ | 254 OP(UniformValuebufferCHROMIUM) /* 495 */ \ |
255 OP(ReleaseTexImage2DCHROMIUM) /* 496 */ \ | 255 OP(BindTexImage2DCHROMIUM) /* 496 */ \ |
256 OP(TraceBeginCHROMIUM) /* 497 */ \ | 256 OP(ReleaseTexImage2DCHROMIUM) /* 497 */ \ |
257 OP(TraceEndCHROMIUM) /* 498 */ \ | 257 OP(TraceBeginCHROMIUM) /* 498 */ \ |
258 OP(AsyncTexSubImage2DCHROMIUM) /* 499 */ \ | 258 OP(TraceEndCHROMIUM) /* 499 */ \ |
259 OP(AsyncTexImage2DCHROMIUM) /* 500 */ \ | 259 OP(AsyncTexSubImage2DCHROMIUM) /* 500 */ \ |
260 OP(WaitAsyncTexImage2DCHROMIUM) /* 501 */ \ | 260 OP(AsyncTexImage2DCHROMIUM) /* 501 */ \ |
261 OP(WaitAllAsyncTexImage2DCHROMIUM) /* 502 */ \ | 261 OP(WaitAsyncTexImage2DCHROMIUM) /* 502 */ \ |
262 OP(DiscardFramebufferEXTImmediate) /* 503 */ \ | 262 OP(WaitAllAsyncTexImage2DCHROMIUM) /* 503 */ \ |
263 OP(LoseContextCHROMIUM) /* 504 */ \ | 263 OP(DiscardFramebufferEXTImmediate) /* 504 */ \ |
264 OP(InsertSyncPointCHROMIUM) /* 505 */ \ | 264 OP(LoseContextCHROMIUM) /* 505 */ \ |
265 OP(WaitSyncPointCHROMIUM) /* 506 */ \ | 265 OP(InsertSyncPointCHROMIUM) /* 506 */ \ |
266 OP(DrawBuffersEXTImmediate) /* 507 */ \ | 266 OP(WaitSyncPointCHROMIUM) /* 507 */ \ |
267 OP(DiscardBackbufferCHROMIUM) /* 508 */ \ | 267 OP(DrawBuffersEXTImmediate) /* 508 */ \ |
268 OP(ScheduleOverlayPlaneCHROMIUM) /* 509 */ \ | 268 OP(DiscardBackbufferCHROMIUM) /* 509 */ \ |
269 OP(SwapInterval) /* 510 */ \ | 269 OP(ScheduleOverlayPlaneCHROMIUM) /* 510 */ \ |
270 OP(MatrixLoadfCHROMIUMImmediate) /* 511 */ \ | 270 OP(SwapInterval) /* 511 */ \ |
271 OP(MatrixLoadIdentityCHROMIUM) /* 512 */ \ | 271 OP(MatrixLoadfCHROMIUMImmediate) /* 512 */ \ |
272 OP(BlendBarrierKHR) /* 513 */ | 272 OP(MatrixLoadIdentityCHROMIUM) /* 513 */ \ |
| 273 OP(BlendBarrierKHR) /* 514 */ |
273 | 274 |
274 enum CommandId { | 275 enum CommandId { |
275 kStartPoint = cmd::kLastCommonId, // All GLES2 commands start after this. | 276 kStartPoint = cmd::kLastCommonId, // All GLES2 commands start after this. |
276 #define GLES2_CMD_OP(name) k##name, | 277 #define GLES2_CMD_OP(name) k##name, |
277 GLES2_COMMAND_LIST(GLES2_CMD_OP) | 278 GLES2_COMMAND_LIST(GLES2_CMD_OP) |
278 #undef GLES2_CMD_OP | 279 #undef GLES2_CMD_OP |
279 kNumCommands | 280 kNumCommands |
280 }; | 281 }; |
281 | 282 |
282 #endif // GPU_COMMAND_BUFFER_COMMON_GLES2_CMD_IDS_AUTOGEN_H_ | 283 #endif // GPU_COMMAND_BUFFER_COMMON_GLES2_CMD_IDS_AUTOGEN_H_ |
OLD | NEW |