Home
last modified time | relevance | path

Searched refs:SkTaskGroup (Results 1 – 20 of 20) sorted by relevance

/external/skia/src/core/
DSkTaskGroup.cpp11 SkTaskGroup::SkTaskGroup(SkExecutor& executor) : fPending(0), fExecutor(executor) {} in SkTaskGroup() function in SkTaskGroup
13 void SkTaskGroup::add(std::function<void(void)> fn) { in add()
21 void SkTaskGroup::batch(int N, std::function<void(int)> fn) { in batch()
32 void SkTaskGroup::wait() { in wait()
42 SkTaskGroup::Enabler::Enabler(int threads) { in Enabler()
DSkTaskGroup.h16 class SkTaskGroup : SkNoncopyable {
19 explicit SkTaskGroup(SkExecutor& executor = SkExecutor::GetDefault());
20 ~SkTaskGroup() { this->wait(); } in ~SkTaskGroup()
DSkMultiPictureDraw.cpp86 SkTaskGroup().batch(fThreadSafeDrawData.count(), [&](int i) { in draw()
/external/skia/tests/
DPathOpsThreadedCommon.cpp19 SkTaskGroup().batch(fRunnables.count(), [&](int i) { in render()
Dskia_test.cpp219 SkTaskGroup::Enabler enabled(FLAGS_threads); in main()
220 SkTaskGroup cpuTests; in main()
DOnceTest.cpp35 SkTaskGroup().batch(1021, [&](int) { in DEF_TEST()
DSkSharedMutexTest.cpp31 SkTaskGroup().batch(8, [&](int threadIndex) { in DEF_TEST()
DDataRefTest.cpp285 SkTaskGroup tasks; in DEF_TEST()
DSkpSkGrTest.cpp167 SkTaskGroup().batch(fRunnables.count(), [&](int i) { in render()
/external/skia/bench/
DSkGlyphCacheBench.cpp98 SkTaskGroup().batch(16, [&](int threadIndex) { in onDraw()
Dnanobench.cpp1115 SkTaskGroup::Enabler enabled(FLAGS_threads); in main()
/external/skia/tools/
Dmonobench.cpp30 SkTaskGroup::Enabler enabled; in main()
/external/skia/dm/
DDM.cpp1031 static SkTaskGroup gDefinitelyThreadSafeWork;
1303 SkTaskGroup::Enabler enabled(FLAGS_threads); in main()
1328 SkTaskGroup parallel; in main()
/external/skia/samplecode/
DSamplePathText.cpp213 SkTaskGroup fBackgroundAnimationTask;
DSamplePathFuzz.cpp622 SkTaskGroup().batch(100, [&](int i) { in path_fuzz_stroker()
DSampleApp.cpp874 static SkTaskGroup::Enabler enabled(-1); in SampleWindow()
/external/skia/gn/
Dcore.gni311 "$_src/core/SkTaskGroup.cpp",
312 "$_src/core/SkTaskGroup.h",
/external/skia/src/codec/
DSkRawCodec.cpp104 SkTaskGroup taskGroup; in PerformAreaTask()
/external/skia/tools/viewer/
DViewer.cpp258 static SkTaskGroup::Enabler kTaskGroupEnabler; in Viewer()
/external/skia/
DAndroid.bp284 "src/core/SkTaskGroup.cpp",