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

Side by Side Diff: content/public/common/content_switches.cc

Issue 1648433002: compositor: Enable partial raster by default. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase to ToT Created 4 years, 10 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') | content/renderer/render_thread_impl.cc » ('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 205 matching lines...) Expand 10 before | Expand all | Expand 10 after
216 // Disables usage of the namespace sandbox. 216 // Disables usage of the namespace sandbox.
217 const char kDisableNamespaceSandbox[] = "disable-namespace-sandbox"; 217 const char kDisableNamespaceSandbox[] = "disable-namespace-sandbox";
218 218
219 // Disables native GPU memory buffer support. 219 // Disables native GPU memory buffer support.
220 const char kDisableNativeGpuMemoryBuffers[] = 220 const char kDisableNativeGpuMemoryBuffers[] =
221 "disable-native-gpu-memory-buffers"; 221 "disable-native-gpu-memory-buffers";
222 222
223 // Disables the Web Notification and the Push APIs. 223 // Disables the Web Notification and the Push APIs.
224 const char kDisableNotifications[] = "disable-notifications"; 224 const char kDisableNotifications[] = "disable-notifications";
225 225
226 // Disable partial raster in renderer. Disabling this switch also disables
227 // the use of persistent gpu memory buffers.
228 const char kDisablePartialRaster[] = "disable-partial-raster";
229
226 // Disable Pepper3D. 230 // Disable Pepper3D.
227 const char kDisablePepper3d[] = "disable-pepper-3d"; 231 const char kDisablePepper3d[] = "disable-pepper-3d";
228 232
229 // Disables the Permissions API. 233 // Disables the Permissions API.
230 const char kDisablePermissionsAPI[] = "disable-permissions-api"; 234 const char kDisablePermissionsAPI[] = "disable-permissions-api";
231 235
232 // Disables compositor-accelerated touch-screen pinch gestures. 236 // Disables compositor-accelerated touch-screen pinch gestures.
233 const char kDisablePinch[] = "disable-pinch"; 237 const char kDisablePinch[] = "disable-pinch";
234 238
235 // Disable discovering third-party plugins. Effectively loading only 239 // Disable discovering third-party plugins. Effectively loading only
(...skipping 164 matching lines...) Expand 10 before | Expand all | Expand 10 after
400 404
401 // Enables non-validating reload on reload-to-refresh-content (e.g. pull- 405 // Enables non-validating reload on reload-to-refresh-content (e.g. pull-
402 // to-refresh). 406 // to-refresh).
403 const char kEnableNonValidatingReloadOnRefreshContent[] = 407 const char kEnableNonValidatingReloadOnRefreshContent[] =
404 "enable-non-validating-reload-on-refresh-content"; 408 "enable-non-validating-reload-on-refresh-content";
405 409
406 // Enables action button icons for the Web Notification API. 410 // Enables action button icons for the Web Notification API.
407 const char kEnableNotificationActionIcons[] = 411 const char kEnableNotificationActionIcons[] =
408 "enable-notification-action-icons"; 412 "enable-notification-action-icons";
409 413
410 // Enables partial raster. Enabling this switch also enables the use of
411 // persistent gpu memory buffers.
412 const char kEnablePartialRaster[] = "enable-partial-raster";
413
414 // Enables compositor-accelerated touch-screen pinch gestures. 414 // Enables compositor-accelerated touch-screen pinch gestures.
415 const char kEnablePinch[] = "enable-pinch"; 415 const char kEnablePinch[] = "enable-pinch";
416 416
417 // Enables testing features of the Plugin Placeholder. For internal use only. 417 // Enables testing features of the Plugin Placeholder. For internal use only.
418 const char kEnablePluginPlaceholderTesting[] = 418 const char kEnablePluginPlaceholderTesting[] =
419 "enable-plugin-placeholder-testing"; 419 "enable-plugin-placeholder-testing";
420 420
421 // Make the values returned to window.performance.memory more granular and more 421 // Make the values returned to window.performance.memory more granular and more
422 // up to date in shared worker. Without this flag, the memory information is 422 // up to date in shared worker. Without this flag, the memory information is
423 // still available, but it is bucketized and updated less frequently. This flag 423 // still available, but it is bucketized and updated less frequently. This flag
(...skipping 624 matching lines...) Expand 10 before | Expand all | Expand 10 after
1048 const char kMemoryPressureThresholdsMb[] = "memory-pressure-thresholds-mb"; 1048 const char kMemoryPressureThresholdsMb[] = "memory-pressure-thresholds-mb";
1049 1049
1050 // 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
1051 // Windows Vista and later. 1051 // Windows Vista and later.
1052 const char kTraceExportEventsToETW[] = "trace-export-events-to-etw"; 1052 const char kTraceExportEventsToETW[] = "trace-export-events-to-etw";
1053 #endif 1053 #endif
1054 1054
1055 // 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.
1056 1056
1057 } // namespace switches 1057 } // namespace switches
OLDNEW
« no previous file with comments | « content/public/common/content_switches.h ('k') | content/renderer/render_thread_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698