Skip to content

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

Open

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.

Activity

  1. added
    in triagePresently being triaged by the triage team
    engineflutter/engine related. See also e: labels.
    c: proposalA detailed proposal for a change to Flutter
    and removed
    in triagePresently being triaged by the triage team
    on Mar 19, 2025
  2. added
    P3Issues that are less important to the Flutter project
    on Mar 25, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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