OLD | NEW |
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 119 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
130 GPU_OP(MSAA_IS_SLOW, \ | 130 GPU_OP(MSAA_IS_SLOW, \ |
131 msaa_is_slow) \ | 131 msaa_is_slow) \ |
132 GPU_OP(NEEDS_OFFSCREEN_BUFFER_WORKAROUND, \ | 132 GPU_OP(NEEDS_OFFSCREEN_BUFFER_WORKAROUND, \ |
133 needs_offscreen_buffer_workaround) \ | 133 needs_offscreen_buffer_workaround) \ |
134 GPU_OP(PACK_PARAMETERS_WORKAROUND_WITH_PACK_BUFFER, \ | 134 GPU_OP(PACK_PARAMETERS_WORKAROUND_WITH_PACK_BUFFER, \ |
135 pack_parameters_workaround_with_pack_buffer) \ | 135 pack_parameters_workaround_with_pack_buffer) \ |
136 GPU_OP(REBIND_TRANSFORM_FEEDBACK_BEFORE_RESUME, \ | 136 GPU_OP(REBIND_TRANSFORM_FEEDBACK_BEFORE_RESUME, \ |
137 rebind_transform_feedback_before_resume) \ | 137 rebind_transform_feedback_before_resume) \ |
138 GPU_OP(REGENERATE_STRUCT_NAMES, \ | 138 GPU_OP(REGENERATE_STRUCT_NAMES, \ |
139 regenerate_struct_names) \ | 139 regenerate_struct_names) \ |
| 140 GPU_OP(DONT_REMOVE_INVARIANT_FOR_FRAGMENT_INPUT, \ |
| 141 dont_remove_invariant_for_fragment_input) \ |
140 GPU_OP(REMOVE_POW_WITH_CONSTANT_EXPONENT, \ | 142 GPU_OP(REMOVE_POW_WITH_CONSTANT_EXPONENT, \ |
141 remove_pow_with_constant_exponent) \ | 143 remove_pow_with_constant_exponent) \ |
142 GPU_OP(RESET_BASE_MIPMAP_LEVEL_BEFORE_TEXSTORAGE, \ | 144 GPU_OP(RESET_BASE_MIPMAP_LEVEL_BEFORE_TEXSTORAGE, \ |
143 reset_base_mipmap_level_before_texstorage) \ | 145 reset_base_mipmap_level_before_texstorage) \ |
144 GPU_OP(RESTORE_SCISSOR_ON_FBO_CHANGE, \ | 146 GPU_OP(RESTORE_SCISSOR_ON_FBO_CHANGE, \ |
145 restore_scissor_on_fbo_change) \ | 147 restore_scissor_on_fbo_change) \ |
146 GPU_OP(REVERSE_POINT_SPRITE_COORD_ORIGIN, \ | 148 GPU_OP(REVERSE_POINT_SPRITE_COORD_ORIGIN, \ |
147 reverse_point_sprite_coord_origin) \ | 149 reverse_point_sprite_coord_origin) \ |
148 GPU_OP(REWRITE_DO_WHILE_LOOPS, \ | 150 GPU_OP(REWRITE_DO_WHILE_LOOPS, \ |
149 rewrite_do_while_loops) \ | 151 rewrite_do_while_loops) \ |
(...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
206 #undef GPU_OP | 208 #undef GPU_OP |
207 NUMBER_OF_GPU_DRIVER_BUG_WORKAROUND_TYPES | 209 NUMBER_OF_GPU_DRIVER_BUG_WORKAROUND_TYPES |
208 }; | 210 }; |
209 | 211 |
210 GPU_EXPORT std::string GpuDriverBugWorkaroundTypeToString( | 212 GPU_EXPORT std::string GpuDriverBugWorkaroundTypeToString( |
211 GpuDriverBugWorkaroundType type); | 213 GpuDriverBugWorkaroundType type); |
212 | 214 |
213 } // namespace gpu | 215 } // namespace gpu |
214 | 216 |
215 #endif // GPU_CONFIG_GPU_DRIVER_BUG_WORKAROUND_TYPE_H_ | 217 #endif // GPU_CONFIG_GPU_DRIVER_BUG_WORKAROUND_TYPE_H_ |
OLD | NEW |