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

Side by Side Diff: gpu/config/gpu_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 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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 "gpu/config/gpu_switches.h" 5 #include "gpu/config/gpu_switches.h"
6 6
7 namespace switches { 7 namespace switches {
8 8
9 // Pass a set of GpuDriverBugWorkaroundType ids, seperated by ','. 9 // Pass a set of GpuDriverBugWorkaroundType ids, seperated by ','.
10 const char kGpuDriverBugWorkarounds[] = "gpu-driver-bug-workarounds"; 10 const char kGpuDriverBugWorkarounds[] = "gpu-driver-bug-workarounds";
11 11
12 // Testing switch to not launch the gpu process for full gpu info collection. 12 // Testing switch to not launch the gpu process for full gpu info collection.
13 const char kGpuTestingNoCompleteInfoCollection[] = 13 const char kGpuTestingNoCompleteInfoCollection[] =
14 "gpu-no-complete-info-collection"; 14 "gpu-no-complete-info-collection";
15 15
16 // Override os version from GpuControlList::MakeDecision. 16 // Override os version from GpuControlList::MakeDecision.
17 const char kGpuTestingOsVersion[] = "gpu-testing-os-version"; 17 const char kGpuTestingOsVersion[] = "gpu-testing-os-version";
18 18
19 // Override gpu vendor id from the GpuInfoCollector. 19 // Override gpu vendor id from the GpuInfoCollector.
20 const char kGpuTestingVendorId[] = "gpu-testing-vendor-id"; 20 const char kGpuTestingVendorId[] = "gpu-testing-vendor-id";
21 21
22 // Override gpu device id from the GpuInfoCollector. 22 // Override gpu device id from the GpuInfoCollector.
23 const char kGpuTestingDeviceId[] = "gpu-testing-device-id"; 23 const char kGpuTestingDeviceId[] = "gpu-testing-device-id";
24 24
25 // Override secondary gpu vendor ids from the GpuInfoCollector.
26 const char kGpuTestingSecondaryVendorIDs[] = "gpu-testing-secondary-vendor-ids";
27
28 // Override secondary gpu device ids from the GpuInfoCollector.
29 const char kGpuTestingSecondaryDeviceIDs[] = "gpu-testing-secondary-device-ids";
30
25 // Override gl vendor from the GpuInfoCollector. 31 // Override gl vendor from the GpuInfoCollector.
26 const char kGpuTestingGLVendor[] = "gpu-testing-gl-vendor"; 32 const char kGpuTestingGLVendor[] = "gpu-testing-gl-vendor";
27 33
28 // Override gl renderer from the GpuInfoCollector. 34 // Override gl renderer from the GpuInfoCollector.
29 const char kGpuTestingGLRenderer[] = "gpu-testing-gl-renderer"; 35 const char kGpuTestingGLRenderer[] = "gpu-testing-gl-renderer";
30 36
31 // Override gl version from the GpuInfoCollector. 37 // Override gl version from the GpuInfoCollector.
32 const char kGpuTestingGLVersion[] = "gpu-testing-gl-version"; 38 const char kGpuTestingGLVersion[] = "gpu-testing-gl-version";
33 39
34 } // namespace switches 40 } // namespace switches
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698