| Index: cc/draw_properties.h
|
| diff --git a/cc/draw_properties.h b/cc/draw_properties.h
|
| index 3895ef0720ab675044c7f7f9d63142261ac8e3ed..77c193ec3b7db400de699ffbaaba208f830efde2 100644
|
| --- a/cc/draw_properties.h
|
| +++ b/cc/draw_properties.h
|
| @@ -25,6 +25,7 @@ struct CC_EXPORT DrawProperties {
|
| , is_clipped(false)
|
| , render_target(0)
|
| , num_descendants_that_draw_content(0)
|
| + , descendants_can_clip_selves(false)
|
| {
|
| }
|
|
|
| @@ -77,6 +78,10 @@ struct CC_EXPORT DrawProperties {
|
|
|
| // Does not include this layer itself, only its children and descendants.
|
| int num_descendants_that_draw_content;
|
| +
|
| + // If true, every descendant in the sub-tree can clip itself without the
|
| + // need to use hardware sissoring or a new render target.
|
| + bool descendants_can_clip_selves;
|
| };
|
|
|
| } // namespace cc
|
|
|