Skip to content

Consider creating a DlAtlas object for DlCanvas.drawAtlas #121512

@flar

Description

@flar

The arguments to the drawAtlas call include a number of arrays that must match in size for the call to be valid. It is also difficult to compute the bounds of the atlas since it requires transforming each source rectangle and accumulating the results, so such an object could cache the bounds at construction time to save several layers of the graphics system from having to do that work redundantly.

See flutter/engine#39865 (comment)

Metadata

Metadata

Assignees

No one assigned

    Labels

    P3Issues that are less important to the Flutter projecte: impellerImpeller rendering backend issues and features requestsengineflutter/engine related. See also e: labels.team-engineOwned by Engine teamtriaged-engineTriaged by Engine team

    Type

    No type

    Projects

    Status

    🚀 Features

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions