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

Buffered container currently reallocates its backing texture every time it's resized #6400

Open
peppy opened this issue Oct 25, 2024 · 0 comments

Comments

@peppy
Copy link
Member

peppy commented Oct 25, 2024

Noticed that in the blur transition to Player we have three textures which are constantly resizing. This is potentially causing a large amount of memory churn and potentially leading to performance issues for some users.

osu.2024-10-25.at.10.15.03.mp4
  • We likely want to never shrink a backing textures so once they reach their largest usage, there is no overhead.
  • We may want to also use power-of-two backing textures to reduce per-frame churn.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant