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

Unified Diff: cc/trees/effect_node.h

Issue 2873593002: Force use of and cache render surface. (Closed)
Patch Set: Rebased to resolve conflict. Created 3 years, 5 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/draw_property_utils.cc ('k') | cc/trees/effect_node.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/trees/effect_node.h
diff --git a/cc/trees/effect_node.h b/cc/trees/effect_node.h
index f6646e59ce8f74a277ba93ad68d5cb23b6011a19..48e25e9b209eae482de6adccafe1805666a68393 100644
--- a/cc/trees/effect_node.h
+++ b/cc/trees/effect_node.h
@@ -49,6 +49,7 @@ struct CC_EXPORT EffectNode {
gfx::Size unscaled_mask_target_size;
bool has_render_surface : 1;
+ bool cache_render_surface : 1;
bool has_copy_request : 1;
bool hidden_by_backface_visibility : 1;
bool double_sided : 1;
@@ -83,6 +84,7 @@ struct CC_EXPORT EffectNode {
// The layer id of the mask layer, if any, to apply to this effect
// node's content when rendering to a surface.
int mask_layer_id;
+ int closest_ancestor_with_cached_render_surface_id;
int closest_ancestor_with_copy_request_id;
bool operator==(const EffectNode& other) const;
« no previous file with comments | « cc/trees/draw_property_utils.cc ('k') | cc/trees/effect_node.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698