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