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

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

Issue 1381163002: Add a flag to disable partial raster in renderer (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Remove "--enable-persistent-gpu-memory-buffer" Created 5 years, 2 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
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 "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 186 matching lines...) Expand 10 before | Expand all | Expand 10 after
197 197
198 // Disables the Web Notification and the Push APIs. 198 // Disables the Web Notification and the Push APIs.
199 const char kDisableNotifications[] = "disable-notifications"; 199 const char kDisableNotifications[] = "disable-notifications";
200 200
201 // Disable Pepper3D. 201 // Disable Pepper3D.
202 const char kDisablePepper3d[] = "disable-pepper-3d"; 202 const char kDisablePepper3d[] = "disable-pepper-3d";
203 203
204 // Disables the Permissions API. 204 // Disables the Permissions API.
205 const char kDisablePermissionsAPI[] = "disable-permissions-api"; 205 const char kDisablePermissionsAPI[] = "disable-permissions-api";
206 206
207 // Disables the use of persistent GPU memory buffers for partial raster. 207 // Disables partial raster. Disabling this switch also disables the use of
208 const char kDisablePersistentGpuMemoryBuffer[] = 208 // persistent gpu memory buffers.
209 "disable-persistent-gpu-memory-buffer"; 209 const char kDisablePartialRaster[] = "disable-partial-raster";
210 210
211 // Disables compositor-accelerated touch-screen pinch gestures. 211 // Disables compositor-accelerated touch-screen pinch gestures.
212 const char kDisablePinch[] = "disable-pinch"; 212 const char kDisablePinch[] = "disable-pinch";
213 213
214 // Disable discovering third-party plugins. Effectively loading only 214 // Disable discovering third-party plugins. Effectively loading only
215 // ones shipped with the browser plus third-party ones as specified by 215 // ones shipped with the browser plus third-party ones as specified by
216 // --extra-plugin-dir and --load-plugin switches. 216 // --extra-plugin-dir and --load-plugin switches.
217 const char kDisablePluginsDiscovery[] = "disable-plugins-discovery"; 217 const char kDisablePluginsDiscovery[] = "disable-plugins-discovery";
218 218
219 // Disables the Presentation API. 219 // Disables the Presentation API.
(...skipping 152 matching lines...) Expand 10 before | Expand all | Expand 10 after
372 // Force logging to be enabled. Logging is disabled by default in release 372 // Force logging to be enabled. Logging is disabled by default in release
373 // builds. 373 // builds.
374 const char kEnableLogging[] = "enable-logging"; 374 const char kEnableLogging[] = "enable-logging";
375 375
376 // Enables the memory benchmarking extension 376 // Enables the memory benchmarking extension
377 const char kEnableMemoryBenchmarking[] = "enable-memory-benchmarking"; 377 const char kEnableMemoryBenchmarking[] = "enable-memory-benchmarking";
378 378
379 // Enables the network information API. 379 // Enables the network information API.
380 const char kEnableNetworkInformation[] = "enable-network-information"; 380 const char kEnableNetworkInformation[] = "enable-network-information";
381 381
382 // Enables the use of persistent GPU memory buffers for partial raster. 382 // Enables partial raster. Enabling this switch also enables the use of
383 const char kEnablePersistentGpuMemoryBuffer[] = 383 // persistent gpu memory buffers.
384 "enable-persistent-gpu-memory-buffer"; 384 const char kEnablePartialRaster[] = "enable-partial-raster";
385 385
386 // Enables compositor-accelerated touch-screen pinch gestures. 386 // Enables compositor-accelerated touch-screen pinch gestures.
387 const char kEnablePinch[] = "enable-pinch"; 387 const char kEnablePinch[] = "enable-pinch";
388 388
389 // Enables testing features of the Plugin Placeholder. For internal use only. 389 // Enables testing features of the Plugin Placeholder. For internal use only.
390 const char kEnablePluginPlaceholderTesting[] = 390 const char kEnablePluginPlaceholderTesting[] =
391 "enable-plugin-placeholder-testing"; 391 "enable-plugin-placeholder-testing";
392 392
393 // Make the values returned to window.performance.memory more granular and more 393 // Make the values returned to window.performance.memory more granular and more
394 // up to date in shared worker. Without this flag, the memory information is 394 // up to date in shared worker. Without this flag, the memory information is
(...skipping 569 matching lines...) Expand 10 before | Expand all | Expand 10 after
964 const char kMemoryPressureThresholdsMb[] = "memory-pressure-thresholds-mb"; 964 const char kMemoryPressureThresholdsMb[] = "memory-pressure-thresholds-mb";
965 965
966 // Enables the exporting of the tracing events to ETW. This is only supported on 966 // Enables the exporting of the tracing events to ETW. This is only supported on
967 // Windows Vista and later. 967 // Windows Vista and later.
968 const char kTraceExportEventsToETW[] = "trace-export-events-to-etw"; 968 const char kTraceExportEventsToETW[] = "trace-export-events-to-etw";
969 #endif 969 #endif
970 970
971 // Don't dump stuff here, follow the same order as the header. 971 // Don't dump stuff here, follow the same order as the header.
972 972
973 } // namespace switches 973 } // namespace switches
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698