diff options
author | ruslantproductengine <ruslantproductengine@lindenlab.com> | 2015-08-28 19:20:55 +0300 |
---|---|---|
committer | ruslantproductengine <ruslantproductengine@lindenlab.com> | 2015-08-28 19:20:55 +0300 |
commit | b7ce1a52ee246a4c38c909cd7e8128e259b253f7 (patch) | |
tree | 46e67dbda2b4cb48db6813bfea6d2dbffc4fc79a /debian | |
parent | 0735380c60bb789aa8c1073699df8e473b083534 (diff) |
MAINT-4483 (Mesh uploader allows Low LODs to have more triangles than High LODs)
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().
--HG--
branch : MAINT-4360
Diffstat (limited to 'debian')
0 files changed, 0 insertions, 0 deletions