OLD | NEW |
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 |
OLD | NEW |