Lines Matching defs:SkTaskGroup
1 #include "SkTaskGroup.h"
38 // Lend a hand until our SkTaskGroup of interest is done.
49 // This Work isn't necessarily part of our SkTaskGroup of interest, but that's fine.
128 friend struct SkTaskGroup::Enabler;
134 SkTaskGroup::Enabler::Enabler(int threads) {
139 SkTaskGroup::Enabler::~Enabler() {
144 SkTaskGroup::SkTaskGroup() : fPending(0) {}
146 void SkTaskGroup::add(SkRunnable* task) { ThreadPool::Add(task, &fPending); }
147 void SkTaskGroup::wait() { ThreadPool::Wait(&fPending); }