Chromium Code Reviews| Index: content/public/common/content_switches.cc |
| diff --git a/content/public/common/content_switches.cc b/content/public/common/content_switches.cc |
| index 9498bd5e9355d0e4e5023b2a7d59032c88c0c24c..43ab39f234eaf17b74ab6e2d0fb8e56a236f0fba 100644 |
| --- a/content/public/common/content_switches.cc |
| +++ b/content/public/common/content_switches.cc |
| @@ -206,6 +206,10 @@ extern const char kDisableGpuProcessCrashLimit[] = |
| // launch it when it is first needed. |
| const char kDisableGpuProcessPrelaunch[] = "disable-gpu-process-prelaunch"; |
| +// Disable GPU rasterization, i.e. rasterize on the CPU only. |
| +// Overrides the kEnableGpuRasterization and kForceGpuRasterization flags. |
| +const char kDisableGpuRasterization[] = "disable-gpu-rasterization"; |
| + |
| // Disable the GPU process sandbox. |
| const char kDisableGpuSandbox[] = "disable-gpu-sandbox"; |
| @@ -221,6 +225,10 @@ const char kDisableHangMonitor[] = "disable-hang-monitor"; |
| // Disable the RenderThread's HistogramCustomizer. |
| const char kDisableHistogramCustomizer[] = "disable-histogram-customizer"; |
| +// Paint content on the main thread instead of the compositor thread. |
| +// Overrides the kEnableImplSidePainting flag. |
| +const char kDisableImplSidePainting[] = "disable-impl-side-painting"; |
| + |
| // Prevent Java from running. |
| const char kDisableJava[] = "disable-java"; |
| @@ -236,6 +244,9 @@ const char kDisableKillAfterBadIPC[] = "disable-kill-after-bad-ipc"; |
| const char kDisablePrefixedEncryptedMedia[] = |
| "disable-prefixed-encrypted-media"; |
| +// Disables LCD text. |
| +const char kDisableLCDText[] = "disable-lcd-text"; |
| + |
| // Disable LocalStorage. |
| const char kDisableLocalStorage[] = "disable-local-storage"; |
| @@ -243,6 +254,10 @@ const char kDisableLocalStorage[] = "disable-local-storage"; |
| // builds. |
| const char kDisableLogging[] = "disable-logging"; |
| +// Disable rasterizer that writes directly to GPU memory. |
| +// Overrides the kEnableMapImage flag. |
| +const char kDisableMapImage[] = "disable-map-image"; |
| + |
| // Disables overlay scrollbars on Aura or Linux. Does nothing on Mac. |
| const char kDisableOverlayScrollbar[] = "disable-overlay-scrollbar"; |
| @@ -351,6 +366,9 @@ const char kEnableAcceleratedFixedRootBackground[] = |
| const char kEnableAcceleratedOverflowScroll[] = |
| "enable-accelerated-overflow-scroll"; |
| +// Enables LCD text. |
| +const char kEnableLCDText[] = "enable-lcd-text"; |
| + |
| // Enables experimental feature that maps multiple RenderLayers to |
| // one composited layer to avoid pathological layer counts. |
| const char kEnableLayerSquashing[] = |
| @@ -442,6 +460,11 @@ const char kEnableGestureTapHighlight[] = "enable-gesture-tap-highlight"; |
| // Enables TRACE for GL calls in the renderer. |
| const char kEnableGpuClientTracing[] = "enable-gpu-client-tracing"; |
| +// Allow heuristics to determine when a layer tile should be drawn with the |
| +// Skia GPU backend. Only valid with GPU accelerated compositing + |
| +// impl-side painting. |
| +const char kEnableGpuRasterization[] = "-enable-gpu-rasterization"; |
|
piman
2014/03/08 01:22:21
nit: remove leading -
ajuma
2014/03/08 01:25:25
Done.
|
| + |
| // See comment for kEnableCompositingForFixedPosition. |
| const char kEnableHighDpiCompositingForFixedPosition[] = |
| "enable-high-dpi-fixed-position-compositing"; |
| @@ -460,6 +483,9 @@ const char kEnableHighResolutionTime[] = "enable-high-resolution-time"; |
| // Enable HTML Imports |
| extern const char kEnableHTMLImports[] = "enable-html-imports"; |
| +// Paint content on the compositor thread instead of the main thread. |
| +const char kEnableImplSidePainting[] = "enable-impl-side-painting"; |
| + |
| // Enables support for inband text tracks in media content. |
| const char kEnableInbandTextTracks[] = "enable-inband-text-tracks"; |
| @@ -467,6 +493,9 @@ const char kEnableInbandTextTracks[] = "enable-inband-text-tracks"; |
| // builds. |
| const char kEnableLogging[] = "enable-logging"; |
| +// Enable rasterizer that writes directly to GPU memory. |
| +const char kEnableMapImage[] = "enable-map-image"; |
| + |
| // Enables the memory benchmarking extension |
| const char kEnableMemoryBenchmarking[] = "enable-memory-benchmarking"; |
| @@ -617,6 +646,11 @@ const char kForceCompositingMode[] = "force-compositing-mode"; |
| // field_trial.h for details. |
| const char kForceFieldTrials[] = "force-fieldtrials"; |
| +// Always use the Skia GPU backend for drawing layer tiles. Only valid with GPU |
| +// accelerated compositing + impl-side painting. Overrides the |
| +// kEnableGpuRasterization flag. |
| +const char kForceGpuRasterization[] = "-force-gpu-rasterization"; |
|
piman
2014/03/08 01:22:21
nit: remove leading -
ajuma
2014/03/08 01:25:25
Done.
|
| + |
| // Force renderer accessibility to be on instead of enabling it on demand when |
| // a screen reader is detected. The disable-renderer-accessibility switch |
| // overrides this if present. |