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 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
42 GPU_OP(DISABLE_D3D11, \ | 42 GPU_OP(DISABLE_D3D11, \ |
43 disable_d3d11) \ | 43 disable_d3d11) \ |
44 GPU_OP(DISABLE_DEPTH_TEXTURE, \ | 44 GPU_OP(DISABLE_DEPTH_TEXTURE, \ |
45 disable_depth_texture) \ | 45 disable_depth_texture) \ |
46 GPU_OP(DISABLE_DIRECT_COMPOSITION, \ | 46 GPU_OP(DISABLE_DIRECT_COMPOSITION, \ |
47 disable_direct_composition) \ | 47 disable_direct_composition) \ |
48 GPU_OP(DISABLE_DISCARD_FRAMEBUFFER, \ | 48 GPU_OP(DISABLE_DISCARD_FRAMEBUFFER, \ |
49 disable_discard_framebuffer) \ | 49 disable_discard_framebuffer) \ |
50 GPU_OP(DISABLE_DXGI_ZERO_COPY_VIDEO, \ | 50 GPU_OP(DISABLE_DXGI_ZERO_COPY_VIDEO, \ |
51 disable_dxgi_zero_copy_video) \ | 51 disable_dxgi_zero_copy_video) \ |
52 GPU_OP(DISABLE_NV12_DXGI_VIDEO, \ | 52 GPU_OP(DISABLE_ES3_GL_CONTEXT, \ |
53 disable_nv12_dxgi_video) \ | 53 disable_es3_gl_context) \ |
54 GPU_OP(DISABLE_EXT_DRAW_BUFFERS, \ | 54 GPU_OP(DISABLE_EXT_DRAW_BUFFERS, \ |
55 disable_ext_draw_buffers) \ | 55 disable_ext_draw_buffers) \ |
56 GPU_OP(DISABLE_FRAMEBUFFER_CMAA, \ | 56 GPU_OP(DISABLE_FRAMEBUFFER_CMAA, \ |
57 disable_framebuffer_cmaa) \ | 57 disable_framebuffer_cmaa) \ |
58 GPU_OP(DISABLE_GL_RGB_FORMAT, \ | 58 GPU_OP(DISABLE_GL_RGB_FORMAT, \ |
59 disable_gl_rgb_format) \ | 59 disable_gl_rgb_format) \ |
60 GPU_OP(DISABLE_MULTIMONITOR_MULTISAMPLING, \ | 60 GPU_OP(DISABLE_MULTIMONITOR_MULTISAMPLING, \ |
61 disable_multimonitor_multisampling) \ | 61 disable_multimonitor_multisampling) \ |
| 62 GPU_OP(DISABLE_NV12_DXGI_VIDEO, \ |
| 63 disable_nv12_dxgi_video) \ |
62 GPU_OP(DISABLE_OVERLAY_CA_LAYERS, \ | 64 GPU_OP(DISABLE_OVERLAY_CA_LAYERS, \ |
63 disable_overlay_ca_layers) \ | 65 disable_overlay_ca_layers) \ |
64 GPU_OP(DISABLE_POST_SUB_BUFFERS_FOR_ONSCREEN_SURFACES, \ | 66 GPU_OP(DISABLE_POST_SUB_BUFFERS_FOR_ONSCREEN_SURFACES, \ |
65 disable_post_sub_buffers_for_onscreen_surfaces) \ | 67 disable_post_sub_buffers_for_onscreen_surfaces) \ |
66 GPU_OP(DISABLE_PROGRAM_CACHE, \ | 68 GPU_OP(DISABLE_PROGRAM_CACHE, \ |
67 disable_program_cache) \ | 69 disable_program_cache) \ |
68 GPU_OP(DISABLE_PROGRAM_DISK_CACHE, \ | 70 GPU_OP(DISABLE_PROGRAM_DISK_CACHE, \ |
69 disable_program_disk_cache) \ | 71 disable_program_disk_cache) \ |
70 GPU_OP(DISABLE_TEXTURE_CUBE_MAP_SEAMLESS, \ | 72 GPU_OP(DISABLE_TEXTURE_CUBE_MAP_SEAMLESS, \ |
71 disable_texture_cube_map_seamless) \ | 73 disable_texture_cube_map_seamless) \ |
(...skipping 122 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 |