Skip to content

Teach Paragraph code to use DisplayListBuilder calls instead of SkCanvas #93417

@flar

Description

@flar

The DisplayList code currently provides an adapter to capture calls to an SkCanvas interface. This is used to capture all calls from both ui.Canvas and ui.Paragraph. The calls from the ui.Canvas native code are easy to redirect to the Builder, making the old calls to SkCanvas* legacy code ready to be deleted when we eliminate SkPicture code. This first step is being tracked under #93415

Unfortunately, the reliance on outputting to an SkCanvas from ui.Paragraph is a little more ingrained and will take significantly more work, so that aspect of using the canvas adapter will not be adopted under the above PR. This Issue is for tracking the longer term work of moving the Paragraph code over onto DisplayList.

Metadata

Metadata

Assignees

Labels

P1High-priority issues at the top of the work liste: impellerImpeller rendering backend issues and features requestsengineflutter/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