Skip to content
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

Add stroke_rectangle to canvas::Frame #2473

Merged
merged 2 commits into from
Sep 10, 2024
Merged

Conversation

vladh
Copy link
Contributor

@vladh vladh commented Jun 21, 2024

This method should be able to leverage performance improvements in lyon's tessellate_rectangle over tessellate_path.

Did some quick profiling, this seems to result in a 25% reduction in frame time.

vladh and others added 2 commits September 10, 2024 23:44
This method should be able to leverage performance improvements in lyon's
`tessellate_rectangle` over `tessellate_path`.
Copy link
Member

@hecrj hecrj left a comment

Choose a reason for hiding this comment

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

Sweet! Thanks 🎉

@hecrj hecrj added this to the 0.13 milestone Sep 10, 2024
@hecrj hecrj changed the title Add stroke_rectangle Add stroke_rectangle to canvas::Frame Sep 10, 2024
@hecrj hecrj merged commit 2a17afb into iced-rs:master Sep 10, 2024
12 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants