summaryrefslogtreecommitdiff
path: root/indra/newview/llviewertexture.cpp
AgeCommit message (Collapse)Author
3 daysMerge tag 'Second_Life_Release#e7fee9e7-26.3' into 26.326.3Erik Kundiman
4 daysp#604 Fix draw range fluctuations #2Andrey Kleshchev
6 daysMerge remote-tracking branch 'secondlife/release/26.3' into 26.3Erik Kundiman
6 daysMerge tag 'Second_Life_Release#663bf4d3-26.3' into 26.3Erik Kundiman
7 daysp#604 Fix draw range fluctuationsAndrey Kleshchev
2026-05-19Bring back the pre-aug 2024 byte estimation for j2c streams, and add a ↵Jonathan "Geenz" Goodman
configurable high water mark for VRAM.
2026-05-19Rework VRAM controller and bubble interaction — gate iteration on ↵Jonathan "Geenz" Goodman
pressure, halve last-ditch floor inside bubble.
2026-05-19More high pressure and quality changes.Jonathan "Geenz" Goodman
New "high res" bubble near the camera, minimum discard settings, and discard scaling.
2026-05-18Break out texture channel priorities.Jonathan "Geenz" Goodman
2026-05-14Add a background discard offset.Jonathan "Geenz" Goodman
2026-05-12Rework texture streaming and tracking.Jonathan "Geenz" Goodman
This is a big one: - Reworks the discard signal almost entirely. Now has a normalized 0..1 discard signal: distance x size x channel exponent, floored by staleness and background app state. Shaped by VRAM pressure. - Textures can now scale down to the smallest GPU mip (1×1), independent of the codec's encoded mip count. - Terrain texture LOD now works. Useful for 2K textures and PBR on terrain. Based upon camera distance to nearest terrain patch. - New texture quality setting. Low/Medium/High/Ultra - Caps texture resolution on Low to 1024, and otherwise shifts the discard signal around. Makes distance based texture LOD work a lot more predictably. - We now track last bind state for textures, and discard accordingly. We progressively discard based upon last bind time. - Avatar textures get a residency boost to stay loaded in VRAM longer under pressure.
2026-03-07Merge tag 'Second_Life_Release#3529bc5f-2026.02' into 2026.02Erik Kundiman
2026-02-07#5380 Guard against scaled() failure to prevent null dereferenceAndrey Lihatskiy
2026-02-07#5380 Fix race condition in texture creation causing AVAndrey Lihatskiy
Move addToCreateTexture() after image scaling to prevent mRawImage from being replaced while background thread holds pointer to it.
2026-01-21#5296 Clothes of other avatars are rendered skin tightAndrey Kleshchev
Fix raw image callback never firing for outfits. Use saved image when raw image isn't present.
2026-01-20p#124 Fix wrong max image size for model uploadAndrey Kleshchev
2025-10-30Merge tag 'Second_Life_Release#5a0ba25d-2025.08' into 2025.08Erik Kundiman
2025-10-28#4882 Log textures that failed to be createdAndrey Kleshchev
A bunch of 36x36 failed to create, there shouldn't have been any 36x36 textures, log the ids/type.
2025-10-25Merge tag 'Second_Life_Release#01823996-2025.08' into 2025.08Erik Kundiman
2025-10-03Merge tag 'Second_Life_Release#c743ea2b-2025.07' into 2025.07Erik Kundiman
2025-10-01#4758 Extra logging to track discard 6Andrey Kleshchev
Plus clamped some values and preventing decode from starting
2025-09-21Adding lower max texture resolution choices in the preferencesmobserveur
This commit adds 128 and 256 pixels texture resolution limit in the preferences. This aims to help lower end hardware in texture heavy sims.
2025-09-15#4604 Tweak range decreaseAndrey Kleshchev
isSystemMemoryLow() and factor check were too agressive for draw range.
2025-08-29#4604 Reduce draw distance when low on RAMAndrey Kleshchev
2025-08-14Merge 2025.06 into developAndrey Kleshchev
Merge 2025.06 into develop
2025-08-12Fix clang compiler issues due to unused variablesAnsariel
2025-04-15Merge branch 'main' into marchcat/maint-c-restoreAndrey Lihatskiy
# Conflicts: # indra/llcommon/lldate.h # indra/newview/llappviewer.cpp # indra/newview/llinventorybridge.cpp # indra/newview/llmaterialeditor.cpp # indra/newview/llviewerparceloverlay.cpp # indra/newview/llvoavatar.cpp
2025-04-10Fix merge issues:Ansariel
* Restore changes from 21947778baaca205615a71a97ac8f563c998fdd3 to llwindow/llwindowwin32.cpp * Restore changes from 3758618949684641fc94b5c9478d9002706213cc to newview/llinspecttexture.cpp * Fix apparent merge error in LLInventoryPanel::itemChanged * Restore changes from 1eeecfa1a8bf43a8980217ce34e3b5f4458483e0 in newview/llpaneloutfitsinventory.h * Restore changes from b9633c17e373bfe55b29228996e8473eb041466d in newview/llpaneloutfitsinventory.h & newview/llpanelwearing.cpp * Restore changes from f660f1f0fda4d2363d351fa550b4f8818b46c2c3 in newview/llviewertexture.cpp * Restore changes from b9633c17e373bfe55b29228996e8473eb041466d & 98f7d73d46fdc045759023eda6409e8c791f5cb2 in newview/lloutfitgallery.cpp and newview/lloutfitslist.cpp * Replace changes from 23729442aab7130f3368d433e8a5a9dd45ff6b98 with current implementation in develop branch * Fix more broken changes in LLViewerTexture::saveRawImage * Restore the changes in LLMath both from develop and maint-c * Fix all kind of other merge errors # Conflicts: # indra/llmath/v2math.h # indra/llmath/v3math.h # indra/llui/llfolderviewitem.cpp # indra/llwindow/llwindowwin32.cpp # indra/newview/llfloaterobjectweights.h # indra/newview/lloutfitgallery.cpp # indra/newview/lloutfitslist.cpp # indra/newview/llsidepaneliteminfo.cpp # indra/newview/llvoavatar.cpp
2025-04-10Merge commit '9e24b30' into marchcat/maint-c/restoreAndrey Lihatskiy
# Conflicts: # indra/llmath/v2math.cpp # indra/llmath/v2math.h # indra/llmath/v3math.h # indra/llmath/v4math.h # indra/llui/llfolderviewitem.cpp # indra/llui/llfolderviewitem.h # indra/llui/llfolderviewmodel.h # indra/llui/llmodaldialog.cpp # indra/llui/lltexteditor.cpp # indra/llui/lltexteditor.h # indra/llwindow/llwindowwin32.cpp # indra/newview/llagent.cpp # indra/newview/llagentcamera.h # indra/newview/llavatarrenderinfoaccountant.cpp # indra/newview/llconversationmodel.h # indra/newview/llfloaterinventorysettings.cpp # indra/newview/llfloaternamedesc.cpp # indra/newview/llfloaternamedesc.h # indra/newview/llfloaterobjectweights.cpp # indra/newview/llfloaterobjectweights.h # indra/newview/llfolderviewmodelinventory.h # indra/newview/llinspecttexture.cpp # indra/newview/llinventorybridge.cpp # indra/newview/llinventorybridge.h # indra/newview/llinventoryfunctions.cpp # indra/newview/llinventorygallery.h # indra/newview/llinventorygallerymenu.cpp # indra/newview/llinventorymodel.cpp # indra/newview/llinventorypanel.cpp # indra/newview/llinventorypanel.h # indra/newview/llmaterialeditor.cpp # indra/newview/lloutfitgallery.cpp # indra/newview/lloutfitgallery.h # indra/newview/lloutfitslist.cpp # indra/newview/lloutfitslist.h # indra/newview/llpanelgroupcreate.cpp # indra/newview/llpanelgroupgeneral.cpp # indra/newview/llpanelobjectinventory.cpp # indra/newview/llpaneloutfitsinventory.h # indra/newview/llpanelprofile.cpp # indra/newview/llpanelwearing.cpp # indra/newview/llreflectionmap.cpp # indra/newview/llselectmgr.cpp # indra/newview/llsidepanelappearance.cpp # indra/newview/llsidepaneliteminfo.cpp # indra/newview/llteleporthistorystorage.cpp # indra/newview/lltexturectrl.cpp # indra/newview/lltexturectrl.h # indra/newview/lltexturefetch.cpp # indra/newview/lltexturefetch.h # indra/newview/llviewerassetupload.cpp # indra/newview/llviewercamera.cpp # indra/newview/llviewercamera.h # indra/newview/llviewermenufile.cpp # indra/newview/llviewerobject.h # indra/newview/llviewertexture.cpp # indra/newview/llviewerwindow.cpp # indra/newview/llvoavatar.cpp # indra/newview/llvoavatar.h # indra/newview/llvoavatarself.cpp # indra/newview/llvovolume.cpp # indra/newview/llvovolume.h # indra/newview/tests/llviewerassetstats_test.cpp
2025-03-21Dynamic Probe Allocation (#3787)Jonathan "Geenz" Goodman
* #3788 Support dynamic probe allocation. * #3738 Mitigate probe flashing * #3735 Mitigate realtime probes flashing
2025-03-21#3364 Fix a case of excessive texture updatesAndrey Kleshchev
when bias fluctuates a bit. Make bias' effect a bit more gradual.
2025-03-05Add RenderTextureVRAMDivisor (#3648)Jonathan "Geenz" Goodman
#3647 Add texture VRAM use divisor.
2025-02-03Fix media failing to function on PBR materials (#3445)Rye
2025-01-23Small cleanupAndrey Kleshchev
2025-01-22#3450 Crash at LLViewerMediaTexture::setPlayingAndrey Kleshchev
2025-01-21#3371 Texture resolution cap #2Andrey Kleshchev
2025-01-21#3371 Texture resolution capAndrey Kleshchev
2025-01-16#3364 Fix update rate being stuck high due to biasAndrey Kleshchev
if bias stays unchanged at 4.f, there is no reason to keep refreshing at high rate.
2025-01-11#3364 Decrement bias only if there is 10prcnt free spaceAndrey Kleshchev
Instead of when there is any space.
2024-12-06Remove unwanted notification for texture downrezing behavior (#3233)Brad Linden
secondlife/viewer#2549
2024-12-05#3210 Fix for "Texture will be downscaled" happening too often. (#3212)Dave Parks
2024-12-04#3106 Lower maximum texture bias back to 4, reintroduce camera importance ↵Dave Parks
texture scaling (#3207)
2024-12-03#3093 #3055 World Map tiles are blurry #2Andrey Kleshchev
2024-11-27viewer#3147 Thumbnail picker's image is grey #2Andrey Kleshchev
Apparently made a blunder in previous commit since I missed mFetchState being reset each run
2024-11-27viewer#3147 Thumbnail picker's image is greyAndrey Kleshchev
when both thumnail and normal image attempt to fetch, one creates a fetcher, another fails, since fetcher is already there, potentially in a transitional state, so it thinks fetch failed.
2024-11-22viewer#3055 Fix texture fetch being stuckAndrey Kleshchev
destroyRawImage is the only function that calls saveRawImage(), not calling it results in fetcher thinking that it still needs data to do the saving and looping back to trying to fetch.
2024-11-20#3093 World Map tiles are blurryMaxim Nikolenko
2024-11-122590 mac intel and radeon pro 5300m horrible fps 2 (#3030)Dave Parks
* OpenGL 3.3 compatibility pass. Fix for FBO driven downscaling corrupting textures. * Increase maximum texture bias, immediately scale down when textures are loaded higher resolution than desired * #2590 Fix for some frame stalls on Intel Macs
2024-10-31viewer#2653 LOD textures weren't taking callback discard into accountAndrey Kleshchev
2024-10-29Merge brad/2549-downrez-controls into release/2024.09-ExtraFPS (#2864)Brad Linden