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

Side by Side Diff: cc/base/switches.h

Issue 12502016: cc: Add command line switch to control resource usage for impl-side painting. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 7 years, 9 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 | « no previous file | cc/base/switches.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 // Defines all the "cc" command-line switches. 5 // Defines all the "cc" command-line switches.
6 6
7 #ifndef CC_BASE_SWITCHES_H_ 7 #ifndef CC_BASE_SWITCHES_H_
8 #define CC_BASE_SWITCHES_H_ 8 #define CC_BASE_SWITCHES_H_
9 9
10 #include "cc/base/cc_export.h" 10 #include "cc/base/cc_export.h"
(...skipping 20 matching lines...) Expand all
31 CC_EXPORT extern const char kTopControlsHeight[]; 31 CC_EXPORT extern const char kTopControlsHeight[];
32 CC_EXPORT extern const char kTopControlsHideThreshold[]; 32 CC_EXPORT extern const char kTopControlsHideThreshold[];
33 CC_EXPORT extern const char kTopControlsShowThreshold[]; 33 CC_EXPORT extern const char kTopControlsShowThreshold[];
34 CC_EXPORT extern const char kTraceAllRenderedFrames[]; 34 CC_EXPORT extern const char kTraceAllRenderedFrames[];
35 CC_EXPORT extern const char kSlowDownRasterScaleFactor[]; 35 CC_EXPORT extern const char kSlowDownRasterScaleFactor[];
36 CC_EXPORT extern const char kUseColorEstimator[]; 36 CC_EXPORT extern const char kUseColorEstimator[];
37 CC_EXPORT extern const char kLowResolutionContentsScaleFactor[]; 37 CC_EXPORT extern const char kLowResolutionContentsScaleFactor[];
38 CC_EXPORT extern const char kCompositeToMailbox[]; 38 CC_EXPORT extern const char kCompositeToMailbox[];
39 CC_EXPORT extern const char kMaxPrepaintTileDistance[]; 39 CC_EXPORT extern const char kMaxPrepaintTileDistance[];
40 CC_EXPORT extern const char kMaxTilesForInterestArea[]; 40 CC_EXPORT extern const char kMaxTilesForInterestArea[];
41 CC_EXPORT extern const char kMaxUnusedResourceMemoryUsagePercentage[];
41 42
42 // Switches for both the renderer and ui compositors. 43 // Switches for both the renderer and ui compositors.
43 CC_EXPORT extern const char kEnablePartialSwap[]; 44 CC_EXPORT extern const char kEnablePartialSwap[];
44 CC_EXPORT extern const char kUIEnablePartialSwap[]; 45 CC_EXPORT extern const char kUIEnablePartialSwap[];
45 CC_EXPORT extern const char kEnablePerTilePainting[]; 46 CC_EXPORT extern const char kEnablePerTilePainting[];
46 CC_EXPORT extern const char kUIEnablePerTilePainting[]; 47 CC_EXPORT extern const char kUIEnablePerTilePainting[];
47 48
48 // Debug visualizations. 49 // Debug visualizations.
49 CC_EXPORT extern const char kShowCompositedLayerBorders[]; 50 CC_EXPORT extern const char kShowCompositedLayerBorders[];
50 CC_EXPORT extern const char kUIShowCompositedLayerBorders[]; 51 CC_EXPORT extern const char kUIShowCompositedLayerBorders[];
(...skipping 13 matching lines...) Expand all
64 CC_EXPORT extern const char kUIShowOccludingRects[]; 65 CC_EXPORT extern const char kUIShowOccludingRects[];
65 CC_EXPORT extern const char kShowNonOccludingRects[]; 66 CC_EXPORT extern const char kShowNonOccludingRects[];
66 CC_EXPORT extern const char kUIShowNonOccludingRects[]; 67 CC_EXPORT extern const char kUIShowNonOccludingRects[];
67 68
68 CC_EXPORT bool IsImplSidePaintingEnabled(); 69 CC_EXPORT bool IsImplSidePaintingEnabled();
69 70
70 } // namespace switches 71 } // namespace switches
71 } // namespace cc 72 } // namespace cc
72 73
73 #endif // CC_BASE_SWITCHES_H_ 74 #endif // CC_BASE_SWITCHES_H_
OLDNEW
« no previous file with comments | « no previous file | cc/base/switches.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698