Revert "Add single-threaded config to Filament. (#130)" (#152)

This reverts commit e3457aa0a7.
This commit is contained in:
Philip Rideout
2018-08-26 18:40:49 -07:00
committed by Romain Guy
parent ca73e73745
commit 24022010f9
10 changed files with 50 additions and 123 deletions

View File

@@ -120,7 +120,7 @@ JobSystem::JobSystem(size_t threadCount, size_t adoptableThreadsCount) noexcept
threadCount = hwThreads - 1;
}
}
threadCount = std::min(size_t(UTILS_HAS_THREADING ? 32 : 0), threadCount);
threadCount = std::min(size_t(32), threadCount);
mThreadStates = aligned_vector<ThreadState>(threadCount + adoptableThreadsCount);
mThreadCount = uint16_t(threadCount);