| 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 "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 55 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 66 // Dumps extra logging about plugin loading to the log file. | 66 // Dumps extra logging about plugin loading to the log file. |
| 67 const char kDebugPluginLoading[] = "debug-plugin-loading"; | 67 const char kDebugPluginLoading[] = "debug-plugin-loading"; |
| 68 | 68 |
| 69 // Sets the tile size used by composited layers. | 69 // Sets the tile size used by composited layers. |
| 70 const char kDefaultTileWidth[] = "default-tile-width"; | 70 const char kDefaultTileWidth[] = "default-tile-width"; |
| 71 const char kDefaultTileHeight[] = "default-tile-height"; | 71 const char kDefaultTileHeight[] = "default-tile-height"; |
| 72 | 72 |
| 73 // Disable antialiasing on 2d canvas. | 73 // Disable antialiasing on 2d canvas. |
| 74 const char kDisable2dCanvasAntialiasing[] = "disable-canvas-aa"; | 74 const char kDisable2dCanvasAntialiasing[] = "disable-canvas-aa"; |
| 75 | 75 |
| 76 // Disables Canvas2D rendering into a scanout buffer for overlay support. |
| 77 const char kDisable2dCanvasImageChromium[] = "disable-2d-canvas-image-chromium"; |
| 78 |
| 76 // Disables client-visible 3D APIs, in particular WebGL and Pepper 3D. | 79 // Disables client-visible 3D APIs, in particular WebGL and Pepper 3D. |
| 77 // This is controlled by policy and is kept separate from the other | 80 // This is controlled by policy and is kept separate from the other |
| 78 // enable/disable switches to avoid accidentally regressing the policy | 81 // enable/disable switches to avoid accidentally regressing the policy |
| 79 // support for controlling access to these APIs. | 82 // support for controlling access to these APIs. |
| 80 const char kDisable3DAPIs[] = "disable-3d-apis"; | 83 const char kDisable3DAPIs[] = "disable-3d-apis"; |
| 81 | 84 |
| 82 // Disable gpu-accelerated 2d canvas. | 85 // Disable gpu-accelerated 2d canvas. |
| 83 const char kDisableAccelerated2dCanvas[] = "disable-accelerated-2d-canvas"; | 86 const char kDisableAccelerated2dCanvas[] = "disable-accelerated-2d-canvas"; |
| 84 | 87 |
| 85 // Disable hardware acceleration of mjpeg decode for captured frame, where | 88 // Disable hardware acceleration of mjpeg decode for captured frame, where |
| (...skipping 958 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1044 const char kMemoryPressureThresholdsMb[] = "memory-pressure-thresholds-mb"; | 1047 const char kMemoryPressureThresholdsMb[] = "memory-pressure-thresholds-mb"; |
| 1045 | 1048 |
| 1046 // Enables the exporting of the tracing events to ETW. This is only supported on | 1049 // Enables the exporting of the tracing events to ETW. This is only supported on |
| 1047 // Windows Vista and later. | 1050 // Windows Vista and later. |
| 1048 const char kTraceExportEventsToETW[] = "trace-export-events-to-etw"; | 1051 const char kTraceExportEventsToETW[] = "trace-export-events-to-etw"; |
| 1049 #endif | 1052 #endif |
| 1050 | 1053 |
| 1051 // Don't dump stuff here, follow the same order as the header. | 1054 // Don't dump stuff here, follow the same order as the header. |
| 1052 | 1055 |
| 1053 } // namespace switches | 1056 } // namespace switches |
| OLD | NEW |