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

Side by Side 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 unified diff | Download patch
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "build/build_config.h" 5 #include "build/build_config.h"
6 #include "content/public/common/content_switches.h" 6 #include "content/public/common/content_switches.h"
7 7
8 namespace switches { 8 namespace switches {
9 9
10 // The number of MSAA samples for canvas2D. Requires MSAA support by GPU to 10 // The number of MSAA samples for canvas2D. Requires MSAA support by GPU to
(...skipping 543 matching lines...) Expand 10 before | Expand all | Expand 10 after
554 554
555 // Starts the GPU sandbox before creating a GL context. 555 // Starts the GPU sandbox before creating a GL context.
556 const char kGpuSandboxStartEarly[] = "gpu-sandbox-start-early"; 556 const char kGpuSandboxStartEarly[] = "gpu-sandbox-start-early";
557 557
558 // Causes the GPU process to display a dialog on launch. 558 // Causes the GPU process to display a dialog on launch.
559 const char kGpuStartupDialog[] = "gpu-startup-dialog"; 559 const char kGpuStartupDialog[] = "gpu-startup-dialog";
560 560
561 // Passes gpu vendor_id from browser process to GPU process. 561 // Passes gpu vendor_id from browser process to GPU process.
562 const char kGpuVendorID[] = "gpu-vendor-id"; 562 const char kGpuVendorID[] = "gpu-vendor-id";
563 563
564 // Passes secondary gpu vendor ids from browser process to GPU process.
565 const char kGpuSecondaryVendorIDs[] = "gpu-secondary-vendor-ids";
566
567 // Passes secondary gpu device ids from browser process to GPU process.
568 const char kGpuSecondaryDeviceIDs[] = "gpu-secondary-device-ids";
569
564 // These mappings only apply to the host resolver. 570 // These mappings only apply to the host resolver.
565 const char kHostResolverRules[] = "host-resolver-rules"; 571 const char kHostResolverRules[] = "host-resolver-rules";
566 572
567 // Ignores certificate-related errors. 573 // Ignores certificate-related errors.
568 const char kIgnoreCertificateErrors[] = "ignore-certificate-errors"; 574 const char kIgnoreCertificateErrors[] = "ignore-certificate-errors";
569 575
570 // Ignores GPU blacklist. 576 // Ignores GPU blacklist.
571 const char kIgnoreGpuBlacklist[] = "ignore-gpu-blacklist"; 577 const char kIgnoreGpuBlacklist[] = "ignore-gpu-blacklist";
572 578
573 // Makes all APIs reflect the layout viewport. 579 // Makes all APIs reflect the layout viewport.
(...skipping 447 matching lines...) Expand 10 before | Expand all | Expand 10 after
1021 const char kMemoryPressureThresholdsMb[] = "memory-pressure-thresholds-mb"; 1027 const char kMemoryPressureThresholdsMb[] = "memory-pressure-thresholds-mb";
1022 1028
1023 // Enables the exporting of the tracing events to ETW. This is only supported on 1029 // Enables the exporting of the tracing events to ETW. This is only supported on
1024 // Windows Vista and later. 1030 // Windows Vista and later.
1025 const char kTraceExportEventsToETW[] = "trace-export-events-to-etw"; 1031 const char kTraceExportEventsToETW[] = "trace-export-events-to-etw";
1026 #endif 1032 #endif
1027 1033
1028 // Don't dump stuff here, follow the same order as the header. 1034 // Don't dump stuff here, follow the same order as the header.
1029 1035
1030 } // namespace switches 1036 } // namespace switches
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698