From 9f62ef6cb34ebc91aa82715ce8b036c0af7affef Mon Sep 17 00:00:00 2001 From: mobserveur Date: Fri, 5 Jul 2024 20:13:59 +0200 Subject: Tuning floater and buffer mapping improvements This commit adds the tuning floater accessible via the fps button, and improvements to the buffer mapping optimisation modes. --- indra/newview/app_settings/settings.xml | 28 ++++++ indra/newview/llstatusbar.cpp | 13 ++- indra/newview/llstatusbar.h | 4 +- indra/newview/llviewerfloaterreg.cpp | 4 + indra/newview/mpvfloatertuning.cpp | 90 ++++++++++++++++++ indra/newview/mpvfloatertuning.h | 48 ++++++++++ .../default/xui/en/floater_mpv_performance.xml | 104 +++++++++++++++++++++ .../skins/default/xui/en/panel_status_bar.xml | 20 ++-- 8 files changed, 298 insertions(+), 13 deletions(-) create mode 100644 indra/newview/mpvfloatertuning.cpp create mode 100644 indra/newview/mpvfloatertuning.h create mode 100644 indra/newview/skins/default/xui/en/floater_mpv_performance.xml (limited to 'indra/newview') diff --git a/indra/newview/app_settings/settings.xml b/indra/newview/app_settings/settings.xml index 00c7eae9bc..81b35359be 100644 --- a/indra/newview/app_settings/settings.xml +++ b/indra/newview/app_settings/settings.xml @@ -13485,6 +13485,17 @@ Value 0 + MaxFPS + + Comment + FPS Limiter. + Persist + 1 + Type + U32 + Value + 0 + ZoomDirect Comment @@ -13744,6 +13755,23 @@ 12 + + + MPVBufferOptiMode + + Comment + + OpenGL buffer mapping mode: + 0:auto, 1:normal, 2:optimised, 3:unsynchronized. + Persist + 1 + Type + U32 + Value + 0 + + +