Skip to content

[web] unify CkPaint and SwasmPaint classes #154281

@yjbanov

Description

@yjbanov

In flutter/engine#54818 CkPaint becomes essentially a PODO. It's not backed by the C++ SkPaint until the paint is used to draw something. This means the class is almost renderer-agnostic.

We could take it further and make it fully agnostic. This can be done either in the same PR where SkwasmPaint moves to the PODO model, or immediately after that.

Metadata

Metadata

Assignees

No one assigned

    Labels

    P2Important issues not at the top of the work listc: renderingUI glitches reported at the engine/skia or impeller rendering levelc: tech-debtTechnical debt, code quality, testing, etc.e: web_canvaskitCanvasKit (a.k.a. Skia-on-WebGL) rendering backend for Webe: web_skwasmSkwasm rendering backend for webengineflutter/engine related. See also e: labels.platform-webWeb applications specificallyteam-webOwned by Web platform teamtriaged-webTriaged by Web platform team

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions