1
0
mirror of https://github.com/ppy/osu.git synced 2024-11-12 04:40:07 +08:00
osu-lazer/osu.Game/Screens/Select/Carousel
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
..
CarouselBeatmap.cs Move filter matching code into own method to simplify early returns 2023-03-07 17:24:17 +09:00
CarouselBeatmapSet.cs Use nullable comparison helper method instead of manual implementation 2023-03-06 15:16:32 +09:00
CarouselGroup.cs remove unnecessary usages of nullable forgiveness, add asserts for debugging 2023-01-09 18:36:55 +01:00
CarouselGroupEagerSelect.cs Remove nullable disabling in carousel 2023-01-08 19:02:48 +01:00
CarouselHeader.cs Refactor HoverSampleDebounceComponent to inherit Component 2023-02-03 00:29:25 -08:00
CarouselItem.cs Remove boxing overhead in CarouselItem comparator 2023-01-10 18:35:06 +01:00
DrawableCarouselBeatmap.cs Move to base class for added safety 2023-05-03 18:46:30 +09:00
DrawableCarouselBeatmapSet.cs Add comment explaining implementation 2023-06-06 13:30:56 +09:00
DrawableCarouselItem.cs Move to base class for added safety 2023-05-03 18:46:30 +09:00
FilterableDifficultyIcon.cs Remove nullable disabling in carousel 2023-01-08 19:02:48 +01:00
GroupedDifficultyIcon.cs Remove nullable disabling in carousel 2023-01-08 19:02:48 +01:00
SetPanelBackground.cs Crop and disable mipmaps on beatmap panel backgrounds 2023-06-08 16:51:07 +09:00
SetPanelContent.cs Fix intermittent failure in certain beatmap carousel tests 2023-01-13 19:41:44 +03:00
TopLocalRank.cs Update reference 2023-02-07 11:52:47 +03:00
UpdateBeatmapSetButton.cs Partial everything 2022-11-27 00:00:27 +09:00
UpdateLocalConfirmationDialog.cs make ResetConfirmDialog properly utilise its parent's logic 2023-03-05 20:57:26 +01:00