Skip to content

[DisplayList] Normalize stops so backends can trust them #165409

@flar

Description

@flar

Currently the Dl*Gradient objects will just accept the stops and colors as they were provided which means there can be multiple illegal/redundant/etc. stops included. The backends are then responsible for normalizing the stops within the traditional range of [0...1] themselves. This is a waste since a gradient can be reused many times and shouldn't need to be vetted every time.

Metadata

Metadata

Assignees

No one assigned

    Labels

    P3Issues that are less important to the Flutter projectc: proposalA detailed proposal for a change to Flutterengineflutter/engine related. See also e: labels.team-engineOwned by Engine teamtriaged-engineTriaged by Engine team

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions