suyu/src/video_core/renderer_opengl
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
..
gl_arb_decompiler.cpp video_core: Make use of ordered container contains() where applicable 2020-12-07 16:30:39 -05:00
gl_arb_decompiler.h gl_arb_decompiler: Implement an assembly shader decompiler 2020-06-11 22:12:07 -03:00
gl_buffer_cache.cpp buffer_cache: Heuristically decide to skip cache on uniform buffers 2021-03-02 02:44:19 -03:00
gl_buffer_cache.h renderer_opengl: Remove interop 2021-02-13 02:18:04 -03:00
gl_device.cpp common: Move settings to common from core. 2021-04-14 16:24:03 -07:00
gl_device.h Implement glDepthRangeIndexeddNV 2021-02-24 22:26:53 +00:00
gl_fence_manager.cpp video_core: Reimplement the buffer cache 2021-02-13 02:17:22 -03:00
gl_fence_manager.h video_core: Reimplement the buffer cache 2021-02-13 02:17:22 -03:00
gl_query_cache.cpp video_core: Resolve more variable shadowing scenarios pt.3 2020-12-05 16:02:23 -05:00
gl_query_cache.h video_core: Resolve more variable shadowing scenarios pt.3 2020-12-05 16:02:23 -05:00
gl_rasterizer.cpp hle: kernel: Rename Process to KProcess. 2021-05-05 16:40:52 -07:00
gl_rasterizer.h renderer_opengl: Remove interop 2021-02-13 02:18:04 -03:00
gl_resource_manager.cpp video_core: Reimplement the buffer cache 2021-02-13 02:17:22 -03:00
gl_resource_manager.h video_core: Reimplement the buffer cache 2021-02-13 02:17:22 -03:00
gl_shader_cache.cpp gl_disk_shader_cache: Log total shader entries count on game load 2021-02-20 11:08:19 -05:00
gl_shader_cache.h video_core: Resolve more variable shadowing scenarios pt.3 2020-12-05 16:02:23 -05:00
gl_shader_decompiler.cpp video_core: Reimplement the buffer cache 2021-02-13 02:17:22 -03:00
gl_shader_decompiler.h video_core: Reimplement the buffer cache 2021-02-13 02:17:22 -03:00
gl_shader_disk_cache.cpp hle: kernel: Rename Process to KProcess. 2021-05-05 16:40:52 -07:00
gl_shader_disk_cache.h video_core: Remove all Core::System references in renderer 2020-09-06 05:28:48 -03:00
gl_shader_manager.cpp video_core: Rewrite the texture cache 2020-12-30 03:38:50 -03:00
gl_shader_manager.h video_core: Rewrite the texture cache 2020-12-30 03:38:50 -03:00
gl_shader_util.cpp gl_shader_util: Use std::string_view instead of star pointer 2020-08-23 21:23:54 -03:00
gl_shader_util.h gl_shader_util: Use std::string_view instead of star pointer 2020-08-23 21:23:54 -03:00
gl_state_tracker.cpp video_core: Reimplement the buffer cache 2021-02-13 02:17:22 -03:00
gl_state_tracker.h video_core: Reimplement the buffer cache 2021-02-13 02:17:22 -03:00
gl_stream_buffer.cpp gl_stream_buffer/vk_staging_buffer_pool: Fix size check 2021-02-13 05:11:48 -03:00
gl_stream_buffer.h video_core: Reimplement the buffer cache 2021-02-13 02:17:22 -03:00
gl_texture_cache.cpp astc_decoder: Refactor for style and more efficient memory use 2021-03-25 16:53:51 -04:00
gl_texture_cache.h renderer_opengl: Accelerate ASTC texture decoding with a compute shader 2021-03-13 12:16:03 -05:00
maxwell_to_gl.h maxwell_to_gl: Remove unused code 2021-02-12 23:01:09 -05:00
renderer_opengl.cpp perf_stats: Rework FPS counter to be more accurate 2021-05-15 20:34:20 -04:00
renderer_opengl.h renderer_opengl: Remove interop 2021-02-13 02:18:04 -03:00
util_shaders.cpp astc_decoder: Refactor for style and more efficient memory use 2021-03-25 16:53:51 -04:00
util_shaders.h astc_decoder: Refactor for style and more efficient memory use 2021-03-25 16:53:51 -04:00