MAINT-7082: Remove waiting loop in frame when textures queued for download in alternate thread. With debug spam for observation.
parent
25cd2ed205
commit
56f9cce8a1
|
|
@ -1491,7 +1491,7 @@ bool LLAppViewer::frame()
|
|||
idleTimer.reset();
|
||||
S32 total_work_pending = 0;
|
||||
S32 total_io_pending = 0;
|
||||
while(1)
|
||||
//while(1)
|
||||
{
|
||||
S32 work_pending = 0;
|
||||
S32 io_pending = 0;
|
||||
|
|
@ -1515,11 +1515,15 @@ bool LLAppViewer::frame()
|
|||
|
||||
total_work_pending += work_pending ;
|
||||
total_io_pending += io_pending ;
|
||||
|
||||
if (!work_pending || idleTimer.getElapsedTimeF64() >= max_idle_time)
|
||||
{
|
||||
break;
|
||||
}
|
||||
|
||||
if (work_pending)
|
||||
{
|
||||
LL_WARNS("Idle") << "Work pending in texture thread: " << work_pending << LL_ENDL;
|
||||
}
|
||||
// if (!work_pending || idleTimer.getElapsedTimeF64() >= max_idle_time)
|
||||
// {
|
||||
// break;
|
||||
// }
|
||||
}
|
||||
gMeshRepo.update() ;
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue