Commit Graph

2552 Commits (2ef2233afaae8726ed8e87d7b9b86c0d8bb86282)

Author SHA1 Message Date
minerjr 2ef2233afa FIRE-36016 - Re-added Store/Restore boost levels of selected objects
Re-adding the feature to store and restore texture boost levels when a user edit's an object.

When you right click on an object. All the textures assigned to it get their boost level set to BOOST_SELECTED.

For LOD textures, once the texture's ProcessStats is completed, it resets the boost level to BOOST_NONE. This can cause the texture to then be subject to Texture Bias when in low memory, where before it was possibly protected as being a higher priority texture.

Now when the boost levels is about to change to BOOST_SELECTED, it gets stored and in ProcessStats, the boost level is restored.

Issue was fixed before but was rolled back. This is just restoring this one fix.
2025-10-13 21:04:25 -03:00
Beq 3b33e548f4 [FIRE-35342] Fix frame guide rendering inside the scene
Add UI for controlling the settings, add new styles.
Snapshot guide with golden ratio options
Adds golden ratio composition guides to the snapshot tool, including options for different orientations (top-left, top-right, bottom-left, bottom-right).
Also refactors the snapshot guide settings into a separate floater for better organization.
2025-10-13 20:10:48 +01:00
PanteraPolnocy 9d1f00968e Revert "Make snapshot guides more visible"
This reverts commit c1c6f1ed5e.
2025-10-10 08:59:40 +02:00
PanteraPolnocy 9267076ebb Make the visibility/opacity of the composition guides in snapshot view configurable via debug setting, as per request 2025-10-10 08:19:01 +02:00
Andrey Kleshchev 56cb655fbe #4773 Crash on sub_image_lines (FS:TJ- Follow-up cherry-pick to fix out of bounds discard_levels)
Just caught it and discard_level is somehow 7, which seems like it resulted in src going out of bounds, which crashed glTexSubImage2D
2025-10-07 19:50:37 +10:00
Hecklezz a12e38911e Use llmin instead of llmax to correctly clamp mMaxDiscardLevel 2025-10-02 02:26:29 +10:00
Andrey Kleshchev 49caa5e179 #4758 Extra logging to track discard 6
Plus clamped some values and preventing decode from starting

# Conflicts:
#	indra/newview/llviewertexture.cpp
2025-10-02 01:33:20 +10:00
Hecklezz b8bc108ea7 Partial restore of texture pipeline changes to address texture discard issues 2025-10-02 01:23:36 +10:00
Ansariel 3665dc24f4 Merge branch 'master' of https://github.com/FirestormViewer/phoenix-firestorm into texture-changes-reverted 2025-09-30 16:38:47 +02:00
Beq 9bde3ecb89 More set but unused fun 2025-09-09 09:26:37 +01:00
Ansariel f530540d00 Reverting changes to texture pipeline back to stock LL 2025-08-17 17:26:08 +02:00
Beq dc409c4f64 Unused variable flagged by MacOS.
The entire switch block has no use.
2025-08-10 10:27:18 +01:00
Ansariel bfd99549b0 Merge branch 'release/2025.05' of https://github.com/secondlife/viewer
# Conflicts:
#	.github/pull_request_template.md
#	indra/llappearance/lltexlayer.cpp
#	indra/llcommon/llthread.cpp
#	indra/llprimitive/lldaeloader.cpp
#	indra/llprimitive/lldaeloader.h
#	indra/llprimitive/llmodel.cpp
#	indra/newview/CMakeLists.txt
#	indra/newview/VIEWER_VERSION.txt
#	indra/newview/app_settings/settings.xml
#	indra/newview/llmodelpreview.cpp
#	indra/newview/lltoolpie.cpp
#	indra/newview/skins/default/xui/en/floater_model_preview.xml
#	indra/newview/skins/default/xui/en/panel_preferences_sound.xml
2025-07-18 14:14:54 +02:00
Andrey Kleshchev 3da493295e #4296 Crash at renderMorphMasks 2025-07-09 23:16:17 +03:00
Ansariel 12f5023de5 Merge branch 'master' of https://github.com/FirestormViewer/phoenix-firestorm 2025-05-09 19:26:27 +02:00
Beq 963ca99919 FIRE-34655 - Linux VRAM detection failing
Partial solution that should bring Nvidia and AMD detection back in line with other platforms.
2025-05-08 21:12:55 +01:00
Ansariel 3d61db550d Merge branch 'release/2025.04' of https://github.com/secondlife/viewer
# Conflicts:
#	.github/workflows/qatest.yaml
#	indra/newview/skins/default/xui/en/notifications.xml
2025-05-03 13:26:46 +02:00
Andrey Kleshchev d9e55c4415 #3997 Crash in a gltf asset enabled region 2025-04-29 18:12:57 +03:00
Ansariel cf2f48de06 Merge branch 'release/2025.04' of https://github.com/secondlife/viewer
# Conflicts:
#	indra/llui/llflatlistview.cpp
#	indra/llui/llstyle.cpp
#	indra/llui/llstyle.h
#	indra/llui/lltextbase.cpp
#	indra/llui/llurlmatch.cpp
#	indra/llui/llurlmatch.h
#	indra/llui/llurlregistry.cpp
#	indra/llui/llurlregistry.h
#	indra/newview/llavatarlist.cpp
#	indra/newview/llavatarlist.h
#	indra/newview/llavatarlistitem.cpp
#	indra/newview/llavatarlistitem.h
#	indra/newview/llfloaternewfeaturenotification.cpp
#	indra/newview/llinventorybridge.cpp
#	indra/newview/llmeshrepository.cpp
#	indra/newview/llpanelprofile.cpp
#	indra/newview/llviewerchat.cpp
#	indra/newview/llviewerfloaterreg.cpp
#	indra/newview/llvovolume.cpp
#	indra/newview/skins/default/colors.xml
2025-04-26 00:31:04 +02:00
Ansariel 9d6c74a051 Merge branch 'master' of https://github.com/FirestormViewer/phoenix-firestorm 2025-04-25 22:21:12 +02:00
Ansariel 120f85c9e0 Merge branch 'master' of https://github.com/FirestormViewer/phoenix-firestorm-develop
# Conflicts:
#	indra/newview/app_settings/settings.xml
#	indra/newview/llvieweraudio.cpp
#	indra/newview/llvoavatar.h
2025-04-25 22:20:59 +02:00
minerjr d362e4ed8f Cleaned up comments (incorrect comment from JIRA title) 2025-04-22 16:54:35 -03:00
Andrey Kleshchev f6219fecc3 #3696 Crash at LLFontFreetype::addGlyphFromFont 2025-04-18 19:49:32 +03:00
minerjr abedabebac Fix issue of 2K textures not scaling down when off screen [FIRE-35361] side effect
Now that 2K textures are loading correctly an issue came up.
mMaxDiscardLevel could be set to 6 (from discard_level) with 2K textures which is above the current MAX_DISCARD_LEVEL.
The side effect was the texture to not scale down due to the checks on it as well as the mFetchTexture code would also not process the texture if the discard level is above the MAX_DISCARD_LEVEL.
2025-04-18 06:58:48 -03:00
Ansariel 6487febff0 Merge branch 'release/2025.04' of https://github.com/secondlife/viewer
# Conflicts:
#	indra/llrender/llgl.cpp
#	indra/llwindow/lldxhardware.cpp
#	indra/llwindow/lldxhardware.h
#	indra/newview/llappviewerwin32.cpp
#	indra/newview/llviewerdisplay.cpp
2025-04-10 18:50:12 +02:00
Andrey Kleshchev 2da46c3830 #3575 Clean up obsolete VRAM detectin logic 2025-04-05 09:28:26 +03:00
Ansariel beb3ff3d36 Merge branch 'release/2025.04' of https://github.com/secondlife/viewer
# Conflicts:
#	indra/newview/llagentlistener.cpp
#	indra/newview/llappearancemgr.cpp
#	indra/newview/llviewerparcelmgr.cpp
#	indra/newview/llvoavatar.cpp
#	indra/newview/llvoavatar.h
#	indra/newview/llvoavatarself.h
2025-04-04 12:46:39 +02:00
Andrey Lihatskiy d77954ef50 #3597 Improve error handling at LLGLSLShader::disableTexture() 2025-04-02 16:18:33 +03:00
Ansariel 99e1699479 Merge branch 'release/2025.03' of https://github.com/secondlife/viewer
# Conflicts:
#	indra/llappearance/llwearable.cpp
#	indra/newview/llappviewer.cpp
#	indra/newview/llappviewerwin32.cpp
#	indra/newview/llviewerassetstorage.cpp
#	indra/newview/llviewertexturelist.cpp
#	indra/newview/llviewerwindow.cpp
2025-03-27 19:36:45 +01:00
Jonathan "Geenz" Goodman 5e5d466628
Readd probe count setting (#3793)
* Readd max probe count.  Disable dynamic probe allocation by default (for now).
2025-03-24 17:59:13 -04:00
Ansariel b140406910 Merge branch 'master' of https://github.com/FirestormViewer/phoenix-firestorm 2025-03-23 11:46:47 +01:00
minerjr c082f0cd76 FIRE-35081 - Handled animated/media textures, grass, tree and light textures
Added new boost levels for Tree, Grass and Light textures (More for tracking as they have custom hard coded values for the mPixelArea which causes issues with loading of sizes.
Added adjustments for the calcPixelArea and calcImportanceToCamera as well as getTextureVirtualSize
Added virtual texture size updates for Media textures

Added code to scale down off screen textures (saves a lot of texture VRAM.
Added additional features for the LLViewerTextureList::Dump

Only issue is server controlled textures which animate tend to load low quality, then upscale as well as Sculpted Volume's which force textures to reload.
2025-03-17 23:13:41 -03:00
Ansariel 750099db68 Merge branch 'release/2025.03' of https://github.com/secondlife/viewer
# Conflicts:
#	indra/llmessage/llproxy.cpp
#	indra/llui/llfolderviewitem.cpp
#	indra/newview/CMakeLists.txt
#	indra/newview/llappviewer.cpp
#	indra/newview/llfilepicker.cpp
#	indra/newview/llfloaterpreference.cpp
#	indra/newview/lloutfitslist.cpp
#	indra/newview/llpanelmaininventory.cpp
#	indra/newview/llviewerprecompiledheaders.h
#	indra/newview/llviewerwindow.cpp
#	indra/newview/skins/default/xui/en/floater_world_map.xml
#	indra/newview/skins/default/xui/en/menu_viewer.xml
#	indra/newview/skins/default/xui/en/panel_preferences_graphics1.xml
#	indra/newview/viewer_manifest.py
2025-03-12 19:31:51 +01:00
Andrey Kleshchev 44fa0c438a #3696 LLFontFreetype crash when adding glyph 2025-03-11 11:09:59 +02:00
Ansariel 98a96cf033 Revert "tentative workaround for gcc c++20 std::lerp clash"
This reverts commit 19999b5858.
2025-03-08 23:46:30 +01:00
Beq 19999b5858 tentative workaround for gcc c++20 std::lerp clash
We may revert this for a better less dispruptive solution if we can find one.
2025-03-08 17:19:19 +00:00
Ansariel d19e6abc5e Merge branch 'release/2025.03' of https://github.com/secondlife/viewer
# Conflicts:
#	indra/newview/llappviewer.cpp
#	indra/newview/llgiveinventory.cpp
#	indra/newview/llstartup.cpp
#	indra/newview/lltooldraganddrop.cpp
#	indra/newview/llvoavatar.cpp
#	indra/newview/skins/default/xui/fr/floater_avatar_textures.xml
#	indra/newview/skins/default/xui/it/floater_avatar_textures.xml
#	indra/newview/skins/default/xui/ja/floater_avatar_textures.xml
#	indra/newview/skins/default/xui/pl/floater_avatar_textures.xml
#	indra/newview/skins/default/xui/zh/floater_avatar_textures.xml
2025-03-01 01:09:19 +01:00
Andrey Lihatskiy f40c5b209b #3597 Fix crash when RenderDebugGLSession is True 2025-02-27 17:07:36 +02:00
Ansariel e518cba882 Merge branch 'release/2024.12-ForeverFPS' of https://github.com/secondlife/viewer
# Conflicts:
#	indra/llrender/llfontfreetype.h
2025-02-26 10:04:47 +01:00
Andrey Kleshchev 5b968b7209 #3332 Remake glyph count into cache generation
1. Cover reset with 'generation'
2. Fix lapse of judgement with mLastFontGlyphCount, it should have been
saved before render(), not after
2025-02-24 19:31:16 +02:00
minerjr 8a527d676e Add restore to mBoostLevel (mPrevBoostLevel) for BOOST_SELECTED interactions
Added to the llgltexture a second boost level which will be used to properly restore the boost level after an object is right clicked on as the BOOST_SELECTED code does not restore the value the previous value. This does now and on all the child objects assigned to the object.

Also fixed up the lltextureview.cpp as it had some merge issues from a long time ago and was missed.
2025-02-21 09:45:34 -04:00
Ansariel fe41087069 Merge branch 'release/2024.12-ForeverFPS' of https://github.com/secondlife/viewer 2025-02-19 15:20:09 +01:00
Jonathan "Geenz" Goodman c60061b504
Switch from GL_RGB16F to GL_R11F_G11F_B10F for probes (#3562)
* #3561 Switch from GL_RGB16F to GL_R11F_G11F_B10F for reflection probes to help reduce memory bandwidth and VRAM pressure.
2025-02-14 13:16:35 -05:00
Ansariel 5bf1f485f3 Merge branch 'release/2024.12-ForeverFPS' of https://github.com/secondlife/viewer
# Conflicts:
#	indra/llcommon/llqueuedthread.cpp
2025-02-13 21:24:29 +01:00
Andrey Lihatskiy d74b30b4ec Follow-up fixes from develop 2025-02-13 18:00:55 +02:00
Andrey Lihatskiy ddbe1ff981 Fix xcode16 build errors 2025-02-13 17:30:08 +02:00
Andrey Kleshchev e708d69fb0 #3332 Fix buffers not accounting for dynamic cache values
And fix previous lapse of judgement with GLYPH_BATCH_SIZE
2025-02-11 23:59:42 +02:00
Jonathan "Geenz" Goodman d450295cf5
Additional water fixes and tweaks. (#3524)
* Incorporation of feedback for #3456
2025-02-11 13:49:24 -05:00
Andrey Kleshchev 6a78b5b43c #3332 Font issues with multy-byte and multy-glyps characters 2025-02-10 23:18:33 +02:00
Andrey Kleshchev 3a251b1b9e #3332 Switching screens can break text rendering 2025-02-07 23:27:30 +02:00