Commit Graph

51194 Commits (9fdca96f8bd2211a99fe88e57b70cbecefa20b6d)

Author SHA1 Message Date
Ansariel 9fdca96f8b Re-enable compiler warnings C4244 and C4396 except for lltracerecording.h and llunittype.h for now 2024-07-08 20:27:14 +02:00
Alexander Gavriliuk 9ddf64c651 #1931 BugSplat Crash: SecondLifeViewer!LLRenderTarget::release(387) 2024-07-06 08:38:17 +02:00
Andrey Lihatskiy 958f781283
Merge pull request #1930 from RyeMutt/llsd-opts
Introduce move support and string_view to LLSD
2024-07-05 19:18:09 +03:00
Rye Mutt 1296afd96a Reduce LLSD::Binary temporaries 2024-07-05 02:56:25 -04:00
Rye Mutt f6d2536e4f Make LLDate a trivial copyable/movable type 2024-07-05 02:56:25 -04:00
Rye Mutt 6cf176900f Add move construction/assignment support for LLSD type 2024-07-05 02:56:25 -04:00
Rye Mutt 7df1edbde1 Introduce move assignment operators for various LLSD types 2024-07-05 02:56:25 -04:00
Rye Mutt 59312bf209 Introduce string_view to LLSD map functions to reduce string temporaries 2024-07-05 02:56:24 -04:00
Andrey Kleshchev b099dbef27 viewer#1131 Sync 'transform' arrows with UI 2024-07-04 08:29:37 +03:00
Dave Parks 08b933a0c6
#1870 Tune up for better experience on integrated intel with low memory (#1872)
* More deterministic vsize calculation.   Add control for choosing downscale method.
* Quick hack to make GLTF preview work again
2024-07-03 17:42:24 -05:00
Andrey Kleshchev 9a38ecee8e viewer#1131 gltf model upload UI WIP #4
Hooked selection to tree view
2024-07-03 22:21:18 +03:00
Alexander Gavriliuk 32f3107a20 #1917 The 'No emoji selected' message appears and overlaps emoji name 2024-07-03 15:23:19 +02:00
Andrey Kleshchev 42a9690daa viewer-private#247 Porperly reload image when uploading a model 2024-07-03 06:23:50 +03:00
cosmic-linden 9af13cce61
Merge pull request #1887 from secondlife/v-1475
secondlife/viewer#1475: Add test plan for PBR terrain texture transforms UI
2024-07-02 15:05:01 -07:00
Cosmic Linden 2c46194d70 secondlife/viewer#1475: Add test plan for PBR terrain texture transforms UI 2024-07-02 15:01:55 -07:00
cosmic-linden 51b329cc47
Merge pull request #1902 from secondlife/v-1847
secondlife/viewer#1847: Add test plan for normal textures on PBR materials
2024-07-02 14:27:52 -07:00
Cosmic Linden b7ad221f37 secondlife/viewer#1847: Update test plan: Enumerate support for KHR_texture_transform on prims 2024-07-02 14:25:30 -07:00
Andrey Kleshchev b63065486b viewer#1666 Make warning universal to avoid shifting notification 2024-07-02 21:53:43 +03:00
Andrey Kleshchev 1adb94a89c viewer#1666 Allow switching 2k textures off in bulk uploads 2024-07-02 21:53:43 +03:00
Jonathan "Geenz" Goodman b276936ef3
Quick fix for a possible merge bug from featurettes. (#1715) 2024-07-02 11:01:35 -07:00
Beq Janus 2e836ab06f
LL Issue#1835 - Input delays introduced in PBR viewers. (#1889) 2024-07-02 12:59:30 -05:00
Beq Janus 475d0df4c1
Experimental fix for blurry textures (#1875)
This change removes the distance based bias (which is a large contributor to premature blurring) but adds a check using the importance factor to give some balance.
importance should be between 0 and 1 and is higher when the texture is facing the camera, lower when it is side on,
The unimportance setting defines the cutoff vaklue below which we'll consider the textures worth "down scaling" by the bias factor. The setting is inplace to allow us to play with this, 0.25 is current default.

Note this change moves the calcPixelArea() call to the top BEFORE we user getPixelArea(). Either that call is entirely redundant (i.e. if calc was called earlier in the frame)  or we were using the stale pixelArea (one frame behind). If the former is true then it might be faster to just do an AABB frustum check.
2024-07-02 12:57:39 -05:00
Andrey Kleshchev 886be2faf1 viewer#1857 Reset texture transforms when terrain PBR is applied
ctrls aren't dynamically alocated so getChild is preferable, but since other elements use findchild and validy checks used findChild as well
2024-07-02 19:34:37 +03:00
Andrey Kleshchev cb2795748e viewer#1905 Fix "Share" and "Pay" buttons' state in nearby list 2024-07-02 19:29:38 +03:00
Andrey Lihatskiy b0a6bae589
Merge pull request #1906 from RyeMutt/reduce-llui-stringtemp
Reduce string temporaries in LLUI part 2
2024-07-02 19:09:00 +03:00
Andrey Kleshchev c19d766812 viewer#1907 Shader initialization error 2024-07-02 18:46:35 +03:00
Rye Mutt 14cbf331cb Reduce string temporaries from LLTabContainer, LLMenuGL, LLLayoutStack, and LLKeywords using string_view 2024-07-02 08:56:42 -04:00
Rye Mutt 6ad1957b31 Reduce string temporaries from LLPanel using string_view 2024-07-02 08:55:52 -04:00
Rye Mutt fc8c601fc1 Reduce string temporaries from LLNotifications using string_view 2024-07-02 08:55:12 -04:00
Andrey Lihatskiy 5e1f83f7e6
Merge pull request #1903 from RyeMutt/reduce-llui-stringtemp
Reduce string temporaries from frequently called llui find and get functions
2024-07-02 12:02:26 +03:00
Rye Mutt fad6a37537 Fix test builds 2024-07-01 23:01:32 -04:00
Rye Mutt 3fa6db9603 Reduce string temporaries from LLTrans 2024-07-01 22:50:39 -04:00
Rye Mutt 0460d9a5e8 Reduce string temporaries from finding colors in the color table 2024-07-01 22:35:34 -04:00
Rye Mutt b0e30477e9 Use heterogeneous comparison for string_view map finds in LLControl and convert controlExists to string_view 2024-07-01 22:25:56 -04:00
Rye Mutt 49d60e0ded Reduce string temporaries from LLFloaterReg find/get 2024-07-01 22:24:32 -04:00
Rye Mutt e834e77988 Reduce string temporaries from findChild and getChild 2024-07-01 21:50:54 -04:00
Cosmic Linden 9ccab0df14 secondlife/viewer#1847: Add test plan for normal textures on PBR materials 2024-07-01 16:17:06 -07:00
cosmic-linden e32f6426d5
Merge pull request #1882 from secondlife/v-1847
secondlife/viewer#1847: Fix negative UV scale inverting normal texture lighting for PBR materials and PBR terrain
2024-07-01 14:52:58 -07:00
Brad Linden 817a1321db
Merge pull request #1899 from beqjanus/fix-mirror-crashes
Fix for various TP where a mirror is present
2024-07-01 14:32:14 -07:00
Cosmic Linden 186395ee4b secondlife/viewer#1847: Add test plan 2024-07-01 14:22:26 -07:00
Cosmic Linden 5a60b7811f secondlife/viewer#1847: Fix wrong lighting for negative texture scale on PBR materials and PBR terrain 2024-07-01 14:22:21 -07:00
Alexander Gavriliuk 2ea5ac0c43 #1111 Remove xmlrpc-epi 2024-07-01 20:20:04 +02:00
Brad Linden 9ab2f662f8
Merge pull request #1819 from secondlife/brad/tag-release 2024-07-01 10:37:21 -07:00
Andrey Kleshchev b940fbc0d4 viewer#1131 MacOS build fixes and small adjustments 2024-07-01 20:05:31 +03:00
Andrey Kleshchev 279ec534dd viewer#1131 gltf model upload UI WIP #3 2024-07-01 20:05:31 +03:00
Andrey Kleshchev e75595a1c1 viewer#1131 gltf model upload UI WIP #2 2024-07-01 20:05:31 +03:00
Andrey Kleshchev c7bd4528a7 viewer#1131 gltf model upload UI WIP 2024-07-01 20:05:31 +03:00
Beq fcc7d16108 Fix for various TP where a mirror is present
these manifest as crashes in isDynamic, isBox and similar calls that are accessed through a dangling probe.
2024-07-01 17:22:07 +01:00
Ansariel 59cc180281 Remove include of format library that isn't used and can't be used without C++20 support anyway 2024-07-01 17:58:45 +03:00
Ansariel b9740dfc6e Fix loop scope issue and rework some strange-looking loops 2024-07-01 17:58:45 +03:00