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

Conversation

jonahwilliams
Copy link
Contributor

@jonahwilliams jonahwilliams commented Apr 25, 2024

Don't allocate a polyline (and resulting std::vectors) when performing convex tessellation. Instead use a listener pattern and iterate through path verbs.

@chinmaygarde
Copy link
Member

I don't think the goldens run till the sub-builds are done.

@jonahwilliams
Copy link
Contributor Author

It turns out they actually do, you can click into the flutter gold pending task and get a link:

https://flutter-engine-gold.skia.org/search?issue=52401&crs=github&patchsets=2&corpus=flutter-engine

This still has some bugs :)

@chinmaygarde
Copy link
Member

🤯

@jonahwilliams jonahwilliams requested a review from chinmaygarde May 1, 2024 16:57
@jonahwilliams
Copy link
Contributor Author

Working now! modulo CI issues

point_count += single_point_count;
}
auto polyline = path.CreatePolyline(
// Clang-tidy doesn't know that the points get moved back before
Copy link
Member

Choose a reason for hiding this comment

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

Oof, this is hard for me to follow lol. Thanks for the comment.

@jonahwilliams jonahwilliams added the autosubmit Merge PR when tree becomes green via auto submit App label May 2, 2024
@auto-submit auto-submit bot merged commit 0d5a79e into flutter:main May 2, 2024
engine-flutter-autoroll added a commit to engine-flutter-autoroll/flutter that referenced this pull request May 2, 2024
engine-flutter-autoroll added a commit to engine-flutter-autoroll/flutter that referenced this pull request May 2, 2024
auto-submit bot pushed a commit to flutter/flutter that referenced this pull request May 2, 2024
…147693)

flutter/engine@3087ec1...78dced5

2024-05-02 bdero@google.com et phone home (flutter/engine#52506)
2024-05-02 ditman@gmail.com [web] Expose browser_detection through ui_web. (flutter/engine#52380)
2024-05-02 jonahwilliams@google.com [Impeller] remove incremental allocation during filled path tessellation. (flutter/engine#52401)

If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/flutter-engine-flutter-autoroll
Please CC aaclarke@google.com,rmistry@google.com,zra@google.com on the revert to ensure that a human
is aware of the problem.

To file a bug in Flutter: https://github.com/flutter/flutter/issues/new/choose

To report a problem with the AutoRoller itself, please file a bug:
https://issues.skia.org/issues/new?component=1389291&template=1850622

Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md
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
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants