| 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 399 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 410 GL_RENDERER, | 410 GL_RENDERER, |
| 411 GL_VERSION, | 411 GL_VERSION, |
| 412 GL_SHADING_LANGUAGE_VERSION, | 412 GL_SHADING_LANGUAGE_VERSION, |
| 413 GL_EXTENSIONS, | 413 GL_EXTENSIONS, |
| 414 }; | 414 }; |
| 415 | 415 |
| 416 static const GLenum valid_subscription_target_table[] = { | 416 static const GLenum valid_subscription_target_table[] = { |
| 417 GL_MOUSE_POSITION_CHROMIUM, | 417 GL_MOUSE_POSITION_CHROMIUM, |
| 418 }; | 418 }; |
| 419 | 419 |
| 420 static const GLenum valid_texture_3_d_target_table[] = { |
| 421 GL_TEXTURE_3D, |
| 422 GL_TEXTURE_2D_ARRAY, |
| 423 }; |
| 424 |
| 420 static const GLenum valid_texture_bind_target_table[] = { | 425 static const GLenum valid_texture_bind_target_table[] = { |
| 421 GL_TEXTURE_2D, | 426 GL_TEXTURE_2D, |
| 422 GL_TEXTURE_CUBE_MAP, | 427 GL_TEXTURE_CUBE_MAP, |
| 423 }; | 428 }; |
| 424 | 429 |
| 425 static const GLenum valid_texture_format_table[] = { | 430 static const GLenum valid_texture_format_table[] = { |
| 426 GL_ALPHA, | 431 GL_ALPHA, |
| 427 GL_LUMINANCE, | 432 GL_LUMINANCE, |
| 428 GL_LUMINANCE_ALPHA, | 433 GL_LUMINANCE_ALPHA, |
| 429 GL_RGB, | 434 GL_RGB, |
| (...skipping 166 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 596 arraysize(valid_shader_parameter_table)), | 601 arraysize(valid_shader_parameter_table)), |
| 597 shader_precision(valid_shader_precision_table, | 602 shader_precision(valid_shader_precision_table, |
| 598 arraysize(valid_shader_precision_table)), | 603 arraysize(valid_shader_precision_table)), |
| 599 shader_type(valid_shader_type_table, arraysize(valid_shader_type_table)), | 604 shader_type(valid_shader_type_table, arraysize(valid_shader_type_table)), |
| 600 src_blend_factor(valid_src_blend_factor_table, | 605 src_blend_factor(valid_src_blend_factor_table, |
| 601 arraysize(valid_src_blend_factor_table)), | 606 arraysize(valid_src_blend_factor_table)), |
| 602 stencil_op(valid_stencil_op_table, arraysize(valid_stencil_op_table)), | 607 stencil_op(valid_stencil_op_table, arraysize(valid_stencil_op_table)), |
| 603 string_type(valid_string_type_table, arraysize(valid_string_type_table)), | 608 string_type(valid_string_type_table, arraysize(valid_string_type_table)), |
| 604 subscription_target(valid_subscription_target_table, | 609 subscription_target(valid_subscription_target_table, |
| 605 arraysize(valid_subscription_target_table)), | 610 arraysize(valid_subscription_target_table)), |
| 611 texture_3_d_target(valid_texture_3_d_target_table, |
| 612 arraysize(valid_texture_3_d_target_table)), |
| 606 texture_bind_target(valid_texture_bind_target_table, | 613 texture_bind_target(valid_texture_bind_target_table, |
| 607 arraysize(valid_texture_bind_target_table)), | 614 arraysize(valid_texture_bind_target_table)), |
| 608 texture_format(valid_texture_format_table, | 615 texture_format(valid_texture_format_table, |
| 609 arraysize(valid_texture_format_table)), | 616 arraysize(valid_texture_format_table)), |
| 610 texture_internal_format(valid_texture_internal_format_table, | 617 texture_internal_format(valid_texture_internal_format_table, |
| 611 arraysize(valid_texture_internal_format_table)), | 618 arraysize(valid_texture_internal_format_table)), |
| 612 texture_internal_format_storage( | 619 texture_internal_format_storage( |
| 613 valid_texture_internal_format_storage_table, | 620 valid_texture_internal_format_storage_table, |
| 614 arraysize(valid_texture_internal_format_storage_table)), | 621 arraysize(valid_texture_internal_format_storage_table)), |
| 615 texture_mag_filter_mode(valid_texture_mag_filter_mode_table, | 622 texture_mag_filter_mode(valid_texture_mag_filter_mode_table, |
| (...skipping 16 matching lines...) Expand all Loading... |
| 632 arraysize(valid_vertex_attrib_size_table)), | 639 arraysize(valid_vertex_attrib_size_table)), |
| 633 vertex_attrib_type(valid_vertex_attrib_type_table, | 640 vertex_attrib_type(valid_vertex_attrib_type_table, |
| 634 arraysize(valid_vertex_attrib_type_table)), | 641 arraysize(valid_vertex_attrib_type_table)), |
| 635 vertex_attribute(valid_vertex_attribute_table, | 642 vertex_attribute(valid_vertex_attribute_table, |
| 636 arraysize(valid_vertex_attribute_table)), | 643 arraysize(valid_vertex_attribute_table)), |
| 637 vertex_pointer(valid_vertex_pointer_table, | 644 vertex_pointer(valid_vertex_pointer_table, |
| 638 arraysize(valid_vertex_pointer_table)) { | 645 arraysize(valid_vertex_pointer_table)) { |
| 639 } | 646 } |
| 640 | 647 |
| 641 #endif // GPU_COMMAND_BUFFER_SERVICE_GLES2_CMD_VALIDATION_IMPLEMENTATION_AUTOGE
N_H_ | 648 #endif // GPU_COMMAND_BUFFER_SERVICE_GLES2_CMD_VALIDATION_IMPLEMENTATION_AUTOGE
N_H_ |
| OLD | NEW |