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

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

Issue 1126793002: cc: Make tiling interest rect calc based on viewport. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: use new settings for interest rect calc. Created 5 years, 7 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 | « no previous file | cc/base/switches.cc » ('j') | cc/layers/picture_layer_impl_unittest.cc » ('J')
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"
11 11
12 // Since cc is used from the render process, anything that goes here also needs 12 // Since cc is used from the render process, anything that goes here also needs
13 // to be added to render_process_host_impl.cc. 13 // to be added to render_process_host_impl.cc.
14 14
15 namespace cc { 15 namespace cc {
16 namespace switches { 16 namespace switches {
17 17
18 // Switches for the renderer compositor only. 18 // Switches for the renderer compositor only.
19 CC_EXPORT extern const char kDisableThreadedAnimation[]; 19 CC_EXPORT extern const char kDisableThreadedAnimation[];
20 CC_EXPORT extern const char kDisableCompositedAntialiasing[]; 20 CC_EXPORT extern const char kDisableCompositedAntialiasing[];
21 CC_EXPORT extern const char kDisableMainFrameBeforeActivation[]; 21 CC_EXPORT extern const char kDisableMainFrameBeforeActivation[];
22 CC_EXPORT extern const char kEnableMainFrameBeforeActivation[]; 22 CC_EXPORT extern const char kEnableMainFrameBeforeActivation[];
23 CC_EXPORT extern const char kJankInsteadOfCheckerboard[]; 23 CC_EXPORT extern const char kJankInsteadOfCheckerboard[];
24 CC_EXPORT extern const char kTopControlsHideThreshold[]; 24 CC_EXPORT extern const char kTopControlsHideThreshold[];
25 CC_EXPORT extern const char kTopControlsShowThreshold[]; 25 CC_EXPORT extern const char kTopControlsShowThreshold[];
26 CC_EXPORT extern const char kSlowDownRasterScaleFactor[]; 26 CC_EXPORT extern const char kSlowDownRasterScaleFactor[];
27 CC_EXPORT extern const char kCompositeToMailbox[]; 27 CC_EXPORT extern const char kCompositeToMailbox[];
28 CC_EXPORT extern const char kMaxTilesForInterestArea[]; 28 CC_EXPORT extern const char kTilingInterestAreaViewportMultiplier[];
vmpstr 2015/05/06 17:57:29 I would say we remove this setting altogether, and
sohanjg 2015/05/07 14:42:10 Done.
29 CC_EXPORT extern const char kMaxUnusedResourceMemoryUsagePercentage[]; 29 CC_EXPORT extern const char kMaxUnusedResourceMemoryUsagePercentage[];
30 CC_EXPORT extern const char kEnablePinchVirtualViewport[]; 30 CC_EXPORT extern const char kEnablePinchVirtualViewport[];
31 CC_EXPORT extern const char kDisablePinchVirtualViewport[]; 31 CC_EXPORT extern const char kDisablePinchVirtualViewport[];
32 CC_EXPORT extern const char kStrictLayerPropertyChangeChecking[]; 32 CC_EXPORT extern const char kStrictLayerPropertyChangeChecking[];
33 CC_EXPORT extern const char kEnablePropertyTreeVerification[]; 33 CC_EXPORT extern const char kEnablePropertyTreeVerification[];
34 34
35 // Switches for both the renderer and ui compositors. 35 // Switches for both the renderer and ui compositors.
36 CC_EXPORT extern const char kUIDisablePartialSwap[]; 36 CC_EXPORT extern const char kUIDisablePartialSwap[];
37 CC_EXPORT extern const char kEnableGpuBenchmarking[]; 37 CC_EXPORT extern const char kEnableGpuBenchmarking[];
38 38
(...skipping 14 matching lines...) Expand all
53 CC_EXPORT extern const char kUIShowReplicaScreenSpaceRects[]; 53 CC_EXPORT extern const char kUIShowReplicaScreenSpaceRects[];
54 54
55 // Unit test related. 55 // Unit test related.
56 CC_EXPORT extern const char kCCLayerTreeTestNoTimeout[]; 56 CC_EXPORT extern const char kCCLayerTreeTestNoTimeout[];
57 CC_EXPORT extern const char kCCRebaselinePixeltests[]; 57 CC_EXPORT extern const char kCCRebaselinePixeltests[];
58 58
59 } // namespace switches 59 } // namespace switches
60 } // namespace cc 60 } // namespace cc
61 61
62 #endif // CC_BASE_SWITCHES_H_ 62 #endif // CC_BASE_SWITCHES_H_
OLDNEW
« no previous file with comments | « no previous file | cc/base/switches.cc » ('j') | cc/layers/picture_layer_impl_unittest.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698