Home
last modified time | relevance | path

Searched refs:SkThreadPool (Results 1 - 1 of 1) sorted by relevance

/third_party/skia/src/core/
H A DSkExecutor.cpp69 // An SkThreadPool is an executor that runs work on a fixed pool of OS threads.
71 class SkThreadPool final : public SkExecutor {
73 explicit SkThreadPool(int threads, bool allowBorrowing) : fAllowBorrowing(allowBorrowing) { in SkThreadPool() function in final
79 ~SkThreadPool() override {
126 auto pool = (SkThreadPool*)ctx; in Loop()
144 return std::make_unique<SkThreadPool<WorkList>>(threads > 0 ? threads : num_cores(), in MakeFIFOThreadPool()
149 return std::make_unique<SkThreadPool<WorkList>>(threads > 0 ? threads : num_cores(), in MakeLIFOThreadPool()

Completed in 1 milliseconds