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 156 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
167 OP(EndQueryEXT) /* 408 */ \ | 167 OP(EndQueryEXT) /* 408 */ \ |
168 OP(InsertEventMarkerEXT) /* 409 */ \ | 168 OP(InsertEventMarkerEXT) /* 409 */ \ |
169 OP(PushGroupMarkerEXT) /* 410 */ \ | 169 OP(PushGroupMarkerEXT) /* 410 */ \ |
170 OP(PopGroupMarkerEXT) /* 411 */ \ | 170 OP(PopGroupMarkerEXT) /* 411 */ \ |
171 OP(GenVertexArraysOESImmediate) /* 412 */ \ | 171 OP(GenVertexArraysOESImmediate) /* 412 */ \ |
172 OP(DeleteVertexArraysOESImmediate) /* 413 */ \ | 172 OP(DeleteVertexArraysOESImmediate) /* 413 */ \ |
173 OP(IsVertexArrayOES) /* 414 */ \ | 173 OP(IsVertexArrayOES) /* 414 */ \ |
174 OP(BindVertexArrayOES) /* 415 */ \ | 174 OP(BindVertexArrayOES) /* 415 */ \ |
175 OP(SwapBuffers) /* 416 */ \ | 175 OP(SwapBuffers) /* 416 */ \ |
176 OP(GetMaxValueInBufferCHROMIUM) /* 417 */ \ | 176 OP(GetMaxValueInBufferCHROMIUM) /* 417 */ \ |
177 OP(GenSharedIdsCHROMIUM) /* 418 */ \ | 177 OP(EnableFeatureCHROMIUM) /* 418 */ \ |
178 OP(DeleteSharedIdsCHROMIUM) /* 419 */ \ | 178 OP(ResizeCHROMIUM) /* 419 */ \ |
179 OP(RegisterSharedIdsCHROMIUM) /* 420 */ \ | 179 OP(GetRequestableExtensionsCHROMIUM) /* 420 */ \ |
180 OP(EnableFeatureCHROMIUM) /* 421 */ \ | 180 OP(RequestExtensionCHROMIUM) /* 421 */ \ |
181 OP(ResizeCHROMIUM) /* 422 */ \ | 181 OP(GetMultipleIntegervCHROMIUM) /* 422 */ \ |
182 OP(GetRequestableExtensionsCHROMIUM) /* 423 */ \ | 182 OP(GetProgramInfoCHROMIUM) /* 423 */ \ |
183 OP(RequestExtensionCHROMIUM) /* 424 */ \ | 183 OP(GetTranslatedShaderSourceANGLE) /* 424 */ \ |
184 OP(GetMultipleIntegervCHROMIUM) /* 425 */ \ | 184 OP(PostSubBufferCHROMIUM) /* 425 */ \ |
185 OP(GetProgramInfoCHROMIUM) /* 426 */ \ | 185 OP(TexImageIOSurface2DCHROMIUM) /* 426 */ \ |
186 OP(GetTranslatedShaderSourceANGLE) /* 427 */ \ | 186 OP(CopyTextureCHROMIUM) /* 427 */ \ |
187 OP(PostSubBufferCHROMIUM) /* 428 */ \ | 187 OP(DrawArraysInstancedANGLE) /* 428 */ \ |
188 OP(TexImageIOSurface2DCHROMIUM) /* 429 */ \ | 188 OP(DrawElementsInstancedANGLE) /* 429 */ \ |
189 OP(CopyTextureCHROMIUM) /* 430 */ \ | 189 OP(VertexAttribDivisorANGLE) /* 430 */ \ |
190 OP(DrawArraysInstancedANGLE) /* 431 */ \ | 190 OP(GenMailboxCHROMIUM) /* 431 */ \ |
191 OP(DrawElementsInstancedANGLE) /* 432 */ \ | 191 OP(ProduceTextureCHROMIUMImmediate) /* 432 */ \ |
192 OP(VertexAttribDivisorANGLE) /* 433 */ \ | 192 OP(ProduceTextureDirectCHROMIUMImmediate) /* 433 */ \ |
193 OP(GenMailboxCHROMIUM) /* 434 */ \ | 193 OP(ConsumeTextureCHROMIUMImmediate) /* 434 */ \ |
194 OP(ProduceTextureCHROMIUMImmediate) /* 435 */ \ | 194 OP(CreateAndConsumeTextureCHROMIUMImmediate) /* 435 */ \ |
195 OP(ProduceTextureDirectCHROMIUMImmediate) /* 436 */ \ | 195 OP(BindUniformLocationCHROMIUMBucket) /* 436 */ \ |
196 OP(ConsumeTextureCHROMIUMImmediate) /* 437 */ \ | 196 OP(BindTexImage2DCHROMIUM) /* 437 */ \ |
197 OP(CreateAndConsumeTextureCHROMIUMImmediate) /* 438 */ \ | 197 OP(ReleaseTexImage2DCHROMIUM) /* 438 */ \ |
198 OP(BindUniformLocationCHROMIUMBucket) /* 439 */ \ | 198 OP(TraceBeginCHROMIUM) /* 439 */ \ |
199 OP(BindTexImage2DCHROMIUM) /* 440 */ \ | 199 OP(TraceEndCHROMIUM) /* 440 */ \ |
200 OP(ReleaseTexImage2DCHROMIUM) /* 441 */ \ | 200 OP(AsyncTexSubImage2DCHROMIUM) /* 441 */ \ |
201 OP(TraceBeginCHROMIUM) /* 442 */ \ | 201 OP(AsyncTexImage2DCHROMIUM) /* 442 */ \ |
202 OP(TraceEndCHROMIUM) /* 443 */ \ | 202 OP(WaitAsyncTexImage2DCHROMIUM) /* 443 */ \ |
203 OP(AsyncTexSubImage2DCHROMIUM) /* 444 */ \ | 203 OP(WaitAllAsyncTexImage2DCHROMIUM) /* 444 */ \ |
204 OP(AsyncTexImage2DCHROMIUM) /* 445 */ \ | 204 OP(DiscardFramebufferEXTImmediate) /* 445 */ \ |
205 OP(WaitAsyncTexImage2DCHROMIUM) /* 446 */ \ | 205 OP(LoseContextCHROMIUM) /* 446 */ \ |
206 OP(WaitAllAsyncTexImage2DCHROMIUM) /* 447 */ \ | 206 OP(InsertSyncPointCHROMIUM) /* 447 */ \ |
207 OP(DiscardFramebufferEXTImmediate) /* 448 */ \ | 207 OP(WaitSyncPointCHROMIUM) /* 448 */ \ |
208 OP(LoseContextCHROMIUM) /* 449 */ \ | 208 OP(DrawBuffersEXTImmediate) /* 449 */ \ |
209 OP(InsertSyncPointCHROMIUM) /* 450 */ \ | 209 OP(DiscardBackbufferCHROMIUM) /* 450 */ \ |
210 OP(WaitSyncPointCHROMIUM) /* 451 */ \ | 210 OP(ScheduleOverlayPlaneCHROMIUM) /* 451 */ \ |
211 OP(DrawBuffersEXTImmediate) /* 452 */ \ | 211 OP(MatrixLoadfCHROMIUMImmediate) /* 452 */ \ |
212 OP(DiscardBackbufferCHROMIUM) /* 453 */ \ | 212 OP(MatrixLoadIdentityCHROMIUM) /* 453 */ |
213 OP(ScheduleOverlayPlaneCHROMIUM) /* 454 */ \ | |
214 OP(MatrixLoadfCHROMIUMImmediate) /* 455 */ \ | |
215 OP(MatrixLoadIdentityCHROMIUM) /* 456 */ | |
216 | 213 |
217 enum CommandId { | 214 enum CommandId { |
218 kStartPoint = cmd::kLastCommonId, // All GLES2 commands start after this. | 215 kStartPoint = cmd::kLastCommonId, // All GLES2 commands start after this. |
219 #define GLES2_CMD_OP(name) k##name, | 216 #define GLES2_CMD_OP(name) k##name, |
220 GLES2_COMMAND_LIST(GLES2_CMD_OP) | 217 GLES2_COMMAND_LIST(GLES2_CMD_OP) |
221 #undef GLES2_CMD_OP | 218 #undef GLES2_CMD_OP |
222 kNumCommands | 219 kNumCommands |
223 }; | 220 }; |
224 | 221 |
225 #endif // GPU_COMMAND_BUFFER_COMMON_GLES2_CMD_IDS_AUTOGEN_H_ | 222 #endif // GPU_COMMAND_BUFFER_COMMON_GLES2_CMD_IDS_AUTOGEN_H_ |
OLD | NEW |