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 63 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
74 GPU_OP(DISABLE_TIMESTAMP_QUERIES, \ | 74 GPU_OP(DISABLE_TIMESTAMP_QUERIES, \ |
75 disable_timestamp_queries) \ | 75 disable_timestamp_queries) \ |
76 GPU_OP(DISABLE_MULTISAMPLING_COLOR_MASK_USAGE, \ | 76 GPU_OP(DISABLE_MULTISAMPLING_COLOR_MASK_USAGE, \ |
77 disable_multisampling_color_mask_usage) \ | 77 disable_multisampling_color_mask_usage) \ |
78 GPU_OP(DISABLE_TRANSPARENT_VISUALS, \ | 78 GPU_OP(DISABLE_TRANSPARENT_VISUALS, \ |
79 disable_transparent_visuals) \ | 79 disable_transparent_visuals) \ |
80 GPU_OP(DISABLE_WEBGL_RGB_MULTISAMPLING_USAGE, \ | 80 GPU_OP(DISABLE_WEBGL_RGB_MULTISAMPLING_USAGE, \ |
81 disable_webgl_rgb_multisampling_usage) \ | 81 disable_webgl_rgb_multisampling_usage) \ |
82 GPU_OP(DO_TEXIMAGE_BEFORE_COPYTEXIMAGE_TO_CUBE_MAP, \ | 82 GPU_OP(DO_TEXIMAGE_BEFORE_COPYTEXIMAGE_TO_CUBE_MAP, \ |
83 do_teximage_before_copyteximage_to_cube_map) \ | 83 do_teximage_before_copyteximage_to_cube_map) \ |
| 84 GPU_OP(DO_DECODER_ENCODER_SRGB_GENERATEMIPMAP, \ |
| 85 do_decoder_encoder_srgb_generatemipmap) \ |
84 GPU_OP(ETC1_POWER_OF_TWO_ONLY, \ | 86 GPU_OP(ETC1_POWER_OF_TWO_ONLY, \ |
85 etc1_power_of_two_only) \ | 87 etc1_power_of_two_only) \ |
86 GPU_OP(EMULATE_ABS_INT_FUNCTION, \ | 88 GPU_OP(EMULATE_ABS_INT_FUNCTION, \ |
87 emulate_abs_int_function) \ | 89 emulate_abs_int_function) \ |
88 GPU_OP(EXIT_ON_CONTEXT_LOST, \ | 90 GPU_OP(EXIT_ON_CONTEXT_LOST, \ |
89 exit_on_context_lost) \ | 91 exit_on_context_lost) \ |
90 GPU_OP(FORCE_CUBE_COMPLETE, \ | 92 GPU_OP(FORCE_CUBE_COMPLETE, \ |
91 force_cube_complete) \ | 93 force_cube_complete) \ |
92 GPU_OP(FORCE_CUBE_MAP_POSITIVE_X_ALLOCATION, \ | 94 GPU_OP(FORCE_CUBE_MAP_POSITIVE_X_ALLOCATION, \ |
93 force_cube_map_positive_x_allocation) \ | 95 force_cube_map_positive_x_allocation) \ |
(...skipping 100 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
194 #undef GPU_OP | 196 #undef GPU_OP |
195 NUMBER_OF_GPU_DRIVER_BUG_WORKAROUND_TYPES | 197 NUMBER_OF_GPU_DRIVER_BUG_WORKAROUND_TYPES |
196 }; | 198 }; |
197 | 199 |
198 GPU_EXPORT std::string GpuDriverBugWorkaroundTypeToString( | 200 GPU_EXPORT std::string GpuDriverBugWorkaroundTypeToString( |
199 GpuDriverBugWorkaroundType type); | 201 GpuDriverBugWorkaroundType type); |
200 | 202 |
201 } // namespace gpu | 203 } // namespace gpu |
202 | 204 |
203 #endif // GPU_CONFIG_GPU_DRIVER_BUG_WORKAROUND_TYPE_H_ | 205 #endif // GPU_CONFIG_GPU_DRIVER_BUG_WORKAROUND_TYPE_H_ |
OLD | NEW |