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

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

Issue 1435183002: WebGL 2: fix the bug in invalidate-framebuffer.html (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: removed InvalidateFramebufferTarget in cmd buffer Created 5 years, 1 month 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 377 matching lines...) Expand 10 before | Expand all | Expand 10 after
388 GL_TRANSFORM_FEEDBACK_BUFFER_START, 388 GL_TRANSFORM_FEEDBACK_BUFFER_START,
389 GL_UNIFORM_BUFFER_BINDING, 389 GL_UNIFORM_BUFFER_BINDING,
390 GL_UNIFORM_BUFFER_SIZE, 390 GL_UNIFORM_BUFFER_SIZE,
391 GL_UNIFORM_BUFFER_START, 391 GL_UNIFORM_BUFFER_START,
392 }; 392 };
393 393
394 static const GLenum valid_internal_format_parameter_table[] = { 394 static const GLenum valid_internal_format_parameter_table[] = {
395 GL_NUM_SAMPLE_COUNTS, GL_SAMPLES, 395 GL_NUM_SAMPLE_COUNTS, GL_SAMPLES,
396 }; 396 };
397 397
398 static const GLenum valid_invalidate_frame_buffer_target_table[] = {
399 GL_FRAMEBUFFER,
400 };
401
402 static const GLenum valid_map_buffer_access_table[] = { 398 static const GLenum valid_map_buffer_access_table[] = {
403 GL_MAP_READ_BIT, 399 GL_MAP_READ_BIT,
404 GL_MAP_WRITE_BIT, 400 GL_MAP_WRITE_BIT,
405 GL_MAP_INVALIDATE_RANGE_BIT, 401 GL_MAP_INVALIDATE_RANGE_BIT,
406 GL_MAP_INVALIDATE_BUFFER_BIT, 402 GL_MAP_INVALIDATE_BUFFER_BIT,
407 GL_MAP_FLUSH_EXPLICIT_BIT, 403 GL_MAP_FLUSH_EXPLICIT_BIT,
408 GL_MAP_UNSYNCHRONIZED_BIT, 404 GL_MAP_UNSYNCHRONIZED_BIT,
409 }; 405 };
410 406
411 static const GLenum valid_matrix_mode_table[] = { 407 static const GLenum valid_matrix_mode_table[] = {
(...skipping 606 matching lines...) Expand 10 before | Expand all | Expand 10 after
1018 arraysize(valid_image_internal_format_table)), 1014 arraysize(valid_image_internal_format_table)),
1019 image_usage(valid_image_usage_table, arraysize(valid_image_usage_table)), 1015 image_usage(valid_image_usage_table, arraysize(valid_image_usage_table)),
1020 index_type(valid_index_type_table, arraysize(valid_index_type_table)), 1016 index_type(valid_index_type_table, arraysize(valid_index_type_table)),
1021 indexed_buffer_target(valid_indexed_buffer_target_table, 1017 indexed_buffer_target(valid_indexed_buffer_target_table,
1022 arraysize(valid_indexed_buffer_target_table)), 1018 arraysize(valid_indexed_buffer_target_table)),
1023 indexed_g_l_state(valid_indexed_g_l_state_table, 1019 indexed_g_l_state(valid_indexed_g_l_state_table,
1024 arraysize(valid_indexed_g_l_state_table)), 1020 arraysize(valid_indexed_g_l_state_table)),
1025 internal_format_parameter( 1021 internal_format_parameter(
1026 valid_internal_format_parameter_table, 1022 valid_internal_format_parameter_table,
1027 arraysize(valid_internal_format_parameter_table)), 1023 arraysize(valid_internal_format_parameter_table)),
1028 invalidate_frame_buffer_target(
1029 valid_invalidate_frame_buffer_target_table,
1030 arraysize(valid_invalidate_frame_buffer_target_table)),
1031 map_buffer_access(valid_map_buffer_access_table, 1024 map_buffer_access(valid_map_buffer_access_table,
1032 arraysize(valid_map_buffer_access_table)), 1025 arraysize(valid_map_buffer_access_table)),
1033 matrix_mode(valid_matrix_mode_table, arraysize(valid_matrix_mode_table)), 1026 matrix_mode(valid_matrix_mode_table, arraysize(valid_matrix_mode_table)),
1034 path_coord_type(valid_path_coord_type_table, 1027 path_coord_type(valid_path_coord_type_table,
1035 arraysize(valid_path_coord_type_table)), 1028 arraysize(valid_path_coord_type_table)),
1036 path_cover_mode(valid_path_cover_mode_table, 1029 path_cover_mode(valid_path_cover_mode_table,
1037 arraysize(valid_path_cover_mode_table)), 1030 arraysize(valid_path_cover_mode_table)),
1038 path_fill_mode(valid_path_fill_mode_table, 1031 path_fill_mode(valid_path_fill_mode_table,
1039 arraysize(valid_path_fill_mode_table)), 1032 arraysize(valid_path_fill_mode_table)),
1040 path_fragment_input_gen_mode( 1033 path_fragment_input_gen_mode(
(...skipping 168 matching lines...) Expand 10 before | Expand all | Expand 10 after
1209 arraysize(valid_texture_internal_format_storage_table_es3)); 1202 arraysize(valid_texture_internal_format_storage_table_es3));
1210 texture_parameter.AddValues(valid_texture_parameter_table_es3, 1203 texture_parameter.AddValues(valid_texture_parameter_table_es3,
1211 arraysize(valid_texture_parameter_table_es3)); 1204 arraysize(valid_texture_parameter_table_es3));
1212 vertex_attrib_type.AddValues(valid_vertex_attrib_type_table_es3, 1205 vertex_attrib_type.AddValues(valid_vertex_attrib_type_table_es3,
1213 arraysize(valid_vertex_attrib_type_table_es3)); 1206 arraysize(valid_vertex_attrib_type_table_es3));
1214 vertex_attribute.AddValues(valid_vertex_attribute_table_es3, 1207 vertex_attribute.AddValues(valid_vertex_attribute_table_es3,
1215 arraysize(valid_vertex_attribute_table_es3)); 1208 arraysize(valid_vertex_attribute_table_es3));
1216 } 1209 }
1217 1210
1218 #endif // GPU_COMMAND_BUFFER_SERVICE_GLES2_CMD_VALIDATION_IMPLEMENTATION_AUTOGE N_H_ 1211 #endif // GPU_COMMAND_BUFFER_SERVICE_GLES2_CMD_VALIDATION_IMPLEMENTATION_AUTOGE N_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698