1
0
mirror of https://github.com/ppy/osu.git synced 2024-09-23 18:47:28 +08:00
osu-lazer/osu.Game/Screens
Dean Herbert 3978d4babb Crop and disable mipmaps on beatmap panel backgrounds
This is an effort to improve general performance at song select. At
least on the metal renderer, I can notice very high draw frame overheads
related to texture uploads.

By reducing the size of the texture uploads to roughly match what is
actually being displayed on screen (using a relatively inexpensive crop
operation), we can bastly reduce stuttering both during initial load and
carousel scroll.

You might ask if it's safe to disable mipmapping, but I've tested with
lower resolutions and bilinear filtering seems to handle just fine.
Bilinear without mipmaps only falls apart when you scale below 50% and
we're not going too far past that at minimum game scale, if at all.
2023-06-08 16:51:07 +09:00
..
Backgrounds Refresh background on file change in editor 2023-01-06 19:26:30 +03:00
Edit Refactor IWorkingBeatmap.Background to GetBackground() 2023-06-08 16:19:32 +09:00
Import Merge branch 'master' into update-framework 2022-11-26 16:19:36 +01:00
Menu Update a few more instances of 0.96f scale constants 2023-05-03 18:20:12 +09:00
OnlinePlay Refactor IWorkingBeatmap.Background to GetBackground() 2023-06-08 16:19:32 +09:00
Play Refactor IWorkingBeatmap.Background to GetBackground() 2023-06-08 16:19:32 +09:00
Ranking Remove redundant nullable suppression directives 2023-06-07 08:20:41 +03:00
Select Crop and disable mipmaps on beatmap panel backgrounds 2023-06-08 16:51:07 +09:00
Spectate Partial everything 2022-11-27 00:00:27 +09:00
Utility Use generic Enum methods 2022-12-26 20:36:39 +01:00
BackgroundScreen.cs Partial everything 2022-11-27 00:00:27 +09:00
BackgroundScreenStack.cs Partial everything 2022-11-27 00:00:27 +09:00
IHandlePresentBeatmap.cs Automated #nullable processing 2022-06-17 16:37:17 +09:00
IHasSubScreenStack.cs Automated #nullable processing 2022-06-17 16:37:17 +09:00
IOsuScreen.cs Keep cursor hiding feature to gameplay screens for now 2022-10-20 03:44:58 +03:00
IPerformFromScreenRunner.cs Automated #nullable processing 2022-06-17 16:37:17 +09:00
Loader.cs Remove duplicate load rule from ShaderPrecompiler 2023-03-29 12:36:56 +09:00
OsuScreen.cs Remove OsuScreen.ApplyLogoArrivingDefaults() 2023-05-23 13:17:43 -07:00
OsuScreenDependencies.cs Automated #nullable processing 2022-06-17 16:37:17 +09:00
OsuScreenStack.cs Partial everything 2022-11-27 00:00:27 +09:00
ScorePresentType.cs Remove redundant nullable suppression directives 2023-06-07 08:20:41 +03:00
ScreenWhiteBox.cs Partial everything 2022-11-27 00:00:27 +09:00
StartupScreen.cs Partial everything 2022-11-27 00:00:27 +09:00