Commit Graph

51960 Commits (b84f3ff6b129cd71955bcb1fc885491b7002f87f)

Author SHA1 Message Date
Andrey Kleshchev b84f3ff6b1 viewer#2780 Speed up terrain loading on teleport
Terrain was arriving and processing too late resulting in issues like
"Lower terrain material incorrectly shown momentarily"
2025-02-05 18:50:31 +02:00
Andrey Kleshchev 9bfdb7cf6c #3488 #3488 Move skin info processing out of mesh thread
Skin info parsing is expensive, offload to thread pool
2025-02-04 19:29:05 +02:00
Andrey Kleshchev 8c4abf8feb #3488 Fix skin info not reading from cache 2025-02-04 19:29:05 +02:00
Andrey Kleshchev 912c99ae96 #3488 Fix cache using wrong offset 2025-02-04 19:29:05 +02:00
Andrey Kleshchev 587444bd27 #3488 mutex lock mSkinMap 2025-02-04 19:29:05 +02:00
Andrey Kleshchev f5f98e1c28 #3488 Fix mesh header condition 2025-02-04 02:45:55 +02:00
Andrey Kleshchev 7eb9dd3e0d #3488 Move lod processing out of mesh thread 2025-02-04 01:33:29 +02:00
Andrey Kleshchev 33303b9011 #3488 Split mesh thread mutexes
Tracy shows that thread waits a lot on mutexes.
Split in and out mutexes, so that new work can be scheduled by main
thread without blocking handling
2025-02-03 19:01:30 +02:00
Andrey Kleshchev 314ef5389c #3488 Fix last retry not saving handle
Request was sent and handle is valid, save it
2025-01-31 19:09:05 +02:00
Andrey Kleshchev e97976831d #3488 Minimize allocations 2025-01-31 03:41:04 +02:00
Andrey Kleshchev c405cd379a #3488 Avoid reading meshes from disk when not nessesary
LLMeshHeaderHandler preallocates file with empty data, there is no point
reading large empty sections so write presense flags at the start of the
file
2025-01-31 03:41:04 +02:00
Andrey Kleshchev 52fb53a4d6 #3488 Make mesh_header_map a bit simpler
preparation for further work
2025-01-31 03:41:04 +02:00
Andrey Kleshchev 8456572db0 #1186 Profiling 2025-01-31 03:38:20 +02:00
Andrey Kleshchev 1a3b221ea4 #1186 Speed up mesh header post processing
1. Don't do an extra skin request unless there is info about a skin
2. Proccess lods on the go if they were in initial packet
2025-01-31 03:35:58 +02:00
Andrey Kleshchev 142cf21cc1 viewer#3037 hasPendingAttachedMeshes wasn't checking some objects 2025-01-28 20:48:44 +02:00
Andrey Kleshchev a428b7dfbd #1186 Improve handling of duplciate requests 2025-01-28 20:48:44 +02:00
Andrey Kleshchev e20f4c0e4f #1186 Fix mesh queues getting overfilled
Account for queue size instead of just active request
Reduce mutex locking
Prioritize skininfo queue over lod queue to lessen issues with t-poses
2025-01-28 20:48:17 +02:00
Andrey Kleshchev 8e17f0c094 #1186 Fix skin request not being counted for the total 2025-01-28 20:48:02 +02:00
Andrey Kleshchev 3271408650 #1186 Make mesh repository account for avatars
when calculating priority
2025-01-28 20:47:46 +02:00
Andrey Kleshchev 8f274bfdf9 #1186 Make lod and skin request share priorities
skins are needed to decloud avatars as much as lods
2025-01-28 20:46:52 +02:00
Nat Goodspeed 5029f0322f Increment viewer version to 7.1.12
following promotion of secondlife/viewer #2617: 2024.09 ExtraFPS
2024-12-18 15:07:51 -05:00
Brad Linden bb5fa35900
Roll back to Xcode 14.0.1 to fix secondlife/viewer-private#347 (#3297) 2024-12-16 15:41:39 -08:00
Andrey Kleshchev a66ec26b81
#3295 Crash scaling texture down (#3296) 2024-12-16 22:21:42 +00:00
Dave Parks e097f194d9
#3293 Disable multi-threaded media updates on AMD on OS X, explicitly set downscale method to 0 (FBO) (#3294) 2024-12-16 12:18:29 -06:00
Brad Linden 5b77436cf0
#3288 null overrides crashes (#3289)
* Fixes for secondlife/viewer#3288 override copy related crashes when overrides can be nullptr
2024-12-13 16:13:30 -08:00
Brad Linden 67b9779d55
Merge pull request #3262 from secondlife/rye/extra-mesafix
Fix mesa failing to link shaders due to missing vertex shader outputs
2024-12-13 16:01:44 -08:00
Andrey Kleshchev 5d64e64458 #3285 Crash at remapIndexBuffer 2024-12-13 21:07:05 +02:00
Brad Linden 16afa19b90
Merge pull request #3236 from Ansariel/remove-notifications
Remove orphaned notifications (follow-up to 412b3db5a8)
2024-12-13 10:30:02 -08:00
Dave Parks eff46262c8
#2590 Radeon mac optimization pass (#3277)
- Skip updating of reflection probes that are not the default probe when probe coverage is set to "None"
- enable RenderAppleUseMultGL and disable occlusion culling on Macs with AMD GPUs
- Reduce the number of texture decode threads on Macs with intel cpus.
- Move texture deletion to LLImageGL::updateClass and prevent textures from staying resident in vram longer than 3 frames
- Disable SSAO by default on Macs with intel CPUs
2024-12-12 15:46:01 -06:00
Andrey Kleshchev 5a629574b7 #3272 [MAC] Fix wrong RenderReflectionsEnabled on Low 2024-12-12 20:23:11 +02:00
Andrey Kleshchev 9f47542597 #3265 Crash at getAllowEnvironmentOverride
Check region pointer and make sure external callbacks get disconected
2024-12-12 14:39:51 +02:00
Rye f8fad89dd0 Fix mesa failing to link shaders due to missing vertex shader outputs 2024-12-11 08:49:38 -08:00
Rye 0dda1b0199
Merge pull request #3260 from secondlife/rye/extra-glcompat
Fix crashes from shader load failures under RenderMaxOpenGLVersion 3.1/3.2/3.3
2024-12-11 10:50:53 -05:00
Rye d17fd56dc4 Fix crashes from shader load failures under RenderMaxOpenGLVersion 3.1/3.2/3.3 (#3184) 2024-12-10 17:24:39 -08:00
Dave Parks ae9174ffdf
#3234 Fix for slightly transparent objects negating colors (#3259) 2024-12-10 15:28:50 -06:00
Andrey Kleshchev 97826b555b viewer#3169 Legacy settings should no longer be automatically converted 2024-12-10 21:05:41 +02:00
Dave Parks 5f9fe87808
Fix for assert (and potential crash) in LLAvatarPropertiesProcessor coroutine (#3253) 2024-12-10 11:09:07 -06:00
Dave Parks b76ea8f1d7
#3251 Remove obsolete intel driver notification (#3252) 2024-12-10 11:07:44 -06:00
Dave Parks dff8a2aaab
#3248 Fix for stars not rendering when emissive enabled (#3250) 2024-12-10 11:06:25 -06:00
Andrey Kleshchev 23e9c8cf30 #3222 Make sure variables are initialized
in case anybody adds more constructors and forgets to set init.
2024-12-10 16:42:19 +02:00
Andrey Kleshchev c162d8a060 #3222 Emoji tabs losing symbols 2024-12-09 23:06:21 +02:00
Ansariel 9e47573dae Remove orphaned notifications (follow-up to 412b3db5a8) 2024-12-09 13:26:53 +01:00
Brad Linden 412b3db5a8
Remove unwanted notification for texture downrezing behavior (#3233)
secondlife/viewer#2549
2024-12-06 16:35:47 -08:00
Dave Parks 5e35785b8d
#3219 Revert default exposure thresholds to DeltaFPS values (#3228) 2024-12-06 13:42:48 -06:00
Dave Parks 37f92c1698
Fix for legacy skies with bright suns not matching FS 6.6.17 (#3214) 2024-12-05 15:10:13 -06:00
Dave Parks 1120a7ccb9
#3210 Fix for "Texture will be downscaled" happening too often. (#3212) 2024-12-05 13:52:03 -06:00
Andrey Kleshchev 396b97aebf viewer-private#330 Fix LLCachedControl for vintage 2024-12-05 18:59:59 +02:00
Andrey Kleshchev 0dccb322ef viewer-private#330 Fix Vintage mode in feature table
These parameters are set by RenderDisableVintageMode
2024-12-05 18:59:59 +02:00
Dave Parks 4b5d4be5a8
#3106 Lower maximum texture bias back to 4, reintroduce camera importance texture scaling (#3207) 2024-12-04 12:33:04 -06:00
Andrey Kleshchev 27fb297b6f #3190 Ensure materials are properly copied instead of reused. 2024-12-04 19:03:28 +02:00