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

Side by Side Diff: gpu/config/gpu_driver_bug_workaround_type.h

Issue 2494923002: Hook up with ANGLE translator's remove_invariant_and_centroid option. (Closed)
Patch Set: message fix Created 4 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
« no previous file with comments | « gpu/config/gpu_driver_bug_list_json.cc ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2013 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 #ifndef GPU_CONFIG_GPU_DRIVER_BUG_WORKAROUND_TYPE_H_ 5 #ifndef GPU_CONFIG_GPU_DRIVER_BUG_WORKAROUND_TYPE_H_
6 #define GPU_CONFIG_GPU_DRIVER_BUG_WORKAROUND_TYPE_H_ 6 #define GPU_CONFIG_GPU_DRIVER_BUG_WORKAROUND_TYPE_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "gpu/gpu_export.h" 10 #include "gpu/gpu_export.h"
(...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after
78 GPU_OP(DISABLE_TEXTURE_CUBE_MAP_SEAMLESS, \ 78 GPU_OP(DISABLE_TEXTURE_CUBE_MAP_SEAMLESS, \
79 disable_texture_cube_map_seamless) \ 79 disable_texture_cube_map_seamless) \
80 GPU_OP(DISABLE_TEXTURE_STORAGE, \ 80 GPU_OP(DISABLE_TEXTURE_STORAGE, \
81 disable_texture_storage) \ 81 disable_texture_storage) \
82 GPU_OP(DISABLE_TIMESTAMP_QUERIES, \ 82 GPU_OP(DISABLE_TIMESTAMP_QUERIES, \
83 disable_timestamp_queries) \ 83 disable_timestamp_queries) \
84 GPU_OP(DISABLE_MULTISAMPLING_COLOR_MASK_USAGE, \ 84 GPU_OP(DISABLE_MULTISAMPLING_COLOR_MASK_USAGE, \
85 disable_multisampling_color_mask_usage) \ 85 disable_multisampling_color_mask_usage) \
86 GPU_OP(DISABLE_WEBGL_RGB_MULTISAMPLING_USAGE, \ 86 GPU_OP(DISABLE_WEBGL_RGB_MULTISAMPLING_USAGE, \
87 disable_webgl_rgb_multisampling_usage) \ 87 disable_webgl_rgb_multisampling_usage) \
88 GPU_OP(DONT_REMOVE_INVARIANT_FOR_FRAGMENT_INPUT, \
89 dont_remove_invariant_for_fragment_input) \
88 GPU_OP(ETC1_POWER_OF_TWO_ONLY, \ 90 GPU_OP(ETC1_POWER_OF_TWO_ONLY, \
89 etc1_power_of_two_only) \ 91 etc1_power_of_two_only) \
90 GPU_OP(EMULATE_ABS_INT_FUNCTION, \ 92 GPU_OP(EMULATE_ABS_INT_FUNCTION, \
91 emulate_abs_int_function) \ 93 emulate_abs_int_function) \
92 GPU_OP(EMULATE_ISNAN_ON_FLOAT, \ 94 GPU_OP(EMULATE_ISNAN_ON_FLOAT, \
93 emulate_isnan_on_float) \ 95 emulate_isnan_on_float) \
94 GPU_OP(EXIT_ON_CONTEXT_LOST, \ 96 GPU_OP(EXIT_ON_CONTEXT_LOST, \
95 exit_on_context_lost) \ 97 exit_on_context_lost) \
96 GPU_OP(FORCE_CUBE_COMPLETE, \ 98 GPU_OP(FORCE_CUBE_COMPLETE, \
97 force_cube_complete) \ 99 force_cube_complete) \
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
132 GPU_OP(MSAA_IS_SLOW, \ 134 GPU_OP(MSAA_IS_SLOW, \
133 msaa_is_slow) \ 135 msaa_is_slow) \
134 GPU_OP(NEEDS_OFFSCREEN_BUFFER_WORKAROUND, \ 136 GPU_OP(NEEDS_OFFSCREEN_BUFFER_WORKAROUND, \
135 needs_offscreen_buffer_workaround) \ 137 needs_offscreen_buffer_workaround) \
136 GPU_OP(PACK_PARAMETERS_WORKAROUND_WITH_PACK_BUFFER, \ 138 GPU_OP(PACK_PARAMETERS_WORKAROUND_WITH_PACK_BUFFER, \
137 pack_parameters_workaround_with_pack_buffer) \ 139 pack_parameters_workaround_with_pack_buffer) \
138 GPU_OP(REBIND_TRANSFORM_FEEDBACK_BEFORE_RESUME, \ 140 GPU_OP(REBIND_TRANSFORM_FEEDBACK_BEFORE_RESUME, \
139 rebind_transform_feedback_before_resume) \ 141 rebind_transform_feedback_before_resume) \
140 GPU_OP(REGENERATE_STRUCT_NAMES, \ 142 GPU_OP(REGENERATE_STRUCT_NAMES, \
141 regenerate_struct_names) \ 143 regenerate_struct_names) \
142 GPU_OP(DONT_REMOVE_INVARIANT_FOR_FRAGMENT_INPUT, \ 144 GPU_OP(REMOVE_INVARIANT_AND_CENTROID_FOR_ESSL3, \
143 dont_remove_invariant_for_fragment_input) \ 145 remove_invariant_and_centroid_for_essl3) \
144 GPU_OP(REMOVE_POW_WITH_CONSTANT_EXPONENT, \ 146 GPU_OP(REMOVE_POW_WITH_CONSTANT_EXPONENT, \
145 remove_pow_with_constant_exponent) \ 147 remove_pow_with_constant_exponent) \
146 GPU_OP(RESET_BASE_MIPMAP_LEVEL_BEFORE_TEXSTORAGE, \ 148 GPU_OP(RESET_BASE_MIPMAP_LEVEL_BEFORE_TEXSTORAGE, \
147 reset_base_mipmap_level_before_texstorage) \ 149 reset_base_mipmap_level_before_texstorage) \
148 GPU_OP(RESTORE_SCISSOR_ON_FBO_CHANGE, \ 150 GPU_OP(RESTORE_SCISSOR_ON_FBO_CHANGE, \
149 restore_scissor_on_fbo_change) \ 151 restore_scissor_on_fbo_change) \
150 GPU_OP(REVERSE_POINT_SPRITE_COORD_ORIGIN, \ 152 GPU_OP(REVERSE_POINT_SPRITE_COORD_ORIGIN, \
151 reverse_point_sprite_coord_origin) \ 153 reverse_point_sprite_coord_origin) \
152 GPU_OP(REWRITE_DO_WHILE_LOOPS, \ 154 GPU_OP(REWRITE_DO_WHILE_LOOPS, \
153 rewrite_do_while_loops) \ 155 rewrite_do_while_loops) \
(...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after
210 #undef GPU_OP 212 #undef GPU_OP
211 NUMBER_OF_GPU_DRIVER_BUG_WORKAROUND_TYPES 213 NUMBER_OF_GPU_DRIVER_BUG_WORKAROUND_TYPES
212 }; 214 };
213 215
214 GPU_EXPORT std::string GpuDriverBugWorkaroundTypeToString( 216 GPU_EXPORT std::string GpuDriverBugWorkaroundTypeToString(
215 GpuDriverBugWorkaroundType type); 217 GpuDriverBugWorkaroundType type);
216 218
217 } // namespace gpu 219 } // namespace gpu
218 220
219 #endif // GPU_CONFIG_GPU_DRIVER_BUG_WORKAROUND_TYPE_H_ 221 #endif // GPU_CONFIG_GPU_DRIVER_BUG_WORKAROUND_TYPE_H_
OLDNEW
« no previous file with comments | « gpu/config/gpu_driver_bug_list_json.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698