summaryrefslogtreecommitdiff
path: root/indra/newview/skins/default
diff options
context:
space:
mode:
authorMnikolenko Productengine <mnikolenko@productengine.com>2021-06-18 18:36:15 +0300
committerMnikolenko Productengine <mnikolenko@productengine.com>2021-06-18 18:36:15 +0300
commit3fe7715197c1e9a4ae781201df7a9ec24354f15e (patch)
tree82782546951bd1365532b4dd171ef96be24d5123 /indra/newview/skins/default
parentbc609f964b13141301aca9d29b9ceb5f9a541bf9 (diff)
SL-15297 WIP Implement performance floater - Quick and Individual settings panels
Diffstat (limited to 'indra/newview/skins/default')
-rw-r--r--indra/newview/skins/default/xui/en/floater_performance.xml10
-rw-r--r--indra/newview/skins/default/xui/en/panel_performance_nearby.xml2
-rw-r--r--indra/newview/skins/default/xui/en/panel_performance_preferences.xml255
-rw-r--r--indra/newview/skins/default/xui/en/panel_performance_presets.xml223
4 files changed, 425 insertions, 65 deletions
diff --git a/indra/newview/skins/default/xui/en/floater_performance.xml b/indra/newview/skins/default/xui/en/floater_performance.xml
index 09af364266..e415ac5be0 100644
--- a/indra/newview/skins/default/xui/en/floater_performance.xml
+++ b/indra/newview/skins/default/xui/en/floater_performance.xml
@@ -194,7 +194,7 @@
text_color="PerformanceMid"
height="20"
layout="topleft"
- left_pad="5"
+ left_pad="2"
name="avatars_nearby_value"
width="100">
very high
@@ -383,6 +383,14 @@
</panel>
</panel>
<panel
+ filename="panel_performance_presets.xml"
+ follows="all"
+ layout="topleft"
+ left="0"
+ name="panel_performance_presets"
+ visible="false"
+ top="55" />
+ <panel
filename="panel_performance_troubleshooting.xml"
follows="all"
layout="topleft"
diff --git a/indra/newview/skins/default/xui/en/panel_performance_nearby.xml b/indra/newview/skins/default/xui/en/panel_performance_nearby.xml
index 28ffbd5c2e..9d91e86b7a 100644
--- a/indra/newview/skins/default/xui/en/panel_performance_nearby.xml
+++ b/indra/newview/skins/default/xui/en/panel_performance_nearby.xml
@@ -46,7 +46,7 @@
</text>
<text
follows="left|top"
- font="SansSerifLargeBold"
+ font="SansSerifLarge"
text_color="PerformanceMid"
height="20"
layout="topleft"
diff --git a/indra/newview/skins/default/xui/en/panel_performance_preferences.xml b/indra/newview/skins/default/xui/en/panel_performance_preferences.xml
index aaa27061e3..ec1b624f13 100644
--- a/indra/newview/skins/default/xui/en/panel_performance_preferences.xml
+++ b/indra/newview/skins/default/xui/en/panel_performance_preferences.xml
@@ -2,7 +2,7 @@
<panel
bevel_style="none"
follows="left|top"
- height="490"
+ height="510"
width="580"
name="panel_performance_preferences"
layout="topleft"
@@ -35,37 +35,33 @@
<text
follows="left|top"
font="SansSerifLarge"
- text_color="PerformanceMid"
+ text_color="white"
height="20"
layout="topleft"
left="20"
top_pad="10"
- name="preferences_title"
+ name="settings_title"
width="300">
- This location is very complex
+ Individual settings
</text>
+ <view_border
+ bevel_style="in"
+ height="0"
+ layout="topleft"
+ name="border1"
+ top_pad="8"
+ width="540"/>
<text
follows="left|top"
font="SansSerifSmall"
text_color="White"
height="18"
layout="topleft"
- top_pad="5"
- name="preferences_desc"
- width="580">
- While you are here, you may want to reduce graphics quality or draw distance.
- </text>
-
- <text
- follows="left|top"
- font="SansSerifSmall"
- text_color="White"
- height="18"
- layout="topleft"
- top_pad="35"
+ top_pad="20"
name="quality_lbl"
width="100">
Graphics quality
+shortcuts
</text>
<text
follows="left|top"
@@ -111,43 +107,31 @@
text_color="White"
height="18"
layout="topleft"
- top_pad="40"
- left="20"
- name="enhancements_lbl"
- width="100">
- Enhancements
+ top_pad="15"
+ left="160"
+ name="quality_desc"
+ width="380">
+ Choosing a shortcut will reset all manual changes you have made.
</text>
- <check_box
- control_name="WindLightUseAtmosShaders"
- height="16"
- initial_value="true"
- label="Atmospheric shaders"
+ <view_border
+ bevel_style="in"
+ height="0"
layout="topleft"
- name="atmospheric_shaders"
- left_pad="37"
- width="280">
- </check_box>
- <check_box
- control_name="RenderDeferred"
- height="16"
- initial_value="true"
- label="Advanced Lighting Model"
- layout="topleft"
- name="advanced_lighting_model"
- top_delta="24"
- width="256">
- </check_box>
+ name="border2"
+ top_pad="15"
+ left="20"
+ width="540"/>
<text
follows="left|top"
font="SansSerifSmall"
text_color="White"
height="18"
layout="topleft"
- top_pad="40"
+ top_pad="20"
left="20"
name="distance_lbl"
width="100">
- Draw distance
+ Visibility distance
</text>
<text
follows="left|top"
@@ -205,11 +189,11 @@
text_color="White"
height="18"
layout="topleft"
- top_pad="20"
+ top_pad="15"
left="160"
name="distance_desc1"
- width="100">
- Regions are 256 m x 256 m.
+ width="350">
+ To zoom out and see long distances, increase the distance.
</text>
<text
follows="left|top"
@@ -220,38 +204,183 @@
top_pad="5"
left="160"
name="distance_desc2"
- width="400">
- To zoom out and see long distances, increase the draw distance.
+ width="350">
+ If you are indoors, decrease the distance to improve speed.
</text>
+ <view_border
+ bevel_style="in"
+ height="0"
+ layout="topleft"
+ name="border3"
+ top_pad="15"
+ left="20"
+ width="540"/>
<text
follows="left|top"
font="SansSerifSmall"
text_color="White"
height="18"
layout="topleft"
- top_pad="5"
+ top_pad="20"
+ left="20"
+ name="enhancements_lbl"
+ width="100">
+ Enhancements
+ </text>
+ <text
+ follows="left|top"
+ font="SansSerifSmall"
+ text_color="White"
+ height="18"
+ layout="topleft"
+ top_delta="0"
left="160"
- name="distance_desc3"
- width="400">
- If you are socializing in a small area, decrease the draw distance.
+ name="enhancements_desc"
+ width="350">
+ Each enhancement improves realism but can reduce speed.
</text>
- <button
- follows="top|left"
- height="23"
- label="Reset to recommended settings"
+ <check_box
+ control_name="WindLightUseAtmosShaders"
+ height="16"
+ initial_value="true"
+ label="Atmospheric shaders"
+ layout="topleft"
+ name="atmospheric_shaders"
+ top_pad="5"
+ left="157"
+ width="280">
+ </check_box>
+ <check_box
+ control_name="RenderDeferred"
+ height="16"
+ initial_value="true"
+ label="Advanced Lighting"
+ layout="topleft"
+ name="advanced_lighting_model"
+ top_delta="24"
+ width="280">
+ </check_box>
+ <check_box
+ control_name="RenderTransparentWater"
+ height="16"
+ initial_value="true"
+ label="Transparent Water"
+ layout="topleft"
+ name="TransparentWater"
+ top_delta="24"
+ width="280">
+ </check_box>
+ <text
+ type="string"
+ length="1"
+ follows="left|top"
+ height="16"
+ layout="topleft"
+ name="ReflectionsText"
+ text_readonly_color="LabelDisabledColor"
+ top_pad="16"
+ left="160"
+ width="128">
+ Water Reflections:
+ </text>
+ <combo_box
+ control_name="RenderReflectionDetail"
+ height="18"
+ layout="topleft"
+ left_delta="150"
+ top_delta="0"
+ name="Reflections"
+ width="150">
+ <combo_box.item
+ label="None; opaque"
+ name="0"
+ value="-2"/>
+ <combo_box.item
+ label="None; transparent"
+ name="0"
+ value="-1"/>
+ <combo_box.item
+ label="Minimal"
+ name="0"
+ value="0"/>
+ <combo_box.item
+ label="Terrain and trees"
+ name="1"
+ value="1"/>
+ <combo_box.item
+ label="All static objects"
+ name="2"
+ value="2"/>
+ <combo_box.item
+ label="All avatars and objects"
+ name="3"
+ value="3"/>
+ <combo_box.item
+ label="Everything"
+ name="4"
+ value="4"/>
+ </combo_box>
+ <text
+ type="string"
+ length="1"
+ follows="left|top"
+ height="16"
layout="topleft"
+ left="160"
+ name="RenderShadowDetailText"
+ text_readonly_color="LabelDisabledColor"
+ top_pad="10"
+ width="128">
+ Shadows:
+ </text>
+ <combo_box
+ control_name="RenderShadowDetail"
+ height="18"
+ layout="topleft"
+ left_delta="150"
+ top_delta="0"
+ name="ShadowDetail"
+ width="150">
+ <combo_box.item
+ label="None"
+ name="0"
+ value="0"/>
+ <combo_box.item
+ label="Sun/Moon"
+ name="1"
+ value="1"/>
+ <combo_box.item
+ label="Sun/Moon + Projectors"
+ name="2"
+ value="2"/>
+ </combo_box>
+ <text
+ follows="left|top"
+ font="SansSerifSmall"
+ height="18"
+ layout="topleft"
+ top_pad="8"
+ left="160"
+ skip_link_underline="true"
+ name="settings_help"
+ width="350">
+ [secondlife:/// What do these settings mean?]
+ </text>
+ <view_border
+ bevel_style="in"
+ height="0"
+ layout="topleft"
+ name="border3"
+ top_pad="10"
left="20"
- name="defaults_btn"
- top_delta="50"
- width="210">
- </button>
+ width="540"/>
<button
follows="top|left"
height="23"
- label="Advanced Settings..."
+ label="Open Advanced Settings"
layout="topleft"
- left_pad="10"
+ left="160"
name="advanced_btn"
- top_delta="0"
+ top_pad="12"
width="200"/>
</panel>
diff --git a/indra/newview/skins/default/xui/en/panel_performance_presets.xml b/indra/newview/skins/default/xui/en/panel_performance_presets.xml
new file mode 100644
index 0000000000..51516020a2
--- /dev/null
+++ b/indra/newview/skins/default/xui/en/panel_performance_presets.xml
@@ -0,0 +1,223 @@
+<?xml version="1.0" encoding="utf-8" standalone="yes" ?>
+<panel
+ bevel_style="none"
+ follows="left|top"
+ height="490"
+ width="580"
+ name="panel_performance_presets"
+ layout="topleft"
+ left="0"
+ top="0">
+ <button
+ height="16"
+ width="16"
+ layout="topleft"
+ mouse_opaque="true"
+ follows="left|top"
+ name="back_btn"
+ top="7"
+ image_selected="Arrow_Left_Off"
+ image_pressed="Arrow_Left_Off"
+ image_unselected="Arrow_Left_Off"
+ left="15"
+ is_toggle="true">
+ </button>
+ <text
+ follows="left|top"
+ height="20"
+ layout="topleft"
+ left_pad="3"
+ top="10"
+ name="back_lbl"
+ width="40">
+ Back
+ </text>
+ <text
+ follows="left|top"
+ font="SansSerifLarge"
+ text_color="White"
+ height="20"
+ layout="topleft"
+ left="20"
+ top_pad="10"
+ name="presets_title"
+ width="300">
+ Quick settings
+ </text>
+ <text
+ follows="left|top"
+ font="SansSerifSmall"
+ text_color="White"
+ height="18"
+ layout="topleft"
+ top_pad="5"
+ name="presets_desc"
+ width="580">
+ Note: Quick settings will reset all manual changes you have made.
+ </text>
+ <view_border
+ bevel_style="in"
+ height="0"
+ layout="topleft"
+ name="top_border"
+ top_pad="12"
+ width="540"/>
+ <button
+ follows="top|left"
+ height="23"
+ label="Social"
+ label_color="White"
+ layout="topleft"
+ name="social"
+ top_pad="14"
+ width="130">
+ </button>
+ <text
+ follows="left|top"
+ font="SansSerifSmall"
+ text_color="White"
+ height="18"
+ layout="topleft"
+ top_pad="14"
+ name="social_desc1"
+ width="580">
+ Tuned for many avatars in a room.
+ </text>
+ <text
+ follows="left|top"
+ font="SansSerifSmall"
+ text_color="White"
+ height="18"
+ layout="topleft"
+ top_pad="5"
+ name="social_desc2"
+ width="180">
+ Nearby avatar complexity is high.
+ </text>
+ <text
+ follows="left|top"
+ font="SansSerifSmall"
+ height="18"
+ layout="topleft"
+ left_pad="5"
+ name="avatars_nearby_link"
+ skip_link_underline="true"
+ width="200">
+ [secondlife:/// Choose avatars to show and hide]
+ </text>
+ <view_border
+ bevel_style="in"
+ height="0"
+ layout="topleft"
+ name="social_border"
+ left="20"
+ top_pad="12"
+ width="540"/>
+ <button
+ follows="top|left"
+ height="23"
+ label="Outdoors"
+ label_color="White"
+ layout="topleft"
+ name="outdoors"
+ top_pad="14"
+ width="130">
+ </button>
+ <text
+ follows="left|top"
+ font="SansSerifSmall"
+ text_color="White"
+ height="18"
+ layout="topleft"
+ top_pad="14"
+ name="outdoors_desc"
+ width="580">
+ Fewer avatars, higher visibility distance.
+ </text>
+ <view_border
+ bevel_style="in"
+ height="0"
+ layout="topleft"
+ name="outdoors_border"
+ top_pad="12"
+ width="540"/>
+ <button
+ follows="top|left"
+ height="23"
+ label="Maximum distance"
+ label_color="White"
+ layout="topleft"
+ name="max_distance"
+ top_pad="14"
+ width="130">
+ </button>
+ <text
+ follows="left|top"
+ font="SansSerifSmall"
+ text_color="White"
+ height="18"
+ layout="topleft"
+ top_pad="14"
+ name="max_distance_desc"
+ width="580">
+ Good for zooming your camera far out and viewing large land areas.
+ </text>
+ <view_border
+ bevel_style="in"
+ height="0"
+ layout="topleft"
+ name="max_distance_border"
+ top_pad="12"
+ width="540"/>
+ <button
+ follows="top|left"
+ height="23"
+ label="Photography"
+ label_color="White"
+ layout="topleft"
+ name="photography"
+ top_pad="14"
+ width="130">
+ </button>
+ <text
+ follows="left|top"
+ font="SansSerifSmall"
+ text_color="White"
+ height="18"
+ layout="topleft"
+ top_pad="14"
+ name="photography_desc"
+ width="580">
+ Maximum quality, minimum visibility distance.
+ </text>
+ <view_border
+ bevel_style="in"
+ height="0"
+ layout="topleft"
+ name="photography_border"
+ top_pad="12"
+ width="540"/>
+ <text
+ follows="left|top"
+ font="SansSerifSmall"
+ text_color="White"
+ height="18"
+ layout="topleft"
+ top_pad="14"
+ name="settings_desc"
+ width="110">
+ For more control, try
+ </text>
+ <text
+ follows="left|top"
+ font="SansSerifSmall"
+ height="18"
+ layout="topleft"
+ left_pad="3"
+ name="settings_link"
+ skip_link_underline="true"
+ width="200">
+ [secondlife:/// Idividual Settings]
+ </text>
+
+</panel>