Skip to content

OpacityLayer and ColorFilterLayer should detect if their children can be drawn without a saveLayer #92874

@dnfield

Description

@dnfield

For example, in trivial cases where there is a single DisplayList child that has a single drawPath operation, it should just apply the opacity/color filter directly to that path instead of incurring a render target switch.

/cc @flar @goderbauer @chinmaygarde

Metadata

Metadata

Assignees

No one assigned

    Labels

    P2Important issues not at the top of the work listc: performanceRelates to speed or footprint issues (see "perf:" labels)engineflutter/engine related. See also e: labels.perf: speedPerformance issues related to (mostly rendering) speedteam-engineOwned by Engine teamtriaged-engineTriaged by Engine team

    Type

    No type

    Projects

    Status

    ✅ Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions