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 16 matching lines...) Expand all Loading... |
27 GPU_OP(DISABLE_CHROMIUM_FRAMEBUFFER_MULTISAMPLE, \ | 27 GPU_OP(DISABLE_CHROMIUM_FRAMEBUFFER_MULTISAMPLE, \ |
28 disable_chromium_framebuffer_multisample) \ | 28 disable_chromium_framebuffer_multisample) \ |
29 GPU_OP(DISABLE_D3D11, \ | 29 GPU_OP(DISABLE_D3D11, \ |
30 disable_d3d11) \ | 30 disable_d3d11) \ |
31 GPU_OP(DISABLE_DEPTH_TEXTURE, \ | 31 GPU_OP(DISABLE_DEPTH_TEXTURE, \ |
32 disable_depth_texture) \ | 32 disable_depth_texture) \ |
33 GPU_OP(DISABLE_DISCARD_FRAMEBUFFER, \ | 33 GPU_OP(DISABLE_DISCARD_FRAMEBUFFER, \ |
34 disable_discard_framebuffer) \ | 34 disable_discard_framebuffer) \ |
35 GPU_OP(DISABLE_EXT_DRAW_BUFFERS, \ | 35 GPU_OP(DISABLE_EXT_DRAW_BUFFERS, \ |
36 disable_ext_draw_buffers) \ | 36 disable_ext_draw_buffers) \ |
| 37 GPU_OP(DISABLE_EXT_SRGB, \ |
| 38 disable_ext_srgb) \ |
37 GPU_OP(DISABLE_GL_PATH_RENDERING, \ | 39 GPU_OP(DISABLE_GL_PATH_RENDERING, \ |
38 disable_gl_path_rendering) \ | 40 disable_gl_path_rendering) \ |
39 GPU_OP(DISABLE_GL_RGB_FORMAT, \ | 41 GPU_OP(DISABLE_GL_RGB_FORMAT, \ |
40 disable_gl_rgb_format) \ | 42 disable_gl_rgb_format) \ |
41 GPU_OP(DISABLE_MSAA_ON_NON_WEBGL_CONTEXTS, \ | 43 GPU_OP(DISABLE_MSAA_ON_NON_WEBGL_CONTEXTS, \ |
42 disable_msaa_on_non_webgl_contexts) \ | 44 disable_msaa_on_non_webgl_contexts) \ |
43 GPU_OP(DISABLE_MULTIMONITOR_MULTISAMPLING, \ | 45 GPU_OP(DISABLE_MULTIMONITOR_MULTISAMPLING, \ |
44 disable_multimonitor_multisampling) \ | 46 disable_multimonitor_multisampling) \ |
45 GPU_OP(DISABLE_MULTISAMPLED_RENDER_TO_TEXTURE, \ | 47 GPU_OP(DISABLE_MULTISAMPLED_RENDER_TO_TEXTURE, \ |
46 disable_multisampled_render_to_texture) \ | 48 disable_multisampled_render_to_texture) \ |
(...skipping 105 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
152 #undef GPU_OP | 154 #undef GPU_OP |
153 NUMBER_OF_GPU_DRIVER_BUG_WORKAROUND_TYPES | 155 NUMBER_OF_GPU_DRIVER_BUG_WORKAROUND_TYPES |
154 }; | 156 }; |
155 | 157 |
156 GPU_EXPORT std::string GpuDriverBugWorkaroundTypeToString( | 158 GPU_EXPORT std::string GpuDriverBugWorkaroundTypeToString( |
157 GpuDriverBugWorkaroundType type); | 159 GpuDriverBugWorkaroundType type); |
158 | 160 |
159 } // namespace gpu | 161 } // namespace gpu |
160 | 162 |
161 #endif // GPU_CONFIG_GPU_DRIVER_BUG_WORKAROUND_TYPE_H_ | 163 #endif // GPU_CONFIG_GPU_DRIVER_BUG_WORKAROUND_TYPE_H_ |
OLD | NEW |