From 08d8965271a8ca03571d192b97a3fdf35c9eecc3 Mon Sep 17 00:00:00 2001 From: Ansariel Date: Mon, 28 Aug 2023 13:03:41 +0200 Subject: [PATCH] Fix debug setting name FSAutoTuneFPS -> AutoTuneFPS (and sync unused floater_performance.xml with upstream) --- indra/newview/app_settings/commands.xml | 2 +- .../default/xui/en/floater_performance.xml | 860 ++++++------------ 2 files changed, 292 insertions(+), 570 deletions(-) diff --git a/indra/newview/app_settings/commands.xml b/indra/newview/app_settings/commands.xml index 6c902f1eb2..186b544ba8 100644 --- a/indra/newview/app_settings/commands.xml +++ b/indra/newview/app_settings/commands.xml @@ -654,6 +654,6 @@ execute_parameters="performance" is_running_function="Floater.IsOpen" is_running_parameters="performance" - checkbox_control="FSAutoTuneFPS" + checkbox_control="AutoTuneFPS" /> diff --git a/indra/newview/skins/default/xui/en/floater_performance.xml b/indra/newview/skins/default/xui/en/floater_performance.xml index 30234a16a2..d1a1119f77 100644 --- a/indra/newview/skins/default/xui/en/floater_performance.xml +++ b/indra/newview/skins/default/xui/en/floater_performance.xml @@ -1,561 +1,98 @@ - + - - Frame: [TOT_FRAME_TIME]ms - Scenery:[SCENERY_FRAME_PCT]% Avatars:[AV_FRAME_PCT]% UI:[UI_FRAME_PCT]% HUDs:[HUDS_FRAME_PCT]% Swap:[SWAP_FRAME_PCT]% Tasks:[IDLE_FRAME_PCT]% - - - User Limited @ [FPSCAP] FPS - - - Target [FPSTARGET] FPS - - - [AV_FRAME_PCT]% - - - [HUDS_FRAME_PCT]% - - - In Background - - - Allow 5-10 seconds for changes to take effect. - - - Stats pause when FPS is limited or in background. - - - Total: [TOT_AV] ([TOT_AV_TIME]μs) - - - Total: [TOT_ATT] ([TOT_ATT_TIME]μs) - + height="642" + layout="topleft" + name="performance" + save_rect="true" + reuse_instance="true" + title="IMPROVE GRAPHICS SPEED" + width="580"> + + + bevel_style="none" + follows="left|top" + height="540" + width="580" + name="panel_top" + visible="true" + layout="topleft" + left="0" + top="0"> + bg_alpha_color="black" + background_visible="true" + background_opaque="false" + border="false" + bevel_style="none" + follows="left|top" + height="40" + width="560" + name="fps_subpanel" + layout="topleft" + left="10" + top="5"> + follows="left|top" + font="SansSerifHuge" + text_color="White" + height="20" + layout="topleft" + left="10" + top="8" + name="fps_value" + width="42"> 167 + follows="left|top" + font="SansSerifLarge" + text_color="White" + height="20" + layout="topleft" + left_pad="3" + top="13" + name="fps_lbl" + width="450"> frames per second User Limited @ 000 FPS + follows="left|top" + text_color="White" + height="20" + layout="topleft" + left="395" + top="7" + name="fps_desc1_lbl" + width="150"> + Allow 5-10 seconds for - Stats pause when FPS is limited or in background. + follows="left|top" + text_color="White" + height="20" + layout="topleft" + top_pad="-3" + name="fps_desc2_lbl" + width="150"> + changes to take full effect. - -[--------------------Frame breakdown will appear here.---------------------] - - - - - Auto Tune: - - - Target Frame Rate (fps) - - - - - - - - - - - Tuning Strategy - - - - - - - - - Graphics settings - - - Choose settings for distance, water, lighting and more. - - - - - - Avatars nearby - - - Manage which nearby avatars are fully displayed. - - -Time spent -drawing -avatars - - - 00% - - - - - - Your avatar complexity - - - Be a good citizen. Manage the impact of your avatar - - - - - - Your active HUDs - - - Removing unnecessary HUDs may improve speed. - - -Time spent -drawing -HUDs - - - 00% - - - + bevel_style="none" + follows="left|top" + height="540" + width="580" + name="panel_performance_main" + visible="true" + layout="topleft" + left="0" + top="60"> + + Auto-adjust settings (recommended) + + + Allow automatic adjustments to reach your preferred frame rate. + + + + + + Graphics settings + + + Choose settings for distance, water, lighting and more. + + + + - Preferred frame rate + width="205"> + Avatars nearby - Allow automatic adjustments to reach your preferred frame rate (advanced). + width="395"> + Manage which nearby avatars are fully displayed. + + + + + + Your avatar complexity + + + Reduce the complexity of your avatar if you aren't satisfied with current FPS. + + + + + + Your active HUDs + + + Removing HUDs you are not using can improve speed. + filename="panel_performance_nearby.xml" + follows="all" + layout="topleft" + left="0" + name="panel_performance_nearby" + visible="false" + top="55" /> + filename="panel_performance_complexity.xml" + follows="all" + layout="topleft" + left="0" + name="panel_performance_complexity" + visible="false" + top="55" /> + filename="panel_performance_preferences.xml" + follows="all" + layout="topleft" + left="0" + name="panel_performance_preferences" + visible="false" + top="55" />