Commit Graph

93 Commits (b769f3b83c96ebd1480e1244e6e75e6f9029cb63)

Author SHA1 Message Date
Rye 6fcd349f37 Fix Tracy memory profiling overloads for aligned allocations
Fix disabling renderdoc support
Improve ll_aligned_alloc functions on darwin for 32 and 64byte aligned by utilizing posix_memalign
2025-02-11 05:04:05 -05:00
Jonathan "Geenz" Goodman 93a88e6025
Water Exclusion Surfaces (#3517)
* #3455 Add support for water exclusion surfaces
2025-02-07 05:55:47 -05:00
cosmic-linden 2c4fe4ff45
secondlife/viewer#2349: Avatar/animesh rendering correctness pass (#2364)
* secondlife/viewer#2349: Blinn-Phong avatar/animesh rendering optimization/correctness pass
* secondlife/viewer#2349: General avatar/animesh rendering optimization/correctness pass
2024-08-22 13:45:14 -05:00
Brad Linden a1f49564d6 Merge remote-tracking branch 'origin/DRTVWR-600-maint-A' into brad/merge-maint-a-to-dev 2024-05-23 11:31:19 -07:00
Ansariel e2e37cced8 Fix line endlings 2024-05-22 22:40:26 +03: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
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
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
Cosmic Linden 38b3f663fc Merge branch 'release/materials_featurette' of github.com:secondlife/viewer into DRTVWR-592 2024-01-22 15:07:10 -08:00
Cosmic Linden 42dafa5f09 SL-20606: Refactor model matrix code 2024-01-19 15:43:11 -08:00
Cosmic Linden 7c2c49dd26 SL-20606: Make push GLTF single batch static 2024-01-19 15:43:11 -08:00
Cosmic Linden ae3990e24f SL-20606: Remove unused LLRenderPass func 2024-01-19 15:43:11 -08:00
RunitaiLinden 6dd260c369
Merge branch 'release/materials_featurette' into DRTVWR-592 2024-01-19 11:36:56 -06:00
RunitaiLinden 8b86e2ad1b SL-20611 Followup -- fix for depth based atmospheric mask making atmospherics effect sun/moon/clouds 2023-12-14 14:11:46 -06:00
RunitaiLinden 68875523e0 SL-20611 Incorporate water haze into new post effect atmospherics goodness 2023-11-30 12:01:45 -06:00
Cosmic Linden a91f08ba84 Merge branch 'DRTVWR-559' into DRTVWR-592 2023-10-13 14:02:51 -07:00
Cosmic Linden 3b3ba3623a DRTVWR-592: Overdraw is not free. Render terrain after Opaque Blinn-Phong/PBR have populated the foreground 2023-10-13 09:58:43 -07:00
RunitaiLinden c85bb7846d DRTVWR-559 Fix for shadows not respecting double sided on opaque PBR surfaces 2023-07-19 12:52:36 -05:00
RunitaiLinden cae8aa6ecf SL-19726 Fix for llTargetOmega on child prim breaking shadow rendering. Incidental decruft. 2023-05-18 18:03:17 -05:00
Cosmic Linden 307d31116d SL-19644: De-virtualize pushBatch
Bump still uses its own pushBumpBatch function - OK, works the same as
before.
2023-05-05 11:32:56 -07:00
Cosmic Linden 51318d1808 SL-19644: Bind the shader on every shadow alpha blend call 2023-04-28 10:36:29 -07:00
Cosmic Linden 6b83fabf72 SL-19644: Move GLTF transform reset out of pushBatch 2023-04-28 10:36:26 -07:00
Cosmic Linden 005a5fa207 SL-19606: Fix missing GLTF texture transforms in PBR alpha mask/alpha blend shadows 2023-04-21 15:10:05 -07:00
Cosmic Linden 95d07ccd87 SL-19598: Fix shadows not having textures for PBR/non-rigged/alpha blended prims 2023-04-20 11:23:44 -07:00
Dave Parks 19f7497d9a DRTVWR-559 WIP -- occlusion culling for reflection probes -- has a defect for objects close to the camera at some angles and leaks query objects, will follow up. 2023-02-21 20:42:25 -06:00
Dave Parks 577f6a46f0 SL-19181 Modulate "glow" by PBR emissive. 2023-02-09 17:00:36 -06: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
Dave Parks d27d23ab26 SL-18852 Refactor GLTF material rendering to not be special compared to other types. Hook GLTF alpha masking up to highlight transparent. 2022-12-16 11:12:06 -06:00
Dave Parks 8d2ac419b2 SL-18154 Profile guided optimizations vs release viewer. Trim some unused abilities and remove some more fast timers. 2022-11-16 14:49:17 -06:00
Dave Parks 8155361355 SL-18453 WIP -- Use GLTF draw pool to render shadows. Still need a GLTF specific shadow shader to multiply alpha. 2022-10-28 11:19:43 -05:00
Dave Parks 07bca31e06 SL-18190 Fix alpha not playing nice with water surface by split LLDrawPoolAlpha into two passes, one above water, one below water, and clip against water plane. Currently brute forces two complete alpha passes, still need to cull against water plane and add support for fullbright shaders. 2022-10-10 18:53:43 -05:00
Jonathan Goodman a73b226f9e Merged DRTVWR-559 into SL-18290 2022-10-06 19:53:18 +00:00
Geenz Linden db92f95649 Switch away from std::string
API expects const char* anyways.
2022-10-06 15:18:17 -04:00
Geenz be1cdc1aaa Initial pass at adding KHR_debug support
This still needs some work - I'm not super satisfied with the overall structure of the code.  Will continue to iterate as I add in proper RenderDoc support.
2022-10-05 09:48:18 -07:00
Dave Parks 30bcc7d6d5 SL-18190 WIP - Add refraction to water without splitting scene between above and below water 2022-10-05 08:11:33 -05:00
Ptolemy 8fa6bcb5a5 SL-17273: Add RENDER_TYPE_PASS_PBR_OPAQUE 2022-06-23 14:36:03 -07:00
Ptolemy 54919fa749 SL-17274: Stub for PBR DrawPool and shader 2022-05-02 10:16:54 -07:00
Dave Parks 0b850360f5 SL-16714 and SL-16750 Break rigged alpha into its own pass (restore release like behavior) and fix rigged alpha emissive not rendering. 2022-02-01 22:28:02 +00:00
Runitai Linden dd03246735 SL-16478 Fix for octree and render batch debug display not working with rigged meshes. 2021-12-17 09:26:44 -06:00
Dave Parks 28f9fb06a9 SL-16289 Rigged mesh rendering overhaul 2021-11-20 18:49:19 +00:00
Dave Houlton 86e7cc3d35 Merge branch 'master' v6.4.9 into DRTVWR-497 2020-09-22 15:28:13 -06:00
Andrey Lihatskiy ec9b989863 Merge branch 'DRTVWR-501-maint' into DRTVWR-503-maint
# Conflicts:
#	indra/newview/llinventorybridge.cpp
#	indra/newview/llinventorypanel.cpp
#	indra/newview/lltexturectrl.cpp
#	indra/newview/skins/default/xui/de/floater_texture_ctrl.xml
#	indra/newview/skins/default/xui/es/floater_texture_ctrl.xml
#	indra/newview/skins/default/xui/fr/floater_texture_ctrl.xml
#	indra/newview/skins/default/xui/it/floater_texture_ctrl.xml
#	indra/newview/skins/default/xui/ja/floater_texture_ctrl.xml
#	indra/newview/skins/default/xui/pt/floater_texture_ctrl.xml
#	indra/newview/skins/default/xui/ru/floater_texture_ctrl.xml
#	indra/newview/skins/default/xui/tr/floater_texture_ctrl.xml
#	indra/newview/skins/default/xui/zh/floater_texture_ctrl.xml
2020-05-05 00:37:16 +03:00
Andrey Lihatskiy 7a311fe30e Merge branch 'master' into DRTVWR-497 2020-04-20 21:21:12 +03:00
Andrey Kleshchev 3a990bd2b9 SL-1706 Material alpha mask highlight color should be blue 2020-02-18 14:07:35 +02:00
Andrey Kleshchev 604dd5b227 SL-1395 Alpha-masked faces not highlighted when materials present 2020-02-17 18:56:51 +02:00
andreykproductengine 4f5d785226 SL-12014 Animesh is now a separate rendering type 2019-10-25 17:32:19 +03:00
Graham Linden 1d86dcd846 SL-10625 another shot across the bow
Move dynamic texture update (which does local back readback work) to just before swap
which may keep the Intel driver from tripping on its own shoelaces and is also subjectively faster for bakes.
2019-07-08 10:10:22 -07:00
Graham Linden 7e9033821a De-duplicate deferred gbuffer access for getPosition/getNorm.
De-duplicate ambient occlusion shader code and move to new aoUtil.glsl

Split shared shadow tap funcs into shadowUtil.glsl
2018-12-06 10:59:11 -08:00