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

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

Issue 2671773003: Copy GPU workaround flags from browser to GPU process (Closed)
Patch Set: fix test on certain systems 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
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_LIST_H_ 5 #ifndef GPU_CONFIG_GPU_DRIVER_BUG_LIST_H_
6 #define GPU_CONFIG_GPU_DRIVER_BUG_LIST_H_ 6 #define GPU_CONFIG_GPU_DRIVER_BUG_LIST_H_
7 7
8 #include <set> 8 #include <set>
9 #include <string> 9 #include <string>
10 10
(...skipping 10 matching lines...) Expand all
21 ~GpuDriverBugList() override; 21 ~GpuDriverBugList() override;
22 22
23 static GpuDriverBugList* Create(); 23 static GpuDriverBugList* Create();
24 24
25 // Append |workarounds| with these passed in through the 25 // Append |workarounds| with these passed in through the
26 // |command_line|. 26 // |command_line|.
27 static void AppendWorkaroundsFromCommandLine( 27 static void AppendWorkaroundsFromCommandLine(
28 std::set<int>* workarounds, 28 std::set<int>* workarounds,
29 const base::CommandLine& command_line); 29 const base::CommandLine& command_line);
30 30
31 // Append |workarounds| with the full list of workarounds.
32 // This is needed for correctly passing flags down from
33 // the browser process to the GPU process.
34 static void AppendAllWorkarounds(std::vector<const char*>* workarounds);
35
31 private: 36 private:
32 GpuDriverBugList(); 37 GpuDriverBugList();
33 38
34 DISALLOW_COPY_AND_ASSIGN(GpuDriverBugList); 39 DISALLOW_COPY_AND_ASSIGN(GpuDriverBugList);
35 }; 40 };
36 41
37 } // namespace gpu 42 } // namespace gpu
38 43
39 #endif // GPU_CONFIG_GPU_DRIVER_BUG_LIST_H_ 44 #endif // GPU_CONFIG_GPU_DRIVER_BUG_LIST_H_
40 45
OLDNEW
« no previous file with comments | « content/test/gpu/gpu_tests/gpu_process_integration_test.py ('k') | gpu/config/gpu_driver_bug_list.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698