| 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_GL_PATH_RENDERING, \ |
| 38 disable_gl_path_rendering) \ |
| 37 GPU_OP(DISABLE_GL_RGB_FORMAT, \ | 39 GPU_OP(DISABLE_GL_RGB_FORMAT, \ |
| 38 disable_gl_rgb_format) \ | 40 disable_gl_rgb_format) \ |
| 39 GPU_OP(DISABLE_MULTIMONITOR_MULTISAMPLING, \ | 41 GPU_OP(DISABLE_MULTIMONITOR_MULTISAMPLING, \ |
| 40 disable_multimonitor_multisampling) \ | 42 disable_multimonitor_multisampling) \ |
| 41 GPU_OP(DISABLE_MULTISAMPLED_RENDER_TO_TEXTURE, \ | 43 GPU_OP(DISABLE_MULTISAMPLED_RENDER_TO_TEXTURE, \ |
| 42 disable_multisampled_render_to_texture) \ | 44 disable_multisampled_render_to_texture) \ |
| 43 GPU_OP(DISABLE_NS_CGL_SURFACE_API, \ | 45 GPU_OP(DISABLE_NS_CGL_SURFACE_API, \ |
| 44 disable_ns_cgl_surface_api) \ | 46 disable_ns_cgl_surface_api) \ |
| 45 GPU_OP(DISABLE_POST_SUB_BUFFERS_FOR_ONSCREEN_SURFACES, \ | 47 GPU_OP(DISABLE_POST_SUB_BUFFERS_FOR_ONSCREEN_SURFACES, \ |
| 46 disable_post_sub_buffers_for_onscreen_surfaces) \ | 48 disable_post_sub_buffers_for_onscreen_surfaces) \ |
| (...skipping 91 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 138 #undef GPU_OP | 140 #undef GPU_OP |
| 139 NUMBER_OF_GPU_DRIVER_BUG_WORKAROUND_TYPES | 141 NUMBER_OF_GPU_DRIVER_BUG_WORKAROUND_TYPES |
| 140 }; | 142 }; |
| 141 | 143 |
| 142 GPU_EXPORT std::string GpuDriverBugWorkaroundTypeToString( | 144 GPU_EXPORT std::string GpuDriverBugWorkaroundTypeToString( |
| 143 GpuDriverBugWorkaroundType type); | 145 GpuDriverBugWorkaroundType type); |
| 144 | 146 |
| 145 } // namespace gpu | 147 } // namespace gpu |
| 146 | 148 |
| 147 #endif // GPU_CONFIG_GPU_DRIVER_BUG_WORKAROUND_TYPE_H_ | 149 #endif // GPU_CONFIG_GPU_DRIVER_BUG_WORKAROUND_TYPE_H_ |
| OLD | NEW |