| 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 175 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 186 OP(CopyTextureCHROMIUM) /* 427 */ \ | 186 OP(CopyTextureCHROMIUM) /* 427 */ \ |
| 187 OP(DrawArraysInstancedANGLE) /* 428 */ \ | 187 OP(DrawArraysInstancedANGLE) /* 428 */ \ |
| 188 OP(DrawElementsInstancedANGLE) /* 429 */ \ | 188 OP(DrawElementsInstancedANGLE) /* 429 */ \ |
| 189 OP(VertexAttribDivisorANGLE) /* 430 */ \ | 189 OP(VertexAttribDivisorANGLE) /* 430 */ \ |
| 190 OP(GenMailboxCHROMIUM) /* 431 */ \ | 190 OP(GenMailboxCHROMIUM) /* 431 */ \ |
| 191 OP(ProduceTextureCHROMIUMImmediate) /* 432 */ \ | 191 OP(ProduceTextureCHROMIUMImmediate) /* 432 */ \ |
| 192 OP(ProduceTextureDirectCHROMIUMImmediate) /* 433 */ \ | 192 OP(ProduceTextureDirectCHROMIUMImmediate) /* 433 */ \ |
| 193 OP(ConsumeTextureCHROMIUMImmediate) /* 434 */ \ | 193 OP(ConsumeTextureCHROMIUMImmediate) /* 434 */ \ |
| 194 OP(CreateAndConsumeTextureCHROMIUMImmediate) /* 435 */ \ | 194 OP(CreateAndConsumeTextureCHROMIUMImmediate) /* 435 */ \ |
| 195 OP(BindUniformLocationCHROMIUMBucket) /* 436 */ \ | 195 OP(BindUniformLocationCHROMIUMBucket) /* 436 */ \ |
| 196 OP(BindTexImage2DCHROMIUM) /* 437 */ \ | 196 OP(SubscribeUniformCHROMIUM) /* 437 */ \ |
| 197 OP(ReleaseTexImage2DCHROMIUM) /* 438 */ \ | 197 OP(BindTexImage2DCHROMIUM) /* 438 */ \ |
| 198 OP(TraceBeginCHROMIUM) /* 439 */ \ | 198 OP(ReleaseTexImage2DCHROMIUM) /* 439 */ \ |
| 199 OP(TraceEndCHROMIUM) /* 440 */ \ | 199 OP(TraceBeginCHROMIUM) /* 440 */ \ |
| 200 OP(AsyncTexSubImage2DCHROMIUM) /* 441 */ \ | 200 OP(TraceEndCHROMIUM) /* 441 */ \ |
| 201 OP(AsyncTexImage2DCHROMIUM) /* 442 */ \ | 201 OP(AsyncTexSubImage2DCHROMIUM) /* 442 */ \ |
| 202 OP(WaitAsyncTexImage2DCHROMIUM) /* 443 */ \ | 202 OP(AsyncTexImage2DCHROMIUM) /* 443 */ \ |
| 203 OP(WaitAllAsyncTexImage2DCHROMIUM) /* 444 */ \ | 203 OP(WaitAsyncTexImage2DCHROMIUM) /* 444 */ \ |
| 204 OP(DiscardFramebufferEXTImmediate) /* 445 */ \ | 204 OP(WaitAllAsyncTexImage2DCHROMIUM) /* 445 */ \ |
| 205 OP(LoseContextCHROMIUM) /* 446 */ \ | 205 OP(DiscardFramebufferEXTImmediate) /* 446 */ \ |
| 206 OP(InsertSyncPointCHROMIUM) /* 447 */ \ | 206 OP(LoseContextCHROMIUM) /* 447 */ \ |
| 207 OP(WaitSyncPointCHROMIUM) /* 448 */ \ | 207 OP(InsertSyncPointCHROMIUM) /* 448 */ \ |
| 208 OP(DrawBuffersEXTImmediate) /* 449 */ \ | 208 OP(WaitSyncPointCHROMIUM) /* 449 */ \ |
| 209 OP(DiscardBackbufferCHROMIUM) /* 450 */ \ | 209 OP(DrawBuffersEXTImmediate) /* 450 */ \ |
| 210 OP(ScheduleOverlayPlaneCHROMIUM) /* 451 */ \ | 210 OP(DiscardBackbufferCHROMIUM) /* 451 */ \ |
| 211 OP(MatrixLoadfCHROMIUMImmediate) /* 452 */ \ | 211 OP(ScheduleOverlayPlaneCHROMIUM) /* 452 */ \ |
| 212 OP(MatrixLoadIdentityCHROMIUM) /* 453 */ | 212 OP(MatrixLoadfCHROMIUMImmediate) /* 453 */ \ |
| 213 OP(MatrixLoadIdentityCHROMIUM) /* 454 */ |
| 213 | 214 |
| 214 enum CommandId { | 215 enum CommandId { |
| 215 kStartPoint = cmd::kLastCommonId, // All GLES2 commands start after this. | 216 kStartPoint = cmd::kLastCommonId, // All GLES2 commands start after this. |
| 216 #define GLES2_CMD_OP(name) k##name, | 217 #define GLES2_CMD_OP(name) k##name, |
| 217 GLES2_COMMAND_LIST(GLES2_CMD_OP) | 218 GLES2_COMMAND_LIST(GLES2_CMD_OP) |
| 218 #undef GLES2_CMD_OP | 219 #undef GLES2_CMD_OP |
| 219 kNumCommands | 220 kNumCommands |
| 220 }; | 221 }; |
| 221 | 222 |
| 222 #endif // GPU_COMMAND_BUFFER_COMMON_GLES2_CMD_IDS_AUTOGEN_H_ | 223 #endif // GPU_COMMAND_BUFFER_COMMON_GLES2_CMD_IDS_AUTOGEN_H_ |
| OLD | NEW |