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

Side by Side Diff: cc/switches.cc

Issue 11348353: Simplify pinch flags. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Add early out if not compositing. Created 8 years 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 | « cc/switches.h ('k') | chrome/browser/about_flags.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 "cc/switches.h" 5 #include "cc/switches.h"
6 6
7 namespace cc { 7 namespace cc {
8 namespace switches { 8 namespace switches {
9 9
10 // On platforms where checkerboards are used, prefer background colors instead 10 // On platforms where checkerboards are used, prefer background colors instead
11 // of checkerboards. 11 // of checkerboards.
12 const char kBackgroundColorInsteadOfCheckerboard[] = 12 const char kBackgroundColorInsteadOfCheckerboard[] =
13 "background-color-instead-of-checkerboard"; 13 "background-color-instead-of-checkerboard";
14 14
15 const char kDisableThreadedAnimation[] = "disable-threaded-animation"; 15 const char kDisableThreadedAnimation[] = "disable-threaded-animation";
16 16
17 // Paint content on the compositor thread instead of the main thread. 17 // Paint content on the compositor thread instead of the main thread.
18 const char kEnableImplSidePainting[] = "enable-impl-side-painting"; 18 const char kEnableImplSidePainting[] = "enable-impl-side-painting";
19 19
20 const char kEnablePartialSwap[] = "enable-partial-swap"; 20 const char kEnablePartialSwap[] = "enable-partial-swap";
21 21
22 const char kEnablePerTilePainting[] = "enable-per-tile-painting"; 22 const char kEnablePerTilePainting[] = "enable-per-tile-painting";
23 23
24 // Enables an alternative pinch-zoom gesture support, via the threaded
25 // compositor.
26 const char kEnablePinchInCompositor[] = "enable-pinch-in-compositor";
27
28 // Number of worker threads used to rasterize content. 24 // Number of worker threads used to rasterize content.
29 const char kNumRasterThreads[] = "num-raster-threads"; 25 const char kNumRasterThreads[] = "num-raster-threads";
30 26
31 // Show rects in the HUD around layers whose properties have changed. 27 // Show rects in the HUD around layers whose properties have changed.
32 const char kShowPropertyChangedRects[] = "show-property-changed-rects"; 28 const char kShowPropertyChangedRects[] = "show-property-changed-rects";
33 29
34 // Show rects in the HUD around damage as it is recorded into each render 30 // Show rects in the HUD around damage as it is recorded into each render
35 // surface. 31 // surface.
36 const char kShowSurfaceDamageRects[] = "show-surface-damage-rects"; 32 const char kShowSurfaceDamageRects[] = "show-surface-damage-rects";
37 33
(...skipping 12 matching lines...) Expand all
50 // Show rects in the HUD wherever something is not known to be drawn opaque and 46 // Show rects in the HUD wherever something is not known to be drawn opaque and
51 // is not considered to be occluding the pixels behind it. 47 // is not considered to be occluding the pixels behind it.
52 const char kShowNonOccludingRects[] = "show-nonoccluding-rects"; 48 const char kShowNonOccludingRects[] = "show-nonoccluding-rects";
53 49
54 // Show metrics about overdraw in about:tracing recordings, such as the number 50 // Show metrics about overdraw in about:tracing recordings, such as the number
55 // of pixels culled, and the number of pixels drawn, for each frame. 51 // of pixels culled, and the number of pixels drawn, for each frame.
56 const char kTraceOverdraw[] = "trace-overdraw"; 52 const char kTraceOverdraw[] = "trace-overdraw";
57 53
58 } // namespace switches 54 } // namespace switches
59 } // namespace cc 55 } // namespace cc
OLDNEW
« no previous file with comments | « cc/switches.h ('k') | chrome/browser/about_flags.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698