summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2024-08-28Merge branch 'main' into release/luau-scripting.Nat Goodspeed
2024-08-28Prevent erroneous assignment to LL.setdtor() proxy._target field.Nat Goodspeed
Trim redundant output from test_setdtor.lua.
2024-08-28Attempt to get better file/line info for LL_ERRS crahses in bugsplat. (#2447)Brad Linden
secondlife/viewer#2445
2024-08-28secondlife/viewer#2421: Do not calculate and store silhouette edges for ↵Cosmic Linden
nearly every geometric prim with a corner
2024-08-29Merge pull request #2440 from secondlife/develop-clear-metricsMaxim Nikolenko
Clear unused metrics
2024-08-28Add `LL.setdtor()` function to add a "destructor" to any Lua object.Nat Goodspeed
`setdtor('description', object, function)` returns a proxy userdata object referencing object and function. When the proxy is garbage-collected, or at the end of the script, its destructor calls `function(object)`. The original object may be retrieved as `proxy._target`, e.g. to pass it to the `table` library. The proxy also has a metatable with metamethods supporting arithmetic operations, string concatenation, length and table indexing. For other operations, retrieve `proxy._target`. (But don't assign to `proxy._target`. It will appear to work, in that subsequent references to `proxy._target` will retrieve the replacement object -- however, the destructor will still call `function(original object)`.) Fix bugs in `lua_setfieldv()`, `lua_rawgetfield()` and `lua_rawsetfield()`. Add C++ functions `lua_destroyuserdata()` to explicitly destroy a `lua_emplace<T>()` userdata object, plus `lua_destroybounduserdata()`. The latter can bind such a userdata object as an upvalue to pass to `LL.atexit()`. Make `LL.help()` and `LL.leaphelp()` help text include the `LL.` prefix.
2024-08-28#2432 Restore default nametag behavior. (#2444)Dave Parks
After instrumenting nametags some more, really UI rendering performance improvements should just focus on LLFontGL::render
2024-08-28Remove obsolete, unreferenced DESTRINGIZE(), DEWSTRINGIZE() macros.Nat Goodspeed
2024-08-28Merge pull request #2441 from ↵cosmic-linden
secondlife/2438-eliminate-execution-time-outliers-for-updateimagedecodepriority #2438 Address frame stalls in updateImageDecodePriority
2024-08-28#2438 Address frame stalls in updateImageDecodePriorityRunitaiLinden
2024-08-28Clear unused metricsMnikolenko Productengine
2024-08-28Merge pull request #2435 from ↵Dave Parks
secondlife/2432-default-nametags-to-only-show-briefly #2432 default nametags to only show briefly and #2431 fix redundant search for pixiesmall.j2c
2024-08-28Merge pull request #2416 from secondlife/lua-lazymodnat-goodspeed
Allow UI to have lazily-loaded submodules.
2024-08-27#2432 Make nametags default to "show briefly"RunitaiLinden
2024-08-27#2431 Fix for redundant searching for pixeismall.j2c causing frame stallsRunitaiLinden
2024-08-27#2428 Fix for crash when applying PBR material (#2430)Dave Parks
Also attempt to fix some occasional bad texture memory tracking.
2024-08-27viewer#2413 Remove obsolete alert about expiring voice morphsAndrey Kleshchev
2024-08-27Merge pull request #2384 from secondlife/lua-inventoryMaxim Nikolenko
Lua inventory api
2024-08-27code clean upMnikolenko Productengine
2024-08-27Merge branch 'release/luau-scripting' into lua-inventoryMaxim Nikolenko
2024-08-26Merge remote-tracking branch 'origin/release/2024.08-DeltaFPS' into developBrad Linden
2024-08-26Merge remote-tracking branch 'origin/main' into release/2024.08-DeltaFPSBrad Linden
2024-08-26Improve safety of macOS available RAM calcuations at suggestion of Ansariel ↵Brad Linden
and Beq (#2423)
2024-08-26Merge pull request #2424 from secondlife/brad/cherry-picks-hot-loggingcosmic-linden
Fast track some changes removing unneeded logging code into DeltaFPS
2024-08-26secondlife/viewer#2391: Remove avatar rigging "callstack" loggingCosmic Linden
2024-08-26Remove or suppress left over debug messages in hot paths (#2392)Rye Mutt
2024-08-26Merge pull request #2422 from secondlife/brad/2395-fix-start-locationBrad Linden
Fix start location dropping coordinates on login
2024-08-26defensively capture coroutine args by valueBrad Linden
2024-08-26secondlife/viewer#2395 fix start location coordinates getting double escapedBrad Linden
2024-08-26Merge pull request #2415 from RyeMutt/add-casRye Mutt
Introduce Contrast Adaptive Sharpening post process effect
2024-08-26Increment viewer version to 7.1.10Nat Goodspeed
following promotion of secondlife/viewer #1829: 2024.06 Atlasaurus
2024-08-26Replaced refreshCachedSetting for sharpening with cached controlRye Mutt
2024-08-26Merge branch 'develop' into add-casDave Parks
2024-08-26Merge pull request #2400 from secondlife/lua-issue-2385Maxim Nikolenko
Fix for #2385: say, shout and whisper messages from the script should be displayed consistently
2024-08-26clean up Lua prefixMnikolenko Productengine
2024-08-24Update test scripts to reference UI.Floater, not standalone Floater.Nat Goodspeed
2024-08-24Fix mac crash on startup due to missing types from enumRye Cogtail
2024-08-24Improve FXAA quality and performance when GL version is greater then 4Rye Cogtail
Adds gather4 support under GLSL 4.0+
2024-08-24Add Contrast Adaptive Sharpening post process effect(#2399)Rye Mutt
2024-08-24Update LLImageJ2C::calcDataSizeJ2C for better 2k image support (#2406)TommyTheTerrible
Adjusted calculations based on dimensions and assumed maximum block size so that higher discards (4-5) of 2048x2048 images can be decoded with aux/alpha. (It should also work for dimensions larger than 2048.) This function will now return a reliable discard 5 data size for unknown dimensions (w and/or h equals 0), which could be used in LLTextureFetch::createRequest to skip the header fetch and go right to a discard 5 decode. Tested on OpenJPEG 2.5 with partial decode support (opj_decoder_set_strict_mode set to false). Should work on KDU fine but might be a good idea to test.
2024-08-23Massage results from UI.popup() for ease of use.Nat Goodspeed
In particular, where the raw leap.request().response call would return {OK_okcancelbuttons=true}, just return the string 'OK' or 'Cancel'. Update existing consumer scripts.
2024-08-23Encapsulate the lazy submodule idiom as util.submoduledir().Nat Goodspeed
2024-08-23Look for lazy UI submodules in a require/UI subdirectory.Nat Goodspeed
This way encourages "UI = require 'UI'; UI.Floater" instead of just "Floater = require 'Floater'". Moreover, now we don't need UI to maintain a list of allowed submodules; that's effected by membership in the subdirectory.
2024-08-23#2388 Texture downrezzing tune up. (#2414)Dave Parks
- Hold onto unreferenced textures for 30 seconds. - Don't downres unless memory is low - Downres when viewer is backgrounded.
2024-08-23Allow UI to have lazily-loaded submodules.Nat Goodspeed
Equip UI with an __index metamethod. When someone references an unknown key/field in UI, require() that module and cache it for future reference. Add util.setmetamethods() as a way to find or create a metatable on a specified table containing specified metamethods. Exercise the new functionality by referencing UI.popup in test_popup.lua.
2024-08-23Add dedicated sun probe shader and remove SSAO and shadow smoothing from ↵Rye Mutt
probe generation passes (#2405) * Add dedicated sun probe shader and remove SSAO and shadow smoothing from probe generation passes (#2398) * Fix usage of removed sunLightNoFragCoordV in shader manager
2024-08-23Merge pull request #2368 from secondlife/andreyk/viewer_2363Vir Linden
viewer#2363 Region Day Offset error with Time of Day
2024-08-22Merge remote-tracking branch 'origin/release/2024.08-DeltaFPS' into developBrad Linden
2024-08-22Fix usage of $branch before it was initialized in build.Brad Linden
2024-08-22Merge remote-tracking branch 'origin/release/2024.08-DeltaFPS' into developBrad Linden