Commit Graph

1611 Commits (f886a438ed11468a90ecca9ba8046a6719f0402c)

Author SHA1 Message Date
Andrey Lihatskiy 78174fc865 Merge remote-tracking branch 'origin/main' into DRTVWR-588-maint-W
# Conflicts:
#	.github/workflows/build.yaml
2024-03-27 00:14:56 +02:00
Andrey Kleshchev 6c43baf029 Issue #54 LLRender::init crash 2024-03-05 01:58:57 +02:00
Andrey Kleshchev 78ce375dda SL-17896 Don't crash silently if files are missing or out of memory
Under debug LL_ERRS will show a message as well, but release won't show
anything and will quit silently so show a notification when applicable.
2024-03-05 00:29:35 +02:00
Brad Linden 258c039584 Merge remote-tracking branch 'origin/main' into release/gltf-maint2 2024-03-01 10:12:00 -08:00
Andrey Lihatskiy 6d077c90a0 Merge branch 'main' into DRTVWR-588-maint-W 2024-03-01 17:30:06 +02:00
Alexander Gavriliuk ae91ae43a5 SL-20795 Part of previously typed emojis disappear in the 'Save settings as a preset...' option of the 'Preferences' floater 2024-01-17 04:34:21 +01:00
RunitaiLinden fab4cfbab2 SL-20704 Fix for pathfinding debug display not working. 2024-01-10 13:50:15 -06:00
Andrey Lihatskiy 7d4de08fa9 Merge branch 'main' into DRTVWR-489
# Conflicts:
#	indra/newview/llmaterialeditor.cpp
2024-01-08 23:49:38 +02:00
Andrey Lihatskiy fe796dac71 Merge branch 'main' into DRTVWR-588-maint-W 2024-01-08 23:15:00 +02:00
Andrey Lihatskiy 793bed7d06 Merge branch 'main' into DRTVWR-489
# Conflicts:
#	indra/newview/fonts/DejaVu-license.txt
#	indra/newview/fonts/DejaVuSans-Bold.ttf
#	indra/newview/fonts/DejaVuSans-BoldOblique.ttf
#	indra/newview/fonts/DejaVuSans-Oblique.ttf
#	indra/newview/fonts/DejaVuSans.ttf
#	indra/newview/fonts/DejaVuSansMono.ttf
2023-12-15 07:06:15 +02:00
Andrey Lihatskiy 4b98ae6e8a Merge branch 'DRTVWR-587-maint-V' into DRTVWR-588-maint-W
# Conflicts:
#	indra/newview/llspatialpartition.cpp
2023-12-14 02:47:44 +02:00
Alexander Gavriliuk 0db9bcf21f SL-20279 BugSplat Crash #1327171: gl_debug_callback(111) 2023-12-13 21:24:08 +01:00
Alexander Gavriliuk c9cd5631e4 Merge branch 'main' into DRTVWR-489 2023-12-05 03:37:06 +01:00
RunitaiLinden a09b083b1b
Merge branch 'DRTVWR-596' into davep/SL-20611 2023-11-30 12:19:38 -06:00
Andrey Kleshchev 7706c1771d SL-20411 Thumbnail textures should have less of an impact on performance #1
scale thumbnail textures down to 256 when needed. As we do to chat icons.

# Conflicts:
#	indra/newview/llviewertexture.cpp
2023-11-21 22:11:30 +02:00
RunitaiLinden 964f9e74d5 SL-20611 followup -- remove now unused glsl files. Fix transparent water. 2023-11-17 10:10:58 -06:00
RunitaiLinden bdb53fd56d SL-20611 Make haze effect local lights -- move sky and water haze to their own passes and unify sky and water haze in forward rendering shaders. 2023-11-16 16:46:12 -06:00
Brad Linden 26163e2154 Fix DRTVWR-559 std::array usage in llrender and llprimitive after merge 2023-10-25 16:44:14 -07:00
RunitaiLinden a29f7c3b4a SL-20498 Preserve default probe when resetting reflection probes. 2023-10-23 13:54:00 -05:00
Alexander Gavriliuk e7f1466a7b Merge branch main into DRTVWR-489 2023-10-08 14:01:05 +02:00
Andrey Kleshchev 7d50a51434 Merge branch 'main' (DRTVWR-567) into DRTVWR-559
# Conflicts:
#	indra/newview/CMakeLists.txt
#	indra/newview/VIEWER_VERSION.txt
#	indra/newview/llagent.cpp
#	indra/newview/llfloaternewfeaturenotification.cpp
#	indra/newview/llinventorybridge.cpp
#	indra/newview/llinventorymodel.cpp
#	indra/newview/lloutfitgallery.cpp
#	indra/newview/llpanelmaininventory.cpp
#	indra/newview/llpanelmaininventory.h
#	indra/newview/llsidepaneltaskinfo.cpp
#	indra/newview/llsidepaneltaskinfo.h
#	indra/newview/lltexturectrl.cpp
#	indra/newview/lltexturectrl.h
#	indra/newview/llviewerinventory.cpp
#	indra/newview/llviewerobject.cpp
#	indra/newview/llviewertexturelist.cpp
#	indra/newview/llviewertexturelist.h
#	indra/newview/skins/default/xui/en/floater_new_feature_notification.xml
#	indra/newview/skins/default/xui/en/menu_inventory.xml
2023-10-03 19:00:33 +03:00
Alexander Gavriliuk be655fef7f :x 2023-10-03 14:23:38 +02:00
Rye Mutt a4c2eab969
Fix integer overflow when framebuffers are extremely high resolution resulting in INT_MAX texture bias (#393) 2023-09-28 15:05:37 -05:00
RunitaiLinden 74940194fa Merge remote-tracking branch 'remotes/origin/DRTVWR-559' into davep/SL-19842 2023-09-11 11:51:20 -05:00
Alexander Gavriliuk 8d0af77d0b SL-19709 Fix for fullbright shiny not factoring out exposure (update) 2023-09-05 16:59:48 +02:00
Andrey Kleshchev 3d73a10da3 Merge branch main (DRTVWR-582) into DRTVWR-567
# Conflicts:
#	indra/newview/app_settings/settings.xml
#	indra/newview/llinventoryfunctions.cpp
#	indra/newview/llinventoryfunctions.h
#	indra/newview/llinventorymodel.cpp
#	indra/newview/llinventoryobserver.cpp
#	indra/newview/llinventoryobserver.h
#	indra/newview/skins/default/xui/ja/floater_inventory_item_properties.xml
2023-08-23 22:40:17 +03:00
RunitaiLinden 894c9e0417 SL-19842 WIP -- Move sky auto adjustment magic numbers to debug settings. 2023-08-22 13:17:58 -05:00
Brad Linden ae63ed51aa Merge remote-tracking branch 'origin/xcode-14.3' into DRTVWR-559 (#292) 2023-07-18 14:38:18 -07:00
Callum Prentice c5d7f3c4c1 DRTVWR-489: trivial merge conflict fix 2023-07-18 10:51:51 -07:00
Brad Linden f975cfd736 Merge remote-tracking branch 'origin/main' into DRTVWR-559 2023-07-17 13:37:03 -07:00
Andrey Kleshchev acf82867b6 Merge branch 'main' (DRTVWR-580) into DRTVWR-567
# Conflicts:
#	indra/llui/llfolderviewitem.cpp
#	indra/newview/llinventorymodel.cpp
#	indra/newview/llinventorymodelbackgroundfetch.cpp
2023-07-17 23:34:59 +03:00
Andrey Lihatskiy 07ff9a5d67 Merge branch 'main' into DRTVWR-582-maint-U
# Conflicts:
#	doc/contributions.txt
#	indra/llcommon/llerrorthread.cpp
2023-07-17 23:17:29 +03:00
Alexander Gavriliuk 1fe007abef SL-20001 EmojiPicker - make the preview to be a panel instead of a button 2023-07-13 22:13:31 +02:00
Cosmic Linden 6628320130 SL-19567: Add option RenderGlowNoise for low precision glow dithering, enabled by default 2023-07-12 15:44:15 -07:00
Alexander Gavriliuk 8b718cbc2e SL-19831 Check marks in the menu are less visible 2023-07-12 21:50:35 +02:00
Jonathan "Geenz" Goodman ffac2df6ca Merge branch 'DRTVWR-559' into DRTVWR-583-glossy-ssr 2023-06-11 20:56:02 -07:00
RunitaiLinden 50ec54831d
DRTVWR-559 Revert skies to be very close to release and disable tone mapping when probe ambiance is zero.
Hack for desaturating legacy materials has been removed for performance and quality reasons.

Adds a new setting for auto adjusting legacy skies.  This is the PBR "opt out" button.  If disabled, legacy skies will disable tonemapping, automatic probe ambiance, and HDR/exposure.  If enabled, legacy skies will behave as if probe ambiance and HDR scale are 1.0, and ambient will be cut in half.  

HDR scale will act as a sky brightener, but will automatically adjust dynamic exposure so the sky will be properly exposed.  If you want relatively even exposure all the time, set HDR Scale to 1.0.  If you want a high range of exposures between indoor/dark areas and outdoor/bright areas, increase HDR Scale.

Also tuned up SSAO (thanks Rye!).

Reviewed with Brad.
2023-06-01 19:49:23 -05:00
Jonathan "Geenz" Goodman 47e311d6e8 Addressing some performance related feedback with SSR getting drastically slower.
DRTVWR-559
DRTVWR-583
2023-05-26 16:56:33 -07:00
RunitaiLinden 0c7205e5f1 SL-19560 Better fix for blurry BoM textures. 2023-05-23 10:55:50 -05:00
Jonathan "Geenz" Goodman b273edd125 Merge branch 'DRTVWR-559' into DRTVWR-583 2023-05-22 10:42:18 -07:00
Rye Mutt 87bda55268
Add a binary cache for compiled shaders using glProgramBinary (#216)
* Add a binary cache for compiled shaders using glProgramBinary

* Add additional sanity checking to shader binary save and load, hook up cache clear and menu option

* Fix default init of shader cache data struct and clear gl errors before glGetError calls

---------

Co-authored-by: RunitaiLinden <davep@lindenlab.com>
2023-05-17 18:30:27 -05:00
RunitaiLinden 446d0cbf7f SL-19655 Clean up some missed "texture2D" vs "texture" (thanks Rye) 2023-05-17 18:28:01 -05:00
RunitaiLinden c827d32ebe SL-19655 Decruft legacy GLSL shaders and now unused build queues. 2023-05-17 18:09:36 -05:00
RunitaiLinden ee0b330b2d DRTVWR-559 Decruft deprecated OpenGL flags. 2023-05-16 20:31:29 -05:00
RunitaiLinden cdc9852f05 SL-19709 Fix for fullbright shiny not factoring out exposure and flickering fullbright alpha. Incidental decruft. 2023-05-15 11:01:24 -05:00
Jonathan "Geenz" Goodman ad4118f6ce Merge branch 'DRTVWR-559' into DRTVWR-583 2023-05-11 21:21:01 -07:00
Jonathan "Geenz" Goodman 339e02ef33 Finally get glossy SSR up.
DRTVWR-583
2023-05-11 21:19:58 -07:00
Nat Goodspeed 026ef1935d SL-19690: Follow up on Rye Mutt's fix for shutdown crashes.
Rather than continuing to propagate try/catch (Closed)
(aka LLThreadSafeQueueInterrupt) constructs through the code base, make
WorkQueueBase::post() return bool indicating success (i.e. ! isClosed()).
This obviates postIfOpen(), which no one was using anyway.

In effect, postIfOpen() is renamed post(), bypassing the exception when
isClosed().

Review existing try/catch blocks of that sort, changing to test for post()
returning false.
2023-05-08 12:07:31 -04:00
RunitaiLinden e09475713b DRTVWR-559 Optimization pass, make it so profileAvatar can read back GPU timer without a frame stall. 2023-05-02 18:47:21 -05:00
RunitaiLinden a3b1d0beb6 SL-19197 Fix for crash in LLRenderTarget::release 2023-04-27 16:05:07 -05:00