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

Side by Side Diff: cc/layer_tree_host.h

Issue 11377122: cc: Visualize non-occluding rects in composited layers. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebased 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/heads_up_display_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 44 matching lines...) Expand 10 before | Expand all | Expand 10 after
55 ~LayerTreeSettings(); 55 ~LayerTreeSettings();
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 showNonOccludingRects;
65 bool renderVSyncEnabled; 66 bool renderVSyncEnabled;
66 bool perTilePaintingEnabled; 67 bool perTilePaintingEnabled;
67 bool partialSwapEnabled; 68 bool partialSwapEnabled;
68 bool acceleratedAnimationEnabled; 69 bool acceleratedAnimationEnabled;
69 bool pageScalePinchZoomEnabled; 70 bool pageScalePinchZoomEnabled;
70 bool backgroundColorInsteadOfCheckerboard; 71 bool backgroundColorInsteadOfCheckerboard;
71 bool showOverdrawInTracing; 72 bool showOverdrawInTracing;
72 double refreshRate; 73 double refreshRate;
73 size_t maxPartialTextureUpdates; 74 size_t maxPartialTextureUpdates;
74 gfx::Size defaultTileSize; 75 gfx::Size defaultTileSize;
75 gfx::Size maxUntiledLayerSize; 76 gfx::Size maxUntiledLayerSize;
76 gfx::Size minimumOcclusionTrackingSize; 77 gfx::Size minimumOcclusionTrackingSize;
77 78
78 bool showDebugInfo() const { return showPlatformLayerTree || showDebugRects( ); } 79 bool showDebugInfo() const { return showPlatformLayerTree || showDebugRects( ); }
79 bool showDebugRects() const { return showPaintRects || showPropertyChangedRe cts || showSurfaceDamageRects || showScreenSpaceRects || showReplicaScreenSpaceR ects || showOccludingRects; } 80 bool showDebugRects() const { return showPaintRects || showPropertyChangedRe cts || showSurfaceDamageRects || showScreenSpaceRects || showReplicaScreenSpaceR ects || showOccludingRects || showNonOccludingRects; }
80 }; 81 };
81 82
82 // Provides information on an Impl's rendering capabilities back to the LayerTre eHost 83 // Provides information on an Impl's rendering capabilities back to the LayerTre eHost
83 struct CC_EXPORT RendererCapabilities { 84 struct CC_EXPORT RendererCapabilities {
84 RendererCapabilities(); 85 RendererCapabilities();
85 ~RendererCapabilities(); 86 ~RendererCapabilities();
86 87
87 GLenum bestTextureFormat; 88 GLenum bestTextureFormat;
88 bool contextHasCachedFrontBuffer; 89 bool contextHasCachedFrontBuffer;
89 bool usingPartialSwap; 90 bool usingPartialSwap;
(...skipping 203 matching lines...) Expand 10 before | Expand all | Expand 10 after
293 size_t m_partialTextureUpdateRequests; 294 size_t m_partialTextureUpdateRequests;
294 295
295 static bool s_needsFilterContext; 296 static bool s_needsFilterContext;
296 297
297 DISALLOW_COPY_AND_ASSIGN(LayerTreeHost); 298 DISALLOW_COPY_AND_ASSIGN(LayerTreeHost);
298 }; 299 };
299 300
300 } // namespace cc 301 } // namespace cc
301 302
302 #endif // CC_LAYER_TREE_HOST_H_ 303 #endif // CC_LAYER_TREE_HOST_H_
OLDNEW
« no previous file with comments | « cc/heads_up_display_layer_impl.cc ('k') | cc/layer_tree_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698