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

Side by Side Diff: gpu/config/gpu_switches.cc

Issue 2289553002: gpu: Introduce GpuInit. (Closed)
Patch Set: . Created 4 years, 3 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
« no previous file with comments | « gpu/config/gpu_switches.h ('k') | gpu/ipc/service/BUILD.gn » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 // Disable the thread that crashes the GPU process if it stops responding to
10 const char kGpuDriverBugWorkarounds[] = "gpu-driver-bug-workarounds"; 10 // messages.
11 const char kDisableGpuWatchdog[] = "disable-gpu-watchdog";
11 12
12 // Passes active gpu vendor id from browser process to GPU process. 13 // Passes active gpu vendor id from browser process to GPU process.
13 const char kGpuActiveVendorID[] = "gpu-active-vendor-id"; 14 const char kGpuActiveVendorID[] = "gpu-active-vendor-id";
14 15
15 // Passes active gpu device id from browser process to GPU process. 16 // Passes active gpu device id from browser process to GPU process.
16 const char kGpuActiveDeviceID[] = "gpu-active-device-id"; 17 const char kGpuActiveDeviceID[] = "gpu-active-device-id";
17 18
19 // Passes gpu device_id from browser process to GPU process.
20 const char kGpuDeviceID[] = "gpu-device-id";
21
22 // Pass a set of GpuDriverBugWorkaroundType ids, seperated by ','.
23 const char kGpuDriverBugWorkarounds[] = "gpu-driver-bug-workarounds";
24
25 // Passes gpu driver_vendor from browser process to GPU process.
26 const char kGpuDriverVendor[] = "gpu-driver-vendor";
27
28 // Passes gpu driver_version from browser process to GPU process.
29 const char kGpuDriverVersion[] = "gpu-driver-version";
30
31 // Passes gpu driver_date from browser process to GPU process.
32 const char kGpuDriverDate[] = "gpu-driver-date";
33
18 // Passes secondary gpu vendor ids from browser process to GPU process. 34 // Passes secondary gpu vendor ids from browser process to GPU process.
19 const char kGpuSecondaryVendorIDs[] = "gpu-secondary-vendor-ids"; 35 const char kGpuSecondaryVendorIDs[] = "gpu-secondary-vendor-ids";
20 36
21 // Passes secondary gpu device ids from browser process to GPU process. 37 // Passes secondary gpu device ids from browser process to GPU process.
22 const char kGpuSecondaryDeviceIDs[] = "gpu-secondary-device-ids"; 38 const char kGpuSecondaryDeviceIDs[] = "gpu-secondary-device-ids";
23 39
40 // Causes the GPU process to display a dialog on launch.
41 const char kGpuStartupDialog[] = "gpu-startup-dialog";
42
24 // Testing switch to not launch the gpu process for full gpu info collection. 43 // Testing switch to not launch the gpu process for full gpu info collection.
25 const char kGpuTestingNoCompleteInfoCollection[] = 44 const char kGpuTestingNoCompleteInfoCollection[] =
26 "gpu-no-complete-info-collection"; 45 "gpu-no-complete-info-collection";
27 46
28 // Override os version from GpuControlList::MakeDecision. 47 // Override os version from GpuControlList::MakeDecision.
29 const char kGpuTestingOsVersion[] = "gpu-testing-os-version"; 48 const char kGpuTestingOsVersion[] = "gpu-testing-os-version";
30 49
31 // Override gpu vendor id from the GpuInfoCollector. 50 // Override gpu vendor id from the GpuInfoCollector.
32 const char kGpuTestingVendorId[] = "gpu-testing-vendor-id"; 51 const char kGpuTestingVendorId[] = "gpu-testing-vendor-id";
33 52
(...skipping 11 matching lines...) Expand all
45 64
46 // Override gl vendor from the GpuInfoCollector. 65 // Override gl vendor from the GpuInfoCollector.
47 const char kGpuTestingGLVendor[] = "gpu-testing-gl-vendor"; 66 const char kGpuTestingGLVendor[] = "gpu-testing-gl-vendor";
48 67
49 // Override gl renderer from the GpuInfoCollector. 68 // Override gl renderer from the GpuInfoCollector.
50 const char kGpuTestingGLRenderer[] = "gpu-testing-gl-renderer"; 69 const char kGpuTestingGLRenderer[] = "gpu-testing-gl-renderer";
51 70
52 // Override gl version from the GpuInfoCollector. 71 // Override gl version from the GpuInfoCollector.
53 const char kGpuTestingGLVersion[] = "gpu-testing-gl-version"; 72 const char kGpuTestingGLVersion[] = "gpu-testing-gl-version";
54 73
74 // Passes gpu vendor_id from browser process to GPU process.
75 const char kGpuVendorID[] = "gpu-vendor-id";
76
55 } // namespace switches 77 } // namespace switches
OLDNEW
« no previous file with comments | « gpu/config/gpu_switches.h ('k') | gpu/ipc/service/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698