Skip to content
This repository was archived by the owner on Feb 25, 2025. It is now read-only.

Conversation

@dnfield
Copy link
Contributor

@dnfield dnfield commented Apr 6, 2023

Bumps up some size assumptions to accomodate larger paths.
Fixes bugs in the polyline shader that were highlighted by
processing larger more complicated paths.

Adds a test for a larger more complex path. Adds a playground for
testing arbitrary SVG-encoded paths.

Also re-organizes some Skia-to-Impeller utilities into their own TU instead of as scattered static methods in various TUs (@flar @gaaclarke fyi)

Next steps for strokes:

  • Handle multiple contours
  • Handle non-default caps/joins.

However, with this patch I think I have enough to do some more interesting experiments around stroke rendering for real.

dnfield added 2 commits April 6, 2023 12:49
Bumps up some size assumptions to accomodate larger paths.
Fixes bugs in the polyline shader that were highlighted by
processing larger more complicated paths.

Adds a test for a larger more complex path. Adds a playground for
testing arbitrary SVG-encoded paths.
@dnfield dnfield self-assigned this Apr 6, 2023
@flutter-dashboard
Copy link

Golden file changes have been found for this pull request. Click here to view and triage (e.g. because this is an intentional change).

If you are still iterating on this change and are not ready to resolve the images on the Flutter Gold dashboard, consider marking this PR as a draft pull request above. You will still be able to view image results on the dashboard, commenting will be silenced, and the check will not try to resolve itself until marked ready for review.

Changes reported for pull request #40975 at sha 88ed7a2

@flar
Copy link
Contributor

flar commented Apr 7, 2023

My only suggestion, and this isn't an issue with the fix itself, is that perhaps the isolation of the conversion functions could be submitted as a separate PR so that the actual changes needed to fix this problem are easier to examine in isolation. (And I'll admit that I've been guilty of combining sweeping reorg changes with a bug fix myself.)

@dnfield
Copy link
Contributor Author

dnfield commented Apr 7, 2023

@flar I opened #40997 and will look to merge that one first if it LGTY.

Copy link
Member

@bdero bdero left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@dnfield dnfield added the autosubmit Merge PR when tree becomes green via auto submit App label Apr 10, 2023
@auto-submit auto-submit bot merged commit fde06cf into flutter:main Apr 10, 2023
@dnfield dnfield deleted the strokes branch April 10, 2023 17:44
engine-flutter-autoroll added a commit to engine-flutter-autoroll/flutter that referenced this pull request Apr 10, 2023
gspencergoog pushed a commit to gspencergoog/engine that referenced this pull request Apr 10, 2023
[Impeller] Fix issues in path polyline generation.
zhongwuzw pushed a commit to zhongwuzw/engine that referenced this pull request Apr 14, 2023
[Impeller] Fix issues in path polyline generation.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

autosubmit Merge PR when tree becomes green via auto submit App e: impeller will affect goldens

Projects

No open projects
Archived in project

Development

Successfully merging this pull request may close these issues.

4 participants