Skip to content

DisplayListCanvasRecorder does not maintain the clip bounds #117121

@flar

Description

@flar

DLCanvasRecorder uses an SkCanvasVirtualEnforcer to field the SkCanvas API calls and record them in the internal did<Transform>, onClip<Shape> and onDraw<Thing> methods.

The enforcer will maintain the current transform for you by updating its internal transform before calling the associated did<Transform> methods.

The enforcer will only maintain the current clip bounds, though, if you allow its onClip<Shape> methods to be called. Unfortunately, the DLCanvasRecorder intercepts those calls and does not pass them along to the enforcer.

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