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 544 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
555 static const GLenum valid_uniform_block_parameter_table[] = { | 555 static const GLenum valid_uniform_block_parameter_table[] = { |
556 GL_UNIFORM_BLOCK_BINDING, | 556 GL_UNIFORM_BLOCK_BINDING, |
557 GL_UNIFORM_BLOCK_DATA_SIZE, | 557 GL_UNIFORM_BLOCK_DATA_SIZE, |
558 GL_UNIFORM_BLOCK_NAME_LENGTH, | 558 GL_UNIFORM_BLOCK_NAME_LENGTH, |
559 GL_UNIFORM_BLOCK_ACTIVE_UNIFORMS, | 559 GL_UNIFORM_BLOCK_ACTIVE_UNIFORMS, |
560 GL_UNIFORM_BLOCK_ACTIVE_UNIFORM_INDICES, | 560 GL_UNIFORM_BLOCK_ACTIVE_UNIFORM_INDICES, |
561 GL_UNIFORM_BLOCK_REFERENCED_BY_VERTEX_SHADER, | 561 GL_UNIFORM_BLOCK_REFERENCED_BY_VERTEX_SHADER, |
562 GL_UNIFORM_BLOCK_REFERENCED_BY_FRAGMENT_SHADER, | 562 GL_UNIFORM_BLOCK_REFERENCED_BY_FRAGMENT_SHADER, |
563 }; | 563 }; |
564 | 564 |
| 565 static const GLenum valid_uniform_parameter_table[] = { |
| 566 GL_UNIFORM_SIZE, |
| 567 GL_UNIFORM_TYPE, |
| 568 GL_UNIFORM_NAME_LENGTH, |
| 569 GL_UNIFORM_BLOCK_INDEX, |
| 570 GL_UNIFORM_OFFSET, |
| 571 GL_UNIFORM_ARRAY_STRIDE, |
| 572 GL_UNIFORM_MATRIX_STRIDE, |
| 573 GL_UNIFORM_IS_ROW_MAJOR, |
| 574 }; |
| 575 |
565 static const GLenum valid_value_buffer_target_table[] = { | 576 static const GLenum valid_value_buffer_target_table[] = { |
566 GL_SUBSCRIBED_VALUES_BUFFER_CHROMIUM, | 577 GL_SUBSCRIBED_VALUES_BUFFER_CHROMIUM, |
567 }; | 578 }; |
568 | 579 |
569 static const GLint valid_vertex_attrib_size_table[] = { | 580 static const GLint valid_vertex_attrib_size_table[] = { |
570 1, | 581 1, |
571 2, | 582 2, |
572 3, | 583 3, |
573 4, | 584 4, |
574 }; | 585 }; |
(...skipping 128 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
703 texture_wrap_mode(valid_texture_wrap_mode_table, | 714 texture_wrap_mode(valid_texture_wrap_mode_table, |
704 arraysize(valid_texture_wrap_mode_table)), | 715 arraysize(valid_texture_wrap_mode_table)), |
705 transform_feedback_bind_target( | 716 transform_feedback_bind_target( |
706 valid_transform_feedback_bind_target_table, | 717 valid_transform_feedback_bind_target_table, |
707 arraysize(valid_transform_feedback_bind_target_table)), | 718 arraysize(valid_transform_feedback_bind_target_table)), |
708 transform_feedback_primitive_mode( | 719 transform_feedback_primitive_mode( |
709 valid_transform_feedback_primitive_mode_table, | 720 valid_transform_feedback_primitive_mode_table, |
710 arraysize(valid_transform_feedback_primitive_mode_table)), | 721 arraysize(valid_transform_feedback_primitive_mode_table)), |
711 uniform_block_parameter(valid_uniform_block_parameter_table, | 722 uniform_block_parameter(valid_uniform_block_parameter_table, |
712 arraysize(valid_uniform_block_parameter_table)), | 723 arraysize(valid_uniform_block_parameter_table)), |
| 724 uniform_parameter(valid_uniform_parameter_table, |
| 725 arraysize(valid_uniform_parameter_table)), |
713 value_buffer_target(valid_value_buffer_target_table, | 726 value_buffer_target(valid_value_buffer_target_table, |
714 arraysize(valid_value_buffer_target_table)), | 727 arraysize(valid_value_buffer_target_table)), |
715 vertex_attrib_size(valid_vertex_attrib_size_table, | 728 vertex_attrib_size(valid_vertex_attrib_size_table, |
716 arraysize(valid_vertex_attrib_size_table)), | 729 arraysize(valid_vertex_attrib_size_table)), |
717 vertex_attrib_type(valid_vertex_attrib_type_table, | 730 vertex_attrib_type(valid_vertex_attrib_type_table, |
718 arraysize(valid_vertex_attrib_type_table)), | 731 arraysize(valid_vertex_attrib_type_table)), |
719 vertex_attribute(valid_vertex_attribute_table, | 732 vertex_attribute(valid_vertex_attribute_table, |
720 arraysize(valid_vertex_attribute_table)), | 733 arraysize(valid_vertex_attribute_table)), |
721 vertex_pointer(valid_vertex_pointer_table, | 734 vertex_pointer(valid_vertex_pointer_table, |
722 arraysize(valid_vertex_pointer_table)) { | 735 arraysize(valid_vertex_pointer_table)) { |
723 } | 736 } |
724 | 737 |
725 #endif // GPU_COMMAND_BUFFER_SERVICE_GLES2_CMD_VALIDATION_IMPLEMENTATION_AUTOGE
N_H_ | 738 #endif // GPU_COMMAND_BUFFER_SERVICE_GLES2_CMD_VALIDATION_IMPLEMENTATION_AUTOGE
N_H_ |
OLD | NEW |