Index: gpu/config/gpu_util.h |
=================================================================== |
--- gpu/config/gpu_util.h (revision 202179) |
+++ gpu/config/gpu_util.h (working copy) |
@@ -12,6 +12,8 @@ |
#include "gpu/config/gpu_switching_option.h" |
#include "gpu/gpu_export.h" |
+class CommandLine; |
+ |
namespace gpu { |
// Maps string to GpuSwitchingOption; returns GPU_SWITCHING_UNKNOWN if an |
@@ -26,6 +28,10 @@ |
GPU_EXPORT void MergeFeatureSets( |
std::set<int>* dst, const std::set<int>& src); |
+// Collect basic GPUInfo, compute the driver bug workarounds for the current |
+// system, and append the |command_line|. |
+GPU_EXPORT void ApplyGpuDriverBugWorkarounds(CommandLine* command_line); |
+ |
} // namespace gpu |
#endif // GPU_CONFIG_GPU_UTIL_H_ |