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

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

Issue 2322123002: 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 ','.
10 const char kGpuDriverBugWorkarounds[] = "gpu-driver-bug-workarounds";
11
12 // Passes active gpu vendor id from browser process to GPU process. 9 // Passes active gpu vendor id from browser process to GPU process.
13 const char kGpuActiveVendorID[] = "gpu-active-vendor-id"; 10 const char kGpuActiveVendorID[] = "gpu-active-vendor-id";
14 11
15 // Passes active gpu device id from browser process to GPU process. 12 // Passes active gpu device id from browser process to GPU process.
16 const char kGpuActiveDeviceID[] = "gpu-active-device-id"; 13 const char kGpuActiveDeviceID[] = "gpu-active-device-id";
17 14
15 // Passes gpu device_id from browser process to GPU process.
16 const char kGpuDeviceID[] = "gpu-device-id";
17
18 // Pass a set of GpuDriverBugWorkaroundType ids, seperated by ','.
19 const char kGpuDriverBugWorkarounds[] = "gpu-driver-bug-workarounds";
20
21 // Passes gpu driver_vendor from browser process to GPU process.
22 const char kGpuDriverVendor[] = "gpu-driver-vendor";
23
24 // Passes gpu driver_version from browser process to GPU process.
25 const char kGpuDriverVersion[] = "gpu-driver-version";
26
27 // Passes gpu driver_date from browser process to GPU process.
28 const char kGpuDriverDate[] = "gpu-driver-date";
29
18 // Passes secondary gpu vendor ids from browser process to GPU process. 30 // Passes secondary gpu vendor ids from browser process to GPU process.
19 const char kGpuSecondaryVendorIDs[] = "gpu-secondary-vendor-ids"; 31 const char kGpuSecondaryVendorIDs[] = "gpu-secondary-vendor-ids";
20 32
21 // Passes secondary gpu device ids from browser process to GPU process. 33 // Passes secondary gpu device ids from browser process to GPU process.
22 const char kGpuSecondaryDeviceIDs[] = "gpu-secondary-device-ids"; 34 const char kGpuSecondaryDeviceIDs[] = "gpu-secondary-device-ids";
23 35
24 // Testing switch to not launch the gpu process for full gpu info collection. 36 // Testing switch to not launch the gpu process for full gpu info collection.
25 const char kGpuTestingNoCompleteInfoCollection[] = 37 const char kGpuTestingNoCompleteInfoCollection[] =
26 "gpu-no-complete-info-collection"; 38 "gpu-no-complete-info-collection";
27 39
(...skipping 17 matching lines...) Expand all
45 57
46 // Override gl vendor from the GpuInfoCollector. 58 // Override gl vendor from the GpuInfoCollector.
47 const char kGpuTestingGLVendor[] = "gpu-testing-gl-vendor"; 59 const char kGpuTestingGLVendor[] = "gpu-testing-gl-vendor";
48 60
49 // Override gl renderer from the GpuInfoCollector. 61 // Override gl renderer from the GpuInfoCollector.
50 const char kGpuTestingGLRenderer[] = "gpu-testing-gl-renderer"; 62 const char kGpuTestingGLRenderer[] = "gpu-testing-gl-renderer";
51 63
52 // Override gl version from the GpuInfoCollector. 64 // Override gl version from the GpuInfoCollector.
53 const char kGpuTestingGLVersion[] = "gpu-testing-gl-version"; 65 const char kGpuTestingGLVersion[] = "gpu-testing-gl-version";
54 66
67 // Passes gpu vendor_id from browser process to GPU process.
68 const char kGpuVendorID[] = "gpu-vendor-id";
69
55 } // namespace switches 70 } // 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