mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-09 00:11:24 +12:00
overlays: Performance Overlay
This commit is contained in:
parent
c2e17d04e1
commit
c8d8a81ccd
7 changed files with 330 additions and 21 deletions
|
@ -355,6 +355,16 @@ namespace rsx
|
|||
if (supports_native_ui)
|
||||
{
|
||||
m_overlay_manager = fxm::make_always<rsx::overlays::display_manager>();
|
||||
|
||||
if (g_cfg.video.perf_overlay.perf_overlay_enabled)
|
||||
{
|
||||
auto perf_overlay = m_overlay_manager->create<rsx::overlays::perf_metrics_overlay>(false);
|
||||
|
||||
perf_overlay->set_detail_level(g_cfg.video.perf_overlay.level);
|
||||
perf_overlay->set_update_interval(g_cfg.video.perf_overlay.update_interval);
|
||||
perf_overlay->set_font_size(g_cfg.video.perf_overlay.font_size);
|
||||
perf_overlay->init();
|
||||
}
|
||||
}
|
||||
|
||||
on_init_thread();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue