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

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

Issue 6726005: Added a command-line flag to enable h/w accelerated rendering of content layers. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 9 years, 8 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 | Annotate | Revision Log
« no previous file with comments | « content/common/content_switches.h ('k') | content/common/view_messages.h » ('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) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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/common/content_switches.h" 5 #include "content/common/content_switches.h"
6 6
7 namespace switches { 7 namespace switches {
8 8
9 // By default, file:// URIs cannot read other file:// URIs. This is an 9 // By default, file:// URIs cannot read other file:// URIs. This is an
10 // override for developers who need the old behavior for testing. 10 // override for developers who need the old behavior for testing.
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after
62 62
63 // Disable pop-up blocking. 63 // Disable pop-up blocking.
64 const char kDisablePopupBlocking[] = "disable-popup-blocking"; 64 const char kDisablePopupBlocking[] = "disable-popup-blocking";
65 65
66 // Disable the seccomp sandbox (Linux only) 66 // Disable the seccomp sandbox (Linux only)
67 const char kDisableSeccompSandbox[] = "disable-seccomp-sandbox"; 67 const char kDisableSeccompSandbox[] = "disable-seccomp-sandbox";
68 68
69 // Disable Web Sockets support. 69 // Disable Web Sockets support.
70 const char kDisableWebSockets[] = "disable-web-sockets"; 70 const char kDisableWebSockets[] = "disable-web-sockets";
71 71
72 // Enable hardware accelerated page drawing.
73 // Please note that this flag is honored only if chromium is compiled with
74 // SKIA_GPU flag, which can be enabled by setting use_skia_gpu variable to 1
75 // in build/features_override.gypi.
76 const char kEnableAcceleratedDrawing[] = "enable-accelerated-drawing";
77
72 // Enables the benchmarking extensions. 78 // Enables the benchmarking extensions.
73 const char kEnableBenchmarking[] = "enable-benchmarking"; 79 const char kEnableBenchmarking[] = "enable-benchmarking";
74 80
75 // Enable the GPU plugin and Pepper 3D rendering. 81 // Enable the GPU plugin and Pepper 3D rendering.
76 const char kEnableGPUPlugin[] = "enable-gpu-plugin"; 82 const char kEnableGPUPlugin[] = "enable-gpu-plugin";
77 83
78 // Force logging to be enabled. Logging is disabled by default in release 84 // Force logging to be enabled. Logging is disabled by default in release
79 // builds. 85 // builds.
80 const char kEnableLogging[] = "enable-logging"; 86 const char kEnableLogging[] = "enable-logging";
81 87
(...skipping 186 matching lines...) Expand 10 before | Expand all | Expand 10 after
268 274
269 // Causes the process to run as a worker subprocess. 275 // Causes the process to run as a worker subprocess.
270 const char kWorkerProcess[] = "worker"; 276 const char kWorkerProcess[] = "worker";
271 277
272 // The prefix used when starting the zygote process. (i.e. 'gdb --args') 278 // The prefix used when starting the zygote process. (i.e. 'gdb --args')
273 const char kZygoteCmdPrefix[] = "zygote-cmd-prefix"; 279 const char kZygoteCmdPrefix[] = "zygote-cmd-prefix";
274 280
275 // Causes the process to run as a renderer zygote. 281 // Causes the process to run as a renderer zygote.
276 const char kZygoteProcess[] = "zygote"; 282 const char kZygoteProcess[] = "zygote";
277 } // namespace switches 283 } // namespace switches
OLDNEW
« no previous file with comments | « content/common/content_switches.h ('k') | content/common/view_messages.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698