Searched defs:SkTaskGroup (Results 1 - 2 of 2) sorted by relevance

/external/skia/src/core/
H A DSkTaskGroup.h17 class SkTaskGroup : SkNoncopyable { class in inherits:SkNoncopyable
25 SkTaskGroup();
26 ~SkTaskGroup() { this->wait(); }
28 // Add a task to this SkTaskGroup. It will likely run on another thread.
34 // Block until all Tasks previously add()ed to this SkTaskGroup have run.
35 // You may safely reuse this SkTaskGroup after wait() returns.
H A DSkTaskGroup.cpp13 #include "SkTaskGroup.h"
64 // Lend a hand until our SkTaskGroup of interest is done.
79 // This Work isn't necessarily part of our SkTaskGroup of interest, but that's fine.
188 friend struct SkTaskGroup::Enabler;
194 SkTaskGroup::Enabler::Enabler(int threads) {
201 SkTaskGroup::Enabler::~Enabler() { delete ThreadPool::gGlobal; }
203 SkTaskGroup::SkTaskGroup() : fPending(0) {} function in class:SkTaskGroup
205 void SkTaskGroup::wait() { ThreadPool::Wait(&fPending); }
206 void SkTaskGroup
[all...]

Completed in 1147 milliseconds