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

Unified Diff: cc/trees/effect_node.h

Issue 2781483006: cc : Compute render surface is_clipped outside property tree building (Closed)
Patch Set: . Created 3 years, 9 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/effect_node.h
diff --git a/cc/trees/effect_node.h b/cc/trees/effect_node.h
index 1a961983ebcc6cffcb67d7fbd0f5cd13e81faa12..48997c038233a4ee6c386e5d650fc52b5a925088 100644
--- a/cc/trees/effect_node.h
+++ b/cc/trees/effect_node.h
@@ -44,13 +44,6 @@ struct CC_EXPORT EffectNode {
gfx::Size unscaled_mask_target_size;
bool has_render_surface;
- // Only applicable if has render surface. A true value means a clip needs to
- // be applied to the output of the surface when it is drawn onto its parent
- // surface.
- // TODO(crbug.com/504464): There is ongoing work to delay render surface
- // decision to later phase of the pipeline. This flag shall be removed and
- // computed during render surface decision.
- bool surface_is_clipped;
bool has_copy_request;
bool hidden_by_backface_visibility;
bool double_sided;
@@ -66,7 +59,6 @@ struct CC_EXPORT EffectNode {
// rect.
bool effect_changed;
int num_copy_requests_in_subtree;
- bool has_unclipped_descendants;
int transform_id;
int clip_id;
// Effect node id of which this effect contributes to.

Powered by Google App Engine
This is Rietveld 408576698