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

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

Issue 1093733002: Disable BGRA support on linux. Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 5 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.cc ('k') | no next file » | 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 106 matching lines...) Expand 10 before | Expand all | Expand 10 after
117 GPU_OP(USE_CURRENT_PROGRAM_AFTER_SUCCESSFUL_LINK, \ 117 GPU_OP(USE_CURRENT_PROGRAM_AFTER_SUCCESSFUL_LINK, \
118 use_current_program_after_successful_link) \ 118 use_current_program_after_successful_link) \
119 GPU_OP(USE_NON_ZERO_SIZE_FOR_CLIENT_SIDE_STREAM_BUFFERS, \ 119 GPU_OP(USE_NON_ZERO_SIZE_FOR_CLIENT_SIDE_STREAM_BUFFERS, \
120 use_non_zero_size_for_client_side_stream_buffers) \ 120 use_non_zero_size_for_client_side_stream_buffers) \
121 GPU_OP(USE_VIRTUALIZED_GL_CONTEXTS, \ 121 GPU_OP(USE_VIRTUALIZED_GL_CONTEXTS, \
122 use_virtualized_gl_contexts) \ 122 use_virtualized_gl_contexts) \
123 GPU_OP(VALIDATE_MULTISAMPLE_BUFFER_ALLOCATION, \ 123 GPU_OP(VALIDATE_MULTISAMPLE_BUFFER_ALLOCATION, \
124 validate_multisample_buffer_allocation) \ 124 validate_multisample_buffer_allocation) \
125 GPU_OP(WAKE_UP_GPU_BEFORE_DRAWING, \ 125 GPU_OP(WAKE_UP_GPU_BEFORE_DRAWING, \
126 wake_up_gpu_before_drawing) \ 126 wake_up_gpu_before_drawing) \
127 GPU_OP(SUPPORT_BGRA_COLOR_READ_FORMAT, \
128 support_bgra_color_read_format) \
127 129
128 namespace gpu { 130 namespace gpu {
129 131
130 // Provides all types of GPU driver bug workarounds. 132 // Provides all types of GPU driver bug workarounds.
131 enum GPU_EXPORT GpuDriverBugWorkaroundType { 133 enum GPU_EXPORT GpuDriverBugWorkaroundType {
132 #define GPU_OP(type, name) type, 134 #define GPU_OP(type, name) type,
133 GPU_DRIVER_BUG_WORKAROUNDS(GPU_OP) 135 GPU_DRIVER_BUG_WORKAROUNDS(GPU_OP)
134 #undef GPU_OP 136 #undef GPU_OP
135 NUMBER_OF_GPU_DRIVER_BUG_WORKAROUND_TYPES 137 NUMBER_OF_GPU_DRIVER_BUG_WORKAROUND_TYPES
136 }; 138 };
137 139
138 GPU_EXPORT std::string GpuDriverBugWorkaroundTypeToString( 140 GPU_EXPORT std::string GpuDriverBugWorkaroundTypeToString(
139 GpuDriverBugWorkaroundType type); 141 GpuDriverBugWorkaroundType type);
140 142
141 } // namespace gpu 143 } // namespace gpu
142 144
143 #endif // GPU_CONFIG_GPU_DRIVER_BUG_WORKAROUND_TYPE_H_ 145 #endif // GPU_CONFIG_GPU_DRIVER_BUG_WORKAROUND_TYPE_H_
OLDNEW
« no previous file with comments | « gpu/config/gpu_driver_bug_list_json.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698