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_RGBA, | 366 GL_RGB, GL_RGB_YUV_420_CHROMIUM, GL_RGB_YCBCR_422_CHROMIUM, GL_RGBA, |
367 }; | 367 }; |
368 | 368 |
369 static const GLenum valid_image_usage_table[] = { | 369 static const GLenum valid_image_usage_table[] = { |
370 GL_MAP_CHROMIUM, GL_SCANOUT_CHROMIUM, | 370 GL_MAP_CHROMIUM, GL_SCANOUT_CHROMIUM, |
371 }; | 371 }; |
372 | 372 |
373 static const GLenum valid_index_type_table[] = { | 373 static const GLenum valid_index_type_table[] = { |
374 GL_UNSIGNED_BYTE, GL_UNSIGNED_SHORT, | 374 GL_UNSIGNED_BYTE, GL_UNSIGNED_SHORT, |
375 }; | 375 }; |
376 | 376 |
(...skipping 814 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1191 arraysize(valid_texture_internal_format_storage_table_es3)); | 1191 arraysize(valid_texture_internal_format_storage_table_es3)); |
1192 texture_parameter.AddValues(valid_texture_parameter_table_es3, | 1192 texture_parameter.AddValues(valid_texture_parameter_table_es3, |
1193 arraysize(valid_texture_parameter_table_es3)); | 1193 arraysize(valid_texture_parameter_table_es3)); |
1194 vertex_attrib_type.AddValues(valid_vertex_attrib_type_table_es3, | 1194 vertex_attrib_type.AddValues(valid_vertex_attrib_type_table_es3, |
1195 arraysize(valid_vertex_attrib_type_table_es3)); | 1195 arraysize(valid_vertex_attrib_type_table_es3)); |
1196 vertex_attribute.AddValues(valid_vertex_attribute_table_es3, | 1196 vertex_attribute.AddValues(valid_vertex_attribute_table_es3, |
1197 arraysize(valid_vertex_attribute_table_es3)); | 1197 arraysize(valid_vertex_attribute_table_es3)); |
1198 } | 1198 } |
1199 | 1199 |
1200 #endif // GPU_COMMAND_BUFFER_SERVICE_GLES2_CMD_VALIDATION_IMPLEMENTATION_AUTOGE
N_H_ | 1200 #endif // GPU_COMMAND_BUFFER_SERVICE_GLES2_CMD_VALIDATION_IMPLEMENTATION_AUTOGE
N_H_ |
OLD | NEW |