diff options
Diffstat (limited to 'gpu/config/gpu_util.h')
-rw-r--r-- | gpu/config/gpu_util.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/gpu/config/gpu_util.h b/gpu/config/gpu_util.h index 40ae16c..6d6800e 100644 --- a/gpu/config/gpu_util.h +++ b/gpu/config/gpu_util.h @@ -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 std::string GpuSwitchingOptionToString(GpuSwitchingOption option); 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_ |