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 1196 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1207 GL_R8, GL_R8UI, GL_R8I, GL_R16UI, GL_R16I, | 1207 GL_R8, GL_R8UI, GL_R8I, GL_R16UI, GL_R16I, |
1208 GL_R32UI, GL_R32I, GL_RG8, GL_RG8UI, GL_RG8I, | 1208 GL_R32UI, GL_R32I, GL_RG8, GL_RG8UI, GL_RG8I, |
1209 GL_RG16UI, GL_RG16I, GL_RG32UI, GL_RG32I, GL_RGB8, | 1209 GL_RG16UI, GL_RG16I, GL_RG32UI, GL_RG32I, GL_RGB8, |
1210 GL_RGB565, GL_RGBA8, GL_SRGB8_ALPHA8, GL_RGB5_A1, GL_RGBA4, | 1210 GL_RGB565, GL_RGBA8, GL_SRGB8_ALPHA8, GL_RGB5_A1, GL_RGBA4, |
1211 GL_RGB10_A2, GL_RGBA8UI, GL_RGBA8I, GL_RGB10_A2UI, GL_RGBA16UI, | 1211 GL_RGB10_A2, GL_RGBA8UI, GL_RGBA8I, GL_RGB10_A2UI, GL_RGBA16UI, |
1212 GL_RGBA16I, GL_RGBA32UI, GL_RGBA32I, | 1212 GL_RGBA16I, GL_RGBA32UI, GL_RGBA32I, |
1213 }; | 1213 }; |
1214 | 1214 |
1215 static const GLenum | 1215 static const GLenum |
1216 valid_texture_sized_texture_filterable_internal_format_table[] = { | 1216 valid_texture_sized_texture_filterable_internal_format_table[] = { |
1217 GL_R8, GL_R8_SNORM, GL_R16F, GL_RG8, | 1217 GL_R8, |
1218 GL_RG8_SNORM, GL_RG16F, GL_RGB8, GL_SRGB8, | 1218 GL_R8_SNORM, |
1219 GL_RGB565, GL_RGB8_SNORM, GL_R11F_G11F_B10F, GL_RGB9_E5, | 1219 GL_R16F, |
1220 GL_RGB16F, GL_RGBA8, GL_SRGB8_ALPHA8, GL_RGBA8_SNORM, | 1220 GL_RG8, |
1221 GL_RGB5_A1, GL_RGBA4, GL_RGB10_A2, GL_RGBA16F, | 1221 GL_RG8_SNORM, |
| 1222 GL_RG16F, |
| 1223 GL_RGB8, |
| 1224 GL_SRGB8, |
| 1225 GL_RGB565, |
| 1226 GL_RGB8_SNORM, |
| 1227 GL_R11F_G11F_B10F, |
| 1228 GL_RGB9_E5, |
| 1229 GL_RGB16F, |
| 1230 GL_RGBA8, |
| 1231 GL_SRGB8_ALPHA8, |
| 1232 GL_RGBA8_SNORM, |
| 1233 GL_RGB5_A1, |
| 1234 GL_RGBA4, |
| 1235 GL_RGB10_A2, |
| 1236 GL_RGBA16F, |
| 1237 GL_RGB_YUV_420_CHROMIUM, |
| 1238 GL_RGB_YCBCR_422_CHROMIUM, |
| 1239 GL_RGB_YCBCR_420V_CHROMIUM, |
1222 }; | 1240 }; |
1223 | 1241 |
1224 static const GLenum | 1242 static const GLenum |
1225 valid_texture_stencil_renderable_internal_format_table_es3[] = { | 1243 valid_texture_stencil_renderable_internal_format_table_es3[] = { |
1226 GL_STENCIL_INDEX8, GL_DEPTH24_STENCIL8, GL_DEPTH32F_STENCIL8, | 1244 GL_STENCIL_INDEX8, GL_DEPTH24_STENCIL8, GL_DEPTH32F_STENCIL8, |
1227 }; | 1245 }; |
1228 | 1246 |
1229 static const GLenum valid_texture_target_table[] = { | 1247 static const GLenum valid_texture_target_table[] = { |
1230 GL_TEXTURE_2D, | 1248 GL_TEXTURE_2D, |
1231 GL_TEXTURE_CUBE_MAP_POSITIVE_X, | 1249 GL_TEXTURE_CUBE_MAP_POSITIVE_X, |
(...skipping 265 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1497 texture_stencil_renderable_internal_format.AddValues( | 1515 texture_stencil_renderable_internal_format.AddValues( |
1498 valid_texture_stencil_renderable_internal_format_table_es3, | 1516 valid_texture_stencil_renderable_internal_format_table_es3, |
1499 arraysize(valid_texture_stencil_renderable_internal_format_table_es3)); | 1517 arraysize(valid_texture_stencil_renderable_internal_format_table_es3)); |
1500 vertex_attrib_type.AddValues(valid_vertex_attrib_type_table_es3, | 1518 vertex_attrib_type.AddValues(valid_vertex_attrib_type_table_es3, |
1501 arraysize(valid_vertex_attrib_type_table_es3)); | 1519 arraysize(valid_vertex_attrib_type_table_es3)); |
1502 vertex_attribute.AddValues(valid_vertex_attribute_table_es3, | 1520 vertex_attribute.AddValues(valid_vertex_attribute_table_es3, |
1503 arraysize(valid_vertex_attribute_table_es3)); | 1521 arraysize(valid_vertex_attribute_table_es3)); |
1504 } | 1522 } |
1505 | 1523 |
1506 #endif // GPU_COMMAND_BUFFER_SERVICE_GLES2_CMD_VALIDATION_IMPLEMENTATION_AUTOGE
N_H_ | 1524 #endif // GPU_COMMAND_BUFFER_SERVICE_GLES2_CMD_VALIDATION_IMPLEMENTATION_AUTOGE
N_H_ |
OLD | NEW |