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

Unified Diff: cc/layer_tree_host.h

Issue 11529003: [cc] Route LayerImpl::layerTreeHostImpl() calls through LayerTreeImpl (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « cc/layer_tree_debug_state.cc ('k') | cc/layer_tree_host.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/layer_tree_host.h
diff --git a/cc/layer_tree_host.h b/cc/layer_tree_host.h
index 7e600bd67e8f62c7b75b00ae4d822185c1b9c960..5c1ce68d759f4fb174708b7ee6792bbce1209f50 100644
--- a/cc/layer_tree_host.h
+++ b/cc/layer_tree_host.h
@@ -17,6 +17,7 @@
#include "cc/cc_export.h"
#include "cc/layer_tree_host_client.h"
#include "cc/layer_tree_host_common.h"
+#include "cc/layer_tree_settings.h"
#include "cc/occlusion_tracker.h"
#include "cc/output_surface.h"
#include "cc/prioritized_resource_manager.h"
@@ -49,52 +50,6 @@ class HeadsUpDisplayLayer;
class Region;
struct ScrollAndScaleSet;
-struct CC_EXPORT LayerTreeDebugState {
- LayerTreeDebugState();
- ~LayerTreeDebugState();
-
- bool showFPSCounter;
- bool showPlatformLayerTree;
- bool showDebugBorders;
-
- bool showPaintRects;
- bool showPropertyChangedRects;
- bool showSurfaceDamageRects;
- bool showScreenSpaceRects;
- bool showReplicaScreenSpaceRects;
- bool showOccludingRects;
- bool showNonOccludingRects;
-
- bool showHudInfo() const;
- bool showHudRects() const;
- bool hudNeedsFont() const;
-
- static bool equal(const LayerTreeDebugState& a, const LayerTreeDebugState& b);
- static LayerTreeDebugState unite(const LayerTreeDebugState& a, const LayerTreeDebugState& b);
-};
-
-struct CC_EXPORT LayerTreeSettings {
- LayerTreeSettings();
- ~LayerTreeSettings();
-
- bool acceleratePainting;
- bool implSidePainting;
- bool renderVSyncEnabled;
- bool perTilePaintingEnabled;
- bool partialSwapEnabled;
- bool acceleratedAnimationEnabled;
- bool pageScalePinchZoomEnabled;
- bool backgroundColorInsteadOfCheckerboard;
- bool showOverdrawInTracing;
- double refreshRate;
- size_t maxPartialTextureUpdates;
- size_t numRasterThreads;
- gfx::Size defaultTileSize;
- gfx::Size maxUntiledLayerSize;
- gfx::Size minimumOcclusionTrackingSize;
-
- LayerTreeDebugState initialDebugState;
-};
// Provides information on an Impl's rendering capabilities back to the LayerTreeHost
struct CC_EXPORT RendererCapabilities {
« no previous file with comments | « cc/layer_tree_debug_state.cc ('k') | cc/layer_tree_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698