Chromium Code Reviews| Index: cc/trees/effect_node.h |
| diff --git a/cc/trees/effect_node.h b/cc/trees/effect_node.h |
| index f6646e59ce8f74a277ba93ad68d5cb23b6011a19..7ef5780ed62d0f99f843794b04cc2eb867de208e 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_cache_render_surface_id; |
|
vmpstr
2017/07/13 18:01:03
nit: s/cache/cached/?
wutao
2017/07/14 00:02:54
Done.
|
| int closest_ancestor_with_copy_request_id; |
| bool operator==(const EffectNode& other) const; |