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

Unified Diff: cc/trees/layer_tree_host.h

Issue 1088773003: Reuse property trees (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: remove unrelated change Created 5 years, 8 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 side-by-side diff with in-line comments
Download patch
Index: cc/trees/layer_tree_host.h
diff --git a/cc/trees/layer_tree_host.h b/cc/trees/layer_tree_host.h
index ef5cb6acdc2b1d2712515356ee9a820bef55f872..742578a3ce85fcaba09908ae3a74e3f0b212e42a 100644
--- a/cc/trees/layer_tree_host.h
+++ b/cc/trees/layer_tree_host.h
@@ -56,6 +56,7 @@ class LayerTreeHostImplClient;
class LayerTreeHostSingleThreadClient;
class PrioritizedResource;
class PrioritizedResourceManager;
+class PropertyTrees;
class Region;
class RenderingStatsInstrumentation;
class ResourceProvider;
@@ -308,6 +309,8 @@ class CC_EXPORT LayerTreeHost {
void SetAuthoritativeVSyncInterval(const base::TimeDelta& interval);
+ PropertyTrees* property_trees() { return &property_trees_; }
+
protected:
LayerTreeHost(LayerTreeHostClient* client,
SharedBitmapManager* shared_bitmap_manager,
@@ -451,6 +454,8 @@ class CC_EXPORT LayerTreeHost {
ScopedPtrVector<SwapPromise> swap_promise_list_;
std::set<SwapPromiseMonitor*> swap_promise_monitor_;
+ PropertyTrees property_trees_;
+
uint32_t surface_id_namespace_;
uint32_t next_surface_sequence_;

Powered by Google App Engine
This is Rietveld 408576698