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 49 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
60 GPU_OP(DISABLE_PROGRAM_CACHE, \ | 60 GPU_OP(DISABLE_PROGRAM_CACHE, \ |
61 disable_program_cache) \ | 61 disable_program_cache) \ |
62 GPU_OP(DISABLE_TEXTURE_CUBE_MAP_SEAMLESS, \ | 62 GPU_OP(DISABLE_TEXTURE_CUBE_MAP_SEAMLESS, \ |
63 disable_texture_cube_map_seamless) \ | 63 disable_texture_cube_map_seamless) \ |
64 GPU_OP(DISABLE_TEXTURE_STORAGE, \ | 64 GPU_OP(DISABLE_TEXTURE_STORAGE, \ |
65 disable_texture_storage) \ | 65 disable_texture_storage) \ |
66 GPU_OP(DISABLE_TIMESTAMP_QUERIES, \ | 66 GPU_OP(DISABLE_TIMESTAMP_QUERIES, \ |
67 disable_timestamp_queries) \ | 67 disable_timestamp_queries) \ |
68 GPU_OP(DISABLE_MULTISAMPLING_COLOR_MASK_USAGE, \ | 68 GPU_OP(DISABLE_MULTISAMPLING_COLOR_MASK_USAGE, \ |
69 disable_multisampling_color_mask_usage) \ | 69 disable_multisampling_color_mask_usage) \ |
| 70 GPU_OP(DISABLE_TRANSPARENT_VISUALS, \ |
| 71 disable_transparent_visuals) \ |
70 GPU_OP(DISABLE_WEBGL_RGB_MULTISAMPLING_USAGE, \ | 72 GPU_OP(DISABLE_WEBGL_RGB_MULTISAMPLING_USAGE, \ |
71 disable_webgl_rgb_multisampling_usage) \ | 73 disable_webgl_rgb_multisampling_usage) \ |
72 GPU_OP(ETC1_POWER_OF_TWO_ONLY, \ | 74 GPU_OP(ETC1_POWER_OF_TWO_ONLY, \ |
73 etc1_power_of_two_only) \ | 75 etc1_power_of_two_only) \ |
74 GPU_OP(EXIT_ON_CONTEXT_LOST, \ | 76 GPU_OP(EXIT_ON_CONTEXT_LOST, \ |
75 exit_on_context_lost) \ | 77 exit_on_context_lost) \ |
76 GPU_OP(FORCE_CUBE_COMPLETE, \ | 78 GPU_OP(FORCE_CUBE_COMPLETE, \ |
77 force_cube_complete) \ | 79 force_cube_complete) \ |
78 GPU_OP(FORCE_CUBE_MAP_POSITIVE_X_ALLOCATION, \ | 80 GPU_OP(FORCE_CUBE_MAP_POSITIVE_X_ALLOCATION, \ |
79 force_cube_map_positive_x_allocation) \ | 81 force_cube_map_positive_x_allocation) \ |
(...skipping 96 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
176 #undef GPU_OP | 178 #undef GPU_OP |
177 NUMBER_OF_GPU_DRIVER_BUG_WORKAROUND_TYPES | 179 NUMBER_OF_GPU_DRIVER_BUG_WORKAROUND_TYPES |
178 }; | 180 }; |
179 | 181 |
180 GPU_EXPORT std::string GpuDriverBugWorkaroundTypeToString( | 182 GPU_EXPORT std::string GpuDriverBugWorkaroundTypeToString( |
181 GpuDriverBugWorkaroundType type); | 183 GpuDriverBugWorkaroundType type); |
182 | 184 |
183 } // namespace gpu | 185 } // namespace gpu |
184 | 186 |
185 #endif // GPU_CONFIG_GPU_DRIVER_BUG_WORKAROUND_TYPE_H_ | 187 #endif // GPU_CONFIG_GPU_DRIVER_BUG_WORKAROUND_TYPE_H_ |
OLD | NEW |