phoenix-firestorm/indra/llcommon
Cosmic Linden 3e60b53d52 SL-16182: Offload audio decoding from the main thread to the general work queue.
The work queue callback binds "this". This is deemed safe due to current dependencies, but see the associated comment in the return callback. There was some trial and error to get a this-binded lambda to compile.

Due to LLVorbisDecodeState writing to disk off-thread, limit audio decodes proportional to general worker thread count. Guess the thread count for now.
2022-06-14 11:31:52 -07:00
..
tests Merge branch 'master' (DRTVWR-557) into DRTVWR-546 2022-03-01 13:41:42 +02:00
CMakeLists.txt SL-16606: Add categories 2022-01-14 11:50:18 -08:00
StackWalker.cpp
StackWalker.h
chrono.h SL-16024: Add ThreadSafeSchedule, a timestamped LLThreadSafeQueue. 2021-10-05 17:31:53 -04:00
ctype_workaround.h
fix_macros.h
indra_constants.cpp
indra_constants.h
is_approx_equal_fraction.h
linden_common.h SL-16027: Add Tracy OpenGL support 2021-09-21 16:10:52 -07:00
llalignedarray.h
llallocator.cpp
llallocator.h
llallocator_heap_profile.cpp
llallocator_heap_profile.h
llapp.cpp Manually resolving conflicts after merge with DRTVWR-520 2021-11-02 22:55:55 +02:00
llapp.h Manually resolving conflicts after merge with DRTVWR-520 2021-11-02 22:55:55 +02:00
llapr.cpp SL-13034 Last string in logs should say 'Goodbye' 2020-09-25 17:02:22 +03:00
llapr.h DRTVWR-510 remove all LL_SOLARIS conditionals 2020-10-08 17:16:22 -06:00
llassettype.cpp
llassettype.h
llatomic.cpp
llatomic.h
llbase32.cpp
llbase32.h
llbase64.cpp
llbase64.h
llbitpack.cpp
llbitpack.h
llboost.h
llcallbacklist.cpp
llcallbacklist.h
llcallstack.cpp
llcallstack.h
llcleanup.cpp SL-13034 Last string in logs should say 'Goodbye' 2020-09-25 17:02:22 +03:00
llcleanup.h SL-13034 Last string in logs should say 'Goodbye' 2020-09-25 17:02:22 +03:00
llclickaction.h
llcommon.cpp SL-16606: Add profiler category MEMORY 2022-01-14 11:50:20 -08:00
llcommon.h
llcommonutils.cpp
llcommonutils.h
llcond.h SL-16094: Fix WorkQueue test for correct behavior of runFor(). 2021-11-24 12:56:48 -05:00
llcoros.cpp Merge branch 'master' into DRTVWR-540-maint 2021-11-19 04:45:15 +02:00
llcoros.h Merge branch 'master' into DRTVWR-521-maint 2021-07-20 02:48:05 +03:00
llcrc.cpp
llcrc.h
llcriticaldamp.cpp
llcriticaldamp.h
lldate.cpp SL-16148 SL-16244 SL-16270 SL-16253 Remove most BlockTimers, remove LLMemTracked, introduce alignas, hook most/all reamining allocs, disable synchronous occlusion, and convert frequently accessed LLSingletons to LLSimpleton 2021-10-28 18:06:21 +00:00
lldate.h
lldeadmantimer.cpp
lldeadmantimer.h
lldefs.h
lldependencies.cpp
lldependencies.h
lldepthstack.h
lldictionary.cpp
lldictionary.h
lldoubledispatch.h
llendianswizzle.h
llerror.cpp Merge branch 'master' (DRTVWR-557) into DRTVWR-546 2022-03-01 13:41:42 +02:00
llerror.h SL-16093 Don't force the console window to be open on developer builds because it causes frame stalls while logging. 2021-09-27 23:56:06 +00:00
llerrorcontrol.h SL-16093 Don't force the console window to be open on developer builds because it causes frame stalls while logging. 2021-09-27 23:56:06 +00:00
llerrorlegacy.h
llerrorthread.cpp
llerrorthread.h
llevent.cpp
llevent.h
lleventapi.cpp
lleventapi.h
lleventcoro.cpp SL-15393: Use non-overloaded name for function returning LLSD&. 2021-06-24 02:07:40 +03:00
lleventcoro.h
lleventdispatcher.cpp
lleventdispatcher.h
lleventemitter.h
lleventfilter.cpp
lleventfilter.h SL-16014: Add Tracy markup for LLEventFilter 2021-09-22 14:38:44 -07:00
llevents.cpp SL-15093 Crash nanov2_free_to_block 2021-05-28 19:54:16 +03:00
llevents.h SL-15093 Crash nanov2_free_to_block #2 2021-05-31 19:36:36 +03:00
lleventtimer.cpp
lleventtimer.h
llexception.cpp SL-17077 Ensure profiling is disabled if gpu_benchmark fails. Log the source of the real crash for when the viewer inevitably crashes later. 2022-03-25 13:05:50 -05:00
llexception.h SL-14347 Crash at ChoosePixelFormat SEH 2020-12-01 18:22:24 +02:00
llfasttimer.cpp SL-16606: Add profiler category STATS 2022-01-14 11:50:21 -08:00
llfasttimer.h SL-15709: Cleanup 2021-09-03 17:53:44 -07:00
llfile.cpp
llfile.h
llfindlocale.cpp
llfindlocale.h
llfixedbuffer.cpp
llfixedbuffer.h
llformat.cpp
llformat.h
llframetimer.cpp SL-15709: Windows: Include Tracy source directly; don't use a library 2021-09-15 13:52:59 -06:00
llframetimer.h
llhandle.h
llhash.h
llheartbeat.cpp
llheartbeat.h
llheteromap.cpp
llheteromap.h
llindexedvector.h
llinitdestroyclass.cpp
llinitdestroyclass.h
llinitparam.cpp
llinitparam.h
llinstancetracker.cpp
llinstancetracker.h SL-16024: Return shared_ptr from LLInstanceTracker::getInstance(). 2021-10-07 11:53:45 -04:00
llkeybind.cpp
llkeybind.h
llkeythrottle.h
llkeyusetracker.h
llleap.cpp SL-15742: Convert build scripts to Python 3 2021-12-10 14:42:49 -08:00
llleap.h
llleaplistener.cpp SL-16024: Return shared_ptr from LLInstanceTracker::getInstance(). 2021-10-07 11:53:45 -04:00
llleaplistener.h
llliveappconfig.cpp
llliveappconfig.h
lllivefile.cpp
lllivefile.h
llmainthreadtask.cpp
llmainthreadtask.h
llmake.h
llmd5.cpp
llmd5.h
llmemory.cpp Merged in SL-15937 (pull request #991) 2022-05-27 20:29:56 +00:00
llmemory.h SL-16606: Add profiler category MEMORY 2022-01-14 11:50:20 -08:00
llmemorystream.cpp
llmemorystream.h
llmetricperformancetester.cpp SL-15177 Added LLTextureFetchTester to log texture fetching state timers 2021-04-29 17:37:26 +03:00
llmetricperformancetester.h
llmetrics.cpp
llmetrics.h
llmortician.cpp
llmortician.h
llmutex.cpp SL-16606: Add profiler category THREAD 2022-01-14 11:50:21 -08:00
llmutex.h
llnametable.h
llpointer.h
llpounceable.h
llpredicate.cpp
llpredicate.h
llpreprocessor.h SL-16207: Update llstring.h handling of different string types. 2021-10-27 13:01:37 -04:00
llpriqueuemap.h
llprocess.cpp
llprocess.h
llprocessor.cpp SL-16972 Per feedback from Ansariel, only bump up max heap size on 64-bit builds. 2022-03-09 12:48:52 -06:00
llprocessor.h SL-16972 Per feedback from Ansariel, only bump up max heap size on 64-bit builds. 2022-03-09 12:48:52 -06:00
llprocinfo.cpp
llprocinfo.h
llprofiler.h SL-16606: Include profiler categories automatically 2022-01-14 11:50:18 -08:00
llprofilercategories.h SL-16606: Add categories 2022-01-14 11:50:18 -08:00
llptrto.cpp
llptrto.h
llqueuedthread.cpp
llqueuedthread.h
llrand.cpp
llrand.h
llrefcount.cpp SL-16815 and SL-16906 Avoid redundant bumpmap generation, add some assertions around ref counting and (hack) fix crash on shutdown from dangling texture reference (reduced to 1 dangling texture from several hundred, can't find the remaining reference). 2022-02-23 16:51:33 -06:00
llrefcount.h SL-16815 and SL-16906 Avoid redundant bumpmap generation, add some assertions around ref counting and (hack) fix crash on shutdown from dangling texture reference (reduced to 1 dangling texture from several hundred, can't find the remaining reference). 2022-02-23 16:51:33 -06:00
llregex.h SL-2202 Add exception handling around boost::regex_match() calls in the viewer 2021-01-11 17:07:03 +02:00
llregistry.h
llrun.cpp
llrun.h
llsafehandle.h
llsd.cpp SL-16606: Add profiler category LLSD 2022-01-14 11:50:19 -08:00
llsd.h SL-16606: Add profiler category LLSD 2022-01-14 11:50:19 -08:00
llsdjson.cpp
llsdjson.h
llsdparam.cpp SL-16148 SL-16244 SL-16270 SL-16253 Remove most BlockTimers, remove LLMemTracked, introduce alignas, hook most/all reamining allocs, disable synchronous occlusion, and convert frequently accessed LLSingletons to LLSimpleton 2021-10-28 18:06:21 +00:00
llsdparam.h SL-16148 SL-16244 SL-16270 SL-16253 Remove most BlockTimers, remove LLMemTracked, introduce alignas, hook most/all reamining allocs, disable synchronous occlusion, and convert frequently accessed LLSingletons to LLSimpleton 2021-10-28 18:06:21 +00:00
llsdserialize.cpp
llsdserialize.h
llsdserialize_xml.cpp
llsdserialize_xml.h
llsdutil.cpp Merge branch master (D540) into DRTVWR-546 2022-04-18 23:42:39 +03:00
llsdutil.h SL-15393: Use non-overloaded name for function returning LLSD&. 2021-06-24 02:07:40 +03:00
llsimplehash.h
llsingleton.cpp SL-10297: Simplify implementation of LLSingletonBase::logwarns() etc. 2021-05-12 09:46:49 -04:00
llsingleton.h SL-16606: Add profiler category THREAD 2022-01-14 11:50:21 -08:00
llsmoothstep.h
llstacktrace.cpp
llstacktrace.h
llstatenums.h
llstaticstringtable.h
llstatsaccumulator.h
llstl.h Revert "Merge branch 'c++17' into DRTVWR-522-maint" 2021-09-28 19:22:18 +03:00
llstreamqueue.cpp
llstreamqueue.h
llstreamtools.cpp
llstreamtools.h
llstrider.h
llstring.cpp SL-16606: Add profiler category STRING 2022-01-14 11:50:21 -08:00
llstring.h SL-16094: Support ll_convert<std::string>(const char*) 2021-11-23 14:25:16 -05:00
llstringtable.cpp
llstringtable.h
llsys.cpp Merge branch master (D540) into DRTVWR-546 2022-04-18 23:42:39 +03:00
llsys.h
lltempredirect.cpp
lltempredirect.h
llthread.cpp SL-16606: Add profiler category THREAD 2022-01-14 11:50:21 -08:00
llthread.h SL-15200: Add LLApp::sleep(duration) methods. 2021-05-17 13:37:13 -04:00
llthreadlocalstorage.cpp
llthreadlocalstorage.h
llthreadsafequeue.cpp
llthreadsafequeue.h SL-16606: Add profiler category THREAD 2022-01-14 11:50:21 -08:00
lltimer.cpp DRTVWR-510 remove all LL_SOLARIS conditionals 2020-10-08 17:16:22 -06:00
lltimer.h DRTVWR-510 remove all LL_SOLARIS conditionals 2020-10-08 17:16:22 -06:00
lltrace.cpp SL-16148 SL-16244 SL-16270 SL-16253 Remove most BlockTimers, remove LLMemTracked, introduce alignas, hook most/all reamining allocs, disable synchronous occlusion, and convert frequently accessed LLSingletons to LLSimpleton 2021-10-28 18:06:21 +00:00
lltrace.h SL-16606: Add profiler category STATS 2022-01-14 11:50:21 -08:00
lltraceaccumulators.cpp SL-16606: Add profiler category STATS 2022-01-14 11:50:21 -08:00
lltraceaccumulators.h SL-16606: Add profiler category STATS 2022-01-14 11:50:21 -08:00
lltracerecording.cpp SL-16606: Add profiler category STATS 2022-01-14 11:50:21 -08:00
lltracerecording.h SL-16606: Add profiler category STATS 2022-01-14 11:50:21 -08:00
lltracethreadrecorder.cpp SL-16606: Add profiler category STATS 2022-01-14 11:50:22 -08:00
lltracethreadrecorder.h
lltreeiterators.h
llunits.h
llunittype.h
lluri.cpp SL-13843 FIXED URL gets changed when opened in the internal web browse 2020-08-25 15:18:40 +03:00
lluri.h
lluriparser.cpp SL-14597 Fixed deprecated function and added signal handling 2021-01-21 11:59:27 +00:00
lluriparser.h SL-14597 Fixed deprecated function and added signal handling 2021-01-21 11:59:27 +00:00
lluuid.cpp Merge with tip of Master after Viewer release 2021-06-07 18:55:00 -07:00
lluuid.h SL-15961 Convert LLMeshRepository::mSkinMap into unordered_map and reduce number of per-frame lookups to said map. 2021-09-15 13:53:00 -06:00
llwin32headers.h
llwin32headerslean.h
llworkerthread.cpp
llworkerthread.h
lockstatic.h
mutex.h
stdtypes.h SL-16207: Update llstring.h handling of different string types. 2021-10-27 13:01:37 -04:00
string_table.h
stringize.h SL-16094: Tweak llstring merge 2021-11-23 10:11:16 -05:00
threadpool.cpp SL-17483: Make ThreadPool inherit LLInstanceTracker 2022-06-14 11:31:52 -07:00
threadpool.h SL-17483: Make ThreadPool inherit LLInstanceTracker 2022-06-14 11:31:52 -07:00
threadsafeschedule.h SL-16606: Add profiler category THREAD 2022-01-14 11:50:21 -08:00
timer.h
tuple.h SL-16024: Introduce tuple.h with tuple_cons(), tuple_cdr(). 2021-10-04 11:48:58 -04:00
u64.cpp
u64.h
workqueue.cpp SL-16606: Add profiler category THREAD 2022-01-14 11:50:21 -08:00
workqueue.h SL-16182: Offload audio decoding from the main thread to the general work queue. 2022-06-14 11:31:52 -07:00