Commit Graph

331 Commits (0c39bdfd4de14a02104f3748030e974fbc98d978)

Author SHA1 Message Date
Andrey Kleshchev cc54e206c3 #3575 Shrink draw distance when VRAM is very low 2025-04-05 09:28:26 +03:00
Dave Parks ed6732eda8
#2315 Ensure textures are deleted when they are no longer referenced. (#2343)
* #2315 WIP -- Clean up deletion rules in texture list.  Incidental decruft.

* Touch up assertions.

* Move mLastReferencedTimer to LLViewerMediaTexture since it's no longer used by LLViewerTexture
2024-08-20 06:59:07 -05:00
Rye Mutt 2a7030992f
Update tracy profiler to 0.10 (#1946) 2024-07-09 16:53:43 -05: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 e2e37cced8 Fix line endlings 2024-05-22 22:40:26 +03:00
Andrey Lihatskiy 069ea06848 Fix line endings 2024-05-22 20:57:56 +03:00
Ansariel 7bb5afc11e Merge branch 'DRTVWR-600-maint-A' of https://github.com/secondlife/viewer into DRTVWR-600-maint-A
# Conflicts:
#	indra/llcommon/llpredicate.h
#	indra/newview/lldrawpoolavatar.cpp
#	indra/newview/llinventorybridge.cpp
2024-05-22 19:08:15 +02:00
Ansariel 1b67dd855c Merge remote-tracking branch 'origin/main' into DRTVWR-600-maint-A
# Conflicts:
#	autobuild.xml
#	indra/cmake/CMakeLists.txt
#	indra/cmake/GoogleMock.cmake
#	indra/llaudio/llaudioengine_fmodstudio.cpp
#	indra/llaudio/llaudioengine_fmodstudio.h
#	indra/llaudio/lllistener_fmodstudio.cpp
#	indra/llaudio/lllistener_fmodstudio.h
#	indra/llaudio/llstreamingaudio_fmodstudio.cpp
#	indra/llaudio/llstreamingaudio_fmodstudio.h
#	indra/llcharacter/llmultigesture.cpp
#	indra/llcharacter/llmultigesture.h
#	indra/llimage/llimage.cpp
#	indra/llimage/llimagepng.cpp
#	indra/llimage/llimageworker.cpp
#	indra/llimage/tests/llimageworker_test.cpp
#	indra/llmessage/tests/llmockhttpclient.h
#	indra/llprimitive/llgltfmaterial.h
#	indra/llrender/llfontfreetype.cpp
#	indra/llui/llcombobox.cpp
#	indra/llui/llfolderview.cpp
#	indra/llui/llfolderviewmodel.h
#	indra/llui/lllineeditor.cpp
#	indra/llui/lllineeditor.h
#	indra/llui/lltextbase.cpp
#	indra/llui/lltextbase.h
#	indra/llui/lltexteditor.cpp
#	indra/llui/lltextvalidate.cpp
#	indra/llui/lltextvalidate.h
#	indra/llui/lluictrl.h
#	indra/llui/llview.cpp
#	indra/llwindow/llwindowmacosx.cpp
#	indra/newview/app_settings/settings.xml
#	indra/newview/llappearancemgr.cpp
#	indra/newview/llappearancemgr.h
#	indra/newview/llavatarpropertiesprocessor.cpp
#	indra/newview/llavatarpropertiesprocessor.h
#	indra/newview/llbreadcrumbview.cpp
#	indra/newview/llbreadcrumbview.h
#	indra/newview/llbreastmotion.cpp
#	indra/newview/llbreastmotion.h
#	indra/newview/llconversationmodel.h
#	indra/newview/lldensityctrl.cpp
#	indra/newview/lldensityctrl.h
#	indra/newview/llface.inl
#	indra/newview/llfloatereditsky.cpp
#	indra/newview/llfloatereditwater.cpp
#	indra/newview/llfloateremojipicker.h
#	indra/newview/llfloaterimsessiontab.cpp
#	indra/newview/llfloaterprofiletexture.cpp
#	indra/newview/llfloaterprofiletexture.h
#	indra/newview/llgesturemgr.cpp
#	indra/newview/llgesturemgr.h
#	indra/newview/llimpanel.cpp
#	indra/newview/llimpanel.h
#	indra/newview/llinventorybridge.cpp
#	indra/newview/llinventorybridge.h
#	indra/newview/llinventoryclipboard.cpp
#	indra/newview/llinventoryclipboard.h
#	indra/newview/llinventoryfunctions.cpp
#	indra/newview/llinventoryfunctions.h
#	indra/newview/llinventorygallery.cpp
#	indra/newview/lllistbrowser.cpp
#	indra/newview/lllistbrowser.h
#	indra/newview/llpanelobjectinventory.cpp
#	indra/newview/llpanelprofile.cpp
#	indra/newview/llpanelprofile.h
#	indra/newview/llpreviewgesture.cpp
#	indra/newview/llsavedsettingsglue.cpp
#	indra/newview/llsavedsettingsglue.h
#	indra/newview/lltooldraganddrop.cpp
#	indra/newview/llurllineeditorctrl.cpp
#	indra/newview/llvectorperfoptions.cpp
#	indra/newview/llvectorperfoptions.h
#	indra/newview/llviewerparceloverlay.cpp
#	indra/newview/llviewertexlayer.cpp
#	indra/newview/llviewertexturelist.cpp
#	indra/newview/macmain.h
#	indra/test/test.cpp
2024-05-22 19:04:52 +02:00
Andrey Kleshchev 47985e5822 triage#59 Fix missed 'static' declarations 2024-05-22 15:39:53 +03:00
Andrey Kleshchev 6d6eabca44 triage#59 Render Friends Only option
An option for performance testing, video recording or taking photos, so
that unexpected people won't appear in your photos or tests.
2024-05-20 19:34:42 +03:00
Andrey Lihatskiy 1b68f71348 #824 Process source files in bulk: replace tabs with spaces, convert CRLF to LF, and trim trailing whitespaces as needed 2024-04-29 07:56:09 +03:00
Ansariel 60d3dd98a4 Convert remaining BOOL to bool 2024-02-21 23:14:31 +02: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
Alexander Gavriliuk a22dfc28a1 SL-18619 Eyes not rendering in Shape floater thumbnails 2023-07-27 05:02:43 +02:00
RunitaiLinden 30311e5229 SL-19713 Fix for broken avatar preview render in animation upload. Incidental decruft and camera FoV network spam reduction. 2023-05-25 16:16:20 -05:00
RunitaiLinden 334d71e910
SL-19656 Rewrite avatar and attachment render metrics to not interfere with render pipe and be representative of actual render cost instead of driver synchronization time.
* SL-19656 Rewrite avatar and attachment render metrics to not interfere with render pipe and be representative of actual render cost instead of driver synchronization time.

* SL-19656 Remove now dead code (trackAttachments et al).

* SL-19656 Fix for crash on GL <= 3.2
2023-05-01 17:05:09 -05:00
Brad Linden 369945b45d Merge remote-tracking branch 'origin/DRTVWR-539' into DRTVWR-559-merge-539 2023-04-26 15:38:47 -07:00
Dave Parks 830cb6b665 SL-19148 Decruft some forward shaders and drawpools. Fix HUDs being in wrong color space. 2023-02-03 17:18:39 -06:00
RunitaiLinden 7bd9d21e19
Optimizations, decruft, and intel compatibility pass (#53)
SL-18869, SL-18772  Overhaul VBO management, restore occlusion culling, intel compatibility pass, etc
2023-01-19 09:13:45 -06:00
Maxim Nikolenko 0ee82f5264 SL-18641 fix for 'Always display friends in full detail' setting 2022-11-17 15:04:38 +02:00
Mnikolenko Productengine b66f2e7da7 SL-18202 WIP merging autotune contribution and updating UI 2022-09-21 21:19:17 +03:00
Howard Stearns 01d03edd85 SL-17967 - _ARB constant removal 2022-09-01 13:38:22 -07:00
Ptolemy 41894327c3 SL-16606: Add profiler category AVATAR 2022-01-14 11:50:19 -08:00
Dave Houlton cf35d27dfb DRTVWR-546 merge up to 6.5.2 2021-12-15 14:37:18 -07:00
Dave Houlton 7a5ef999d0 SL-16386 consolidate all VertexShader capability checks to a single LLPipeline::shadersLoaded() 2021-11-30 17:04:35 -07:00
Dave Houlton 68e09edad0 SL-16386 remove references to (const true) LLGLSLShader::sNoFixedFunction 2021-11-30 17:04:35 -07:00
Dave Parks 28f9fb06a9 SL-16289 Rigged mesh rendering overhaul 2021-11-20 18:49:19 +00:00
Dave Parks 8d20480c5f SL-16148 SL-16244 SL-16270 SL-16253 Remove most BlockTimers, remove LLMemTracked, introduce alignas, hook most/all reamining allocs, disable synchronous occlusion, and convert frequently accessed LLSingletons to LLSimpleton 2021-10-28 18:06:21 +00:00
Dave Parks 5553d61421 SL-16203 Fix for wonky handling of mouse deltas. 2021-10-22 17:01:33 +00:00
Runitai Linden e7227afe02 SL-16166 Apply optimizations from pushBatch to other render call sites. Optimize out a map lookup in rigged face rendering. 2021-10-14 13:02:40 -05:00
Runitai Linden 60980a4733 Merge remote-tracking branch 'remotes/origin/DRTVWR-541' into DRTVWR-546 2021-09-22 18:06:58 -05:00
Ptolemy 2508926569 SL-16014 Add Tracy logging to lldrawpoolavatar.cpp 2021-09-22 14:38:42 -07:00
Mnikolenko Productengine a68ca665ad SL-15958 Stop impostored avatars from casting shadows 2021-09-22 17:51:00 +03:00
Dave Parks f79890669d SL-16006 and SL-16009 Rigged mesh rendering optimization pass 2021-09-20 18:58:09 +00:00
Runitai Linden 7fe2856516 SL-15975 Add Tracy-only profile macros that are no-ops when Tracy is disabled. 2021-09-15 12:41:38 -06:00
Runitai Linden f844b4e6b9 SL-15961 Convert LLMeshRepository::mSkinMap into unordered_map and reduce number of per-frame lookups to said map. 2021-09-14 20:18:58 -05:00
Runitai Linden fb6cb050e4 SL-15975 Add Tracy-only profile macros that are no-ops when Tracy is disabled. 2021-09-13 12:41:57 -05:00
Mnikolenko Productengine a1fcaa3898 SL-15944 Don't show animeshes and local lights attached to the avatar when ‘Hide all avatars' is enabled 2021-09-06 19:53:43 +03:00
Dave Houlton 7199ce4514 SL-15299 SL-15313 BUG-230802 Revert BOM fix causing issues with avatar alpha masks.
Revert "SL-12069 Issues with bakes-on-mesh and alpha modes"
This reverts commit 5691d302ef.
2021-05-26 10:57:39 -06:00
Andrey Lihatskiy ba8dcf906d Merge branch 'master' into DRTVWR-515-maint 2021-02-17 21:20:08 +02:00
Andrey Kleshchev 5691d302ef SL-12069 Issues with bakes-on-mesh and alpha modes 2020-12-10 23:17:07 +02:00
Brad Payne (Vir Linden) e3de5de3c1 Merge remote-tracking branch 'origin/master' into DRTVWR-517 2020-11-13 13:59:36 +00:00
Brad Payne (Vir Linden) c79e648aac SL-14015 - possible fix for phantom animesh attachments on mac 2020-11-04 16:07:10 +00:00
Brad Payne (Vir Linden) caea7260c7 SL-14142 - impostor management cleanup 2020-10-20 18:56:44 +01:00
Andrey Kleshchev 9618df484b SL-14130 Jellydolls have wrong appearance when non-impostors is uncapped 2020-10-16 23:16:04 +03:00
Andrey Lihatskiy a2cb61d9f4 Merge branch 'master' into DRTVWR-507-maint
# Conflicts:
#	indra/newview/pipeline.cpp
2020-09-28 22:08:48 +03:00
Brad Payne (Vir Linden) 376f690f8f Merge remote-tracking branch 'origin/master' into DRTVWR-517 2020-09-28 19:51:24 +01:00
Brad Payne (Vir Linden) 1cba874abf Merge remote-tracking branch 'origin/master' into DRTVWR-517 2020-09-23 20:20:27 +01:00
Dave Houlton 86e7cc3d35 Merge branch 'master' v6.4.9 into DRTVWR-497 2020-09-22 15:28:13 -06:00
Andrey Lihatskiy 825cfc2b6a Merge branch 'master' into DRTVWR-507-maint
# Conflicts:
#	doc/contributions.txt
#	indra/newview/llfloaterconversationpreview.cpp
#	indra/newview/llinventorypanel.h
#	indra/newview/llmeshrepository.h
#	indra/newview/llvoicevivox.cpp
2020-09-22 23:30:12 +03:00