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

Unified Diff: content/public/common/content_switches.cc

Issue 1874643003: Do not lose secondary gpus and make sure to have an active gpu on multiple gpu configurations (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Add utility function gpu::ParseSecondaryGpuDevicesFromCommandLine (and rebase) Created 4 years, 8 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
Index: content/public/common/content_switches.cc
diff --git a/content/public/common/content_switches.cc b/content/public/common/content_switches.cc
index 98cf2e133e20088a7dd10d73039697dd1b8d4437..54af7b1c60201d5f14074a9f56da9d53996e1a6e 100644
--- a/content/public/common/content_switches.cc
+++ b/content/public/common/content_switches.cc
@@ -561,6 +561,12 @@ const char kGpuStartupDialog[] = "gpu-startup-dialog";
// Passes gpu vendor_id from browser process to GPU process.
const char kGpuVendorID[] = "gpu-vendor-id";
+// Passes secondary gpu vendor ids from browser process to GPU process.
+const char kGpuSecondaryVendorIDs[] = "gpu-secondary-vendor-ids";
+
+// Passes secondary gpu device ids from browser process to GPU process.
+const char kGpuSecondaryDeviceIDs[] = "gpu-secondary-device-ids";
+
// These mappings only apply to the host resolver.
const char kHostResolverRules[] = "host-resolver-rules";

Powered by Google App Engine
This is Rietveld 408576698