Age | Commit message (Collapse) | Author | |
---|---|---|---|
2021-11-04 | SL-16202: Add postIfOpen() methods to WorkQueue, LLThreadSafeQueue. | Nat Goodspeed | |
postIfOpen() provides a no-exception alternative to post(), which blocks if full but throws if closed. postIfOpen() likewise blocks if full, but returns true if able to post and false if the queue was closed. | |||
2021-11-04 | SL-16202: Instantiate LLSimpleton::sInstance generically | Nat Goodspeed | |
instead of requiring a separate declaration for each subclass. The previous way produces errors in clang. | |||
2021-11-04 | SL-16202: Merge branch 'sl-16220' into glthread | Nat Goodspeed | |
2021-11-04 | SL-16299 Updated dullahan to CT build 565428; entitlements cleanup | Andrey Lihatskiy | |
2021-11-03 | SL-16299 Added entitlements for the app bundle signing | Andrey Lihatskiy | |
2021-11-01 | SL-16293 Updated vlc to CT build 565299 | Andrey Lihatskiy | |
2021-11-01 | SL-16237 FIXED Viewer hangs on login | Mnikolenko Productengine | |
2021-11-01 | Merged in SL-16127_More_tweaks (pull request #752) | Michael Pohoreski | |
SL-16127 More tweaks Approved-by: Euclid Linden Approved-by: Dave Parks | |||
2021-10-29 | Fix merge conflict | Ptolemy | |
2021-10-28 | SL-9436 Don't render 100% transparent objects. | Dave Parks | |
2021-10-28 | SL-15462 Convert waitForChannel() into state machine | Andrey Kleshchev | |
2021-10-28 | SL-16148 SL-16244 SL-16270 SL-16253 Remove most BlockTimers, remove ↵ | Dave Parks | |
LLMemTracked, introduce alignas, hook most/all reamining allocs, disable synchronous occlusion, and convert frequently accessed LLSingletons to LLSimpleton | |||
2021-10-28 | SL-16247 Post-d520 libvlc plugin fixes | Andrey Lihatskiy | |
by Callum | |||
2021-10-27 | SL-16220: Add tests for WorkQueue::waitForResult(), void & non-void. | Nat Goodspeed | |
2021-10-27 | Merge branch 'SL-16127_More_tweaks' of bitbucket.org:lindenlab/viewer into ↵ | Ptolemy | |
SL-16127_More_tweaks | |||
2021-10-27 | SL-16127: Make another pass removing redundant LLSD op [] calls, unused ↵ | Ptolemy | |
vars, and use atmospheric already calculated | |||
2021-10-27 | Merged in SL-16127 (pull request #741) | Michael Pohoreski | |
SL-16127 Approved-by: Euclid Linden Approved-by: Dave Parks | |||
2021-10-26 | SL-16127: Make another pass removing redundant LLSD op [] calls, unused ↵ | Ptolemy | |
vars, and use atmospheric already calculated | |||
2021-10-26 | SL-16220: Make WorkQueue::postTo() return exception to caller. | Nat Goodspeed | |
postTo() sets up two-way communication: the caller asks to run work on some other WorkQueue, expecting an eventual callback on the originating WorkQueue. That permits us to transport any exception thrown by the work callable back to rethrow on the originating WorkQueue. | |||
2021-10-26 | SL-16220: Change WorkQueue::runOn() to waitForResult(). | Nat Goodspeed | |
In addition to the name making the blocking explicit, we changed the signature: instead of specifying a target WorkQueue on which to run, waitForResult() runs the passed callable on its own WorkQueue. Why is that? Because, unlike postTo(), we do not require a handshake between two different WorkQueues. postTo() allows running arbitrary callback code, setting variables or whatever, on the originating WorkQueue (presumably on the originating thread). waitForResult() synchronizes using Promise/Future, which are explicitly designed for cross-thread communication. We need not call set_value() on the originating thread, so we don't need a postTo() callback lambda. | |||
2021-10-26 | SL-16243 Followup -- fix for inconsistently calling TracyAlloc/TracyFree | Runitai Linden | |
2021-10-26 | SL-16193 Fix for mesh selection outline not rendering correctly (and broken ↵ | Dave Parks | |
physics shapes display). | |||
2021-10-25 | SL-16246 protect null deference | Dave Houlton | |
2021-10-25 | SL-16220: WorkQueue::runOn() methods submit work, wait for result. | Nat Goodspeed | |
The idea is that you can call runOn(target, callable) from a (non-default) coroutine and block that coroutine until the result becomes available. As a safety check, we forbid calling runOn() from a thread's default coroutine, assuming that a given thread's default coroutine is the one servicing the relevant WorkQueue. | |||
2021-10-25 | SL-16243 Add Tracy timers to global new/delete overrides. | Dave Parks | |
2021-10-25 | SL-16220: Specialize WorkQueue for callable with void return. | Nat Goodspeed | |
Add a test exercising this feature. | |||
2021-10-25 | SL-16234 handle closing floater correctly | Mnikolenko Productengine | |
2021-10-25 | Merged in SL-15999 (pull request #746) | Vir Linden | |
SL-15999 support --noninteractive option for viewer Approved-by: Dave Parks Approved-by: Michael Pohoreski | |||
2021-10-25 | Merged DRTVWR-546 into SL-15999 | Vir Linden | |
2021-10-25 | SL-16218 treat texture selection similar to diffuse map handling. | Mnikolenko Productengine | |
2021-10-22 | SL-16220: Fix thread name expression. | Nat Goodspeed | |
2021-10-22 | Merge branch 'DRTVWR-546' into SL-16127 | Ptolemy | |
2021-10-22 | SL-16222 Don't use bindFast for legacy bump maps (weird loading path ↵ | Runitai Linden | |
sometimes has stale texture state). | |||
2021-10-22 | SL-15999 - made cwd handling a bit more robust in perfbot_run.py | Brad Payne (Vir Linden) | |
2021-10-22 | merge | Brad Payne (Vir Linden) | |
2021-10-22 | SL-16203 Fix for wonky handling of mouse deltas. | Dave Parks | |
2021-10-22 | SL-16220: Merge branch 'master' into sl-16220 | Nat Goodspeed | |
2021-10-22 | SL-16220: Add LL::ThreadPool class and a "General" instance. | Nat Goodspeed | |
ThreadPool bundles a WorkQueue with the specified number of worker threads to service it. Each ThreadPool has a name that can be used to locate its WorkQueue. Each worker thread calls WorkQueue::runUntilClose(). ThreadPool listens on the "LLApp" LLEventPump for shutdown notification. On receiving that, it closes its WorkQueue and then join()s each of its worker threads for orderly shutdown. Add a settings.xml entry "ThreadPoolSizes", the first LLSD-valued settings entry to expect a map: pool name->size. The expectation is that usually code instantiating a particular ThreadPool will have a default size in mind, but it should check "ThreadPoolSizes" for a user override. Make idle_startup()'s STATE_SEED_CAP_GRANTED state instantiate a "General" ThreadPool. This is function-static for lazy initialization. Eliminate LLMainLoopRepeater, which is completely unreferenced. Any potential future use cases are better addressed by posting to the main loop's WorkQueue. Eliminate llappviewer.cpp's private LLDeferredTaskList class, which implemented LLAppViewer::addOnIdleCallback(). Make addOnIdleCallback() post work to the main loop's WorkQueue instead. | |||
2021-10-22 | SL-16234 FIXED Frame stall caused by unnecessary building the floater when ↵ | Mnikolenko Productengine | |
exiting viewer | |||
2021-10-21 | SL-16127: Const cleanup | Ptolemy | |
2021-10-21 | SL-16127: More cleanup | Ptolemy | |
2021-10-21 | SL-16127: Cleanup consts | Ptolemy | |
2021-10-21 | SL-16127: Fix bug in int() not calling getDistanceMultiplier(), calc() not ↵ | Ptolemy | |
calling getTotalDensity() | |||
2021-10-21 | SL-16127: Use cached sky | Ptolemy | |
2021-10-21 | SL-16127: Cleanup indentation and whitespace to match coding style | Ptolemy | |
2021-10-21 | SL-16127: Use cache psky when possible | Ptolemy | |
2021-10-21 | SL-16127: Cleanup trailing whitespace | Ptolemy | |
2021-10-21 | SL-16127: Remove unused functions | Ptolemy | |
2021-10-21 | SL-16127: Replace slow getLightTransmittance with faster version | Ptolemy | |
2021-10-21 | SL-16202 Fix for textures appearing black or flashing white due to ↵ | Dave Parks | |
optimization bugs. |