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

Improve PathControlPointVisualiser performance #28102

Merged
merged 2 commits into from
May 5, 2024

Conversation

EVAST9919
Copy link
Contributor

More changes regarding #21495.

cf313cd: PathControlPointPiece is a single path now. Less drawables to create/maintain (way faster selection and less memory usage), less total textures (less drawcalls). Win win across the board. Yes, now we have bigger texture to redraw, but we are doing that with sliders anyway. Though I think a custom drawable can be implemented here, but that's for another day.

e319a3e: in majority of cases all the control points are within the visible area so masking updates can be avoided.

master cf313cd e319a3e
master single-path masking

Copy link
Contributor

@smoogipoo smoogipoo left a comment

Choose a reason for hiding this comment

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

Nice!

@smoogipoo smoogipoo merged commit 25f5726 into ppy:master May 5, 2024
11 of 17 checks passed
@EVAST9919 EVAST9919 deleted the editor-path branch May 5, 2024 07:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants