Skip to content

Rect SDFs have artifacts in "StrokedRectsRenderCorrectly" golden #184352

Description

@gaaclarke

#183864 adds a stand in sdf for rects to get the foundations implemented. It has some goofy goldens though that should be fixed. I thought the artifacts were related to an inefficiency in the SDF math while we got all the plumbing setup, but the sdf is mathmatcially correct according to https://iquilezles.org/articles/distfunctions2d/

Image Image Image Image

Activity

  1. added
    e: impellerImpeller rendering backend issues and features requests
    on Mar 30, 2026
  2. self-assigned this
    on Mar 30, 2026
  3. added
    P2Important issues not at the top of the work list
    on Apr 6, 2026
  4. b-luk commented on Apr 24, 2026

    @b-luk
    Contributor

    After the fixes in #184395, #184603, #184984, and #184895 this golden looks very close to the non-SDF version.

  5. github-actions commented on May 8, 2026

    @github-actions

    This thread has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar issue, please open a new bug, including the output of flutter doctor -v and a minimal reproduction of the issue.

  6. locked as resolved and limited conversation to collaborators on May 8, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

P2Important issues not at the top of the work liste: impellerImpeller rendering backend issues and features requeststeam-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