yuzu/src/video_core/renderer_vulkan
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
..
blit_image.cpp
blit_image.h
fixed_pipeline_state.cpp
fixed_pipeline_state.h
maxwell_to_vk.cpp renderer_vulkan: Accelerate ASTC decoding 2021-03-13 12:16:03 -05:00
maxwell_to_vk.h
renderer_vulkan.cpp perf_stats: Rework FPS counter to be more accurate 2021-05-15 20:34:20 -04:00
renderer_vulkan.h
vk_blit_screen.cpp
vk_blit_screen.h
vk_buffer_cache.cpp vk_buffer_cache: Fix offset for NULL vertex buffers 2021-04-11 10:34:52 +01:00
vk_buffer_cache.h
vk_command_pool.cpp
vk_command_pool.h
vk_compute_pass.cpp astc_decoder: Refactor for style and more efficient memory use 2021-03-25 16:53:51 -04:00
vk_compute_pass.h renderer_vulkan: Accelerate ASTC decoding 2021-03-13 12:16:03 -05:00
vk_compute_pipeline.cpp
vk_compute_pipeline.h
vk_descriptor_pool.cpp
vk_descriptor_pool.h
vk_fence_manager.cpp
vk_fence_manager.h
vk_graphics_pipeline.cpp
vk_graphics_pipeline.h
vk_master_semaphore.cpp common: Move settings to common from core. 2021-04-14 16:24:03 -07:00
vk_master_semaphore.h vk_master_semaphore: Deduplicate atomic access within IsFree() 2021-04-12 09:41:55 -04:00
vk_pipeline_cache.cpp
vk_pipeline_cache.h
vk_query_cache.cpp
vk_query_cache.h
vk_rasterizer.cpp common: Move settings to common from core. 2021-04-14 16:24:03 -07:00
vk_rasterizer.h renderer_vulkan: Accelerate ASTC decoding 2021-03-13 12:16:03 -05:00
vk_resource_pool.cpp
vk_resource_pool.h
vk_scheduler.cpp
vk_scheduler.h
vk_shader_decompiler.cpp
vk_shader_decompiler.h
vk_shader_util.cpp
vk_shader_util.h
vk_staging_buffer_pool.cpp
vk_staging_buffer_pool.h
vk_state_tracker.cpp
vk_state_tracker.h
vk_stream_buffer.cpp
vk_stream_buffer.h
vk_swapchain.cpp renderer_vulkan: Check return value of AcquireNextImage 2021-04-11 09:27:50 +01:00
vk_swapchain.h renderer_vulkan: Check return value of AcquireNextImage 2021-04-11 09:27:50 +01:00
vk_texture_cache.cpp vk_texture_cache: Swap R and B channels of color flipped format 2021-04-24 23:59:42 -04:00
vk_texture_cache.h astc_decoder: Reimplement Layers 2021-03-13 12:16:03 -05:00
vk_update_descriptor.cpp
vk_update_descriptor.h