Chromium Code Reviews| Index: cc/trees/draw_property_utils.cc |
| diff --git a/cc/trees/draw_property_utils.cc b/cc/trees/draw_property_utils.cc |
| index 27eb425da9995d22ce9b3ac02f1f37b16c99cbdf..def7acef37bf1d26f1a09f4319d52b80c9f74ecf 100644 |
| --- a/cc/trees/draw_property_utils.cc |
| +++ b/cc/trees/draw_property_utils.cc |
| @@ -458,8 +458,7 @@ static inline bool LayerShouldBeSkippedInternal( |
| transform_tree.Node(layer->transform_tree_index()); |
| const EffectNode* effect_node = effect_tree.Node(layer->effect_tree_index()); |
| - if (effect_node->has_render_surface && |
| - effect_node->num_copy_requests_in_subtree > 0) |
| + if (effect_node->has_render_surface && effect_node->subtree_has_copy_request) |
|
weiliangc
2017/04/19 17:58:48
If subtree_has_copy_request is only useful here, w
jaydasika
2017/04/19 18:15:14
I want to stop creating effect nodes for handling
weiliangc
2017/04/19 21:21:54
If we want to avoid sending those layers over, cou
jaydasika
2017/04/19 21:31:36
Yes, that's the plan I have in mind : skip these l
|
| return false; |
| // If the layer transform is not invertible, it should be skipped. |
| // TODO(ajuma): Correctly process subtrees with singular transform for the |