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

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

Issue 1463823002: Add DriverBugWorkaroundsInGpuProcessPage to gpu_process_test.py (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 1 month 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) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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_UTIL_H_ 5 #ifndef GPU_CONFIG_GPU_UTIL_H_
6 #define GPU_CONFIG_GPU_UTIL_H_ 6 #define GPU_CONFIG_GPU_UTIL_H_
7 7
8 #include <set> 8 #include <set>
9 #include <string> 9 #include <string>
10 10
(...skipping 12 matching lines...) Expand all
23 // Merge features in src into dst. 23 // Merge features in src into dst.
24 GPU_EXPORT void MergeFeatureSets( 24 GPU_EXPORT void MergeFeatureSets(
25 std::set<int>* dst, const std::set<int>& src); 25 std::set<int>* dst, const std::set<int>& src);
26 26
27 // Collect basic GPUInfo, compute the driver bug workarounds for the current 27 // Collect basic GPUInfo, compute the driver bug workarounds for the current
28 // system, and append the |command_line|. 28 // system, and append the |command_line|.
29 GPU_EXPORT void ApplyGpuDriverBugWorkarounds(base::CommandLine* command_line); 29 GPU_EXPORT void ApplyGpuDriverBugWorkarounds(base::CommandLine* command_line);
30 30
31 // With provided GPUInfo, compute the driver bug workarounds for the current 31 // With provided GPUInfo, compute the driver bug workarounds for the current
32 // system, and append the |command_line|. 32 // system, and append the |command_line|.
33 GPU_EXPORT void ApplyGpuDriverBugWorkarounds( 33 GPU_EXPORT void ApplyGpuDriverBugWorkarounds(GPUInfo& gpu_inco,
34 const GPUInfo& gpu_inco, base::CommandLine* command_line); 34 base::CommandLine* command_line);
35 35
36 // |str| is in the format of "feature1,feature2,...,featureN". 36 // |str| is in the format of "feature1,feature2,...,featureN".
37 GPU_EXPORT void StringToFeatureSet( 37 GPU_EXPORT void StringToFeatureSet(
38 const std::string& str, std::set<int>* feature_set); 38 const std::string& str, std::set<int>* feature_set);
39 39
40 } // namespace gpu 40 } // namespace gpu
41 41
42 #endif // GPU_CONFIG_GPU_UTIL_H_ 42 #endif // GPU_CONFIG_GPU_UTIL_H_
43 43
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698