Nat Goodspeed
a3d6544be0
Give `LLGLSLShader::finishProfile()` a static default string param.
...
`finishProfile()` is called at least once within a `__try` block. If we default
its `report_name` parameter to a temporary `std::string`, that temporary must be
destroyed when the stack is unwound, which `__try` forbids.
(cherry picked from commit c6e6f44f50b4de391000c5b9f781a2f0a5024e76)
2024-09-18 14:05:27 -04:00
Nat Goodspeed
f037cde7f4
Make Develop->Render Tests->Frame Profile dump JSON to a file too.
...
Make `LLGLSLShader::finishProfile()` accept a string pathname instead of a
bool and, in addition to logging statistics to the viewer log, output
statistics to that file as JSON. The calls that used to pass
`emit_report=false` now pass `report_name=std::string()`.
Make llviewerdisplay.cpp's `display()` function synthesize a profile filename
in the viewer's logs directory, and pass that filename to
`LLGLSLShader::finishProfile()`.
(cherry picked from commit d5712689d36a1ee1af32242706901fde7229b08d)
2024-09-18 14:05:27 -04:00
Alexander Gavriliuk
27b8e6d576
#2408 The long covenant with emojis significantly slows down some operations in the viewer
2024-09-18 17:13:59 +02:00
Ansariel Hiller
d9da5bbb33
Remove quads rendering mode entirely ( #2593 )
2024-09-18 17:09:51 +03:00
Pantera Północy
83cf25af8d
Tiny argument names correction (tittle -> title) ( #2594 )
2024-09-18 16:26:32 +03:00
Andrey Kleshchev
689d9e6935
More quad to triangle coverage
...
Quads are deprecated
2024-09-18 11:38:06 +03:00
Andrey Kleshchev
3327ae7938
Convert image drawing logic from quads to triangles
2024-09-18 11:38:06 +03:00
Andrey Kleshchev
55f2103adc
viewer#2565 Optimize LLFolderViewItem::draw()
2024-09-18 11:38:06 +03:00
Dave Parks
0a617904f9
#2590 Fix for horrible FPS on Intel Mac ( #2591 )
...
* Work around for GHA mac runners not playing nice with Tracy
* Delay VBO deletion for a few frames
* Enable multithreaded GL driver and multithreaded media textures on Apple silicon
2024-09-17 18:14:22 -05:00
Dave Parks
fd843d514a
Mac pass ( #2587 )
2024-09-17 13:07:01 -05:00
Dave Parks
870ffbd55b
Suppress mapBuffer warnings. ( #2584 )
2024-09-17 12:43:47 -05:00
Ansariel Hiller
f378d2f95a
Fix Visual Studio complaints in LLTrans ( #2575 )
2024-09-17 03:10:24 +03:00
Dave Parks
486613e79b
Profile guided optimization pass ( #2582 )
...
- Tune up LLJointRiggingInfoTab
- Visualize joint bounding boxes when visualizing joints
- Use LLJointRiggingInfo to caclulate desired resolution of a texture
- Throttle calls to calcPixelArea
- Fetch MeshSkinInfo immediately when header is received
2024-09-16 18:49:03 -05:00
Rye Mutt
42975dfd88
Merge pull request #2580 from RyeMutt/2kbom
...
Raise resolution of local baked texture preview from 512 to 2048
2024-09-16 16:46:14 -07:00
Rye Mutt
eac0c748a2
Fix noise post effect due to missing uniform ( #2581 )
2024-09-16 17:59:34 -05:00
Brad Linden
7594e3b71b
Merge pull request #2578 from secondlife/brad/2550-plugin-shutdown-crash
...
Fix for crash in LLPluginProcessParent during early shutdown.
2024-09-16 14:46:21 -07:00
Brad Linden
e3c3cc636e
Fix for crash in LLPluginProcessParent during early shutdown.
...
fixes secondlife/viewer#2550
2024-09-16 13:14:14 -07:00
Rye Cogtail
85a7020e49
Raise resolution of local baked texture preview from 512 to 2048
2024-09-16 15:12:15 -04:00
Andrew Meadows
2f38f0685c
Merge pull request #2569 from secondlife/leviathan/send_agent_update
...
send AgentUpdate ASAP when control bits change
2024-09-13 11:48:51 -07:00
leviathan
da87e8bd37
send AgentUpdate ASAP when control bits change
2024-09-13 10:47:24 -07:00
Ansariel Hiller
74205607b7
Clean up Windows build ( #2562 )
...
* APR_DECLARE_STATIC and APU_DECLARE_STATIC gets already defined in APR.cmake
* Move both _CRT_SECURE_NO_WARNINGS and _WINSOCK_DEPRECATED_NO_WARNINGS definitions to 00-Common.cmake
* Always define WIN32_LEAN_AND_MEAN and include subset of Windows API by default
* Remove llwin32headerslean.h and remove unnecessary WIN32_LEAN_AND_MEAN definition handling in llwin32headers.h
* Clean up includes of Windows API headers
* Get rid of workaround to link against IPHLPAPI.lib in lluuid.cpp - this seems to have been an issue in the past that has been fixed
2024-09-13 17:28:48 +03:00
Rye Mutt
c892ce9f5c
Merge pull request #2563 from RyeMutt/fix-macos-locale
...
Fix macOS locale not being set due to missing locale strings
2024-09-12 22:45:56 -07:00
Andrey Kleshchev
1e1010bbf2
Merge pull request #2545 for viewer#2529 Improve environment's performance
2024-09-13 08:02:04 +03:00
Rye Cogtail
f568fe6655
Fix macOS locale not being set due to missing locale strings
2024-09-12 22:40:16 -04:00
Brad Linden
a3f6f98f1b
Merge pull request #2561 from secondlife/brad/2553-about-sl-crash-locale-init
...
secondlife/viewer#2553 about sl crash locale init
2024-09-12 15:27:26 -07:00
Brad Linden
7dd04dea9f
Merge pull request #2557 from secondlife/davep-fix-mac-vb
...
OS X - Fix black screen and Tracy build
2024-09-12 15:25:56 -07:00
Brad Linden
f4c53518d7
Attempted fix for mac crash when showing About Second Life.
...
secondlife/viewer#2553
2024-09-12 15:04:03 -07:00
Brad Linden
bb9a2dd75b
Fix for mac build with tracy enabled.
2024-09-12 15:03:44 -07:00
Alexander Gavriliuk
ccbd69bf6b
#2166 Avatar does not move its lips when the corresponding checkbox is checked
2024-09-12 21:48:49 +02:00
Roxanne Skelly
1894136e9a
Merge pull request #2543 from secondlife/roxie/webrtc-285
...
mute icons were not showing during group call when user was muted
2024-09-12 09:46:20 -07:00
Rye Mutt
b713f56d07
Replace glh_linear usage with GLM ( #2554 )
2024-09-12 11:22:10 -05:00
Dave Parks
3c5e8ded93
Merge branch 'develop' into davep-fix-mac-vb
2024-09-12 11:08:27 -05:00
Dave Parks
61990bfd69
Fix for tracy not working on mac
2024-09-12 11:06:05 -05:00
Dave Parks
14a3c75736
Mac compatibility pass.
2024-09-12 11:05:14 -05:00
Rye Mutt
264c57831b
Fix warning spam from missing call to unmapBuffer introduced in #2544 ( #2556 )
2024-09-12 11:00:58 -05:00
Andrey Kleshchev
e71215dcfd
viewer#2529 Optimize LLSettingsWater::blend
2024-09-12 18:45:06 +03:00
Maxim Nikolenko
1f6423214c
Don't allow LLAttachmentsMgr to iterate COF items when there is no questionable links there
2024-09-12 18:23:47 +03:00
Alexander Gavriliuk
33c8fd2acc
#2542 Buoyant Nametags
2024-09-12 16:34:39 +02:00
Roxanne Skelly
0c7cb663fc
Merge pull request #2551 from secondlife/roxie/webrtc-1436
...
Fix issue with improper reporting as to whether voice is working.
2024-09-11 23:50:08 -07:00
Ansariel Hiller
1a65e29432
Fix names in group chat sometimes showing as "Loading..." and never resolve ( #2547 )
2024-09-12 09:18:45 +03:00
Ansariel Hiller
5f622a071c
Fix incorrect operator warning and possible dereferencing of null pointer ( #2546 )
2024-09-12 09:18:34 +03:00
Roxie Linden
f78b43bd1d
Fix issue with improper reporting as to whether voice is working.
...
This fixes #1436 , an issue where the 'call button' sometimes got greyed
out when it shouldn't have been.
Vivox is now 'working' (and the call button can be enabled) when it's logged in.
WebRTC is 'working' (and the call button can be enabled) when the coroutine is active.
2024-09-11 15:58:56 -07:00
Andrey Kleshchev
dfff269d83
viewer#2529 Optimize LLSettingsSky::blend
2024-09-11 22:56:58 +03:00
Andrey Kleshchev
0a110ff083
viewer#2529 Track interpolateSDMap's performance
...
viewer#2529 Fix initialization
2024-09-11 22:56:57 +03:00
Andrey Kleshchev
047eb16f4c
viewer#2529 Optimize updateGLVariablesForSettings
...
Intent is to eventually use only stored variables for everything.
LLSD operations are far too expensive.
2024-09-11 14:09:01 +03:00
Andrey Kleshchev
d6eafa1bdb
Make updateKeyboardFocus a bit more efficient
2024-09-11 14:09:01 +03:00
cosmic-linden
f90712b983
Merge pull request #2544 from secondlife/davep-profile-session-9/10
...
Profile guided optimizations
2024-09-10 17:38:32 -07:00
RunitaiLinden
cde5d29faf
Profile guided optimizations
2024-09-10 18:27:45 -05:00
Brad Linden
13e74a3287
Merge remote-tracking branch 'origin/release/2024.08-DeltaFPS' into develop
2024-09-10 16:12:38 -07:00
Roxie Linden
44e1be64e0
mute icons were not showing during group call when user was muted
...
This fixes: https://github.com/secondlife/viewer-private/issues/285
When processing messages from the voice server, the volume and not the
mute status was being checked with respect to retrieving the mute status.
2024-09-10 14:34:39 -07:00