| 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 47 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 58 GPU_OP(DISABLE_DXGI_ZERO_COPY_VIDEO, \ | 58 GPU_OP(DISABLE_DXGI_ZERO_COPY_VIDEO, \ |
| 59 disable_dxgi_zero_copy_video) \ | 59 disable_dxgi_zero_copy_video) \ |
| 60 GPU_OP(DISABLE_ES3_GL_CONTEXT, \ | 60 GPU_OP(DISABLE_ES3_GL_CONTEXT, \ |
| 61 disable_es3_gl_context) \ | 61 disable_es3_gl_context) \ |
| 62 GPU_OP(DISABLE_EXT_DRAW_BUFFERS, \ | 62 GPU_OP(DISABLE_EXT_DRAW_BUFFERS, \ |
| 63 disable_ext_draw_buffers) \ | 63 disable_ext_draw_buffers) \ |
| 64 GPU_OP(DISABLE_FRAMEBUFFER_CMAA, \ | 64 GPU_OP(DISABLE_FRAMEBUFFER_CMAA, \ |
| 65 disable_framebuffer_cmaa) \ | 65 disable_framebuffer_cmaa) \ |
| 66 GPU_OP(DISABLE_GL_RGB_FORMAT, \ | 66 GPU_OP(DISABLE_GL_RGB_FORMAT, \ |
| 67 disable_gl_rgb_format) \ | 67 disable_gl_rgb_format) \ |
| 68 GPU_OP(DISABLE_LARGER_THAN_SCREEN_OVERLAYS, \ |
| 69 disable_larger_than_screen_overlays) \ |
| 68 GPU_OP(DISABLE_MULTIMONITOR_MULTISAMPLING, \ | 70 GPU_OP(DISABLE_MULTIMONITOR_MULTISAMPLING, \ |
| 69 disable_multimonitor_multisampling) \ | 71 disable_multimonitor_multisampling) \ |
| 70 GPU_OP(DISABLE_NV12_DXGI_VIDEO, \ | 72 GPU_OP(DISABLE_NV12_DXGI_VIDEO, \ |
| 71 disable_nv12_dxgi_video) \ | 73 disable_nv12_dxgi_video) \ |
| 72 GPU_OP(DISABLE_OVERLAY_CA_LAYERS, \ | 74 GPU_OP(DISABLE_OVERLAY_CA_LAYERS, \ |
| 73 disable_overlay_ca_layers) \ | 75 disable_overlay_ca_layers) \ |
| 74 GPU_OP(DISABLE_POST_SUB_BUFFERS_FOR_ONSCREEN_SURFACES, \ | 76 GPU_OP(DISABLE_POST_SUB_BUFFERS_FOR_ONSCREEN_SURFACES, \ |
| 75 disable_post_sub_buffers_for_onscreen_surfaces) \ | 77 disable_post_sub_buffers_for_onscreen_surfaces) \ |
| 76 GPU_OP(DISABLE_PROGRAM_CACHE, \ | 78 GPU_OP(DISABLE_PROGRAM_CACHE, \ |
| 77 disable_program_cache) \ | 79 disable_program_cache) \ |
| (...skipping 152 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 230 #undef GPU_OP | 232 #undef GPU_OP |
| 231 NUMBER_OF_GPU_DRIVER_BUG_WORKAROUND_TYPES | 233 NUMBER_OF_GPU_DRIVER_BUG_WORKAROUND_TYPES |
| 232 }; | 234 }; |
| 233 | 235 |
| 234 GPU_EXPORT std::string GpuDriverBugWorkaroundTypeToString( | 236 GPU_EXPORT std::string GpuDriverBugWorkaroundTypeToString( |
| 235 GpuDriverBugWorkaroundType type); | 237 GpuDriverBugWorkaroundType type); |
| 236 | 238 |
| 237 } // namespace gpu | 239 } // namespace gpu |
| 238 | 240 |
| 239 #endif // GPU_CONFIG_GPU_DRIVER_BUG_WORKAROUND_TYPE_H_ | 241 #endif // GPU_CONFIG_GPU_DRIVER_BUG_WORKAROUND_TYPE_H_ |
| OLD | NEW |