---------------------------------------------------------------------
| 4466 | } |
| 4467 | //--------------------------------------------------------------------- |
| 4468 | void SceneManager::executeUserScalableTask( UniformScalableTask *task, bool bBlock ) |
| 4469 | { |
| 4470 | mRequestType = USER_UNIFORM_SCALABLE_TASK; |
| 4471 | mUserTask = task; |
| 4472 | |
| 4473 | if( mForceMainThread ) |
| 4474 | updateWorkerThreadImpl( 0 ); |
| 4475 | else |
| 4476 | { |
| 4477 | mWorkerThreadsBarrier->sync(); // Fire threads |
| 4478 | if( bBlock ) |
| 4479 | mWorkerThreadsBarrier->sync(); // Wait them to complete |
| 4480 | } |
| 4481 | } |
| 4482 | //--------------------------------------------------------------------- |
| 4483 | void SceneManager::waitForPendingUserScalableTask() |
| 4484 | { |
no test coverage detected