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

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: Added use_testing_switches param to ParseSecondaryGpuDevicesFromCommandLine and added IdentifyActiv… 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 // Passes secondary gpu vendor ids from browser process to GPU process.
13 const char kGpuSecondaryVendorIDs[] = "gpu-secondary-vendor-ids";
14
15 // Passes secondary gpu device ids from browser process to GPU process.
16 const char kGpuSecondaryDeviceIDs[] = "gpu-secondary-device-ids";
17
12 // Testing switch to not launch the gpu process for full gpu info collection. 18 // Testing switch to not launch the gpu process for full gpu info collection.
13 const char kGpuTestingNoCompleteInfoCollection[] = 19 const char kGpuTestingNoCompleteInfoCollection[] =
14 "gpu-no-complete-info-collection"; 20 "gpu-no-complete-info-collection";
15 21
16 // Override os version from GpuControlList::MakeDecision. 22 // Override os version from GpuControlList::MakeDecision.
17 const char kGpuTestingOsVersion[] = "gpu-testing-os-version"; 23 const char kGpuTestingOsVersion[] = "gpu-testing-os-version";
18 24
19 // Override gpu vendor id from the GpuInfoCollector. 25 // Override gpu vendor id from the GpuInfoCollector.
20 const char kGpuTestingVendorId[] = "gpu-testing-vendor-id"; 26 const char kGpuTestingVendorId[] = "gpu-testing-vendor-id";
21 27
22 // Override gpu device id from the GpuInfoCollector. 28 // Override gpu device id from the GpuInfoCollector.
23 const char kGpuTestingDeviceId[] = "gpu-testing-device-id"; 29 const char kGpuTestingDeviceId[] = "gpu-testing-device-id";
24 30
31 // Override secondary gpu vendor ids from the GpuInfoCollector.
32 const char kGpuTestingSecondaryVendorIDs[] = "gpu-testing-secondary-vendor-ids";
33
34 // Override secondary gpu device ids from the GpuInfoCollector.
35 const char kGpuTestingSecondaryDeviceIDs[] = "gpu-testing-secondary-device-ids";
36
25 // Override gl vendor from the GpuInfoCollector. 37 // Override gl vendor from the GpuInfoCollector.
26 const char kGpuTestingGLVendor[] = "gpu-testing-gl-vendor"; 38 const char kGpuTestingGLVendor[] = "gpu-testing-gl-vendor";
27 39
28 // Override gl renderer from the GpuInfoCollector. 40 // Override gl renderer from the GpuInfoCollector.
29 const char kGpuTestingGLRenderer[] = "gpu-testing-gl-renderer"; 41 const char kGpuTestingGLRenderer[] = "gpu-testing-gl-renderer";
30 42
31 // Override gl version from the GpuInfoCollector. 43 // Override gl version from the GpuInfoCollector.
32 const char kGpuTestingGLVersion[] = "gpu-testing-gl-version"; 44 const char kGpuTestingGLVersion[] = "gpu-testing-gl-version";
33 45
34 } // namespace switches 46 } // namespace switches
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698