Commit Graph

133 Commits (01a5f965c8396812c389bcae44cb0f632647cd21)

Author SHA1 Message Date
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 dd4100181d #4334 Crash at getIsDynamic 2025-07-04 00:24:30 +03:00
Beq f4e30fdd1d [FIRE-35070] Update probe management loop 2025-06-21 18:51:04 +01:00
Beq 1c3c08517a [FIRE-35070] progressive loss of FPS when probe coverage none.
Addresses accumulation of probes over time leading to extremely low framerates during long sessions.

[FIRE-35070] Fix and refactor isRelevant

.
2025-06-21 16:45:11 +01:00
Beq 1b2b80e203 Enhanced debug rendering for probes 2025-06-21 02:57:01 +01: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 62e5fffd8e Merge branch 'release/2025.03' of https://github.com/secondlife/viewer
# Conflicts:
#	indra/newview/lldrawpooltree.cpp
#	indra/newview/lllocalbitmaps.cpp
#	indra/newview/lltextureview.cpp
#	indra/newview/llviewertexture.cpp
#	indra/newview/skins/default/colors.xml
2025-03-23 12:29:33 +01:00
Jonathan "Geenz" Goodman 32c7d3064f
Dynamic Probe Allocation (#3787)
* #3788 Support dynamic probe allocation.
* #3738 Mitigate probe flashing
* #3735 Mitigate realtime probes flashing
2025-03-21 09:33:23 -04: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
Jonathan "Geenz" Goodman 5ce0c5858c
#3409 Make maximum probe count adjustable. (#3709)
* #3409 Make probe count adjustable to better accomodate low VRAM scenarios
2025-03-11 06:40:36 +02: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 ad283258e0 Merge branch 'release/2024.12-ForeverFPS' of https://github.com/secondlife/viewer
# Conflicts:
#	indra/newview/llprogressview.cpp
#	indra/newview/llviewermenu.cpp
#	indra/newview/skins/default/xui/de/panel_progress.xml
#	indra/newview/skins/default/xui/en/panel_progress.xml
#	indra/newview/skins/default/xui/fr/panel_progress.xml
#	indra/newview/skins/default/xui/pl/panel_progress.xml
2025-01-15 11:19:52 +01:00
Rye c883c7f2d9 Drop reflection probes and mirrors to RGBA8 when hdr is disabled to minimize vram usage and chance of probe nans (#2558) 2025-01-09 20:43:45 -05:00
Andrey Kleshchev 97b1ab3455 #3360 Crash in LLReflectionMapManager::update() 2025-01-07 19:14:26 +02:00
Ansariel c53bc7e74f Merge branch 'release/2024.09-ExtraFPS' of https://github.com/secondlife/viewer
# Conflicts:
#	indra/newview/llviewercontrol.cpp
#	indra/newview/skins/default/xui/en/notifications.xml
2024-12-15 21:44:14 +01: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
Ansariel 586d0a3247 Merge branch 'release/2024.09-ExtraFPS' of https://github.com/secondlife/viewer
# Conflicts:
#	indra/newview/skins/default/xui/en/notifications.xml
2024-12-11 17:47:28 +01:00
Andrey Kleshchev 97826b555b viewer#3169 Legacy settings should no longer be automatically converted 2024-12-10 21:05:41 +02:00
Ansariel 68d82c9793 Merge branch 'release/2024.09-ExtraFPS' of https://github.com/secondlife/viewer
# Conflicts:
#	indra/llrender/llvertexbuffer.cpp
#	indra/newview/app_settings/settings.xml
#	indra/newview/lltexturefetch.cpp
#	indra/newview/viewer_manifest.py
2024-11-27 19:23:33 +01:00
Jonathan "Geenz" Goodman d65fb7cec8
Drop emissive on old Intel GPUs (#3110)
* #3103 Add the ability to disable the emissive buffer for older GPUs with low memory bandwidth.
* #3135 Add a "vintage" mode for slower GPUs
* #2719 Fix for skies being overbrightened
* #2632 Do not apply tonemapping on legacy skies
2024-11-25 20:56:03 -05:00
Ansariel 1531b28979 Merge branch 'release/2024.09-ExtraFPS' of https://github.com/secondlife/viewer
# Conflicts:
#	indra/newview/app_settings/settings.xml
#	indra/newview/pipeline.cpp
2024-11-13 11:31:28 +01:00
Dave Parks 2b255535ef
2590 mac intel and radeon pro 5300m horrible fps 2 (#3030)
* 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-11-12 15:26:38 -08:00
Ansariel d3a178a80c Merge branch 'master' of https://github.com/FirestormViewer/phoenix-firestorm
# Conflicts:
#	indra/newview/llimprocessing.cpp
2024-10-26 15:03:42 +02:00
Beq 023a4602d9 Possible fix for a variety of environment crashes in STATE_PRECACHE 2024-10-26 13:41:32 +01:00
Rye Mutt db84bf9567
Improve accuracy of texture memory tracking (#2371)
* Fix alloc_tex_image to account for more missing texture memory
Change alloc_tex_image calls to pass internal format to properly account for used image type

* Fix scaleDown passing primary format in place of internal format to glTexImage2D

* Make texture debug view and texture bias calculation consistent and remove double accounting for render target textures
2024-08-21 09:47:31 -05:00
Rye Mutt 4e19b2ae34 Fix RenderReflectionProbeResolution debug setting not updating during runtime 2024-08-18 01:23:11 -04:00
Ansariel 9fdca96f8b Re-enable compiler warnings C4244 and C4396 except for lltracerecording.h and llunittype.h for now 2024-07-08 20:27:14 +02:00
Brad Linden 7c42711ca3 Merge remote-tracking branch 'origin/DRTVWR-600-maint-A' into project/gltf_development 2024-06-10 16:22:12 -07:00
Andrey Lihatskiy c95b4bf3ea Post-merge - trim trailing whitespace 2024-06-10 20:45:59 +03:00
Ansariel c0fad3028f Re-enable compiler warnings C4018, C4100, C4231 and C4506 2024-06-10 16:42:43 +02:00
Ansariel 9e45c1e506 Fix issues resulting from b42f9d836b 2024-06-09 16:17:03 +02:00
Ansariel b42f9d836b Re-enable a lot of compiler warnings for MSVC and address the C4267 "possible loss of precision" warnings 2024-06-01 15:49:26 +02:00
Dave Parks 15fd13f830
#1530 Increase joint limit for GLTF Assets (#1582)
* Migrate GLTF scene rendering to its own shaders
* Add support for ambient occlusion map separate from metallic roughness map (or absent)
* Use UBO's for GLTF joints
* Better error handling of downloading GLTF assets
2024-05-29 16:56:39 -05:00
Ansariel 799ebf2162 Fix broken merge and BOOL/bool issues 2024-05-10 15:16:06 +02:00
RunitaiLinden c6d752b880 Merge remote-tracking branch 'origin/DRTVWR-600-maint-A' into gltf-dev-maint-a-merge 2024-05-06 16:48:58 -05:00
Rye Mutt e361671018
Port from OpenEXR to TinyEXR for reduced installer and library size (#1287) 2024-04-19 14:39:28 -05:00
RunitaiLinden 92efb16039
#854 Fix for skies that shouldn't be auto-adjusted getting auto-adjusted. (#1115) 2024-04-02 15:27:22 -05:00
RunitaiLinden c1bde75768
HDRI Local Preview (#953)
* #926 WIP - HDRI import prototype v0

* #926 WIP -- add OpenEXR to autobuild.xml

* #926 WIP -- Add OpenEXR cmake

* #926 WIP -- Attempt at using OpenEXR autobuild package and don't hard code .exr file to load

* #926 Unmangle autobuild.xml and get dll's in the right place (thanks, Caladbolg!)

* implement mac shared libs plumbing for OpenEXR for secondlife/viewer#926

* Fix Xcode/clang compile error regarding new[]/delete[] mismatch

* #926 HDRI Preview finishing touches.

- Full ACES when HDRI is enabled
- Fix for probes getting stuck paused
- Add exposure and rotation controls

---------

Co-authored-by: Brad Linden <brad@lindenlab.com>
2024-03-08 12:01:20 -06:00
Jonathan "Geenz" Goodman 1fc45a50ff #681 Add probe blending for mirrors. 2024-03-06 17:56:16 -08:00
Jonathan "Geenz" Goodman b3283036af #681 Start adding blending boilerplate. 2024-02-26 04:02:09 -08:00
Ansariel 60d3dd98a4 Convert remaining BOOL to bool 2024-02-21 23:14:31 +02:00
Henri Beauchamp 2d9e00eff5 Fix for a potential crash in LLReflectionMapManager::registerSpatialGroup()
The spatial partion could potentially be NULL and shall therefore been tested for this case.

Similar fix to 08cf926d3b
2024-02-08 22:47:50 +02:00
Jonathan "Geenz" Goodman 373b06398c Merge remote-tracking branch 'origin/release/materials_featurette' into DRTVWR-583 2024-01-24 14:37:33 -08:00
Cosmic Linden 529d56ed9c SL-20606: Fix cached probe flags for material preview potentially exceeding storage bounds 2024-01-19 17:09:11 -08:00
Cosmic Linden 2f18d74f9a SL-20606: Full GLTF material preview. Works for most materials. 2024-01-19 15:43:13 -08:00
RunitaiLinden c28eb36a2c SL-20654 Fix for box probes sometimes glitching out at the corners. Incidental fix for crash when mWaterPool is null. 2023-12-05 19:50:25 -06:00
RunitaiLinden a29f7c3b4a SL-20498 Preserve default probe when resetting reflection probes. 2023-10-23 13:54:00 -05:00
RunitaiLinden 09aedbb7a9 SL-20258 Fix for LSL spamming new probes into the scene deadlocking probe updater. Add probe update debug display. 2023-10-16 13:54:38 -05:00