Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(457)

Side by Side Diff: gpu/command_buffer/service/gles2_cmd_validation_implementation_autogen.h

Issue 1218223005: command_buffer: Implement CHROMIUM_framebuffer_mixed_samples extension (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@new-05-path-fragment-input-gen
Patch Set: rebase, add bogus spec text Created 5 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 87 matching lines...) Expand 10 before | Expand all | Expand 10 after
98 GL_COMPRESSED_RG11_EAC, 98 GL_COMPRESSED_RG11_EAC,
99 GL_COMPRESSED_SIGNED_RG11_EAC, 99 GL_COMPRESSED_SIGNED_RG11_EAC,
100 GL_COMPRESSED_RGB8_ETC2, 100 GL_COMPRESSED_RGB8_ETC2,
101 GL_COMPRESSED_SRGB8_ETC2, 101 GL_COMPRESSED_SRGB8_ETC2,
102 GL_COMPRESSED_RGB8_PUNCHTHROUGH_ALPHA1_ETC2, 102 GL_COMPRESSED_RGB8_PUNCHTHROUGH_ALPHA1_ETC2,
103 GL_COMPRESSED_SRGB8_PUNCHTHROUGH_ALPHA1_ETC2, 103 GL_COMPRESSED_SRGB8_PUNCHTHROUGH_ALPHA1_ETC2,
104 GL_COMPRESSED_RGBA8_ETC2_EAC, 104 GL_COMPRESSED_RGBA8_ETC2_EAC,
105 GL_COMPRESSED_SRGB8_ALPHA8_ETC2_EAC, 105 GL_COMPRESSED_SRGB8_ALPHA8_ETC2_EAC,
106 }; 106 };
107 107
108 static const GLenum valid_coverage_modulation_components_table[] = {
109 GL_RGB, GL_RGBA, GL_ALPHA, GL_NONE,
110 };
111
108 static const GLenum valid_draw_mode_table[] = { 112 static const GLenum valid_draw_mode_table[] = {
109 GL_POINTS, GL_LINE_STRIP, GL_LINE_LOOP, GL_LINES, 113 GL_POINTS, GL_LINE_STRIP, GL_LINE_LOOP, GL_LINES,
110 GL_TRIANGLE_STRIP, GL_TRIANGLE_FAN, GL_TRIANGLES, 114 GL_TRIANGLE_STRIP, GL_TRIANGLE_FAN, GL_TRIANGLES,
111 }; 115 };
112 116
113 static const GLenum valid_dst_blend_factor_table[] = { 117 static const GLenum valid_dst_blend_factor_table[] = {
114 GL_ZERO, GL_ONE, 118 GL_ZERO, GL_ONE,
115 GL_SRC_COLOR, GL_ONE_MINUS_SRC_COLOR, 119 GL_SRC_COLOR, GL_ONE_MINUS_SRC_COLOR,
116 GL_DST_COLOR, GL_ONE_MINUS_DST_COLOR, 120 GL_DST_COLOR, GL_ONE_MINUS_DST_COLOR,
117 GL_SRC_ALPHA, GL_ONE_MINUS_SRC_ALPHA, 121 GL_SRC_ALPHA, GL_ONE_MINUS_SRC_ALPHA,
(...skipping 872 matching lines...) Expand 10 before | Expand all | Expand 10 after
990 buffer_usage(valid_buffer_usage_table, 994 buffer_usage(valid_buffer_usage_table,
991 arraysize(valid_buffer_usage_table)), 995 arraysize(valid_buffer_usage_table)),
992 bufferfi(valid_bufferfi_table, arraysize(valid_bufferfi_table)), 996 bufferfi(valid_bufferfi_table, arraysize(valid_bufferfi_table)),
993 bufferfv(valid_bufferfv_table, arraysize(valid_bufferfv_table)), 997 bufferfv(valid_bufferfv_table, arraysize(valid_bufferfv_table)),
994 bufferiv(valid_bufferiv_table, arraysize(valid_bufferiv_table)), 998 bufferiv(valid_bufferiv_table, arraysize(valid_bufferiv_table)),
995 bufferuiv(valid_bufferuiv_table, arraysize(valid_bufferuiv_table)), 999 bufferuiv(valid_bufferuiv_table, arraysize(valid_bufferuiv_table)),
996 capability(valid_capability_table, arraysize(valid_capability_table)), 1000 capability(valid_capability_table, arraysize(valid_capability_table)),
997 cmp_function(valid_cmp_function_table, 1001 cmp_function(valid_cmp_function_table,
998 arraysize(valid_cmp_function_table)), 1002 arraysize(valid_cmp_function_table)),
999 compressed_texture_format(), 1003 compressed_texture_format(),
1004 coverage_modulation_components(
1005 valid_coverage_modulation_components_table,
1006 arraysize(valid_coverage_modulation_components_table)),
1000 draw_mode(valid_draw_mode_table, arraysize(valid_draw_mode_table)), 1007 draw_mode(valid_draw_mode_table, arraysize(valid_draw_mode_table)),
1001 dst_blend_factor(valid_dst_blend_factor_table, 1008 dst_blend_factor(valid_dst_blend_factor_table,
1002 arraysize(valid_dst_blend_factor_table)), 1009 arraysize(valid_dst_blend_factor_table)),
1003 equation(valid_equation_table, arraysize(valid_equation_table)), 1010 equation(valid_equation_table, arraysize(valid_equation_table)),
1004 face_mode(valid_face_mode_table, arraysize(valid_face_mode_table)), 1011 face_mode(valid_face_mode_table, arraysize(valid_face_mode_table)),
1005 face_type(valid_face_type_table, arraysize(valid_face_type_table)), 1012 face_type(valid_face_type_table, arraysize(valid_face_type_table)),
1006 frame_buffer_parameter(valid_frame_buffer_parameter_table, 1013 frame_buffer_parameter(valid_frame_buffer_parameter_table,
1007 arraysize(valid_frame_buffer_parameter_table)), 1014 arraysize(valid_frame_buffer_parameter_table)),
1008 frame_buffer_target(valid_frame_buffer_target_table, 1015 frame_buffer_target(valid_frame_buffer_target_table,
1009 arraysize(valid_frame_buffer_target_table)), 1016 arraysize(valid_frame_buffer_target_table)),
(...skipping 196 matching lines...) Expand 10 before | Expand all | Expand 10 after
1206 arraysize(valid_texture_internal_format_storage_table_es3)); 1213 arraysize(valid_texture_internal_format_storage_table_es3));
1207 texture_parameter.AddValues(valid_texture_parameter_table_es3, 1214 texture_parameter.AddValues(valid_texture_parameter_table_es3,
1208 arraysize(valid_texture_parameter_table_es3)); 1215 arraysize(valid_texture_parameter_table_es3));
1209 vertex_attrib_type.AddValues(valid_vertex_attrib_type_table_es3, 1216 vertex_attrib_type.AddValues(valid_vertex_attrib_type_table_es3,
1210 arraysize(valid_vertex_attrib_type_table_es3)); 1217 arraysize(valid_vertex_attrib_type_table_es3));
1211 vertex_attribute.AddValues(valid_vertex_attribute_table_es3, 1218 vertex_attribute.AddValues(valid_vertex_attribute_table_es3,
1212 arraysize(valid_vertex_attribute_table_es3)); 1219 arraysize(valid_vertex_attribute_table_es3));
1213 } 1220 }
1214 1221
1215 #endif // GPU_COMMAND_BUFFER_SERVICE_GLES2_CMD_VALIDATION_IMPLEMENTATION_AUTOGE N_H_ 1222 #endif // GPU_COMMAND_BUFFER_SERVICE_GLES2_CMD_VALIDATION_IMPLEMENTATION_AUTOGE N_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698