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

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

Issue 1463823002: Add DriverBugWorkaroundsInGpuProcessPage to gpu_process_test.py (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Remove the fixes and only keep the test that check presence of the fake workaround Created 4 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 | « content/test/gpu/page_sets/gpu_process_tests.py ('k') | gpu/ipc/common/gpu_messages.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 142 matching lines...) Expand 10 before | Expand all | Expand 10 after
153 GPU_OP(USE_INTERMEDIARY_FOR_COPY_TEXTURE_IMAGE, \ 153 GPU_OP(USE_INTERMEDIARY_FOR_COPY_TEXTURE_IMAGE, \
154 use_intermediary_for_copy_texture_image) \ 154 use_intermediary_for_copy_texture_image) \
155 GPU_OP(USE_NON_ZERO_SIZE_FOR_CLIENT_SIDE_STREAM_BUFFERS, \ 155 GPU_OP(USE_NON_ZERO_SIZE_FOR_CLIENT_SIDE_STREAM_BUFFERS, \
156 use_non_zero_size_for_client_side_stream_buffers) \ 156 use_non_zero_size_for_client_side_stream_buffers) \
157 GPU_OP(USE_VIRTUALIZED_GL_CONTEXTS, \ 157 GPU_OP(USE_VIRTUALIZED_GL_CONTEXTS, \
158 use_virtualized_gl_contexts) \ 158 use_virtualized_gl_contexts) \
159 GPU_OP(VALIDATE_MULTISAMPLE_BUFFER_ALLOCATION, \ 159 GPU_OP(VALIDATE_MULTISAMPLE_BUFFER_ALLOCATION, \
160 validate_multisample_buffer_allocation) \ 160 validate_multisample_buffer_allocation) \
161 GPU_OP(WAKE_UP_GPU_BEFORE_DRAWING, \ 161 GPU_OP(WAKE_UP_GPU_BEFORE_DRAWING, \
162 wake_up_gpu_before_drawing) \ 162 wake_up_gpu_before_drawing) \
163 GPU_OP(USE_TESTING_GPU_DRIVER_WORKAROUND, \
164 use_gpu_driver_workaround_for_testing) \
163 165
164 namespace gpu { 166 namespace gpu {
165 167
166 // Provides all types of GPU driver bug workarounds. 168 // Provides all types of GPU driver bug workarounds.
167 enum GpuDriverBugWorkaroundType { 169 enum GpuDriverBugWorkaroundType {
168 #define GPU_OP(type, name) type, 170 #define GPU_OP(type, name) type,
169 GPU_DRIVER_BUG_WORKAROUNDS(GPU_OP) 171 GPU_DRIVER_BUG_WORKAROUNDS(GPU_OP)
170 #undef GPU_OP 172 #undef GPU_OP
171 NUMBER_OF_GPU_DRIVER_BUG_WORKAROUND_TYPES 173 NUMBER_OF_GPU_DRIVER_BUG_WORKAROUND_TYPES
172 }; 174 };
173 175
174 GPU_EXPORT std::string GpuDriverBugWorkaroundTypeToString( 176 GPU_EXPORT std::string GpuDriverBugWorkaroundTypeToString(
175 GpuDriverBugWorkaroundType type); 177 GpuDriverBugWorkaroundType type);
176 178
177 } // namespace gpu 179 } // namespace gpu
178 180
179 #endif // GPU_CONFIG_GPU_DRIVER_BUG_WORKAROUND_TYPE_H_ 181 #endif // GPU_CONFIG_GPU_DRIVER_BUG_WORKAROUND_TYPE_H_
OLDNEW
« no previous file with comments | « content/test/gpu/page_sets/gpu_process_tests.py ('k') | gpu/ipc/common/gpu_messages.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698