Commit Graph

51665 Commits (5b832291a8ea1f100e2caaffef3d162dd96bee50)

Author SHA1 Message Date
Rye Mutt 5b832291a8
Introduce Khronos Neutral tonemapper as new default along with debug options to control tonemap mix (#2464) (#2468) 2024-08-30 14:49:05 -05:00
cosmic-linden 7ab6144c00
Merge pull request #2472 from secondlife/v-2448
secondlife/viewer#2448: Fix crash rendering rigged PBR prims
2024-08-30 11:05:44 -07:00
Cosmic Linden 9004cf64bf secondlife/viewer#2448: Fix crash rendering rigged PBR prims 2024-08-30 10:57:44 -07:00
Ansariel Hiller 89a45ef1cb
Fix background folder fetch pushing requests to wrong queue (#2436) 2024-08-30 20:17:36 +03:00
AiraYumi 60142c1b2f
update OpenJPEG 2.5.2 (#2452) 2024-08-30 17:35:19 +03:00
Alexander Gavriliuk 400c21213a #2454 Scrolling by the mouse wheel does not scroll up on the unopened Destination field 2024-08-30 16:13:39 +02:00
Rye Mutt 7e58f089a8
Merge pull request #2466 from RyeMutt/smaa
Introduce SMAA and rework post process chain for better visual quality
2024-08-29 16:29:36 -07:00
Alexander Gavriliuk 17fed3985f #2360 Incorrect Day Cycle name in Edit Day Cycle floater (remove unused key CANMOD) 2024-08-30 00:55:32 +02:00
Rye Mutt 9c6988cf22 Fix startup crash from removed setting 2024-08-29 18:03:46 -04:00
Rye Mutt 958afaa7a7 Integrate SMAA and rework post process chain for better visual quality
Add SMAA buffer generation passes
Add quality levels for both FXAA and SMAA
Separate gamma correction and tonemapping for effects that require linear-but-tonemapped inputs
Move application of noise to final render pass to screen to avoid damaging other post process effects
2024-08-29 17:24:50 -04:00
Brad Linden ecf3002a46 Merge remote-tracking branch 'origin/release/2024.08-DeltaFPS' into develop 2024-08-29 13:32:34 -07:00
Rye Mutt 3a73748929 Remove dead texunit colorspace conversion code 2024-08-29 16:32:15 -04:00
Rye Mutt 8759edd575 Fix SSR clamping hdr brightness ranges 2024-08-29 16:32:15 -04:00
Dave Parks b0fefd62ad
#2428 Fix for crash when applying PBR material to a single face (take 2) (#2463)
Also fix for some objects randomly disappearing until they're selected again.
2024-08-29 15:06:24 -05:00
Brad Linden 11afd7f86a
Add error handling for intel crashes from GLTF Scene shader (#2456)
fix secondlife/viewer#1856
2024-08-29 12:57:49 -07:00
Andrey Kleshchev e2809755c5 Make LLPipeline::renderDebug() a bit cheaper
Each frame renderDebug() was pointlesly going over a large list of
partitions and bridges.
2024-08-29 21:34:43 +03:00
cosmic-linden 0b062be308
Merge pull request #2449 from secondlife/v-2421
secondlife/viewer#2421: Do not calculate and store silhouette edges for nearly every geometric prim with a corner
2024-08-29 09:10:46 -07:00
Alexander Gavriliuk e26261c7f9 #2360 Incorrect Day Cycle name in Edit Day Cycle floater after clicking the "Customize" button 2024-08-29 15:40:34 +02:00
Brad Linden f15228023f
Attempt to get better file/line info for LL_ERRS crahses in bugsplat. (#2447)
secondlife/viewer#2445
2024-08-28 16:20:25 -07:00
Cosmic Linden f23f28c8f9 secondlife/viewer#2421: Do not calculate and store silhouette edges for nearly every geometric prim with a corner 2024-08-28 16:16:46 -07:00
Maxim Nikolenko e92a06d681
Merge pull request #2440 from secondlife/develop-clear-metrics
Clear unused metrics
2024-08-29 02:12:40 +03:00
Dave Parks f8d48f6a29
#2432 Restore default nametag behavior. (#2444)
After instrumenting nametags some more, really UI rendering performance improvements should just focus on LLFontGL::render
2024-08-28 14:49:13 -05:00
cosmic-linden 6a4d7b2de6
Merge pull request #2441 from secondlife/2438-eliminate-execution-time-outliers-for-updateimagedecodepriority
#2438 Address frame stalls in updateImageDecodePriority
2024-08-28 11:37:56 -07:00
RunitaiLinden 1f58884db9 #2438 Address frame stalls in updateImageDecodePriority 2024-08-28 13:14:58 -05:00
Mnikolenko Productengine b281020b81 Clear unused metrics 2024-08-28 19:51:00 +03:00
Dave Parks 9d689c6145
Merge pull request #2435 from secondlife/2432-default-nametags-to-only-show-briefly
#2432 default nametags to only show briefly and #2431 fix redundant search for pixiesmall.j2c
2024-08-28 10:57:53 -05:00
RunitaiLinden 00acf4fdb7 #2432 Make nametags default to "show briefly" 2024-08-27 16:32:28 -05:00
RunitaiLinden feecf09573 #2431 Fix for redundant searching for pixeismall.j2c causing frame stalls 2024-08-27 15:59:41 -05:00
Dave Parks 8406d1052c
#2428 Fix for crash when applying PBR material (#2430)
Also attempt to fix some occasional bad texture memory tracking.
2024-08-27 09:53:54 -07:00
Andrey Kleshchev 5c16ae1375 viewer#2413 Remove obsolete alert about expiring voice morphs 2024-08-27 19:19:44 +03:00
Brad Linden 124f0711af Merge remote-tracking branch 'origin/release/2024.08-DeltaFPS' into develop 2024-08-26 17:28:34 -07:00
Brad Linden 50dc4cbdf9 Merge remote-tracking branch 'origin/main' into release/2024.08-DeltaFPS 2024-08-26 17:25:13 -07:00
Brad Linden 367c8f2363
Improve safety of macOS available RAM calcuations at suggestion of Ansariel and Beq (#2423) 2024-08-26 17:24:07 -07:00
cosmic-linden 600ec6fcda
Merge pull request #2424 from secondlife/brad/cherry-picks-hot-logging
Fast track some changes removing unneeded logging code into DeltaFPS
2024-08-26 17:14:50 -07:00
Cosmic Linden 316f0f0b8c secondlife/viewer#2391: Remove avatar rigging "callstack" logging 2024-08-26 16:33:38 -07:00
Rye Mutt ef916bd3ae Remove or suppress left over debug messages in hot paths (#2392) 2024-08-26 16:32:22 -07:00
Brad Linden e5fd6854ae
Merge pull request #2422 from secondlife/brad/2395-fix-start-location
Fix start location dropping coordinates on login
2024-08-26 16:04:30 -07:00
Brad Linden e23f2f1cf7 defensively capture coroutine args by value 2024-08-26 15:01:04 -07:00
Brad Linden 3e2866f876 secondlife/viewer#2395 fix start location coordinates getting double escaped 2024-08-26 14:49:11 -07:00
Rye Mutt 39c7f149e4
Merge pull request #2415 from RyeMutt/add-cas
Introduce Contrast Adaptive Sharpening post process effect
2024-08-26 14:37:06 -07:00
Nat Goodspeed 35efadf783 Increment viewer version to 7.1.10
following promotion of secondlife/viewer #1829: 2024.06 Atlasaurus
2024-08-26 16:12:31 -04:00
Rye Mutt ca115671d6 Replaced refreshCachedSetting for sharpening with cached control 2024-08-26 15:42:57 -04:00
Dave Parks 779e195d1c
Merge branch 'develop' into add-cas 2024-08-26 09:08:13 -05:00
Rye Cogtail 436e986893 Fix mac crash on startup due to missing types from enum 2024-08-24 00:55:34 -04:00
Rye Cogtail 2ca193ce46 Improve FXAA quality and performance when GL version is greater then 4
Adds gather4 support under GLSL 4.0+
2024-08-24 00:55:34 -04:00
Rye Mutt cbca178256 Add Contrast Adaptive Sharpening post process effect(#2399) 2024-08-24 00:55:32 -04:00
TommyTheTerrible 17f515cd3e
Update LLImageJ2C::calcDataSizeJ2C for better 2k image support (#2406)
Adjusted calculations based on dimensions and assumed maximum block size so that higher discards (4-5) of 2048x2048 images can be decoded with aux/alpha.

(It should also work for dimensions larger than 2048.)

This function will now return a reliable discard 5 data size for unknown dimensions (w and/or h equals 0), which could be used in LLTextureFetch::createRequest to skip the header fetch and go right to a discard 5 decode.

Tested on OpenJPEG 2.5 with partial decode support (opj_decoder_set_strict_mode set to false).

Should work on KDU fine but might be a good idea to test.
2024-08-24 07:21:03 +03:00
Dave Parks 0edf6e230e
#2388 Texture downrezzing tune up. (#2414)
- Hold onto unreferenced textures for 30 seconds.
- Don't downres unless memory is low
- Downres when viewer is backgrounded.
2024-08-23 16:35:52 -05:00
Rye Mutt 45b2d69446
Add dedicated sun probe shader and remove SSAO and shadow smoothing from probe generation passes (#2405)
* Add dedicated sun probe shader and remove SSAO and shadow smoothing from probe generation passes (#2398)

* Fix usage of removed sunLightNoFragCoordV in shader manager
2024-08-23 13:50:20 -05:00
Vir Linden efe8783d6b
Merge pull request #2368 from secondlife/andreyk/viewer_2363
viewer#2363 Region Day Offset error with Time of Day
2024-08-23 09:42:50 -04:00