OLD | NEW |
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 "content/public/common/content_switches.h" | 5 #include "content/public/common/content_switches.h" |
6 | 6 |
7 namespace switches { | 7 namespace switches { |
8 | 8 |
9 // The number of MSAA samples for canvas2D. Requires MSAA support by GPU to | 9 // The number of MSAA samples for canvas2D. Requires MSAA support by GPU to |
10 // have an effect. 0 disables MSAA. | 10 // have an effect. 0 disables MSAA. |
(...skipping 530 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
541 const char kForceRendererAccessibility[] = "force-renderer-accessibility"; | 541 const char kForceRendererAccessibility[] = "force-renderer-accessibility"; |
542 | 542 |
543 // Always use text blob rendering, overriding kDisableTextBlobs and any | 543 // Always use text blob rendering, overriding kDisableTextBlobs and any |
544 // heuristics that may otherwise disable it. | 544 // heuristics that may otherwise disable it. |
545 // TODO(fmalita): remove after --disable-impl-side-painting is phased out. | 545 // TODO(fmalita): remove after --disable-impl-side-painting is phased out. |
546 const char kForceTextBlobs[] = "force-text-blobs"; | 546 const char kForceTextBlobs[] = "force-text-blobs"; |
547 | 547 |
548 // Passes gpu device_id from browser process to GPU process. | 548 // Passes gpu device_id from browser process to GPU process. |
549 const char kGpuDeviceID[] = "gpu-device-id"; | 549 const char kGpuDeviceID[] = "gpu-device-id"; |
550 | 550 |
| 551 // Passes gpu device_string from browser process to GPU process. |
| 552 const char kGpuDeviceString[] = "gpu-device-string"; |
| 553 |
551 // Passes gpu driver_vendor from browser process to GPU process. | 554 // Passes gpu driver_vendor from browser process to GPU process. |
552 const char kGpuDriverVendor[] = "gpu-driver-vendor"; | 555 const char kGpuDriverVendor[] = "gpu-driver-vendor"; |
553 | 556 |
554 // Passes gpu driver_version from browser process to GPU process. | 557 // Passes gpu driver_version from browser process to GPU process. |
555 const char kGpuDriverVersion[] = "gpu-driver-version"; | 558 const char kGpuDriverVersion[] = "gpu-driver-version"; |
556 | 559 |
557 // Extra command line options for launching the GPU process (normally used | 560 // Extra command line options for launching the GPU process (normally used |
558 // for debugging). Use like renderer-cmd-prefix. | 561 // for debugging). Use like renderer-cmd-prefix. |
559 const char kGpuLauncher[] = "gpu-launcher"; | 562 const char kGpuLauncher[] = "gpu-launcher"; |
560 | 563 |
561 // Makes this process a GPU sub-process. | 564 // Makes this process a GPU sub-process. |
562 const char kGpuProcess[] = "gpu-process"; | 565 const char kGpuProcess[] = "gpu-process"; |
563 | 566 |
564 // Allows shmat() system call in the GPU sandbox. | 567 // Allows shmat() system call in the GPU sandbox. |
565 const char kGpuSandboxAllowSysVShm[] = "gpu-sandbox-allow-sysv-shm"; | 568 const char kGpuSandboxAllowSysVShm[] = "gpu-sandbox-allow-sysv-shm"; |
566 | 569 |
567 // Makes GPU sandbox failures fatal. | 570 // Makes GPU sandbox failures fatal. |
568 const char kGpuSandboxFailuresFatal[] = "gpu-sandbox-failures-fatal"; | 571 const char kGpuSandboxFailuresFatal[] = "gpu-sandbox-failures-fatal"; |
569 | 572 |
570 // Starts the GPU sandbox before creating a GL context. | 573 // Starts the GPU sandbox before creating a GL context. |
571 const char kGpuSandboxStartEarly[] = "gpu-sandbox-start-early"; | 574 const char kGpuSandboxStartEarly[] = "gpu-sandbox-start-early"; |
572 | 575 |
573 // Causes the GPU process to display a dialog on launch. | 576 // Causes the GPU process to display a dialog on launch. |
574 const char kGpuStartupDialog[] = "gpu-startup-dialog"; | 577 const char kGpuStartupDialog[] = "gpu-startup-dialog"; |
575 | 578 |
576 // Passes gpu vendor_id from browser process to GPU process. | 579 // Passes gpu vendor_id from browser process to GPU process. |
577 const char kGpuVendorID[] = "gpu-vendor-id"; | 580 const char kGpuVendorID[] = "gpu-vendor-id"; |
578 | 581 |
| 582 // Passes gpu vendor_string from browser process to GPU process. |
| 583 const char kGpuVendorString[] = "gpu-vendor-string"; |
| 584 |
579 // These mappings only apply to the host resolver. | 585 // These mappings only apply to the host resolver. |
580 const char kHostResolverRules[] = "host-resolver-rules"; | 586 const char kHostResolverRules[] = "host-resolver-rules"; |
581 | 587 |
582 // Ignores certificate-related errors. | 588 // Ignores certificate-related errors. |
583 const char kIgnoreCertificateErrors[] = "ignore-certificate-errors"; | 589 const char kIgnoreCertificateErrors[] = "ignore-certificate-errors"; |
584 | 590 |
585 // Ignores GPU blacklist. | 591 // Ignores GPU blacklist. |
586 const char kIgnoreGpuBlacklist[] = "ignore-gpu-blacklist"; | 592 const char kIgnoreGpuBlacklist[] = "ignore-gpu-blacklist"; |
587 | 593 |
588 // Run the GPU process as a thread in the browser process. | 594 // Run the GPU process as a thread in the browser process. |
(...skipping 402 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
991 // Windows Vista and later. | 997 // Windows Vista and later. |
992 const char kTraceExportEventsToETW[] = "trace-export-events-to-etw"; | 998 const char kTraceExportEventsToETW[] = "trace-export-events-to-etw"; |
993 #endif | 999 #endif |
994 | 1000 |
995 // Enables the use of NPAPI plugins. | 1001 // Enables the use of NPAPI plugins. |
996 const char kEnableNpapi[] = "enable-npapi"; | 1002 const char kEnableNpapi[] = "enable-npapi"; |
997 | 1003 |
998 // Don't dump stuff here, follow the same order as the header. | 1004 // Don't dump stuff here, follow the same order as the header. |
999 | 1005 |
1000 } // namespace switches | 1006 } // namespace switches |
OLD | NEW |