1
0
mirror of https://github.com/ppy/osu.git synced 2024-09-22 06:47:24 +08:00
osu-lazer/osu.Game/Graphics/UserInterface
Dean Herbert 2dd99ef1fd Refactor FPSCounter to not use scheduled tasks
While on the surface this looks harmless (ignoring allocations),
`Scheduler` doesn't clear cancelled tasks until they reach their
execution time. This can cause an increase in time spent processing the
scheduler itself.

I don't think a per-frame updating component should use scheduled tasks
in this way in the first place, so I've just rewritten the logic to
avoid that overhead altogether.
2022-07-25 16:26:48 +09:00
..
PageSelector Automated #nullable processing 2022-06-17 16:37:17 +09:00
BackButton.cs Automated #nullable processing 2022-06-17 16:37:17 +09:00
Bar.cs Automated #nullable processing 2022-06-17 16:37:17 +09:00
BarGraph.cs Update parameter discards 2022-06-24 21:26:19 +09:00
BasicSearchTextBox.cs Automated #nullable processing 2022-06-17 16:37:17 +09:00
BreadcrumbControl.cs Automated #nullable processing 2022-06-17 16:37:17 +09:00
CommaSeparatedScoreCounter.cs Automated #nullable processing 2022-06-17 16:37:17 +09:00
DangerousTriangleButton.cs Automated #nullable processing 2022-06-17 16:37:17 +09:00
DialogButton.cs Automated #nullable processing 2022-06-17 16:37:17 +09:00
DownloadButton.cs Automated #nullable processing 2022-06-17 16:37:17 +09:00
DrawableOsuMenuItem.cs Automated #nullable processing 2022-06-17 16:37:17 +09:00
DrawableStatefulMenuItem.cs Automated #nullable processing 2022-06-17 16:37:17 +09:00
ExpandableSlider.cs Automated #nullable processing 2022-06-17 16:37:17 +09:00
ExpandingBar.cs Automated #nullable processing 2022-06-17 16:37:17 +09:00
ExternalLinkButton.cs Automated #nullable processing 2022-06-17 16:37:17 +09:00
FocusedTextBox.cs Automated #nullable processing 2022-06-17 16:37:17 +09:00
FPSCounter.cs Refactor FPSCounter to not use scheduled tasks 2022-07-25 16:26:48 +09:00
FPSCounterTooltip.cs Improve tooltip display when running single thread 2022-07-21 12:06:22 +09:00
GradientLineTabControl.cs Automated #nullable processing 2022-06-17 16:37:17 +09:00
GrayButton.cs Automated #nullable processing 2022-06-17 16:37:17 +09:00
HoverClickSounds.cs Automated #nullable processing 2022-06-17 16:37:17 +09:00
HoverSampleDebounceComponent.cs Automated #nullable processing 2022-06-17 16:37:17 +09:00
HoverSampleSet.cs Automated #nullable processing 2022-06-17 16:37:17 +09:00
HoverSounds.cs Automated #nullable processing 2022-06-17 16:37:17 +09:00
IconButton.cs Automated #nullable processing 2022-06-17 16:37:17 +09:00
LineGraph.cs Automated #nullable processing 2022-06-17 16:37:17 +09:00
LoadingButton.cs Automated #nullable processing 2022-06-17 16:37:17 +09:00
LoadingLayer.cs Update parameter discards 2022-06-24 21:26:19 +09:00
LoadingSpinner.cs Automated #nullable processing 2022-06-17 16:37:17 +09:00
MenuItemType.cs Automated #nullable processing 2022-06-17 16:37:17 +09:00
Nub.cs Display difficulty on nub 2022-07-01 15:17:26 +09:00
OsuAnimatedButton.cs Automated #nullable processing 2022-06-17 16:37:17 +09:00
OsuButton.cs Automated #nullable processing 2022-06-17 16:37:17 +09:00
OsuCheckbox.cs Automated #nullable processing 2022-06-17 16:37:17 +09:00
OsuContextMenu.cs Automated #nullable processing 2022-06-17 16:37:17 +09:00
OsuContextMenuSamples.cs Automated #nullable processing 2022-06-17 16:37:17 +09:00
OsuDropdown.cs Automated #nullable processing 2022-06-17 16:37:17 +09:00
OsuEnumDropdown.cs Automated #nullable processing 2022-06-17 16:37:17 +09:00
OsuMenu.cs Automated #nullable processing 2022-06-17 16:37:17 +09:00
OsuMenuItem.cs Automated #nullable processing 2022-06-17 16:37:17 +09:00
OsuNumberBox.cs Automated #nullable processing 2022-06-17 16:37:17 +09:00
OsuPasswordTextBox.cs Automated #nullable processing 2022-06-17 16:37:17 +09:00
OsuSliderBar.cs Fix OsuSliderBar throwing on negative draw width 2022-07-24 08:34:24 +03:00
OsuTabControl.cs Automated #nullable processing 2022-06-17 16:37:17 +09:00
OsuTabControlCheckbox.cs Automated #nullable processing 2022-06-17 16:37:17 +09:00
OsuTabDropdown.cs Automated #nullable processing 2022-06-17 16:37:17 +09:00
OsuTextBox.cs Automated #nullable processing 2022-06-17 16:37:17 +09:00
PageTabControl.cs Automated #nullable processing 2022-06-17 16:37:17 +09:00
PercentageCounter.cs Automated #nullable processing 2022-06-17 16:37:17 +09:00
ProgressBar.cs Automated #nullable processing 2022-06-17 16:37:17 +09:00
RollingCounter.cs Automated #nullable processing 2022-06-17 16:37:17 +09:00
ScoreCounter.cs Automated #nullable processing 2022-06-17 16:37:17 +09:00
ScreenBreadcrumbControl.cs Automated #nullable processing 2022-06-17 16:37:17 +09:00
SearchTextBox.cs Automated #nullable processing 2022-06-17 16:37:17 +09:00
SeekLimitedSearchTextBox.cs Automated #nullable processing 2022-06-17 16:37:17 +09:00
SelectionState.cs Automated #nullable processing 2022-06-17 16:37:17 +09:00
ShearedButton.cs Automated #nullable processing 2022-06-17 16:37:17 +09:00
ShearedOverlayHeader.cs Automated #nullable processing 2022-06-17 16:37:17 +09:00
ShearedSearchTextBox.cs Automated #nullable processing 2022-06-17 16:37:17 +09:00
ShearedToggleButton.cs Remove unnecessary null casts 2022-06-24 14:50:11 +09:00
ShowMoreButton.cs Automated #nullable processing 2022-06-17 16:37:17 +09:00
SlimEnumDropdown.cs Automated #nullable processing 2022-06-17 16:37:17 +09:00
StarCounter.cs Update parameter discards 2022-06-24 21:26:19 +09:00
StatefulMenuItem.cs Automated #nullable processing 2022-06-17 16:37:17 +09:00
TernaryState.cs Automated #nullable processing 2022-06-17 16:37:17 +09:00
TernaryStateMenuItem.cs Automated #nullable processing 2022-06-17 16:37:17 +09:00
TernaryStateRadioMenuItem.cs Automated #nullable processing 2022-06-17 16:37:17 +09:00
TernaryStateToggleMenuItem.cs Automated #nullable processing 2022-06-17 16:37:17 +09:00
TimeSlider.cs Automated #nullable processing 2022-06-17 16:37:17 +09:00
ToggleMenuItem.cs Remove unnecessary null casts 2022-06-24 14:50:11 +09:00
TriangleButton.cs Automated #nullable processing 2022-06-17 16:37:17 +09:00
TwoLayerButton.cs Automated #nullable processing 2022-06-17 16:37:17 +09:00