yuzu-fork/src
ameerj 5bef54618a perf_stats: Rework FPS counter to be more accurate
The FPS counter was based on metrics in the nvdisp swapbuffers call. This metric would be accurate if the gpu thread/renderer were synchronous with the nvdisp service, but that's no longer the case.

This commit moves the frame counting responsibility onto the concrete renderers after their frame draw calls. Resulting in more meaningful metrics.
The displayed FPS is now made up of the average framerate between the previous and most recent update, in order to avoid distracting FPS counter updates when framerate is oscillating between close values.

The status bar update frequency was also changed from 2 seconds to 500ms.
2021-05-15 20:34:20 -04:00
..
audio_core common: Move settings to common from core. 2021-04-14 16:24:03 -07:00
common fixup! common: bit_util: Add BIT macro. 2021-05-05 16:40:54 -07:00
core perf_stats: Rework FPS counter to be more accurate 2021-05-15 20:34:20 -04:00
input_common input_common: Release mouse buttons on out of focus 2021-05-02 19:08:33 -05:00
tests common: Fiber: use a reference for YieldTo. 2021-03-07 13:46:53 -08:00
video_core perf_stats: Rework FPS counter to be more accurate 2021-05-15 20:34:20 -04:00
web_service web_service: follow-up fix to #4842 ... 2020-10-28 23:16:06 -06:00
yuzu perf_stats: Rework FPS counter to be more accurate 2021-05-15 20:34:20 -04:00
yuzu_cmd perf_stats: Rework FPS counter to be more accurate 2021-05-15 20:34:20 -04:00
.clang-format Remove special rules for Windows.h and library includes 2016-09-21 00:16:33 -07:00
CMakeLists.txt CMakeLists: Add /utf-8 compile option for MSVC 2021-03-05 01:46:56 -05:00