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

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

Issue 2124633002: Add new gpu driver bug workaround DISABLE_TRANSPARENT_VISUALS (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase 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
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 47 matching lines...) Expand 10 before | Expand all | Expand 10 after
58 GPU_OP(DISABLE_POST_SUB_BUFFERS_FOR_ONSCREEN_SURFACES, \ 58 GPU_OP(DISABLE_POST_SUB_BUFFERS_FOR_ONSCREEN_SURFACES, \
59 disable_post_sub_buffers_for_onscreen_surfaces) \ 59 disable_post_sub_buffers_for_onscreen_surfaces) \
60 GPU_OP(DISABLE_PROGRAM_CACHE, \ 60 GPU_OP(DISABLE_PROGRAM_CACHE, \
61 disable_program_cache) \ 61 disable_program_cache) \
62 GPU_OP(DISABLE_TEXTURE_CUBE_MAP_SEAMLESS, \ 62 GPU_OP(DISABLE_TEXTURE_CUBE_MAP_SEAMLESS, \
63 disable_texture_cube_map_seamless) \ 63 disable_texture_cube_map_seamless) \
64 GPU_OP(DISABLE_TEXTURE_STORAGE, \ 64 GPU_OP(DISABLE_TEXTURE_STORAGE, \
65 disable_texture_storage) \ 65 disable_texture_storage) \
66 GPU_OP(DISABLE_TIMESTAMP_QUERIES, \ 66 GPU_OP(DISABLE_TIMESTAMP_QUERIES, \
67 disable_timestamp_queries) \ 67 disable_timestamp_queries) \
68 GPU_OP(DISABLE_TRANSPARENT_VISUALS, \
69 disable_transparent_visuals) \
Ken Russell (switch to Gerrit) 2016/07/07 22:23:40 As Corentin pointed out elsewhere, changing the se
Julien Isorce Samsung 2016/07/08 09:52:53 My understanding was that Corentin wanted to have
Ken Russell (switch to Gerrit) 2016/07/12 22:46:26 OK. I'm not 100% convinced that the future directi
68 GPU_OP(DISABLE_WEBGL_MULTISAMPLING_COLOR_MASK_USAGE, \ 70 GPU_OP(DISABLE_WEBGL_MULTISAMPLING_COLOR_MASK_USAGE, \
69 disable_webgl_multisampling_color_mask_usage) \ 71 disable_webgl_multisampling_color_mask_usage) \
70 GPU_OP(DISABLE_WEBGL_RGB_MULTISAMPLING_USAGE, \ 72 GPU_OP(DISABLE_WEBGL_RGB_MULTISAMPLING_USAGE, \
71 disable_webgl_rgb_multisampling_usage) \ 73 disable_webgl_rgb_multisampling_usage) \
72 GPU_OP(ETC1_POWER_OF_TWO_ONLY, \ 74 GPU_OP(ETC1_POWER_OF_TWO_ONLY, \
73 etc1_power_of_two_only) \ 75 etc1_power_of_two_only) \
74 GPU_OP(EXIT_ON_CONTEXT_LOST, \ 76 GPU_OP(EXIT_ON_CONTEXT_LOST, \
75 exit_on_context_lost) \ 77 exit_on_context_lost) \
76 GPU_OP(FORCE_CUBE_COMPLETE, \ 78 GPU_OP(FORCE_CUBE_COMPLETE, \
77 force_cube_complete) \ 79 force_cube_complete) \
(...skipping 98 matching lines...) Expand 10 before | Expand all | Expand 10 after
176 #undef GPU_OP 178 #undef GPU_OP
177 NUMBER_OF_GPU_DRIVER_BUG_WORKAROUND_TYPES 179 NUMBER_OF_GPU_DRIVER_BUG_WORKAROUND_TYPES
178 }; 180 };
179 181
180 GPU_EXPORT std::string GpuDriverBugWorkaroundTypeToString( 182 GPU_EXPORT std::string GpuDriverBugWorkaroundTypeToString(
181 GpuDriverBugWorkaroundType type); 183 GpuDriverBugWorkaroundType type);
182 184
183 } // namespace gpu 185 } // namespace gpu
184 186
185 #endif // GPU_CONFIG_GPU_DRIVER_BUG_WORKAROUND_TYPE_H_ 187 #endif // GPU_CONFIG_GPU_DRIVER_BUG_WORKAROUND_TYPE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698