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

Unified Diff: cc/trees/property_tree.h

Issue 1387003002: cc: Make property trees support resourceless draw mode (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@DontReparentUnclippedClipNodes
Patch Set: Created 5 years, 2 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/property_tree.h
diff --git a/cc/trees/property_tree.h b/cc/trees/property_tree.h
index e7457a19a06ecef3515354f3255ee7939ee31a8e..cb8a37b01e81323c7d023261d65dc88f7ea3abbd 100644
--- a/cc/trees/property_tree.h
+++ b/cc/trees/property_tree.h
@@ -196,6 +196,7 @@ struct CC_EXPORT ClipNodeData {
// True if layers with this clip tree node need to be drawn with a clip
// applied.
bool layers_are_clipped : 1;
+ bool layers_are_clipped_when_surfaces_disabled : 1;
// Nodes that correspond to unclipped surfaces disregard ancestor clips.
bool resets_clip : 1;
@@ -402,6 +403,7 @@ class CC_EXPORT PropertyTrees final {
EffectTree effect_tree;
ClipTree clip_tree;
bool needs_rebuild;
+ bool non_root_surfaces_enabled;
int sequence_number;
};

Powered by Google App Engine
This is Rietveld 408576698