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

Unified Diff: gpu/config/gpu_util.h

Issue 16159004: Hookup driver_bug_workarounds with gl_tests properly. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 7 years, 7 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « gpu/command_buffer/tests/gl_tests_main.cc ('k') | gpu/config/gpu_util.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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_
« no previous file with comments | « gpu/command_buffer/tests/gl_tests_main.cc ('k') | gpu/config/gpu_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698