| 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 848 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 859 GL_UNIFORM_OFFSET, | 859 GL_UNIFORM_OFFSET, |
| 860 GL_UNIFORM_ARRAY_STRIDE, | 860 GL_UNIFORM_ARRAY_STRIDE, |
| 861 GL_UNIFORM_MATRIX_STRIDE, | 861 GL_UNIFORM_MATRIX_STRIDE, |
| 862 GL_UNIFORM_IS_ROW_MAJOR, | 862 GL_UNIFORM_IS_ROW_MAJOR, |
| 863 }; | 863 }; |
| 864 | 864 |
| 865 static const GLenum valid_value_buffer_target_table[] = { | 865 static const GLenum valid_value_buffer_target_table[] = { |
| 866 GL_SUBSCRIBED_VALUES_BUFFER_CHROMIUM, | 866 GL_SUBSCRIBED_VALUES_BUFFER_CHROMIUM, |
| 867 }; | 867 }; |
| 868 | 868 |
| 869 static const GLenum valid_vertex_attrib_i_type_table[] = { |
| 870 GL_BYTE, |
| 871 GL_UNSIGNED_BYTE, |
| 872 GL_SHORT, |
| 873 GL_UNSIGNED_SHORT, |
| 874 GL_INT, |
| 875 GL_UNSIGNED_INT, |
| 876 }; |
| 877 |
| 869 static const GLint valid_vertex_attrib_size_table[] = { | 878 static const GLint valid_vertex_attrib_size_table[] = { |
| 870 1, | 879 1, |
| 871 2, | 880 2, |
| 872 3, | 881 3, |
| 873 4, | 882 4, |
| 874 }; | 883 }; |
| 875 | 884 |
| 876 static const GLenum valid_vertex_attrib_type_table[] = { | 885 static const GLenum valid_vertex_attrib_type_table[] = { |
| 877 GL_BYTE, | 886 GL_BYTE, |
| 878 GL_UNSIGNED_BYTE, | 887 GL_UNSIGNED_BYTE, |
| (...skipping 136 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1015 arraysize(valid_transform_feedback_bind_target_table)), | 1024 arraysize(valid_transform_feedback_bind_target_table)), |
| 1016 transform_feedback_primitive_mode( | 1025 transform_feedback_primitive_mode( |
| 1017 valid_transform_feedback_primitive_mode_table, | 1026 valid_transform_feedback_primitive_mode_table, |
| 1018 arraysize(valid_transform_feedback_primitive_mode_table)), | 1027 arraysize(valid_transform_feedback_primitive_mode_table)), |
| 1019 uniform_block_parameter(valid_uniform_block_parameter_table, | 1028 uniform_block_parameter(valid_uniform_block_parameter_table, |
| 1020 arraysize(valid_uniform_block_parameter_table)), | 1029 arraysize(valid_uniform_block_parameter_table)), |
| 1021 uniform_parameter(valid_uniform_parameter_table, | 1030 uniform_parameter(valid_uniform_parameter_table, |
| 1022 arraysize(valid_uniform_parameter_table)), | 1031 arraysize(valid_uniform_parameter_table)), |
| 1023 value_buffer_target(valid_value_buffer_target_table, | 1032 value_buffer_target(valid_value_buffer_target_table, |
| 1024 arraysize(valid_value_buffer_target_table)), | 1033 arraysize(valid_value_buffer_target_table)), |
| 1034 vertex_attrib_i_type(valid_vertex_attrib_i_type_table, |
| 1035 arraysize(valid_vertex_attrib_i_type_table)), |
| 1025 vertex_attrib_size(valid_vertex_attrib_size_table, | 1036 vertex_attrib_size(valid_vertex_attrib_size_table, |
| 1026 arraysize(valid_vertex_attrib_size_table)), | 1037 arraysize(valid_vertex_attrib_size_table)), |
| 1027 vertex_attrib_type(valid_vertex_attrib_type_table, | 1038 vertex_attrib_type(valid_vertex_attrib_type_table, |
| 1028 arraysize(valid_vertex_attrib_type_table)), | 1039 arraysize(valid_vertex_attrib_type_table)), |
| 1029 vertex_attribute(valid_vertex_attribute_table, | 1040 vertex_attribute(valid_vertex_attribute_table, |
| 1030 arraysize(valid_vertex_attribute_table)), | 1041 arraysize(valid_vertex_attribute_table)), |
| 1031 vertex_pointer(valid_vertex_pointer_table, | 1042 vertex_pointer(valid_vertex_pointer_table, |
| 1032 arraysize(valid_vertex_pointer_table)) { | 1043 arraysize(valid_vertex_pointer_table)) { |
| 1033 } | 1044 } |
| 1034 | 1045 |
| (...skipping 15 matching lines...) Expand all Loading... |
| 1050 arraysize(valid_texture_internal_format_table_es3)); | 1061 arraysize(valid_texture_internal_format_table_es3)); |
| 1051 texture_internal_format_storage.RemoveValues( | 1062 texture_internal_format_storage.RemoveValues( |
| 1052 deprecated_texture_internal_format_storage_table_es3, | 1063 deprecated_texture_internal_format_storage_table_es3, |
| 1053 arraysize(deprecated_texture_internal_format_storage_table_es3)); | 1064 arraysize(deprecated_texture_internal_format_storage_table_es3)); |
| 1054 texture_internal_format_storage.AddValues( | 1065 texture_internal_format_storage.AddValues( |
| 1055 valid_texture_internal_format_storage_table_es3, | 1066 valid_texture_internal_format_storage_table_es3, |
| 1056 arraysize(valid_texture_internal_format_storage_table_es3)); | 1067 arraysize(valid_texture_internal_format_storage_table_es3)); |
| 1057 } | 1068 } |
| 1058 | 1069 |
| 1059 #endif // GPU_COMMAND_BUFFER_SERVICE_GLES2_CMD_VALIDATION_IMPLEMENTATION_AUTOGE
N_H_ | 1070 #endif // GPU_COMMAND_BUFFER_SERVICE_GLES2_CMD_VALIDATION_IMPLEMENTATION_AUTOGE
N_H_ |
| OLD | NEW |