summaryrefslogtreecommitdiff
path: root/indra/llrender
AgeCommit message (Collapse)Author
2023-06-01DRTVWR-559 Revert skies to be very close to release and disable tone mapping ↵RunitaiLinden
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-05-26Addressing some performance related feedback with SSR getting drastically ↵Jonathan "Geenz" Goodman
slower. DRTVWR-559 DRTVWR-583
2023-05-23SL-19560 Better fix for blurry BoM textures.RunitaiLinden
2023-05-22Merge branch 'DRTVWR-559' into DRTVWR-583Jonathan "Geenz" Goodman
2023-05-17Add a binary cache for compiled shaders using glProgramBinary (#216)Rye Mutt
* 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-17SL-19655 Clean up some missed "texture2D" vs "texture" (thanks Rye)RunitaiLinden
2023-05-17SL-19655 Decruft legacy GLSL shaders and now unused build queues.RunitaiLinden
2023-05-16DRTVWR-559 Decruft deprecated OpenGL flags.RunitaiLinden
2023-05-15SL-19709 Fix for fullbright shiny not factoring out exposure and flickering ↵RunitaiLinden
fullbright alpha. Incidental decruft.
2023-05-11Merge branch 'DRTVWR-559' into DRTVWR-583Jonathan "Geenz" Goodman
2023-05-11Finally get glossy SSR up.Jonathan "Geenz" Goodman
DRTVWR-583
2023-05-08SL-19690: Follow up on Rye Mutt's fix for shutdown crashes.Nat Goodspeed
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-02DRTVWR-559 Optimization pass, make it so profileAvatar can read back GPU ↵RunitaiLinden
timer without a frame stall.
2023-04-27SL-19197 Fix for crash in LLRenderTarget::releaseRunitaiLinden
2023-04-26DRTVWR-559 Add "No Post" mode and refactor "Scene Gamma" into "Brightness" ↵RunitaiLinden
for adjusting legacy gamma when probe ambiance is 0 and dynamic exposure when probe ambiance is not zero.
2023-04-14Move mipmap generation into LLRenderTarget.Jonathan "Geenz" Goodman
DRTVWR-583
2023-04-12Merge branch 'DRTVWR-559' into DRTVWR-559-post-refactorJonathan "Geenz" Goodman
2023-04-12Fixed DoFJonathan "Geenz" Goodman
2023-04-11SL-19564 Rebalance exposure and sky. Hack legacy diffuse map saturation and ↵RunitaiLinden
brightness to allow ACES Hill all the time.
2023-04-10Get DoF workingJonathan "Geenz" Goodman
Need to fix up bloom. DRTVWR-559 SL-19524 SL-19513
2023-04-06SL-19538 Followup -- scrub all possible sources of NaNs, make dynamic ↵Dave Parks
exposure controls not persist, limit exposure range, and do a debug gl pass.
2023-04-05SL-19538 Followup -- fix for dynamic exposure having large gaps in it… (#157)RunitaiLinden
* SL-19538 Followup -- fix for dynamic exposure having large gaps in its luminance sampling. * SL-19538 Followup -- review feedback changes.
2023-04-05SL-19538 Followup -- tune exposure parameters and clamp local light ↵RunitaiLinden
ambiance. Make render targets 16F and scrube NaNs (thanks Rye). Update midday. (#154)
2023-04-05SL-19331: Move media updates off-thread on select hardware (#153)cosmic-linden
* SL-19331: Have media updates on the LLImageGL thread even when texture updates are on the main thread. Add config. Off-thread media updates seem work best performance-wise when using glTexImage2D, not sub_image_lines. Otherwise, there are lots of main thread stalls. * SL-19331: Bump featuretable * SL-19331: Cleanup, annotate comment
2023-04-04SL-19538 Remove hacky ambiance scale and take the mittens off probe a… (#151)RunitaiLinden
* SL-19538 Remove hacky ambiance scale and take the mittens off probe ambiance values. Fix for sky brightening being done in sRGB space.
2023-04-03DRTVWR-489: Fix things up after a messy merge with main because of a ↵Callum Prentice
gigantic CMake patch. Sadly, my macOS box updated to Xcode14.3 overnight and that caused many warnings/errors with variables being initialized and then used but not in a way that affected anything.. Building on Xcode 14.3 also requires that MACOSX_DEPLOYMENT_TARGET be set to > 10.13. Waiting on a decision about that but checking this in in the meantime. Builds on macOS with appropriate build variables set for MACOSX_DEPLOYMENT_TARGET = 10.14 but not really expecting this to build in TC because (REDACTED). Windows version probably hopelessly broken - switching to that now.
2023-04-03SL-18330: Remove some set-but-unused vars flagged by Xcode 14.3.Nat Goodspeed
2023-03-31Merge branch 'DRTVWR-559' of https://github.com/secondlife/viewer into ↵Jonathan "Geenz" Goodman
DRTVWR-559
2023-03-31Move glow extract to be after tonemapping.Jonathan "Geenz" Goodman
SL-19513
2023-03-31SL-19379 WIP add worn suffix, use bold font style for worn items and italic ↵Maxim Nikolenko
for links
2023-03-30Merge branch 'main' into DRTVWR-567Maxim Nikolenko
# Conflicts: # indra/newview/llinventoryfunctions.cpp # indra/newview/llpanelmaininventory.h # indra/newview/skins/default/xui/en/floater_inventory_item_properties.xml # indra/newview/skins/default/xui/en/sidepanel_item_info.xml
2023-03-29Merge remote-tracking branch 'origin/main' into DRTVWR-559Brad Linden
2023-03-30Merge branch 'main' into DRTVWR-580-maint-TAndrey Lihatskiy
2023-03-28DRTVWR-559 Dynamically adjust exposure.Dave Parks
2023-03-24SL-17045 LSL editor cursor position desynchronizationAlexander Gavriliuk
2023-03-21SL-19434: Fix texture issues with minimap, but keep performance from SL-19331Cosmic Linden
2023-03-21Revert "SL-19434 Temporary fix for minimap breakage."Cosmic Linden
This reverts commit 084ef5173fb79644ce2fd3e640c241a05529db70.
2023-03-21SL-19266 Potential Use-After-Free in LLImageGL::setImageAlexander Gavriliuk
2023-03-21SL-19434 Temporary fix for minimap breakage.Dave Parks
2023-03-20Merge pull request #122 from secondlife/SL-19331Jonathan "Geenz" Goodman
SL-19331: Improve performance of setSubImage (ex: media updates)
2023-03-13SL-19331: Improve performance of setSubImage (ex: media updates)Cosmic Linden
2023-03-13Merge pull request #119 from secondlife/SL-19389cosmic-linden
SL-19389: Fix textures not being optimally loaded after the fix in SL-19338
2023-03-10SL-19389: Fix textures not being optimally queued after the fix in SL-19338Cosmic Linden
In the future, some uses of glTexSubImage2D should be better vetted, ex: media prims
2023-03-10DRTVWR-559 Fix for assert in LLVertexBuffer, incidental decruft.Dave Parks
2023-03-10Merge branch 'DRTVWR-559' of github.com:secondlife/viewer into DRTVWR-559Dave Parks
2023-03-10SL-19172 Texture streaming tune up. Incidental decruft.Dave Parks
2023-03-08SL-19338: Don't use glTexSubImage2D on compressed texturesCosmic Linden
2023-03-08Revert "SL-19338: (WIP) Test disabling new use of glTexSubImage2D and see if ↵Cosmic Linden
the bug still repros" This reverts commit 6c486e485372a6f79e632839a7217c5208a09d0c.
2023-03-08SL-19338: (WIP) Test disabling new use of glTexSubImage2D and see if the bug ↵Cosmic Linden
still repros
2023-03-07DRTVWR-559 Nudge Intel HD 3000 shader compilation failureDave Parks