| 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 534 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 545 static const GLenum valid_transform_feedback_bind_target_table[] = { | 545 static const GLenum valid_transform_feedback_bind_target_table[] = { |
| 546 GL_TRANSFORM_FEEDBACK, | 546 GL_TRANSFORM_FEEDBACK, |
| 547 }; | 547 }; |
| 548 | 548 |
| 549 static const GLenum valid_transform_feedback_primitive_mode_table[] = { | 549 static const GLenum valid_transform_feedback_primitive_mode_table[] = { |
| 550 GL_POINTS, | 550 GL_POINTS, |
| 551 GL_LINES, | 551 GL_LINES, |
| 552 GL_TRIANGLES, | 552 GL_TRIANGLES, |
| 553 }; | 553 }; |
| 554 | 554 |
| 555 static const GLenum valid_uniform_block_parameter_table[] = { |
| 556 GL_UNIFORM_BLOCK_BINDING, |
| 557 GL_UNIFORM_BLOCK_DATA_SIZE, |
| 558 GL_UNIFORM_BLOCK_NAME_LENGTH, |
| 559 GL_UNIFORM_BLOCK_ACTIVE_UNIFORMS, |
| 560 GL_UNIFORM_BLOCK_ACTIVE_UNIFORM_INDICES, |
| 561 GL_UNIFORM_BLOCK_REFERENCED_BY_VERTEX_SHADER, |
| 562 GL_UNIFORM_BLOCK_REFERENCED_BY_FRAGMENT_SHADER, |
| 563 }; |
| 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 |
| 555 static const GLenum valid_value_buffer_target_table[] = { | 576 static const GLenum valid_value_buffer_target_table[] = { |
| 556 GL_SUBSCRIBED_VALUES_BUFFER_CHROMIUM, | 577 GL_SUBSCRIBED_VALUES_BUFFER_CHROMIUM, |
| 557 }; | 578 }; |
| 558 | 579 |
| 559 static const GLint valid_vertex_attrib_size_table[] = { | 580 static const GLint valid_vertex_attrib_size_table[] = { |
| 560 1, | 581 1, |
| 561 2, | 582 2, |
| 562 3, | 583 3, |
| 563 4, | 584 4, |
| 564 }; | 585 }; |
| (...skipping 126 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 691 texture_usage(valid_texture_usage_table, | 712 texture_usage(valid_texture_usage_table, |
| 692 arraysize(valid_texture_usage_table)), | 713 arraysize(valid_texture_usage_table)), |
| 693 texture_wrap_mode(valid_texture_wrap_mode_table, | 714 texture_wrap_mode(valid_texture_wrap_mode_table, |
| 694 arraysize(valid_texture_wrap_mode_table)), | 715 arraysize(valid_texture_wrap_mode_table)), |
| 695 transform_feedback_bind_target( | 716 transform_feedback_bind_target( |
| 696 valid_transform_feedback_bind_target_table, | 717 valid_transform_feedback_bind_target_table, |
| 697 arraysize(valid_transform_feedback_bind_target_table)), | 718 arraysize(valid_transform_feedback_bind_target_table)), |
| 698 transform_feedback_primitive_mode( | 719 transform_feedback_primitive_mode( |
| 699 valid_transform_feedback_primitive_mode_table, | 720 valid_transform_feedback_primitive_mode_table, |
| 700 arraysize(valid_transform_feedback_primitive_mode_table)), | 721 arraysize(valid_transform_feedback_primitive_mode_table)), |
| 722 uniform_block_parameter(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)), |
| 701 value_buffer_target(valid_value_buffer_target_table, | 726 value_buffer_target(valid_value_buffer_target_table, |
| 702 arraysize(valid_value_buffer_target_table)), | 727 arraysize(valid_value_buffer_target_table)), |
| 703 vertex_attrib_size(valid_vertex_attrib_size_table, | 728 vertex_attrib_size(valid_vertex_attrib_size_table, |
| 704 arraysize(valid_vertex_attrib_size_table)), | 729 arraysize(valid_vertex_attrib_size_table)), |
| 705 vertex_attrib_type(valid_vertex_attrib_type_table, | 730 vertex_attrib_type(valid_vertex_attrib_type_table, |
| 706 arraysize(valid_vertex_attrib_type_table)), | 731 arraysize(valid_vertex_attrib_type_table)), |
| 707 vertex_attribute(valid_vertex_attribute_table, | 732 vertex_attribute(valid_vertex_attribute_table, |
| 708 arraysize(valid_vertex_attribute_table)), | 733 arraysize(valid_vertex_attribute_table)), |
| 709 vertex_pointer(valid_vertex_pointer_table, | 734 vertex_pointer(valid_vertex_pointer_table, |
| 710 arraysize(valid_vertex_pointer_table)) { | 735 arraysize(valid_vertex_pointer_table)) { |
| 711 } | 736 } |
| 712 | 737 |
| 713 #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 |