diff --git a/indra/llwindow/llwindow.cpp b/indra/llwindow/llwindow.cpp index 8d802fbb5a..ce15004f3e 100644 --- a/indra/llwindow/llwindow.cpp +++ b/indra/llwindow/llwindow.cpp @@ -432,8 +432,8 @@ LLWindow* LLWindowManager::createWindow( #elif LL_SDL new_window = new LLWindowSDL(callbacks, title, x, y, width, height, flags, - //fullscreen, clearBg, enable_vsync, use_gl, ignore_pixel_depth, fsaa_samples, max_vram); - fullscreen, clearBg, enable_vsync, use_gl, ignore_pixel_depth, fsaa_samples, max_vram, useLegacyCursors); // Legacy cursor setting from main program + //fullscreen, clearBg, enable_vsync, use_gl, ignore_pixel_depth, fsaa_samples); + fullscreen, clearBg, enable_vsync, use_gl, ignore_pixel_depth, fsaa_samples, useLegacyCursors); // Legacy cursor setting from main program #elif LL_WINDOWS new_window = new LLWindowWin32(callbacks, title, name, x, y, width, height, flags, diff --git a/indra/llwindow/llwindowsdl.cpp b/indra/llwindow/llwindowsdl.cpp index 71305fc61b..ae92f993ec 100644 --- a/indra/llwindow/llwindowsdl.cpp +++ b/indra/llwindow/llwindowsdl.cpp @@ -440,7 +440,7 @@ LLWindowSDL::LLWindowSDL(LLWindowCallbacks* callbacks, bool enable_vsync, bool use_gl, // Legacy cursor setting from main program //bool ignore_pixel_depth, U32 fsaa_samples,) - bool ignore_pixel_depth, U32 fsaa_samples, U32 max_vram, bool useLegacyCursors) + bool ignore_pixel_depth, U32 fsaa_samples, bool useLegacyCursors) : LLWindow(callbacks, fullscreen, flags), Lock_Display(NULL), //Unlock_Display(NULL), mGamma(1.0f) diff --git a/indra/llwindow/llwindowsdl.h b/indra/llwindow/llwindowsdl.h index bb670bcbb2..3bf341eb11 100644 --- a/indra/llwindow/llwindowsdl.h +++ b/indra/llwindow/llwindowsdl.h @@ -118,9 +118,6 @@ public: /*virtual*/ F32 getPixelAspectRatio(); /*virtual*/ void setNativeAspectRatio(F32 ratio) { mOverrideAspectRatio = ratio; } - U32 getAvailableVRAMMegabytes() override { return 4096; }; - /*virtual*/ void setMaxVRAMMegabytes(U32 max_vram) {} - /*virtual*/ void beforeDialog(); /*virtual*/ void afterDialog(); diff --git a/indra/llwindow/llwindowsdl2.cpp b/indra/llwindow/llwindowsdl2.cpp index 7796f05b0f..5c34e99ae4 100644 --- a/indra/llwindow/llwindowsdl2.cpp +++ b/indra/llwindow/llwindowsdl2.cpp @@ -385,7 +385,7 @@ LLWindowSDL::LLWindowSDL(LLWindowCallbacks* callbacks, bool enable_vsync, bool use_gl, // Legacy cursor setting from main program //bool ignore_pixel_depth, U32 fsaa_samples,) - bool ignore_pixel_depth, U32 fsaa_samples, U32 max_vram, bool useLegacyCursors) + bool ignore_pixel_depth, U32 fsaa_samples, bool useLegacyCursors) : LLWindow(callbacks, fullscreen, flags), Lock_Display(NULL), //Unlock_Display(NULL), mGamma(1.0f) diff --git a/indra/llwindow/llwindowsdl2.h b/indra/llwindow/llwindowsdl2.h index 5c92d8d913..390ff2eafc 100644 --- a/indra/llwindow/llwindowsdl2.h +++ b/indra/llwindow/llwindowsdl2.h @@ -120,8 +120,6 @@ public: /*virtual*/ F32 getPixelAspectRatio(); /*virtual*/ void setNativeAspectRatio(F32 ratio) { mOverrideAspectRatio = ratio; } - /*virtual*/ void setMaxVRAMMegabytes(U32 max_vram) {} - /*virtual*/ void beforeDialog(); /*virtual*/ void afterDialog(); @@ -166,7 +164,7 @@ protected: const std::string& title, int x, int y, int width, int height, U32 flags, bool fullscreen, bool clearBg, bool enable_vsync, bool use_gl, //bool ignore_pixel_depth, U32 fsaa_samples); - bool ignore_pixel_depth, U32 fsaa_samples, U32 max_vram, bool useLegacyCursors); // Legacy cursor setting from main program + bool ignore_pixel_depth, U32 fsaa_samples, bool useLegacyCursors); // Legacy cursor setting from main program ~LLWindowSDL(); /*virtual*/ bool isValid(); diff --git a/indra/newview/fspanelface.h b/indra/newview/fspanelface.h index a14b736560..fd2903fcf0 100644 --- a/indra/newview/fspanelface.h +++ b/indra/newview/fspanelface.h @@ -200,7 +200,7 @@ protected: void onSelectTexture(); void onCommitTexture(); void onCancelTexture(); - bool onDragTexture(const LLUICtrl* texture_ctrl, LLInventoryItem* item); // this function is to return TRUE if the drag should succeed. + bool onDragTexture(const LLUICtrl* texture_ctrl, LLInventoryItem* item); // this function is to return true if the drag should succeed. void onCloseTexturePicker(); // Blinn-Phong Normal texture swatch diff --git a/indra/newview/skins/default/xui/de/panel_preferences_graphics1.xml b/indra/newview/skins/default/xui/de/panel_preferences_graphics1.xml index 8b31fb8116..0d8a3f1f87 100644 --- a/indra/newview/skins/default/xui/de/panel_preferences_graphics1.xml +++ b/indra/newview/skins/default/xui/de/panel_preferences_graphics1.xml @@ -116,6 +116,7 @@ Niedrig + @@ -171,17 +172,7 @@ - - - - - - - - (erfordert Neustart) - + Maximales Qualitätslevel für Texturen: diff --git a/indra/newview/skins/default/xui/en/panel_preferences_graphics1.xml b/indra/newview/skins/default/xui/en/panel_preferences_graphics1.xml index d66705b763..ed3ce5440f 100644 --- a/indra/newview/skins/default/xui/en/panel_preferences_graphics1.xml +++ b/indra/newview/skins/default/xui/en/panel_preferences_graphics1.xml @@ -56,12 +56,13 @@ type="string" length="1" follows="left|top" - height="12" + height="25" layout="topleft" - left="30" + left="5" name="QualitySpeed" top="25" - width="400"> + width="105" + wrap="true"> Quality and speed: Performance @@ -83,20 +84,36 @@ follows="left|top" height="12" layout="topleft" - left_delta="360" + left="465" name="BetterText" top_delta="0" width="100"> Quality + + + + @@ -229,7 +246,7 @@ layout="topleft" left="4" name="ShadersText" - top="70" + top="60" width="128"> Shaders: @@ -520,7 +537,7 @@ left="196" name="Fullscreen Mode" tool_tip="Run Firestorm in Fullscreen mode. A restart is required to change mode." - top="80" + top="60" width="280" /> + top_pad="5" + width="321" /> @@ -565,7 +582,7 @@ max_val="8192" name="MaxParticleCount" top_pad="6" - width="301" /> + width="321" /> @@ -616,7 +633,7 @@ show_text="false" name="IndirectMaxComplexity" top_pad="3" - width="261"> + width="281"> @@ -627,7 +644,7 @@ follows="left|top" height="12" layout="topleft" - left="465" + left="485" name="IndirectMaxComplexityText" text_readonly_color="LabelDisabledColor" top_delta="0" @@ -650,7 +667,7 @@ show_text="false" name="IndirectMaxNonImpostors" top_pad="5" - width="261"> + width="281"> @@ -661,7 +678,7 @@ follows="left|top" height="12" layout="topleft" - left="465" + left="485" name="IndirectMaxNonImpostorsText" text_readonly_color="LabelDisabledColor" top_delta="0" @@ -684,7 +701,7 @@ name="RenderPostProcess" show_text="false" top_pad="5" - width="261"> + width="281"> @@ -695,13 +712,30 @@ follows="left|top" height="12" layout="topleft" - left="465" + left="485" name="PostProcessText" top_delta="0" width="128"> Low + + + top_pad="2" + width="317"/> + width="317"/> Level of Detail (LOD) Distance Factors: @@ -765,7 +799,7 @@ name="ObjectMeshDetail" show_text="true" top_pad="6" - width="304"/> + width="324"/> + width="324"/> + width="324"/> + width="324"/> + width="324"/> + width="335"/> Presets: @@ -906,21 +940,6 @@ function="Pref.PrefDelete" parameter="graphic" /> - - - @@ -1086,7 +1105,7 @@ If you do not understand the distinction then leave this control alone." label="Freeze updates to World (pause everything)" tool_tip="Set this to freeze all updates from the server - stops all actions in-world but does not affect chat, IMs or voice" layout="topleft" - left_delta="10" + left_delta="5" name="WorldPause" top_pad="6" width="256"/> @@ -1107,63 +1126,25 @@ If you do not understand the distinction then leave this control alone." - - - - - - - - - (requires restart) - + top_pad="2" + width="400"/> Max Texture Quality Level: