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

Unified Diff: content/gpu/gpu_main.cc

Issue 1406323005: gpu: Recompute driver bug workarounds on linux (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 2 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/gpu/gpu_main.cc
diff --git a/content/gpu/gpu_main.cc b/content/gpu/gpu_main.cc
index 93d03aa43db85886b5dbc9ab48d12206c44e532d..4c2e1a5c48b70c733b09f3468ef9eab1d8f8f5f5 100644
--- a/content/gpu/gpu_main.cc
+++ b/content/gpu/gpu_main.cc
@@ -292,7 +292,7 @@ int GpuMain(const MainFunctionParams& parameters) {
if (!CollectGraphicsInfo(gpu_info))
dead_on_arrival = true;
-#if defined(OS_CHROMEOS) || defined(OS_ANDROID)
+#if defined(OS_CHROMEOS) || defined(OS_ANDROID) || defined(OS_LINUX)
// Recompute gpu driver bug workarounds - this is specifically useful
// on systems where vendor_id/device_id aren't available.
Ken Russell (switch to Gerrit) 2015/10/22 17:30:32 Could you please expand this comment? "This is nec
if (!command_line.HasSwitch(switches::kDisableGpuDriverBugWorkarounds)) {
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698