summaryrefslogtreecommitdiff
path: root/indra/newview/skins/default/xui
diff options
context:
space:
mode:
authorruslantproductengine <ruslantproductengine@lindenlab.com>2015-10-21 18:47:24 +0300
committerruslantproductengine <ruslantproductengine@lindenlab.com>2015-10-21 18:47:24 +0300
commit1ce674c03f76c027c78191825fcdc8d61d6ca5da (patch)
tree55ca85ba1e195c74686162d2ece01b53e29f1610 /indra/newview/skins/default/xui
parent2188da26bea8eff0538498c4e6caa69be53d6bbc (diff)
MAINT-4360 FIXED (Setting LogTextureDownloadsToSimulator causes a viewer crash)
The fix in fllowing: LLTextureFetch has object LLTextureInfo which is has Recorder object. The recorder object activate (Recorder::handleStart()) self AccumulatorBufferGroup (Recorder::mBuffers into the current (LLTrace::get_thread_recorder()) ThreadRecorder object which created (as I understand) one per thread, and time to time send accumulated data to the master ThreadRecorder. The problem is that LLTextureFetch also can uses from the main thread. I decide add parameter to CTOR LLTextureInfo(bool postponeStartRecoreder) - if it false the recorder start immediatly in LLTextureInfo CTOR body, if true we need to start it manually. Also I add another one LLTextureInfo in LLTextureFetch::mTextureInfoMainThread which is intended for accumulate data from the main thread. The postponed Recorder started/stoped from LLTextureFetch::startThread()/endThread().
Diffstat (limited to 'indra/newview/skins/default/xui')
0 files changed, 0 insertions, 0 deletions