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

Side by Side Diff: content/public/common/content_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 | « content/public/common/content_switches.h ('k') | gpu/config/gpu_switches.h » ('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 (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 #include "build/build_config.h" 5 #include "build/build_config.h"
6 #include "content/public/common/content_switches.h" 6 #include "content/public/common/content_switches.h"
7 7
8 namespace switches { 8 namespace switches {
9 9
10 // The number of MSAA samples for canvas2D. Requires MSAA support by GPU to 10 // The number of MSAA samples for canvas2D. Requires MSAA support by GPU to
(...skipping 164 matching lines...) Expand 10 before | Expand all | Expand 10 after
175 const char kDisableGpuRasterization[] = "disable-gpu-rasterization"; 175 const char kDisableGpuRasterization[] = "disable-gpu-rasterization";
176 176
177 // When using CPU rasterizing disable low resolution tiling. This uses 177 // When using CPU rasterizing disable low resolution tiling. This uses
178 // less power, particularly during animations, but more white may be seen 178 // less power, particularly during animations, but more white may be seen
179 // during fast scrolling especially on slower devices. 179 // during fast scrolling especially on slower devices.
180 const char kDisableLowResTiling[] = "disable-low-res-tiling"; 180 const char kDisableLowResTiling[] = "disable-low-res-tiling";
181 181
182 // Disable the GPU process sandbox. 182 // Disable the GPU process sandbox.
183 const char kDisableGpuSandbox[] = "disable-gpu-sandbox"; 183 const char kDisableGpuSandbox[] = "disable-gpu-sandbox";
184 184
185 // Disable the thread that crashes the GPU process if it stops responding to
186 // messages.
187 const char kDisableGpuWatchdog[] = "disable-gpu-watchdog";
188
189 // Disable in-process stack traces. 185 // Disable in-process stack traces.
190 const char kDisableInProcessStackTraces[] = "disable-in-process-stack-traces"; 186 const char kDisableInProcessStackTraces[] = "disable-in-process-stack-traces";
191 187
192 // Suppresses hang monitor dialogs in renderer processes. This may allow slow 188 // Suppresses hang monitor dialogs in renderer processes. This may allow slow
193 // unload handlers on a page to prevent the tab from closing, but the Task 189 // unload handlers on a page to prevent the tab from closing, but the Task
194 // Manager can be used to terminate the offending process in this case. 190 // Manager can be used to terminate the offending process in this case.
195 const char kDisableHangMonitor[] = "disable-hang-monitor"; 191 const char kDisableHangMonitor[] = "disable-hang-monitor";
196 192
197 // Disable hiding the close buttons of inactive tabs when the tabstrip is in 193 // Disable hiding the close buttons of inactive tabs when the tabstrip is in
198 // stacked mode. 194 // stacked mode.
(...skipping 360 matching lines...) Expand 10 before | Expand all | Expand 10 after
559 // a screen reader is detected. The disable-renderer-accessibility switch 555 // a screen reader is detected. The disable-renderer-accessibility switch
560 // overrides this if present. 556 // overrides this if present.
561 const char kForceRendererAccessibility[] = "force-renderer-accessibility"; 557 const char kForceRendererAccessibility[] = "force-renderer-accessibility";
562 558
563 // For development / testing only. When running content_browsertests, 559 // For development / testing only. When running content_browsertests,
564 // saves output of failing accessibility tests to their expectations files in 560 // saves output of failing accessibility tests to their expectations files in
565 // content/test/data/accessibility/, overwriting existing file content. 561 // content/test/data/accessibility/, overwriting existing file content.
566 const char kGenerateAccessibilityTestExpectations[] = 562 const char kGenerateAccessibilityTestExpectations[] =
567 "generate-accessibility-test-expectations"; 563 "generate-accessibility-test-expectations";
568 564
569 // Passes gpu device_id from browser process to GPU process.
570 const char kGpuDeviceID[] = "gpu-device-id";
571
572 // Passes gpu driver_vendor from browser process to GPU process.
573 const char kGpuDriverVendor[] = "gpu-driver-vendor";
574
575 // Passes gpu driver_version from browser process to GPU process.
576 const char kGpuDriverVersion[] = "gpu-driver-version";
577
578 // Passes gpu driver_date from browser process to GPU process.
579 const char kGpuDriverDate[] = "gpu-driver-date";
580
581 // Extra command line options for launching the GPU process (normally used 565 // Extra command line options for launching the GPU process (normally used
582 // for debugging). Use like renderer-cmd-prefix. 566 // for debugging). Use like renderer-cmd-prefix.
583 const char kGpuLauncher[] = "gpu-launcher"; 567 const char kGpuLauncher[] = "gpu-launcher";
584 568
585 // Makes this process a GPU sub-process. 569 // Makes this process a GPU sub-process.
586 const char kGpuProcess[] = "gpu-process"; 570 const char kGpuProcess[] = "gpu-process";
587 571
588 // Allows shmat() system call in the GPU sandbox. 572 // Allows shmat() system call in the GPU sandbox.
589 const char kGpuSandboxAllowSysVShm[] = "gpu-sandbox-allow-sysv-shm"; 573 const char kGpuSandboxAllowSysVShm[] = "gpu-sandbox-allow-sysv-shm";
590 574
591 // Makes GPU sandbox failures fatal. 575 // Makes GPU sandbox failures fatal.
592 const char kGpuSandboxFailuresFatal[] = "gpu-sandbox-failures-fatal"; 576 const char kGpuSandboxFailuresFatal[] = "gpu-sandbox-failures-fatal";
593 577
594 // Starts the GPU sandbox before creating a GL context. 578 // Starts the GPU sandbox before creating a GL context.
595 const char kGpuSandboxStartEarly[] = "gpu-sandbox-start-early"; 579 const char kGpuSandboxStartEarly[] = "gpu-sandbox-start-early";
596 580
597 // Causes the GPU process to display a dialog on launch.
598 const char kGpuStartupDialog[] = "gpu-startup-dialog";
599
600 // Passes gpu vendor_id from browser process to GPU process.
601 const char kGpuVendorID[] = "gpu-vendor-id";
602
603 // Ignores certificate-related errors. 581 // Ignores certificate-related errors.
604 const char kIgnoreCertificateErrors[] = "ignore-certificate-errors"; 582 const char kIgnoreCertificateErrors[] = "ignore-certificate-errors";
605 583
606 // These mappings only apply to the host resolver. 584 // These mappings only apply to the host resolver.
607 const char kHostResolverRules[] = "host-resolver-rules"; 585 const char kHostResolverRules[] = "host-resolver-rules";
608 586
609 // Ignores GPU blacklist. 587 // Ignores GPU blacklist.
610 const char kIgnoreGpuBlacklist[] = "ignore-gpu-blacklist"; 588 const char kIgnoreGpuBlacklist[] = "ignore-gpu-blacklist";
611 589
612 // Makes all APIs reflect the layout viewport. 590 // Makes all APIs reflect the layout viewport.
(...skipping 470 matching lines...) Expand 10 before | Expand all | Expand 10 after
1083 // the given directory. Used primarily to gather samples for IPC fuzzing. 1061 // the given directory. Used primarily to gather samples for IPC fuzzing.
1084 const char kIpcDumpDirectory[] = "ipc-dump-directory"; 1062 const char kIpcDumpDirectory[] = "ipc-dump-directory";
1085 1063
1086 // Specifies the testcase used by the IPC fuzzer. 1064 // Specifies the testcase used by the IPC fuzzer.
1087 const char kIpcFuzzerTestcase[] = "ipc-fuzzer-testcase"; 1065 const char kIpcFuzzerTestcase[] = "ipc-fuzzer-testcase";
1088 #endif 1066 #endif
1089 1067
1090 // Don't dump stuff here, follow the same order as the header. 1068 // Don't dump stuff here, follow the same order as the header.
1091 1069
1092 } // namespace switches 1070 } // namespace switches
OLDNEW
« no previous file with comments | « content/public/common/content_switches.h ('k') | gpu/config/gpu_switches.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698