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

Unified Diff: cc/trees/property_tree.h

Issue 1868003002: cc: Move RenderTarget Information to Effect Tree (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 4 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/occlusion_tracker.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 8209b788db252132f17fbc5bb5015b3586e2c830..bd181110cc1bc2d4013a0212639f6e1cfce0652e 100644
--- a/cc/trees/property_tree.h
+++ b/cc/trees/property_tree.h
@@ -30,6 +30,7 @@ class TreeNode;
}
class LayerTreeImpl;
+class RenderSurfaceImpl;
class ScrollState;
struct ScrollAndScaleSet;
@@ -261,6 +262,7 @@ struct CC_EXPORT EffectNodeData {
float screen_space_opacity;
bool has_render_surface;
+ RenderSurfaceImpl* render_surface;
bool has_copy_request;
bool has_background_filters;
bool node_or_ancestor_has_background_filters;
@@ -275,7 +277,7 @@ struct CC_EXPORT EffectNodeData {
int num_copy_requests_in_subtree;
int transform_id;
int clip_id;
- // For a node that creates a render surface, target_id is its own id.
+ // Effect node id of which this effect contributes to.
int target_id;
bool operator==(const EffectNodeData& other) const;
« no previous file with comments | « cc/trees/occlusion_tracker.cc ('k') | cc/trees/property_tree.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698