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

Unified Diff: cc/trees/property_tree.h

Issue 2814273003: cc: Make DamageTracker use the effect tree and layer list (Closed)
Patch Set: Rebase Created 3 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
« no previous file with comments | « cc/trees/layer_tree_host_impl.cc ('k') | cc/trees/property_tree.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/trees/property_tree.h
diff --git a/cc/trees/property_tree.h b/cc/trees/property_tree.h
index de5cc2823deb92f7d5021aee6f88ab5690cda88e..52c90bcbdae96bfa68412f46791dcbccab940f8f 100644
--- a/cc/trees/property_tree.h
+++ b/cc/trees/property_tree.h
@@ -380,6 +380,11 @@ class CC_EXPORT EffectTree final : public PropertyTree<EffectNode> {
int ClosestAncestorWithCopyRequest(int id) const;
+ // Given the ids of two effect nodes that have render surfaces, returns the
+ // id of the lowest common ancestor effect node that also has a render
+ // surface.
+ int LowestCommonAncestorWithRenderSurface(int id_1, int id_2) const;
+
void AddMaskLayerId(int id);
const std::vector<int>& mask_layer_ids() const { return mask_layer_ids_; }
« no previous file with comments | « cc/trees/layer_tree_host_impl.cc ('k') | cc/trees/property_tree.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698