Skip to content

Create a DlPaint object for use in building DisplayLists #102368

@flar

Description

@flar

The current DisplayList design is built around a dispatch stream where the clip, transform, and painting attributes are stateful. This is standard practice for the clip and transform management where these attributes are set to control subsequent painting, but it is not as common for the painting attributes. In particular, both ui.Canvas and SkCanvas use Paint objects to maintain painting attributes and this works well for developers to encapsulate the necessary attributes that might apply to only a single rendering call without having to worry about what state the builder/recorder is in.

Metadata

Metadata

Assignees

No one assigned

    Labels

    engineflutter/engine related. See also e: labels.

    Type

    No type

    Projects

    Status

    ✅ Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions