/external/skia/src/core/ |
SkTaskGroup.h | 17 class SkTaskGroup : 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.
|
SkTaskGroup.cpp | 13 #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) {} 205 void SkTaskGroup::wait() { ThreadPool::Wait(&fPending); } 206 void SkTaskGroup::add(std::function<void(void)> fn) { ThreadPool::Add(fn, &fPending); [all...] |
SkMultiPictureDraw.cpp | 15 #include "SkTaskGroup.h" 97 SkTaskGroup().batch(fThreadSafeDrawData.count(), [&](int i) {
|
/external/skia/tests/ |
PathOpsThreadedCommon.cpp | 10 #include "SkTaskGroup.h" 19 SkTaskGroup().batch(fRunnables.count(), [&](int i) {
|
OncePtrTest.cpp | 10 #include "SkTaskGroup.h" 21 SkTaskGroup().batch(sk_num_cores()*4, [&](size_t) { 35 SkTaskGroup().batch(sk_num_cores()*4, [&](size_t) {
|
OnceTest.cpp | 9 #include "SkTaskGroup.h" 34 SkTaskGroup().batch(1021, [&](int) {
|
SkSharedMutexTest.cpp | 9 #include "SkTaskGroup.h" 31 SkTaskGroup().batch(8, [&](int threadIndex) {
|
skia_test.cpp | 16 #include "SkTaskGroup.h" 177 SkTaskGroup::Enabler enabled(FLAGS_threads); 178 SkTaskGroup cpuTests;
|
BlendTest.cpp | 11 #include "SkTaskGroup.h" 101 SkTaskGroup().batch(SkXfermode::kLastMode, test_mode);
|
PathOpsSkpClipTest.cpp | 29 #include "SkTaskGroup.h" 304 SkTaskGroup().batch(fRunnables.count(), [&](int i) { [all...] |
SkpSkGrTest.cpp | 27 #include "SkTaskGroup.h" 170 SkTaskGroup().batch(fRunnables.count(), [&](int i) {
|
/external/skia/bench/ |
SkGlyphCacheBench.cpp | 15 #include "SkTaskGroup.h" 98 SkTaskGroup().batch(16, [&](int threadIndex) {
|
nanobench.cpp | 41 #include "SkTaskGroup.h" [all...] |
/external/skia/dm/ |
DM.cpp | 28 #include "SkTaskGroup.h" 873 static SkTaskGroup gDefinitelyThreadSafeWork; [all...] |
/external/skia/samplecode/ |
SamplePathFuzz.cpp | 618 #include "SkTaskGroup.h" 622 SkTaskGroup().batch(100, [&](int i) {
|
SampleApp.cpp | 753 #include "SkTaskGroup.h" 845 static SkTaskGroup::Enabler enabled(-1); [all...] |
/external/skia/src/codec/ |
SkRawCodec.cpp | 20 #include "SkTaskGroup.h" 104 SkTaskGroup taskGroup; 138 // FIXME: Need to get the real amount of available threads used in the SkTaskGroup.
|
/external/skia/ |
Android.mk | 256 src/core/SkTaskGroup.cpp \
|