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

Side by Side Diff: cc/layer_tree_host.h

Issue 11361223: cc: Remove cc::settings, move them to LayerTreeSettings. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix-unittests Created 8 years, 1 month 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/layer_impl.cc ('k') | cc/layer_tree_host.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 2011 The Chromium Authors. All rights reserved. 1 // Copyright 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 #ifndef CC_LAYER_TREE_HOST_H_ 5 #ifndef CC_LAYER_TREE_HOST_H_
6 #define CC_LAYER_TREE_HOST_H_ 6 #define CC_LAYER_TREE_HOST_H_
7 7
8 #include <limits> 8 #include <limits>
9 9
10 #include "base/basictypes.h" 10 #include "base/basictypes.h"
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after
56 56
57 bool acceleratePainting; 57 bool acceleratePainting;
58 bool showPlatformLayerTree; 58 bool showPlatformLayerTree;
59 bool showPaintRects; 59 bool showPaintRects;
60 bool showPropertyChangedRects; 60 bool showPropertyChangedRects;
61 bool showSurfaceDamageRects; 61 bool showSurfaceDamageRects;
62 bool showScreenSpaceRects; 62 bool showScreenSpaceRects;
63 bool showReplicaScreenSpaceRects; 63 bool showReplicaScreenSpaceRects;
64 bool showOccludingRects; 64 bool showOccludingRects;
65 bool renderVSyncEnabled; 65 bool renderVSyncEnabled;
66 bool perTilePaintingEnabled;
67 bool partialSwapEnabled;
68 bool acceleratedAnimationEnabled;
69 bool pageScalePinchZoomEnabled;
70 bool backgroundColorInsteadOfCheckerboard;
71 bool showOverdrawInTracing;
66 double refreshRate; 72 double refreshRate;
67 size_t maxPartialTextureUpdates; 73 size_t maxPartialTextureUpdates;
68 gfx::Size defaultTileSize; 74 gfx::Size defaultTileSize;
69 gfx::Size maxUntiledLayerSize; 75 gfx::Size maxUntiledLayerSize;
70 gfx::Size minimumOcclusionTrackingSize; 76 gfx::Size minimumOcclusionTrackingSize;
71 77
72 bool showDebugInfo() const { return showPlatformLayerTree || showDebugRects( ); } 78 bool showDebugInfo() const { return showPlatformLayerTree || showDebugRects( ); }
73 bool showDebugRects() const { return showPaintRects || showPropertyChangedRe cts || showSurfaceDamageRects || showScreenSpaceRects || showReplicaScreenSpaceR ects || showOccludingRects; } 79 bool showDebugRects() const { return showPaintRects || showPropertyChangedRe cts || showSurfaceDamageRects || showScreenSpaceRects || showReplicaScreenSpaceR ects || showOccludingRects; }
74 }; 80 };
75 81
(...skipping 211 matching lines...) Expand 10 before | Expand all | Expand 10 after
287 size_t m_partialTextureUpdateRequests; 293 size_t m_partialTextureUpdateRequests;
288 294
289 static bool s_needsFilterContext; 295 static bool s_needsFilterContext;
290 296
291 DISALLOW_COPY_AND_ASSIGN(LayerTreeHost); 297 DISALLOW_COPY_AND_ASSIGN(LayerTreeHost);
292 }; 298 };
293 299
294 } // namespace cc 300 } // namespace cc
295 301
296 #endif // CC_LAYER_TREE_HOST_H_ 302 #endif // CC_LAYER_TREE_HOST_H_
OLDNEW
« no previous file with comments | « cc/layer_impl.cc ('k') | cc/layer_tree_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698