Commit Graph

47772 Commits (db30ffc7cb01c021da693a035cf79cafa893c982)

Author SHA1 Message Date
akleshchev db30ffc7cb
SL-19690 Merge pull request #207 from RyeMutt/shutdown-crash
Fix exceptions during shutdown causing early program termination
2023-05-08 18:25:12 +03:00
Rye Mutt 855cae27cc Fix LLThreadSafeQueueInterrupt in WorkQueueBase::postTo during shutdown by catching and returning false 2023-05-05 17:23:29 -04:00
Rye Mutt 6954aafb5d Fix uncaught LLThreadSafeQueueInterrupt during ImageWorker threadpool shutdown 2023-05-05 17:20:48 -04:00
Nat Goodspeed 5ce70325ce DRTVWR-559: Hard tabs considered harmful 2023-05-05 09:52:22 -04:00
Andrey Kleshchev 572d313bcf DRTVWR-559 LLSD array build fix 2023-05-04 23:06:00 +03:00
Andrey Kleshchev f8f119e4a8 SL-18932 Canceling material selection only reverts override 2023-05-04 22:46:39 +03:00
Brad Linden 7c1ccdc9a4
Merge pull request #179 from secondlife/brad/mac-nightly-builds
enable github actions mac nightly builds
2023-05-04 11:49:33 -07:00
Brad Linden a22d62e8ed Merge remote-tracking branch 'origin/zap-LLSDArray' into DRTVWR-559 2023-05-04 11:39:03 -07:00
Brad Linden 52f8ff9961 Merge remote-tracking branch 'origin/SL-19594-restore' into DRTVWR-559 2023-05-04 11:38:52 -07:00
Brad Linden c75b0079d9 Fix typo 2023-05-04 11:28:29 -07:00
nat-goodspeed 66413dfa38
Merge pull request #203 from secondlife/DRTVWR-559-zapfunc
DRTVWR-559: Replace debugLoggingEnabled() function with LL_DEBUGS().
2023-05-04 13:39:59 -04:00
Brad Linden 13d372adea Switch mac build to go on hosted macos-12-xl runner. 2023-05-04 10:26:18 -07:00
Nat Goodspeed e3f3eea825 DRTVWR-559: Add <unordered_map> header since we use it. 2023-05-04 10:21:28 -04:00
Nat Goodspeed 1910eb6ae6 SL-19594: Update to bugsplat build 579669 2023-05-04 09:34:37 -04:00
Nat Goodspeed a57013082d DRTVWR-559: Merge 'DRTVWR-559' into DRTVWR-559-zapfunc 2023-05-04 09:01:22 -04:00
Brad Linden 7d23f91b16 Added ability to disable required OSX_SYSROOT cmake checks 2023-05-03 15:47:19 -07:00
RunitaiLinden a9dca45773 Merge branch 'DRTVWR-559' of github.com:secondlife/viewer into DRTVWR-559 2023-05-03 17:31:24 -05:00
RunitaiLinden 1cadfd44fe DRTVWR-559 WIP - optimize ARC calculation et al. 2023-05-03 17:30:02 -05:00
Brad Linden e41cb7b5db Further attempts to get actions based nightly mac builds working for DRTVWR-559 2023-05-03 15:23:32 -07:00
Brad Linden 9096c8d06f Experiment with turning on MacOS builds for github based nightly builds for DRTVWR-559 2023-05-03 14:59:53 -07:00
Nat Goodspeed e7c5b9fb0f SL-19647: Eliminate LLSDArray entirely.
Newer C++ compilers have different semantics around LLSDArray's special copy
constructor, which was essential to proper LLSD nesting. In short, we can no
longer trust LLSDArray to behave correctly. Now that we have variadic
functions, get rid of LLSDArray and replace every reference with llsd::array().
2023-05-03 17:38:30 -04:00
Brad Linden b985a69968
Merge pull request #191 from secondlife/brad/SL-19648-refcount-llgltfmaterial-thread-safety
Fix SL-19675 crash due to thread unsafe LLRefCount usage possibly related to SL-19648
2023-05-03 14:16:34 -07:00
Brad Linden 5465594a34 Cleanup with SL-19675 fix. lifted empty check outside the workqueue post and cleaned up indentation 2023-05-03 13:30:33 -07:00
Brad Linden 6a812fa1ba Improved fix for SL-19675 crash. How about just don't refer to data when you don't need it 2023-05-03 13:30:33 -07:00
Brad Linden 799d7605a9 Merge remote-tracking branch 'origin/main' into DRTVWR-559 2023-05-03 12:31:25 -07:00
Nat Goodspeed 3c77c1b90f DRTVWR-575: Replace some LLSDArray() usage with llsd::array().
It seems newer compilers have a different interpretation of exactly when to
engage LLSDArray's copy constructor. In particular, this assignment:

some_LLSD_map[key] = LLSDArray(...)(...)...;

used to convert the LLSDArray object directly to LLSD; now it first calls the
custom copy constructor, which embeds the intended array within an outer array
before assigning it into the containing map.

The newer llsd::array() function avoids that problem because what it returns
is already an LLSD object.

Taking inventory of LLSDArray assignments of that form turned up a number of
workarounds like LLSD(LLSDArray(...)). Replacing those with llsd::array() is
both simpler and more readable.

Tip of the hat to Chorazinallen for surfacing this issue!

(cherry picked from commit bb718155bd)
2023-05-03 12:31:42 -04:00
Nat Goodspeed 21ddaa6908 DRTVWR-559: Merge remote branch 'DRTVWR-559' into DRTVWR-559-zapfunc
Delete the debugLoggingEnabled() (changed to LL_DEBUGS()) stanzas deleted by
the upstream.
2023-05-03 10:01:39 -04:00
Nat Goodspeed 2a10bd406c DRTVWR-559: Replace debugLoggingEnabled() function with LL_DEBUGS().
The trouble with debugLoggingEnabled() is that it locked mutexes and searched
maps every time that call was reached. LL_DEBUGS() has the same functionality
(albeit with idiosyncratic syntax) but performs expensive lookups only once
per session, caching the result in a local static variable.
2023-05-03 09:55:31 -04:00
RunitaiLinden e09475713b DRTVWR-559 Optimization pass, make it so profileAvatar can read back GPU timer without a frame stall. 2023-05-02 18:47:21 -05:00
Brad Linden 3513f67d2c Attempt at fixing thread safety possibly related to SL-19648 2023-05-02 15:57:49 -07:00
Vir Linden 7ed52090a6 Increment viewer version to 6.6.12
following promotion of DRTVWR-539
2023-05-02 10:24:54 -04:00
Brad Linden 2994833e7c SL-19656 followup removing unused variable 2023-05-01 17:24:07 -07:00
RunitaiLinden 334d71e910
SL-19656 Rewrite avatar and attachment render metrics to not interfere with render pipe and be representative of actual render cost instead of driver synchronization time.
* SL-19656 Rewrite avatar and attachment render metrics to not interfere with render pipe and be representative of actual render cost instead of driver synchronization time.

* SL-19656 Remove now dead code (trackAttachments et al).

* SL-19656 Fix for crash on GL <= 3.2
2023-05-01 17:05:09 -05:00
cosmic-linden 04604a921d
Merge pull request #196 from secondlife/SL-19644
SL-19644: Move GLTF transform reset out of pushBatch
2023-04-28 13:21:33 -07:00
RunitaiLinden 01565d122a DRTVWR-559 Touch up performance floater graphics preferences to remove preferences that no longer exist. 2023-04-28 13:06:06 -05:00
Cosmic Linden 0fedb22d77 SL-19644: Entirely separate files for GLTF alpha shadows 2023-04-28 10:36:29 -07:00
Cosmic Linden 51318d1808 SL-19644: Bind the shader on every shadow alpha blend call 2023-04-28 10:36:29 -07:00
Cosmic Linden 6b83fabf72 SL-19644: Move GLTF transform reset out of pushBatch 2023-04-28 10:36:26 -07:00
Brad Linden b21e16f27d
Merge pull request #198 from secondlife/DRTVWR-559-merge-539
DRTVWR-559 merge 539
2023-04-28 09:48:02 -07:00
Brad Linden f5cf0cf876
Update glext package in attempt to fix DRTVWR-559 viewer readiness report errors (#194) 2023-04-28 09:46:41 -07:00
Brad Linden ecc66f7ce2 Fix for mac shader loading failure freeze at startup SL-19668 2023-04-28 09:18:35 -07:00
Brad Linden 97c6bf8f74 Readded RenderClass1MemoryBandwidth setting after DRTVWR-559 & DRTVWR-539 merge
Has to use class1 now since class0 shouldn't ever be in use on
end-user systems anymore.
2023-04-27 18:04:49 -07:00
Brad Linden 10b2ec92ec More merge cleanup after DRTVWR-559 & DRTVWR-539 merge. (thanks Ansariel) 2023-04-27 18:02:48 -07:00
RunitaiLinden 23addd8fb5 DRTVWR-559 Fix for crash on GL 3. 2023-04-27 17:25:17 -05:00
RunitaiLinden 03c6263fa7 Merge branch 'DRTVWR-559' of github.com:secondlife/viewer into DRTVWR-559 2023-04-27 16:06:08 -05:00
RunitaiLinden a3b1d0beb6 SL-19197 Fix for crash in LLRenderTarget::release 2023-04-27 16:05:07 -05:00
Brad Linden dc813181a5 More post-merge fixes after DRTVWR-559 & DRTVWR-539 merge 2023-04-27 13:51:42 -07:00
cosmic-linden 5d379adcea
Merge pull request #195 from secondlife/SL-19653
SL-19653: Fix some vertex buffer data mask asserts
2023-04-27 11:42:45 -07:00
RunitaiLinden 88adfdcee4 DRTVWR-559 Add "No Post" mode and refactor "Scene Gamma" into "Brightness" for adjusting legacy gamma when probe ambiance is 0 and dynamic exposure when probe ambiance is not zero. 2023-04-26 20:47:04 -05:00
Brad Linden 513ac361b1 Got things to compile again after DRTVWR-559 & DRTVWR-539 merge.
removing dead code and references to members that don't exist anymore
2023-04-26 17:34:43 -07:00