ppy / osu-framework

A game framework written with osu! in mind.
MIT License
1.67k stars 420 forks source link

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

Open peppy opened 1 month ago

peppy commented 1 month ago

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.

https://github.com/user-attachments/assets/727c1572-d38d-49ce-ba24-482fa27475b3