Chromium Code Reviews| Index: cc/layers/draw_properties.h |
| diff --git a/cc/layers/draw_properties.h b/cc/layers/draw_properties.h |
| index 5fd42a49e94ca673599a1841e116fa45238ce26a..5b6424d13eaff4ddf79a6ba5a6d6017753d2b0e3 100644 |
| --- a/cc/layers/draw_properties.h |
| +++ b/cc/layers/draw_properties.h |
| @@ -31,6 +31,7 @@ struct CC_EXPORT DrawProperties { |
| layer_or_descendant_has_copy_request(false), |
| has_child_with_a_scroll_parent(false), |
| sorted_for_recursion(false), |
| + is_in_layer_list(false), |
| index_of_first_descendants_addition(0), |
| num_descendants_added(0), |
| index_of_first_render_surface_layer_list_addition(0), |
| @@ -111,6 +112,10 @@ struct CC_EXPORT DrawProperties { |
| // layer will be visited while computing draw properties has been determined. |
| bool sorted_for_recursion; |
| + // This returns true if the layer has been included in some surface's layer |
| + // list (i.e., this thing will draw). |
| + bool is_in_layer_list; |
|
enne (OOO)
2014/05/06 20:30:58
vmpstr is doing something like this as well in htt
Ian Vollick
2014/05/06 21:06:20
As we discussed offline, this is subsumed by vmpst
|
| + |
| // If this layer is visited out of order, its contribution to the descendant |
| // and render surface layer lists will be put aside in a temporary list. |
| // These values will allow for an efficient reordering of these additions. |