-
Notifications
You must be signed in to change notification settings - Fork 6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Impeller] remove incremental allocation during filled path tessellation. #52401
[Impeller] remove incremental allocation during filled path tessellation. #52401
Conversation
I don't think the goldens run till the sub-builds are done. |
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 :) |
🤯 |
…sellation_allocation
…hwilliams/engine into remove_fill_tessellation_allocation
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 |
There was a problem hiding this comment.
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.
…147693) flutter/engine@3087ec1...78dced5 2024-05-02 [email protected] et phone home (flutter/engine#52506) 2024-05-02 [email protected] [web] Expose browser_detection through ui_web. (flutter/engine#52380) 2024-05-02 [email protected] [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 [email protected],[email protected],[email protected] 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
This was about a 10% reduction in |
Don't allocate a polyline (and resulting std::vectors) when performing convex tessellation. Instead use a listener pattern and iterate through path verbs.