| 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 227 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 238 OP(AsyncTexImage2DCHROMIUM) /* 479 */ \ | 238 OP(AsyncTexImage2DCHROMIUM) /* 479 */ \ |
| 239 OP(WaitAsyncTexImage2DCHROMIUM) /* 480 */ \ | 239 OP(WaitAsyncTexImage2DCHROMIUM) /* 480 */ \ |
| 240 OP(WaitAllAsyncTexImage2DCHROMIUM) /* 481 */ \ | 240 OP(WaitAllAsyncTexImage2DCHROMIUM) /* 481 */ \ |
| 241 OP(DiscardFramebufferEXT) /* 482 */ \ | 241 OP(DiscardFramebufferEXT) /* 482 */ \ |
| 242 OP(DiscardFramebufferEXTImmediate) /* 483 */ \ | 242 OP(DiscardFramebufferEXTImmediate) /* 483 */ \ |
| 243 OP(LoseContextCHROMIUM) /* 484 */ \ | 243 OP(LoseContextCHROMIUM) /* 484 */ \ |
| 244 OP(InsertSyncPointCHROMIUM) /* 485 */ \ | 244 OP(InsertSyncPointCHROMIUM) /* 485 */ \ |
| 245 OP(WaitSyncPointCHROMIUM) /* 486 */ \ | 245 OP(WaitSyncPointCHROMIUM) /* 486 */ \ |
| 246 OP(DrawBuffersEXT) /* 487 */ \ | 246 OP(DrawBuffersEXT) /* 487 */ \ |
| 247 OP(DrawBuffersEXTImmediate) /* 488 */ \ | 247 OP(DrawBuffersEXTImmediate) /* 488 */ \ |
| 248 OP(DiscardBackbufferCHROMIUM) /* 489 */ | 248 OP(DiscardBackbufferCHROMIUM) /* 489 */ \ |
| 249 OP(MatrixMode) /* 490 */
\ |
| 250 OP(LoadMatrixf) /* 491 */
\ |
| 251 OP(LoadMatrixfImmediate) /* 492 */ \ |
| 252 OP(LoadIdentity) /* 493 */ |
| 249 | 253 |
| 250 enum CommandId { | 254 enum CommandId { |
| 251 kStartPoint = cmd::kLastCommonId, // All GLES2 commands start after this. | 255 kStartPoint = cmd::kLastCommonId, // All GLES2 commands start after this. |
| 252 #define GLES2_CMD_OP(name) k##name, | 256 #define GLES2_CMD_OP(name) k##name, |
| 253 GLES2_COMMAND_LIST(GLES2_CMD_OP) | 257 GLES2_COMMAND_LIST(GLES2_CMD_OP) |
| 254 #undef GLES2_CMD_OP | 258 #undef GLES2_CMD_OP |
| 255 kNumCommands | 259 kNumCommands |
| 256 }; | 260 }; |
| 257 | 261 |
| 258 #endif // GPU_COMMAND_BUFFER_COMMON_GLES2_CMD_IDS_AUTOGEN_H_ | 262 #endif // GPU_COMMAND_BUFFER_COMMON_GLES2_CMD_IDS_AUTOGEN_H_ |
| OLD | NEW |