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

Side by Side Diff: gpu/config/gpu_driver_bug_list.cc

Issue 2666353002: Revert of Copy GPU workaround flags from browser to GPU process (Closed)
Patch Set: Created 3 years, 10 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.h ('k') | gpu/config/gpu_driver_bug_list_json.cc » ('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 #include "gpu/config/gpu_driver_bug_list.h" 5 #include "gpu/config/gpu_driver_bug_list.h"
6 6
7 #include "base/logging.h" 7 #include "base/logging.h"
8 #include "gpu/config/gpu_driver_bug_workaround_type.h" 8 #include "gpu/config/gpu_driver_bug_workaround_type.h"
9 #include "gpu/config/gpu_switches.h" 9 #include "gpu/config/gpu_switches.h"
10 #include "gpu/config/gpu_util.h" 10 #include "gpu/config/gpu_util.h"
(...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after
87 workarounds->insert(FORCE_INTEGRATED_GPU); 87 workarounds->insert(FORCE_INTEGRATED_GPU);
88 break; 88 break;
89 default: 89 default:
90 workarounds->insert(kFeatureList[i].type); 90 workarounds->insert(kFeatureList[i].type);
91 break; 91 break;
92 } 92 }
93 } 93 }
94 } 94 }
95 } 95 }
96 96
97 // static
98 void GpuDriverBugList::AppendAllWorkarounds(
99 std::vector<const char*>* workarounds) {
100 workarounds->resize(workarounds->size() +
101 NUMBER_OF_GPU_DRIVER_BUG_WORKAROUND_TYPES);
102
103 #define GPU_OP(type, name) workarounds->push_back(#name);
104 GPU_DRIVER_BUG_WORKAROUNDS(GPU_OP)
105 #undef GPU_OP
106 }
107
108
109 } // namespace gpu 97 } // namespace gpu
110 98
OLDNEW
« no previous file with comments | « gpu/config/gpu_driver_bug_list.h ('k') | gpu/config/gpu_driver_bug_list_json.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698