| 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 345 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 356 | 356 |
| 357 static const GLenum valid_hint_target_table[] = { | 357 static const GLenum valid_hint_target_table[] = { |
| 358 GL_GENERATE_MIPMAP_HINT, | 358 GL_GENERATE_MIPMAP_HINT, |
| 359 }; | 359 }; |
| 360 | 360 |
| 361 static const GLenum valid_hint_target_table_es3[] = { | 361 static const GLenum valid_hint_target_table_es3[] = { |
| 362 GL_FRAGMENT_SHADER_DERIVATIVE_HINT, | 362 GL_FRAGMENT_SHADER_DERIVATIVE_HINT, |
| 363 }; | 363 }; |
| 364 | 364 |
| 365 static const GLenum valid_image_internal_format_table[] = { | 365 static const GLenum valid_image_internal_format_table[] = { |
| 366 GL_RGB, GL_RGB_YUV_420_CHROMIUM, GL_RGB_YCBCR_422_CHROMIUM, GL_RGBA, | 366 GL_RGB, |
| 367 GL_RGB_YUV_420_CHROMIUM, |
| 368 GL_RGB_YCBCR_422_CHROMIUM, |
| 369 GL_RGB_YCBCR_420V_CHROMIUM, |
| 370 GL_RGBA, |
| 367 }; | 371 }; |
| 368 | 372 |
| 369 static const GLenum valid_image_usage_table[] = { | 373 static const GLenum valid_image_usage_table[] = { |
| 370 GL_READ_WRITE_CHROMIUM, | 374 GL_READ_WRITE_CHROMIUM, |
| 371 }; | 375 }; |
| 372 | 376 |
| 373 static const GLenum valid_index_type_table[] = { | 377 static const GLenum valid_index_type_table[] = { |
| 374 GL_UNSIGNED_BYTE, GL_UNSIGNED_SHORT, | 378 GL_UNSIGNED_BYTE, GL_UNSIGNED_SHORT, |
| 375 }; | 379 }; |
| 376 | 380 |
| (...skipping 825 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1202 arraysize(valid_texture_internal_format_storage_table_es3)); | 1206 arraysize(valid_texture_internal_format_storage_table_es3)); |
| 1203 texture_parameter.AddValues(valid_texture_parameter_table_es3, | 1207 texture_parameter.AddValues(valid_texture_parameter_table_es3, |
| 1204 arraysize(valid_texture_parameter_table_es3)); | 1208 arraysize(valid_texture_parameter_table_es3)); |
| 1205 vertex_attrib_type.AddValues(valid_vertex_attrib_type_table_es3, | 1209 vertex_attrib_type.AddValues(valid_vertex_attrib_type_table_es3, |
| 1206 arraysize(valid_vertex_attrib_type_table_es3)); | 1210 arraysize(valid_vertex_attrib_type_table_es3)); |
| 1207 vertex_attribute.AddValues(valid_vertex_attribute_table_es3, | 1211 vertex_attribute.AddValues(valid_vertex_attribute_table_es3, |
| 1208 arraysize(valid_vertex_attribute_table_es3)); | 1212 arraysize(valid_vertex_attribute_table_es3)); |
| 1209 } | 1213 } |
| 1210 | 1214 |
| 1211 #endif // GPU_COMMAND_BUFFER_SERVICE_GLES2_CMD_VALIDATION_IMPLEMENTATION_AUTOGE
N_H_ | 1215 #endif // GPU_COMMAND_BUFFER_SERVICE_GLES2_CMD_VALIDATION_IMPLEMENTATION_AUTOGE
N_H_ |
| OLD | NEW |