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

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

Issue 169403005: command_buffer: Implement path rendering functions for CHROMIUM_path_rendering (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@nv-pr-02-texgen
Patch Set: fix windows build Created 5 years, 5 months 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 456 matching lines...) Expand 10 before | Expand all | Expand 10 after
467 GL_MAP_INVALIDATE_BUFFER_BIT, 467 GL_MAP_INVALIDATE_BUFFER_BIT,
468 GL_MAP_FLUSH_EXPLICIT_BIT, 468 GL_MAP_FLUSH_EXPLICIT_BIT,
469 GL_MAP_UNSYNCHRONIZED_BIT, 469 GL_MAP_UNSYNCHRONIZED_BIT,
470 }; 470 };
471 471
472 static const GLenum valid_matrix_mode_table[] = { 472 static const GLenum valid_matrix_mode_table[] = {
473 GL_PATH_PROJECTION_CHROMIUM, 473 GL_PATH_PROJECTION_CHROMIUM,
474 GL_PATH_MODELVIEW_CHROMIUM, 474 GL_PATH_MODELVIEW_CHROMIUM,
475 }; 475 };
476 476
477 static const GLenum valid_path_coord_type_table[] = {
478 GL_BYTE,
479 GL_UNSIGNED_BYTE,
480 GL_SHORT,
481 GL_UNSIGNED_SHORT,
482 GL_FLOAT,
483 };
484
485 static const GLenum valid_path_cover_mode_table[] = {
486 GL_CONVEX_HULL_CHROMIUM,
487 GL_BOUNDING_BOX_CHROMIUM,
488 };
489
490 static const GLenum valid_path_fill_mode_table[] = {
491 GL_INVERT,
492 GL_COUNT_UP_CHROMIUM,
493 GL_COUNT_DOWN_CHROMIUM,
494 };
495
496 static const GLenum valid_path_parameter_table[] = {
497 GL_PATH_STROKE_WIDTH_CHROMIUM,
498 GL_PATH_END_CAPS_CHROMIUM,
499 GL_PATH_JOIN_STYLE_CHROMIUM,
500 GL_PATH_MITER_LIMIT_CHROMIUM,
501 GL_PATH_STROKE_BOUND_CHROMIUM,
502 };
503
504 static const GLint valid_path_parameter_cap_values_table[] = {
505 GL_FLAT,
506 GL_SQUARE_CHROMIUM,
507 GL_ROUND_CHROMIUM,
508 };
509
510 static const GLint valid_path_parameter_join_values_table[] = {
511 GL_MITER_REVERT_CHROMIUM,
512 GL_BEVEL_CHROMIUM,
513 GL_ROUND_CHROMIUM,
514 };
515
477 static const GLenum valid_pixel_store_table[] = { 516 static const GLenum valid_pixel_store_table[] = {
478 GL_PACK_ALIGNMENT, 517 GL_PACK_ALIGNMENT,
479 GL_UNPACK_ALIGNMENT, 518 GL_UNPACK_ALIGNMENT,
480 }; 519 };
481 520
482 static const GLenum valid_pixel_store_table_es3[] = { 521 static const GLenum valid_pixel_store_table_es3[] = {
483 GL_PACK_ROW_LENGTH, 522 GL_PACK_ROW_LENGTH,
484 GL_PACK_SKIP_PIXELS, 523 GL_PACK_SKIP_PIXELS,
485 GL_PACK_SKIP_ROWS, 524 GL_PACK_SKIP_ROWS,
486 GL_UNPACK_ROW_LENGTH, 525 GL_UNPACK_ROW_LENGTH,
(...skipping 654 matching lines...) Expand 10 before | Expand all | Expand 10 after
1141 arraysize(valid_indexed_g_l_state_table)), 1180 arraysize(valid_indexed_g_l_state_table)),
1142 internal_format_parameter( 1181 internal_format_parameter(
1143 valid_internal_format_parameter_table, 1182 valid_internal_format_parameter_table,
1144 arraysize(valid_internal_format_parameter_table)), 1183 arraysize(valid_internal_format_parameter_table)),
1145 invalidate_frame_buffer_target( 1184 invalidate_frame_buffer_target(
1146 valid_invalidate_frame_buffer_target_table, 1185 valid_invalidate_frame_buffer_target_table,
1147 arraysize(valid_invalidate_frame_buffer_target_table)), 1186 arraysize(valid_invalidate_frame_buffer_target_table)),
1148 map_buffer_access(valid_map_buffer_access_table, 1187 map_buffer_access(valid_map_buffer_access_table,
1149 arraysize(valid_map_buffer_access_table)), 1188 arraysize(valid_map_buffer_access_table)),
1150 matrix_mode(valid_matrix_mode_table, arraysize(valid_matrix_mode_table)), 1189 matrix_mode(valid_matrix_mode_table, arraysize(valid_matrix_mode_table)),
1190 path_coord_type(valid_path_coord_type_table,
1191 arraysize(valid_path_coord_type_table)),
1192 path_cover_mode(valid_path_cover_mode_table,
1193 arraysize(valid_path_cover_mode_table)),
1194 path_fill_mode(valid_path_fill_mode_table,
1195 arraysize(valid_path_fill_mode_table)),
1196 path_parameter(valid_path_parameter_table,
1197 arraysize(valid_path_parameter_table)),
1198 path_parameter_cap_values(
1199 valid_path_parameter_cap_values_table,
1200 arraysize(valid_path_parameter_cap_values_table)),
1201 path_parameter_join_values(
1202 valid_path_parameter_join_values_table,
1203 arraysize(valid_path_parameter_join_values_table)),
1151 pixel_store(valid_pixel_store_table, arraysize(valid_pixel_store_table)), 1204 pixel_store(valid_pixel_store_table, arraysize(valid_pixel_store_table)),
1152 pixel_store_alignment(valid_pixel_store_alignment_table, 1205 pixel_store_alignment(valid_pixel_store_alignment_table,
1153 arraysize(valid_pixel_store_alignment_table)), 1206 arraysize(valid_pixel_store_alignment_table)),
1154 pixel_type(valid_pixel_type_table, arraysize(valid_pixel_type_table)), 1207 pixel_type(valid_pixel_type_table, arraysize(valid_pixel_type_table)),
1155 program_parameter(valid_program_parameter_table, 1208 program_parameter(valid_program_parameter_table,
1156 arraysize(valid_program_parameter_table)), 1209 arraysize(valid_program_parameter_table)),
1157 query_object_parameter(valid_query_object_parameter_table, 1210 query_object_parameter(valid_query_object_parameter_table,
1158 arraysize(valid_query_object_parameter_table)), 1211 arraysize(valid_query_object_parameter_table)),
1159 query_parameter(valid_query_parameter_table, 1212 query_parameter(valid_query_parameter_table,
1160 arraysize(valid_query_parameter_table)), 1213 arraysize(valid_query_parameter_table)),
(...skipping 148 matching lines...) Expand 10 before | Expand all | Expand 10 after
1309 arraysize(valid_texture_internal_format_storage_table_es3)); 1362 arraysize(valid_texture_internal_format_storage_table_es3));
1310 texture_parameter.AddValues(valid_texture_parameter_table_es3, 1363 texture_parameter.AddValues(valid_texture_parameter_table_es3,
1311 arraysize(valid_texture_parameter_table_es3)); 1364 arraysize(valid_texture_parameter_table_es3));
1312 vertex_attrib_type.AddValues(valid_vertex_attrib_type_table_es3, 1365 vertex_attrib_type.AddValues(valid_vertex_attrib_type_table_es3,
1313 arraysize(valid_vertex_attrib_type_table_es3)); 1366 arraysize(valid_vertex_attrib_type_table_es3));
1314 vertex_attribute.AddValues(valid_vertex_attribute_table_es3, 1367 vertex_attribute.AddValues(valid_vertex_attribute_table_es3,
1315 arraysize(valid_vertex_attribute_table_es3)); 1368 arraysize(valid_vertex_attribute_table_es3));
1316 } 1369 }
1317 1370
1318 #endif // GPU_COMMAND_BUFFER_SERVICE_GLES2_CMD_VALIDATION_IMPLEMENTATION_AUTOGE N_H_ 1371 #endif // GPU_COMMAND_BUFFER_SERVICE_GLES2_CMD_VALIDATION_IMPLEMENTATION_AUTOGE N_H_
OLDNEW
« no previous file with comments | « gpu/command_buffer/service/gles2_cmd_validation_autogen.h ('k') | gpu/command_buffer/service/gpu_switches.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698