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

/external/chromium_org/third_party/skia/src/utils/
H A DSkTaskGroup.h14 class SkTaskGroup : SkNoncopyable { class in inherits:SkNoncopyable
22 SkTaskGroup();
23 ~SkTaskGroup() { this->wait(); }
25 // Add a task to this SkTaskGroup. It will likely run() on another thread.
28 // Block until all Tasks previously add()ed to this SkTaskGroup have run().
29 // You may safely reuse this SkTaskGroup after wait() returns.
H A DSkTaskGroup.cpp1 #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) {} function in class:SkTaskGroup
146 void SkTaskGroup::add(SkRunnable* task) { ThreadPool::Add(task, &fPending); }
147 void SkTaskGroup
[all...]

Completed in 71 milliseconds