summaryrefslogtreecommitdiff
path: root/indra/newview
AgeCommit message (Collapse)Author
2024-08-29Support next(), pairs(), ipairs() for LL.setdtor() table proxies.Nat Goodspeed
Replace the global next(), pairs() and ipairs() functions with a C++ function that drills down through layers of setdtor() proxy objects and then forwards the updated arguments to the original global function. Add a Luau __iter() metamethod to setdtor() proxy objects that, like other proxy metamethods, drills down to the underlying _target object. __iter() recognizes the case of a _target table which itself has a __iter() metamethod. Also add __idiv() metamethod to support integer division. Add tests for proxy // division, next(proxy), next(proxy, key), pairs(proxy), ipairs(proxy) and 'for k, v in proxy'. Also test the case where the table wrapped in the proxy has an __iter() metamethod of its own.
2024-08-29Merge pull request #2466 from RyeMutt/smaaRye Mutt
Introduce SMAA and rework post process chain for better visual quality
2024-08-30#2360 Incorrect Day Cycle name in Edit Day Cycle floater (remove unused key ↵Alexander Gavriliuk
CANMOD)
2024-08-29Fix startup crash from removed settingRye Mutt
2024-08-29Integrate SMAA and rework post process chain for better visual qualityRye Mutt
Add SMAA buffer generation passes Add quality levels for both FXAA and SMAA Separate gamma correction and tonemapping for effects that require linear-but-tonemapped inputs Move application of noise to final render pass to screen to avoid damaging other post process effects
2024-08-29Merge remote-tracking branch 'origin/release/2024.08-DeltaFPS' into developBrad Linden
2024-08-29Fix SSR clamping hdr brightness rangesRye Mutt
2024-08-29#2428 Fix for crash when applying PBR material to a single face (take 2) (#2463)Dave Parks
Also fix for some objects randomly disappearing until they're selected again.
2024-08-29Add error handling for intel crashes from GLTF Scene shader (#2456)Brad Linden
fix secondlife/viewer#1856
2024-08-29Make LLPipeline::renderDebug() a bit cheaperAndrey Kleshchev
Each frame renderDebug() was pointlesly going over a large list of partitions and bridges.
2024-08-29Add simple metrics of Lua usageMaxim Nikolenko
2024-08-29#2360 Incorrect Day Cycle name in Edit Day Cycle floater after clicking the ↵Alexander Gavriliuk
"Customize" button
2024-08-29#2059 Linux build fixAndrey Lihatskiy
2024-08-29Merge branch 'develop' into marchcat/b-developAndrey Lihatskiy
2024-08-28Ditch trailing spaces.Nat Goodspeed
2024-08-28Add script control to "Inventory.DoCreate" registered menu action.Nat Goodspeed
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-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-28#2438 Address frame stalls in updateImageDecodePriorityRunitaiLinden
2024-08-28Clear unused metricsMnikolenko Productengine
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-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-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-26secondlife/viewer#2395 fix start location coordinates getting double escapedBrad Linden
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-26clean up Lua prefixMnikolenko Productengine
2024-08-24Update test scripts to reference UI.Floater, not standalone Floater.Nat Goodspeed
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-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-22Merge remote-tracking branch 'origin/release/2024.06-atlasaurus' into ↵Brad Linden
release/2024.08-DeltaFPS
2024-08-22#2397 Sanity clamp haze contribution to avoid NaN like blowouts. (#2402)Dave Parks