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 439 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
450 GL_RENDERER, | 450 GL_RENDERER, |
451 GL_VERSION, | 451 GL_VERSION, |
452 GL_SHADING_LANGUAGE_VERSION, | 452 GL_SHADING_LANGUAGE_VERSION, |
453 GL_EXTENSIONS, | 453 GL_EXTENSIONS, |
454 }; | 454 }; |
455 | 455 |
456 static const GLenum valid_subscription_target_table[] = { | 456 static const GLenum valid_subscription_target_table[] = { |
457 GL_MOUSE_POSITION_CHROMIUM, | 457 GL_MOUSE_POSITION_CHROMIUM, |
458 }; | 458 }; |
459 | 459 |
460 static const GLbitfield valid_sync_flush_flags_table[] = { | |
461 GL_SYNC_FLUSH_COMMANDS_BIT, | |
462 0, | |
463 }; | |
464 | |
465 static const GLenum valid_texture_3_d_target_table[] = { | 460 static const GLenum valid_texture_3_d_target_table[] = { |
466 GL_TEXTURE_3D, | 461 GL_TEXTURE_3D, |
467 GL_TEXTURE_2D_ARRAY, | 462 GL_TEXTURE_2D_ARRAY, |
468 }; | 463 }; |
469 | 464 |
470 static const GLenum valid_texture_bind_target_table[] = { | 465 static const GLenum valid_texture_bind_target_table[] = { |
471 GL_TEXTURE_2D, | 466 GL_TEXTURE_2D, |
472 GL_TEXTURE_CUBE_MAP, | 467 GL_TEXTURE_CUBE_MAP, |
473 }; | 468 }; |
474 | 469 |
(...skipping 211 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
686 arraysize(valid_shader_parameter_table)), | 681 arraysize(valid_shader_parameter_table)), |
687 shader_precision(valid_shader_precision_table, | 682 shader_precision(valid_shader_precision_table, |
688 arraysize(valid_shader_precision_table)), | 683 arraysize(valid_shader_precision_table)), |
689 shader_type(valid_shader_type_table, arraysize(valid_shader_type_table)), | 684 shader_type(valid_shader_type_table, arraysize(valid_shader_type_table)), |
690 src_blend_factor(valid_src_blend_factor_table, | 685 src_blend_factor(valid_src_blend_factor_table, |
691 arraysize(valid_src_blend_factor_table)), | 686 arraysize(valid_src_blend_factor_table)), |
692 stencil_op(valid_stencil_op_table, arraysize(valid_stencil_op_table)), | 687 stencil_op(valid_stencil_op_table, arraysize(valid_stencil_op_table)), |
693 string_type(valid_string_type_table, arraysize(valid_string_type_table)), | 688 string_type(valid_string_type_table, arraysize(valid_string_type_table)), |
694 subscription_target(valid_subscription_target_table, | 689 subscription_target(valid_subscription_target_table, |
695 arraysize(valid_subscription_target_table)), | 690 arraysize(valid_subscription_target_table)), |
696 sync_flush_flags(valid_sync_flush_flags_table, | |
697 arraysize(valid_sync_flush_flags_table)), | |
698 texture_3_d_target(valid_texture_3_d_target_table, | 691 texture_3_d_target(valid_texture_3_d_target_table, |
699 arraysize(valid_texture_3_d_target_table)), | 692 arraysize(valid_texture_3_d_target_table)), |
700 texture_bind_target(valid_texture_bind_target_table, | 693 texture_bind_target(valid_texture_bind_target_table, |
701 arraysize(valid_texture_bind_target_table)), | 694 arraysize(valid_texture_bind_target_table)), |
702 texture_format(valid_texture_format_table, | 695 texture_format(valid_texture_format_table, |
703 arraysize(valid_texture_format_table)), | 696 arraysize(valid_texture_format_table)), |
704 texture_internal_format(valid_texture_internal_format_table, | 697 texture_internal_format(valid_texture_internal_format_table, |
705 arraysize(valid_texture_internal_format_table)), | 698 arraysize(valid_texture_internal_format_table)), |
706 texture_internal_format_storage( | 699 texture_internal_format_storage( |
707 valid_texture_internal_format_storage_table, | 700 valid_texture_internal_format_storage_table, |
(...skipping 28 matching lines...) Expand all Loading... |
736 arraysize(valid_vertex_attrib_size_table)), | 729 arraysize(valid_vertex_attrib_size_table)), |
737 vertex_attrib_type(valid_vertex_attrib_type_table, | 730 vertex_attrib_type(valid_vertex_attrib_type_table, |
738 arraysize(valid_vertex_attrib_type_table)), | 731 arraysize(valid_vertex_attrib_type_table)), |
739 vertex_attribute(valid_vertex_attribute_table, | 732 vertex_attribute(valid_vertex_attribute_table, |
740 arraysize(valid_vertex_attribute_table)), | 733 arraysize(valid_vertex_attribute_table)), |
741 vertex_pointer(valid_vertex_pointer_table, | 734 vertex_pointer(valid_vertex_pointer_table, |
742 arraysize(valid_vertex_pointer_table)) { | 735 arraysize(valid_vertex_pointer_table)) { |
743 } | 736 } |
744 | 737 |
745 #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 |