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 444 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
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[] = { | 460 static const GLbitfield valid_sync_flush_flags_table[] = { |
461 GL_SYNC_FLUSH_COMMANDS_BIT, | 461 GL_SYNC_FLUSH_COMMANDS_BIT, |
462 0, | 462 0, |
463 }; | 463 }; |
464 | 464 |
| 465 static const GLenum valid_sync_parameter_table[] = { |
| 466 GL_SYNC_STATUS, |
| 467 GL_OBJECT_TYPE, |
| 468 GL_SYNC_CONDITION, |
| 469 GL_SYNC_FLAGS, |
| 470 }; |
| 471 |
465 static const GLenum valid_texture_3_d_target_table[] = { | 472 static const GLenum valid_texture_3_d_target_table[] = { |
466 GL_TEXTURE_3D, | 473 GL_TEXTURE_3D, |
467 GL_TEXTURE_2D_ARRAY, | 474 GL_TEXTURE_2D_ARRAY, |
468 }; | 475 }; |
469 | 476 |
470 static const GLenum valid_texture_bind_target_table[] = { | 477 static const GLenum valid_texture_bind_target_table[] = { |
471 GL_TEXTURE_2D, | 478 GL_TEXTURE_2D, |
472 GL_TEXTURE_CUBE_MAP, | 479 GL_TEXTURE_CUBE_MAP, |
473 }; | 480 }; |
474 | 481 |
(...skipping 213 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
688 arraysize(valid_shader_precision_table)), | 695 arraysize(valid_shader_precision_table)), |
689 shader_type(valid_shader_type_table, arraysize(valid_shader_type_table)), | 696 shader_type(valid_shader_type_table, arraysize(valid_shader_type_table)), |
690 src_blend_factor(valid_src_blend_factor_table, | 697 src_blend_factor(valid_src_blend_factor_table, |
691 arraysize(valid_src_blend_factor_table)), | 698 arraysize(valid_src_blend_factor_table)), |
692 stencil_op(valid_stencil_op_table, arraysize(valid_stencil_op_table)), | 699 stencil_op(valid_stencil_op_table, arraysize(valid_stencil_op_table)), |
693 string_type(valid_string_type_table, arraysize(valid_string_type_table)), | 700 string_type(valid_string_type_table, arraysize(valid_string_type_table)), |
694 subscription_target(valid_subscription_target_table, | 701 subscription_target(valid_subscription_target_table, |
695 arraysize(valid_subscription_target_table)), | 702 arraysize(valid_subscription_target_table)), |
696 sync_flush_flags(valid_sync_flush_flags_table, | 703 sync_flush_flags(valid_sync_flush_flags_table, |
697 arraysize(valid_sync_flush_flags_table)), | 704 arraysize(valid_sync_flush_flags_table)), |
| 705 sync_parameter(valid_sync_parameter_table, |
| 706 arraysize(valid_sync_parameter_table)), |
698 texture_3_d_target(valid_texture_3_d_target_table, | 707 texture_3_d_target(valid_texture_3_d_target_table, |
699 arraysize(valid_texture_3_d_target_table)), | 708 arraysize(valid_texture_3_d_target_table)), |
700 texture_bind_target(valid_texture_bind_target_table, | 709 texture_bind_target(valid_texture_bind_target_table, |
701 arraysize(valid_texture_bind_target_table)), | 710 arraysize(valid_texture_bind_target_table)), |
702 texture_format(valid_texture_format_table, | 711 texture_format(valid_texture_format_table, |
703 arraysize(valid_texture_format_table)), | 712 arraysize(valid_texture_format_table)), |
704 texture_internal_format(valid_texture_internal_format_table, | 713 texture_internal_format(valid_texture_internal_format_table, |
705 arraysize(valid_texture_internal_format_table)), | 714 arraysize(valid_texture_internal_format_table)), |
706 texture_internal_format_storage( | 715 texture_internal_format_storage( |
707 valid_texture_internal_format_storage_table, | 716 valid_texture_internal_format_storage_table, |
(...skipping 28 matching lines...) Expand all Loading... |
736 arraysize(valid_vertex_attrib_size_table)), | 745 arraysize(valid_vertex_attrib_size_table)), |
737 vertex_attrib_type(valid_vertex_attrib_type_table, | 746 vertex_attrib_type(valid_vertex_attrib_type_table, |
738 arraysize(valid_vertex_attrib_type_table)), | 747 arraysize(valid_vertex_attrib_type_table)), |
739 vertex_attribute(valid_vertex_attribute_table, | 748 vertex_attribute(valid_vertex_attribute_table, |
740 arraysize(valid_vertex_attribute_table)), | 749 arraysize(valid_vertex_attribute_table)), |
741 vertex_pointer(valid_vertex_pointer_table, | 750 vertex_pointer(valid_vertex_pointer_table, |
742 arraysize(valid_vertex_pointer_table)) { | 751 arraysize(valid_vertex_pointer_table)) { |
743 } | 752 } |
744 | 753 |
745 #endif // GPU_COMMAND_BUFFER_SERVICE_GLES2_CMD_VALIDATION_IMPLEMENTATION_AUTOGE
N_H_ | 754 #endif // GPU_COMMAND_BUFFER_SERVICE_GLES2_CMD_VALIDATION_IMPLEMENTATION_AUTOGE
N_H_ |
OLD | NEW |