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