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 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
44 GPU_OP(DISABLE_DXGI_ZERO_COPY_VIDEO, \ | 44 GPU_OP(DISABLE_DXGI_ZERO_COPY_VIDEO, \ |
45 disable_dxgi_zero_copy_video) \ | 45 disable_dxgi_zero_copy_video) \ |
46 GPU_OP(DISABLE_EXT_DRAW_BUFFERS, \ | 46 GPU_OP(DISABLE_EXT_DRAW_BUFFERS, \ |
47 disable_ext_draw_buffers) \ | 47 disable_ext_draw_buffers) \ |
48 GPU_OP(DISABLE_FRAMEBUFFER_CMAA, \ | 48 GPU_OP(DISABLE_FRAMEBUFFER_CMAA, \ |
49 disable_framebuffer_cmaa) \ | 49 disable_framebuffer_cmaa) \ |
50 GPU_OP(DISABLE_GL_RGB_FORMAT, \ | 50 GPU_OP(DISABLE_GL_RGB_FORMAT, \ |
51 disable_gl_rgb_format) \ | 51 disable_gl_rgb_format) \ |
52 GPU_OP(DISABLE_MULTIMONITOR_MULTISAMPLING, \ | 52 GPU_OP(DISABLE_MULTIMONITOR_MULTISAMPLING, \ |
53 disable_multimonitor_multisampling) \ | 53 disable_multimonitor_multisampling) \ |
54 GPU_OP(DISABLE_MULTISAMPLED_RENDER_TO_TEXTURE, \ | |
55 disable_multisampled_render_to_texture) \ | |
56 GPU_OP(DISABLE_OVERLAY_CA_LAYERS, \ | 54 GPU_OP(DISABLE_OVERLAY_CA_LAYERS, \ |
57 disable_overlay_ca_layers) \ | 55 disable_overlay_ca_layers) \ |
58 GPU_OP(DISABLE_POST_SUB_BUFFERS_FOR_ONSCREEN_SURFACES, \ | 56 GPU_OP(DISABLE_POST_SUB_BUFFERS_FOR_ONSCREEN_SURFACES, \ |
59 disable_post_sub_buffers_for_onscreen_surfaces) \ | 57 disable_post_sub_buffers_for_onscreen_surfaces) \ |
60 GPU_OP(DISABLE_PROGRAM_CACHE, \ | 58 GPU_OP(DISABLE_PROGRAM_CACHE, \ |
61 disable_program_cache) \ | 59 disable_program_cache) \ |
62 GPU_OP(DISABLE_TEXTURE_CUBE_MAP_SEAMLESS, \ | 60 GPU_OP(DISABLE_TEXTURE_CUBE_MAP_SEAMLESS, \ |
63 disable_texture_cube_map_seamless) \ | 61 disable_texture_cube_map_seamless) \ |
64 GPU_OP(DISABLE_TEXTURE_STORAGE, \ | 62 GPU_OP(DISABLE_TEXTURE_STORAGE, \ |
65 disable_texture_storage) \ | 63 disable_texture_storage) \ |
(...skipping 110 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
176 #undef GPU_OP | 174 #undef GPU_OP |
177 NUMBER_OF_GPU_DRIVER_BUG_WORKAROUND_TYPES | 175 NUMBER_OF_GPU_DRIVER_BUG_WORKAROUND_TYPES |
178 }; | 176 }; |
179 | 177 |
180 GPU_EXPORT std::string GpuDriverBugWorkaroundTypeToString( | 178 GPU_EXPORT std::string GpuDriverBugWorkaroundTypeToString( |
181 GpuDriverBugWorkaroundType type); | 179 GpuDriverBugWorkaroundType type); |
182 | 180 |
183 } // namespace gpu | 181 } // namespace gpu |
184 | 182 |
185 #endif // GPU_CONFIG_GPU_DRIVER_BUG_WORKAROUND_TYPE_H_ | 183 #endif // GPU_CONFIG_GPU_DRIVER_BUG_WORKAROUND_TYPE_H_ |
OLD | NEW |