Skip to content

Make engine layers immutable #33807

@liyuqian

Description

@liyuqian

This would make it safer to do retained rendering, and avoid loops (in the layer tree). In the end, an engine layer would be like a Flutter framework Widget whose attributes and children relationships must be set during construction.

The current retained rendering already assumes such immutability. Now we need to change the engine API to enforce it.

Metadata

Metadata

Assignees

No one assigned

    Labels

    P2Important issues not at the top of the work listengineflutter/engine related. See also e: labels.team-engineOwned by Engine teamtriaged-engineTriaged by Engine team

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions