Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(374)

Side by Side Diff: gpu/config/gpu_driver_bug_workaround_type.h

Issue 2112513003: gpu: Use workarounds to selectively enable CMAA (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Remove switch and fix up JSON data Created 4 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « gpu/config/gpu_driver_bug_list_json.cc ('k') | ui/gl/gl_switches.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 27 matching lines...) Expand all
38 GPU_OP(DISABLE_DEPTH_TEXTURE, \ 38 GPU_OP(DISABLE_DEPTH_TEXTURE, \
39 disable_depth_texture) \ 39 disable_depth_texture) \
40 GPU_OP(DISABLE_DIRECT_COMPOSITION, \ 40 GPU_OP(DISABLE_DIRECT_COMPOSITION, \
41 disable_direct_composition) \ 41 disable_direct_composition) \
42 GPU_OP(DISABLE_DISCARD_FRAMEBUFFER, \ 42 GPU_OP(DISABLE_DISCARD_FRAMEBUFFER, \
43 disable_discard_framebuffer) \ 43 disable_discard_framebuffer) \
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, \
49 disable_framebuffer_cmaa) \
48 GPU_OP(DISABLE_GL_RGB_FORMAT, \ 50 GPU_OP(DISABLE_GL_RGB_FORMAT, \
49 disable_gl_rgb_format) \ 51 disable_gl_rgb_format) \
50 GPU_OP(DISABLE_MULTIMONITOR_MULTISAMPLING, \ 52 GPU_OP(DISABLE_MULTIMONITOR_MULTISAMPLING, \
51 disable_multimonitor_multisampling) \ 53 disable_multimonitor_multisampling) \
52 GPU_OP(DISABLE_MULTISAMPLED_RENDER_TO_TEXTURE, \ 54 GPU_OP(DISABLE_MULTISAMPLED_RENDER_TO_TEXTURE, \
53 disable_multisampled_render_to_texture) \ 55 disable_multisampled_render_to_texture) \
54 GPU_OP(DISABLE_OVERLAY_CA_LAYERS, \ 56 GPU_OP(DISABLE_OVERLAY_CA_LAYERS, \
55 disable_overlay_ca_layers) \ 57 disable_overlay_ca_layers) \
56 GPU_OP(DISABLE_POST_SUB_BUFFERS_FOR_ONSCREEN_SURFACES, \ 58 GPU_OP(DISABLE_POST_SUB_BUFFERS_FOR_ONSCREEN_SURFACES, \
57 disable_post_sub_buffers_for_onscreen_surfaces) \ 59 disable_post_sub_buffers_for_onscreen_surfaces) \
(...skipping 116 matching lines...) Expand 10 before | Expand all | Expand 10 after
174 #undef GPU_OP 176 #undef GPU_OP
175 NUMBER_OF_GPU_DRIVER_BUG_WORKAROUND_TYPES 177 NUMBER_OF_GPU_DRIVER_BUG_WORKAROUND_TYPES
176 }; 178 };
177 179
178 GPU_EXPORT std::string GpuDriverBugWorkaroundTypeToString( 180 GPU_EXPORT std::string GpuDriverBugWorkaroundTypeToString(
179 GpuDriverBugWorkaroundType type); 181 GpuDriverBugWorkaroundType type);
180 182
181 } // namespace gpu 183 } // namespace gpu
182 184
183 #endif // GPU_CONFIG_GPU_DRIVER_BUG_WORKAROUND_TYPE_H_ 185 #endif // GPU_CONFIG_GPU_DRIVER_BUG_WORKAROUND_TYPE_H_
OLDNEW
« no previous file with comments | « gpu/config/gpu_driver_bug_list_json.cc ('k') | ui/gl/gl_switches.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698