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

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

Issue 1173893003: Re-land: content: Enable one-copy tile updates on Android. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 5 years, 4 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') | no next file » | 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 "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 181 matching lines...) Expand 10 before | Expand all | Expand 10 after
192 const char kDisableNamespaceSandbox[] = "disable-namespace-sandbox"; 192 const char kDisableNamespaceSandbox[] = "disable-namespace-sandbox";
193 193
194 // Disables native GPU memory buffer support. 194 // Disables native GPU memory buffer support.
195 const char kDisableNativeGpuMemoryBuffers[] = 195 const char kDisableNativeGpuMemoryBuffers[] =
196 "disable-native-gpu-memory-buffers"; 196 "disable-native-gpu-memory-buffers";
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 rasterizer that writes directly to GPU memory. 201 // Disable rasterizer that writes directly to GPU memory.
202 // Overrides the kEnableOneCopy flag.
203 const char kDisableOneCopy[] = "disable-one-copy"; 202 const char kDisableOneCopy[] = "disable-one-copy";
204 203
205 // Disable Pepper3D. 204 // Disable Pepper3D.
206 const char kDisablePepper3d[] = "disable-pepper-3d"; 205 const char kDisablePepper3d[] = "disable-pepper-3d";
207 206
208 // Disables the Permissions API. 207 // Disables the Permissions API.
209 const char kDisablePermissionsAPI[] = "disable-permissions-api"; 208 const char kDisablePermissionsAPI[] = "disable-permissions-api";
210 209
211 // Disables the use of persistent GPU memory buffers for partial raster. 210 // Disables the use of persistent GPU memory buffers for partial raster.
212 const char kDisablePersistentGpuMemoryBuffer[] = 211 const char kDisablePersistentGpuMemoryBuffer[] =
(...skipping 163 matching lines...) Expand 10 before | Expand all | Expand 10 after
376 // Force logging to be enabled. Logging is disabled by default in release 375 // Force logging to be enabled. Logging is disabled by default in release
377 // builds. 376 // builds.
378 const char kEnableLogging[] = "enable-logging"; 377 const char kEnableLogging[] = "enable-logging";
379 378
380 // Enables the memory benchmarking extension 379 // Enables the memory benchmarking extension
381 const char kEnableMemoryBenchmarking[] = "enable-memory-benchmarking"; 380 const char kEnableMemoryBenchmarking[] = "enable-memory-benchmarking";
382 381
383 // Enables the network information API. 382 // Enables the network information API.
384 const char kEnableNetworkInformation[] = "enable-network-information"; 383 const char kEnableNetworkInformation[] = "enable-network-information";
385 384
386 // Enable rasterizer that writes directly to GPU memory.
387 const char kEnableOneCopy[] = "enable-one-copy";
388
389 // Enables use of hardware overlay for fullscreen video playback. Android only. 385 // Enables use of hardware overlay for fullscreen video playback. Android only.
390 // TODO(watk): Remove this once blink is updated to pass 386 // TODO(watk): Remove this once blink is updated to pass
391 // kForceOverlayFullscreenVideo for layout tests. http://crbug.com/511376 387 // kForceOverlayFullscreenVideo for layout tests. http://crbug.com/511376
392 const char kEnableOverlayFullscreenVideo[] = "enable-overlay-fullscreen-video"; 388 const char kEnableOverlayFullscreenVideo[] = "enable-overlay-fullscreen-video";
393 389
394 // Enables the use of persistent GPU memory buffers for partial raster. 390 // Enables the use of persistent GPU memory buffers for partial raster.
395 const char kEnablePersistentGpuMemoryBuffer[] = 391 const char kEnablePersistentGpuMemoryBuffer[] =
396 "enable-persistent-gpu-memory-buffer"; 392 "enable-persistent-gpu-memory-buffer";
397 393
398 // Enables compositor-accelerated touch-screen pinch gestures. 394 // Enables compositor-accelerated touch-screen pinch gestures.
(...skipping 593 matching lines...) Expand 10 before | Expand all | Expand 10 after
992 const char kMemoryPressureThresholdsMb[] = "memory-pressure-thresholds-mb"; 988 const char kMemoryPressureThresholdsMb[] = "memory-pressure-thresholds-mb";
993 989
994 // Enables the exporting of the tracing events to ETW. This is only supported on 990 // Enables the exporting of the tracing events to ETW. This is only supported on
995 // Windows Vista and later. 991 // Windows Vista and later.
996 const char kTraceExportEventsToETW[] = "trace-export-events-to-etw"; 992 const char kTraceExportEventsToETW[] = "trace-export-events-to-etw";
997 #endif 993 #endif
998 994
999 // Don't dump stuff here, follow the same order as the header. 995 // Don't dump stuff here, follow the same order as the header.
1000 996
1001 } // namespace switches 997 } // namespace switches
OLDNEW
« no previous file with comments | « content/public/common/content_switches.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698