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

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

Issue 2829543003: gpu: Empty swaps for surfaceless output surfaces. (Closed)
Patch Set: new workaround Created 3 years, 8 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 ('k') | gpu/ipc/common/gpu_command_buffer_traits_multi.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 193 matching lines...) Expand 10 before | Expand all | Expand 10 after
204 GPU_OP(VALIDATE_MULTISAMPLE_BUFFER_ALLOCATION, \ 204 GPU_OP(VALIDATE_MULTISAMPLE_BUFFER_ALLOCATION, \
205 validate_multisample_buffer_allocation) \ 205 validate_multisample_buffer_allocation) \
206 GPU_OP(WAKE_UP_GPU_BEFORE_DRAWING, \ 206 GPU_OP(WAKE_UP_GPU_BEFORE_DRAWING, \
207 wake_up_gpu_before_drawing) \ 207 wake_up_gpu_before_drawing) \
208 GPU_OP(USE_GPU_DRIVER_WORKAROUND_FOR_TESTING, \ 208 GPU_OP(USE_GPU_DRIVER_WORKAROUND_FOR_TESTING, \
209 use_gpu_driver_workaround_for_testing) \ 209 use_gpu_driver_workaround_for_testing) \
210 GPU_OP(DISALLOW_LARGE_INSTANCED_DRAW, \ 210 GPU_OP(DISALLOW_LARGE_INSTANCED_DRAW, \
211 disallow_large_instanced_draw) \ 211 disallow_large_instanced_draw) \
212 GPU_OP(DISABLE_SOFTWARE_TO_ACCELERATED_CANVAS_UPGRADE, \ 212 GPU_OP(DISABLE_SOFTWARE_TO_ACCELERATED_CANVAS_UPGRADE, \
213 disable_software_to_accelerated_canvas_upgrade) \ 213 disable_software_to_accelerated_canvas_upgrade) \
214 GPU_OP(DISABLE_NON_EMPTY_POST_SUB_BUFFERS_FOR_ONSCREEN_SURFACES, \
215 disable_non_empty_post_sub_buffers_for_onscreen_surfaces) \
214 // clang-format on 216 // clang-format on
215 217
216 namespace gpu { 218 namespace gpu {
217 219
218 // Provides all types of GPU driver bug workarounds. 220 // Provides all types of GPU driver bug workarounds.
219 enum GpuDriverBugWorkaroundType { 221 enum GpuDriverBugWorkaroundType {
220 #define GPU_OP(type, name) type, 222 #define GPU_OP(type, name) type,
221 GPU_DRIVER_BUG_WORKAROUNDS(GPU_OP) 223 GPU_DRIVER_BUG_WORKAROUNDS(GPU_OP)
222 #undef GPU_OP 224 #undef GPU_OP
223 NUMBER_OF_GPU_DRIVER_BUG_WORKAROUND_TYPES 225 NUMBER_OF_GPU_DRIVER_BUG_WORKAROUND_TYPES
224 }; 226 };
225 227
226 GPU_EXPORT std::string GpuDriverBugWorkaroundTypeToString( 228 GPU_EXPORT std::string GpuDriverBugWorkaroundTypeToString(
227 GpuDriverBugWorkaroundType type); 229 GpuDriverBugWorkaroundType type);
228 230
229 } // namespace gpu 231 } // namespace gpu
230 232
231 #endif // GPU_CONFIG_GPU_DRIVER_BUG_WORKAROUND_TYPE_H_ 233 #endif // GPU_CONFIG_GPU_DRIVER_BUG_WORKAROUND_TYPE_H_
OLDNEW
« no previous file with comments | « gpu/config/gpu_driver_bug_list.json ('k') | gpu/ipc/common/gpu_command_buffer_traits_multi.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698