1
0
Fork 0
forked from suyu/suyu
suyu/src/yuzu
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
..
applets applets/web: Fix a use-after-free when passing in the URL string 2021-04-28 12:34:28 -04:00
configuration configure_ui: Call RequestGameListUpdate when toggling "Show Add-Ons Column" 2021-05-10 18:49:30 +02:00
debugger hle: kernel: Migrate to KHandleTable. 2021-05-05 16:40:53 -07:00
util overlay_dialog: Add an overlay text dialog that accepts controller input 2021-04-15 01:53:17 -04:00
about_dialog.cpp Addressed feedback: switched to snake case and fixed clang-format errors 2020-04-07 22:59:09 +02:00
about_dialog.h qt: Add missing override specifiers where applicable 2018-08-06 13:29:14 -04:00
aboutdialog.ui ui/themes: Cleanup UI 2020-11-15 23:33:19 -05:00
bootmanager.cpp hle: kernel: Rename Process to KProcess. 2021-05-05 16:40:52 -07:00
bootmanager.h inputCommon: Mouse fixes 2021-02-27 17:53:10 -06:00
CMakeLists.txt applets/swkbd: Implement the Qt Software Keyboard frontend 2021-04-15 01:53:17 -04:00
compatdb.cpp general: Fix various spelling errors 2021-01-02 10:23:41 -05:00
compatdb.h compatdb: Use a seperate endpoint for testcase submission 2018-10-28 13:23:02 +01:00
compatdb.ui Port web_service from Citra 2018-10-02 15:30:48 +02:00
compatibility_list.cpp yuzu: Move compatibility list specifics to their own source files 2018-09-09 19:45:25 -04:00
compatibility_list.h yuzu: Move compatibility list specifics to their own source files 2018-09-09 19:45:25 -04:00
discord.h Port web_service from Citra 2018-10-02 15:30:48 +02:00
discord_impl.cpp yuzu/discord_impl: Update the applicationID (#3977) 2020-05-22 18:26:26 +02:00
discord_impl.h Address a bunch of review comments 2018-10-02 15:30:48 +02:00
game_list.cpp Merge pull request #6263 from Kewlan/folder-swap-expand-state 2021-05-02 07:43:45 -04:00
game_list.h game_list: Mark games as favorite to make them appear at the top. 2021-04-15 07:15:42 +02:00
game_list_p.h game_list: Update filter results when removing directories 2021-04-30 00:05:23 +02:00
game_list_worker.cpp patch_manager: Remove usages of the global system instance 2020-11-18 09:36:48 -05:00
game_list_worker.h yuzu/game_list_worker: Silence warnings 2019-10-04 23:41:22 +00:00
hotkeys.cpp yuzu/CMakeLists: Remove qt5_wrap_ui macro usage 2019-08-09 17:54:08 -04:00
hotkeys.h yuzu/hotkeys: Remove unnecessary constructor 2019-05-09 02:17:22 -04:00
Info.plist macOS: Update Info.plist 2018-01-13 23:11:51 +00:00
install_dialog.cpp Update the install and progress dialogs 2020-07-10 00:38:28 -04:00
install_dialog.h install_dialog: Make use of [[nodiscard]] where applicable 2020-09-23 13:22:04 -04:00
loading_screen.cpp frontend: Set minimum window size to 640x360 instead of 1280x720 (#3413) 2020-05-15 22:22:27 +02:00
loading_screen.h Fix mingw compile error and warnings 2019-01-21 09:39:45 -07:00
loading_screen.ui QT: Fix the loading screen 'H' switch logo to not glitch out 2019-02-05 18:24:15 -07:00
main.cpp perf_stats: Rework FPS counter to be more accurate 2021-05-15 20:34:20 -04:00
main.h applets/web: Fix a use-after-free when passing in the URL string 2021-04-28 12:34:28 -04:00
main.ui yuzu: Various frontend improvements to avoid crashes and improve experience on Linux. 2021-02-14 00:20:41 -08:00
uisettings.cpp Project Mjölnir: Part 1 2020-08-26 02:32:32 -04:00
uisettings.h game_list: Mark games as favorite to make them appear at the top. 2021-04-15 07:15:42 +02:00
yuzu.qrc yuzu: Various frontend improvements to avoid crashes and improve experience on Linux. 2021-02-14 00:20:41 -08:00
yuzu.rc Fix: fatal error CVT1100 when compiling manifest file 2020-06-21 03:11:23 +02:00