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 475 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
486 GL_NONE, | 486 GL_NONE, |
487 GL_FRAMEBUFFER_ATTACHMENT_ANGLE, | 487 GL_FRAMEBUFFER_ATTACHMENT_ANGLE, |
488 }; | 488 }; |
489 | 489 |
490 static const GLenum valid_texture_wrap_mode_table[] = { | 490 static const GLenum valid_texture_wrap_mode_table[] = { |
491 GL_CLAMP_TO_EDGE, | 491 GL_CLAMP_TO_EDGE, |
492 GL_MIRRORED_REPEAT, | 492 GL_MIRRORED_REPEAT, |
493 GL_REPEAT, | 493 GL_REPEAT, |
494 }; | 494 }; |
495 | 495 |
| 496 static const GLenum valid_uniform_subscription_target_table[] = { |
| 497 GL_MOUSE_POSITION_CHROMIUM, |
| 498 }; |
| 499 |
496 static const GLint valid_vertex_attrib_size_table[] = { | 500 static const GLint valid_vertex_attrib_size_table[] = { |
497 1, | 501 1, |
498 2, | 502 2, |
499 3, | 503 3, |
500 4, | 504 4, |
501 }; | 505 }; |
502 | 506 |
503 static const GLenum valid_vertex_attrib_type_table[] = { | 507 static const GLenum valid_vertex_attrib_type_table[] = { |
504 GL_BYTE, | 508 GL_BYTE, |
505 GL_UNSIGNED_BYTE, | 509 GL_UNSIGNED_BYTE, |
(...skipping 103 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
609 texture_parameter(valid_texture_parameter_table, | 613 texture_parameter(valid_texture_parameter_table, |
610 arraysize(valid_texture_parameter_table)), | 614 arraysize(valid_texture_parameter_table)), |
611 texture_pool(valid_texture_pool_table, | 615 texture_pool(valid_texture_pool_table, |
612 arraysize(valid_texture_pool_table)), | 616 arraysize(valid_texture_pool_table)), |
613 texture_target(valid_texture_target_table, | 617 texture_target(valid_texture_target_table, |
614 arraysize(valid_texture_target_table)), | 618 arraysize(valid_texture_target_table)), |
615 texture_usage(valid_texture_usage_table, | 619 texture_usage(valid_texture_usage_table, |
616 arraysize(valid_texture_usage_table)), | 620 arraysize(valid_texture_usage_table)), |
617 texture_wrap_mode(valid_texture_wrap_mode_table, | 621 texture_wrap_mode(valid_texture_wrap_mode_table, |
618 arraysize(valid_texture_wrap_mode_table)), | 622 arraysize(valid_texture_wrap_mode_table)), |
| 623 uniform_subscription_target( |
| 624 valid_uniform_subscription_target_table, |
| 625 arraysize(valid_uniform_subscription_target_table)), |
619 vertex_attrib_size(valid_vertex_attrib_size_table, | 626 vertex_attrib_size(valid_vertex_attrib_size_table, |
620 arraysize(valid_vertex_attrib_size_table)), | 627 arraysize(valid_vertex_attrib_size_table)), |
621 vertex_attrib_type(valid_vertex_attrib_type_table, | 628 vertex_attrib_type(valid_vertex_attrib_type_table, |
622 arraysize(valid_vertex_attrib_type_table)), | 629 arraysize(valid_vertex_attrib_type_table)), |
623 vertex_attribute(valid_vertex_attribute_table, | 630 vertex_attribute(valid_vertex_attribute_table, |
624 arraysize(valid_vertex_attribute_table)), | 631 arraysize(valid_vertex_attribute_table)), |
625 vertex_pointer(valid_vertex_pointer_table, | 632 vertex_pointer(valid_vertex_pointer_table, |
626 arraysize(valid_vertex_pointer_table)) { | 633 arraysize(valid_vertex_pointer_table)) { |
627 } | 634 } |
628 | 635 |
629 #endif // GPU_COMMAND_BUFFER_SERVICE_GLES2_CMD_VALIDATION_IMPLEMENTATION_AUTOGE
N_H_ | 636 #endif // GPU_COMMAND_BUFFER_SERVICE_GLES2_CMD_VALIDATION_IMPLEMENTATION_AUTOGE
N_H_ |
OLD | NEW |