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

Side by Side Diff: chrome/common/chrome_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
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 "chrome/common/chrome_switches.h" 5 #include "chrome/common/chrome_switches.h"
6 6
7 #include "base/base_switches.h" 7 #include "base/base_switches.h"
8 8
9 namespace switches { 9 namespace switches {
10 10
(...skipping 371 matching lines...) Expand 10 before | Expand all | Expand 10 after
382 // logging to be enabled to really do anything). Used by developers and test 382 // logging to be enabled to really do anything). Used by developers and test
383 // scripts. 383 // scripts.
384 const char kDumpHistogramsOnExit[] = "dump-histograms-on-exit"; 384 const char kDumpHistogramsOnExit[] = "dump-histograms-on-exit";
385 385
386 // Enable displaying net log events on the command line. 386 // Enable displaying net log events on the command line.
387 extern const char kLogNetLog[] = "log-net-log"; 387 extern const char kLogNetLog[] = "log-net-log";
388 388
389 // Enable gpu-accelerated 2d canvas. 389 // Enable gpu-accelerated 2d canvas.
390 const char kEnableAccelerated2dCanvas[] = "enable-accelerated-2d-canvas"; 390 const char kEnableAccelerated2dCanvas[] = "enable-accelerated-2d-canvas";
391 391
392 // Enable hardware accelerated page drawing.
393 // Please note that this flag is honored only if chromium is compiled with
394 // SKIA_GPU flag, which can be enabled by setting use_skia_gpu variable to 1
395 // in build/features_override.gypi.
396 const char kEnableAcceleratedDrawing[] = "enable-accelerated-drawing";
397
392 // Enables the hardware acceleration of plugins. 398 // Enables the hardware acceleration of plugins.
393 const char kEnableAcceleratedPlugins[] = "enable-accelerated-plugins"; 399 const char kEnableAcceleratedPlugins[] = "enable-accelerated-plugins";
394 400
395 // Enables WebKit accessibility within the renderer process. 401 // Enables WebKit accessibility within the renderer process.
396 const char kEnableAccessibility[] = "enable-accessibility"; 402 const char kEnableAccessibility[] = "enable-accessibility";
397 403
398 // Enables AeroPeek for each tab. (This switch only works on Windows 7). 404 // Enables AeroPeek for each tab. (This switch only works on Windows 7).
399 const char kEnableAeroPeekTabs[] = "enable-aero-peek-tabs"; 405 const char kEnableAeroPeekTabs[] = "enable-aero-peek-tabs";
400 406
401 // Enable the inclusion of non-standard ports when generating the Kerberos SPN 407 // Enable the inclusion of non-standard ports when generating the Kerberos SPN
(...skipping 809 matching lines...) Expand 10 before | Expand all | Expand 10 after
1211 1217
1212 // ----------------------------------------------------------------------------- 1218 // -----------------------------------------------------------------------------
1213 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. 1219 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE.
1214 // 1220 //
1215 // You were going to just dump your switches here, weren't you? Instead, 1221 // You were going to just dump your switches here, weren't you? Instead,
1216 // please put them in alphabetical order above, or in order inside the 1222 // please put them in alphabetical order above, or in order inside the
1217 // appropriate ifdef at the bottom. The order should match the header. 1223 // appropriate ifdef at the bottom. The order should match the header.
1218 // ----------------------------------------------------------------------------- 1224 // -----------------------------------------------------------------------------
1219 1225
1220 } // namespace switches 1226 } // namespace switches
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698