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

Optimize sliders #269

Merged
merged 7 commits into from
Apr 14, 2022
Merged

Optimize sliders #269

merged 7 commits into from
Apr 14, 2022

Conversation

Flutterish
Copy link
Collaborator

Optimized slider drawing speed by (copy pasting o!f path code and) removing the frame buffer, caching the smoothing texture. The newly added test scene (Objects/Sliders) tests the performance of 100 sliders, which went down from 600ms to 5ms per frame on my setup.
Also improved path generation code to consider high frequency details.

(you will need to autoformat the code, no .editorconfig)

Copy link
Member

@naoei naoei left a comment

Choose a reason for hiding this comment

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

LGTM

@naoei naoei merged commit 99e028b into taulazer:overhaul Apr 14, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants