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

Side by Side Diff: content/public/common/content_switches.h

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 (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 // Defines all the "content" command-line switches. 5 // Defines all the "content" command-line switches.
6 6
7 #ifndef CONTENT_PUBLIC_COMMON_CONTENT_SWITCHES_H_ 7 #ifndef CONTENT_PUBLIC_COMMON_CONTENT_SWITCHES_H_
8 #define CONTENT_PUBLIC_COMMON_CONTENT_SWITCHES_H_ 8 #define CONTENT_PUBLIC_COMMON_CONTENT_SWITCHES_H_
9 9
10 #include "build/build_config.h" 10 #include "build/build_config.h"
(...skipping 148 matching lines...) Expand 10 before | Expand all | Expand 10 after
159 extern const char kGpuDeviceID[]; 159 extern const char kGpuDeviceID[];
160 extern const char kGpuDriverVendor[]; 160 extern const char kGpuDriverVendor[];
161 extern const char kGpuDriverVersion[]; 161 extern const char kGpuDriverVersion[];
162 extern const char kGpuLauncher[]; 162 extern const char kGpuLauncher[];
163 CONTENT_EXPORT extern const char kGpuProcess[]; 163 CONTENT_EXPORT extern const char kGpuProcess[];
164 CONTENT_EXPORT extern const char kGpuSandboxAllowSysVShm[]; 164 CONTENT_EXPORT extern const char kGpuSandboxAllowSysVShm[];
165 CONTENT_EXPORT extern const char kGpuSandboxFailuresFatal[]; 165 CONTENT_EXPORT extern const char kGpuSandboxFailuresFatal[];
166 CONTENT_EXPORT extern const char kGpuSandboxStartEarly[]; 166 CONTENT_EXPORT extern const char kGpuSandboxStartEarly[];
167 CONTENT_EXPORT extern const char kGpuStartupDialog[]; 167 CONTENT_EXPORT extern const char kGpuStartupDialog[];
168 extern const char kGpuVendorID[]; 168 extern const char kGpuVendorID[];
169 extern const char kGpuSecondaryVendorIDs[];
170 extern const char kGpuSecondaryDeviceIDs[];
169 CONTENT_EXPORT extern const char kHostResolverRules[]; 171 CONTENT_EXPORT extern const char kHostResolverRules[];
170 CONTENT_EXPORT extern const char kIgnoreCertificateErrors[]; 172 CONTENT_EXPORT extern const char kIgnoreCertificateErrors[];
171 CONTENT_EXPORT extern const char kIgnoreGpuBlacklist[]; 173 CONTENT_EXPORT extern const char kIgnoreGpuBlacklist[];
172 CONTENT_EXPORT extern const char kInertVisualViewport[]; 174 CONTENT_EXPORT extern const char kInertVisualViewport[];
173 CONTENT_EXPORT extern const char kInProcessGPU[]; 175 CONTENT_EXPORT extern const char kInProcessGPU[];
174 CONTENT_EXPORT extern const char kIPCConnectionTimeout[]; 176 CONTENT_EXPORT extern const char kIPCConnectionTimeout[];
175 CONTENT_EXPORT extern const char kJavaScriptFlags[]; 177 CONTENT_EXPORT extern const char kJavaScriptFlags[];
176 CONTENT_EXPORT extern const char kJavaScriptHarmony[]; 178 CONTENT_EXPORT extern const char kJavaScriptHarmony[];
177 CONTENT_EXPORT extern const char kLogGpuControlListDecisions[]; 179 CONTENT_EXPORT extern const char kLogGpuControlListDecisions[];
178 CONTENT_EXPORT extern const char kLoggingLevel[]; 180 CONTENT_EXPORT extern const char kLoggingLevel[];
(...skipping 119 matching lines...) Expand 10 before | Expand all | Expand 10 after
298 CONTENT_EXPORT extern const char kMemoryPressureThresholdsMb[]; 300 CONTENT_EXPORT extern const char kMemoryPressureThresholdsMb[];
299 CONTENT_EXPORT extern const char kTraceExportEventsToETW[]; 301 CONTENT_EXPORT extern const char kTraceExportEventsToETW[];
300 #endif 302 #endif
301 303
302 // DON'T ADD RANDOM STUFF HERE. Put it in the main section above in 304 // DON'T ADD RANDOM STUFF HERE. Put it in the main section above in
303 // alphabetical order, or in one of the ifdefs (also in order in each section). 305 // alphabetical order, or in one of the ifdefs (also in order in each section).
304 306
305 } // namespace switches 307 } // namespace switches
306 308
307 #endif // CONTENT_PUBLIC_COMMON_CONTENT_SWITCHES_H_ 309 #endif // CONTENT_PUBLIC_COMMON_CONTENT_SWITCHES_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698