/third_party/skia/src/core/ |
D | SkTaskGroup.cpp | 11 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 bool SkTaskGroup::done() const { in done() 36 void SkTaskGroup::wait() { in wait() 46 SkTaskGroup::Enabler::Enabler(int threads) { in Enabler()
|
D | SkTaskGroup.h | 17 class SkTaskGroup : SkNoncopyable { 20 explicit SkTaskGroup(SkExecutor& executor = SkExecutor::GetDefault()); 21 ~SkTaskGroup() { this->wait(); } in ~SkTaskGroup()
|
D | BUILD.bazel | 355 "SkTaskGroup.cpp", 356 "SkTaskGroup.h",
|
/third_party/skia/tools/ |
D | DDLTileHelper.h | 25 class SkTaskGroup; variable 107 void kickOffThreadedWork(SkTaskGroup* recordingTaskGroup, 108 SkTaskGroup* gpuTaskGroup, 134 void createBackendTextures(SkTaskGroup*, GrDirectContext*); 135 void deleteBackendTextures(SkTaskGroup*, GrDirectContext*);
|
D | DDLTileHelper.cpp | 263 SkTaskGroup().batch(this->numTiles(), [&](int i) { in createDDLsInParallel() 266 SkTaskGroup().add([this]{ this->createComposeDDL(); }); in createDDLsInParallel() 267 SkTaskGroup().wait(); in createDDLsInParallel() 292 void DDLTileHelper::kickOffThreadedWork(SkTaskGroup* recordingTaskGroup, in kickOffThreadedWork() 293 SkTaskGroup* gpuTaskGroup, in kickOffThreadedWork() 349 void DDLTileHelper::createBackendTextures(SkTaskGroup* taskGroup, GrDirectContext* direct) { in createBackendTextures() 367 void DDLTileHelper::deleteBackendTextures(SkTaskGroup* taskGroup, GrDirectContext* direct) { in deleteBackendTextures()
|
D | DDLPromiseImageHelper.h | 25 class SkTaskGroup; variable 117 void uploadAllToGPU(SkTaskGroup*, GrDirectContext*); 118 void deleteAllFromGPU(SkTaskGroup*, GrDirectContext*);
|
D | DDLPromiseImageHelper.cpp | 260 void DDLPromiseImageHelper::uploadAllToGPU(SkTaskGroup* taskGroup, GrDirectContext* direct) { in uploadAllToGPU() 274 void DDLPromiseImageHelper::deleteAllFromGPU(SkTaskGroup* taskGroup, GrDirectContext* direct) { in deleteAllFromGPU()
|
/third_party/skia/src/gpu/ |
D | GrDirectContextPriv.h | 28 class SkTaskGroup; variable 78 SkTaskGroup* getTaskGroup() { return this->context()->fTaskGroup.get(); } in getTaskGroup()
|
/third_party/skia/tools/skpbench/ |
D | skpbench.cpp | 212 Sample* sample, SkTaskGroup* recordingTaskGroup, SkTaskGroup* gpuTaskGroup, in ddl_sample() 283 std::unique_ptr<SkTaskGroup> gpuTaskGroup; in run_ddl_benchmark() 285 std::unique_ptr<SkTaskGroup> recordingTaskGroup; in run_ddl_benchmark() 288 gpuTaskGroup = std::make_unique<SkTaskGroup>(*gpuThread); in run_ddl_benchmark() 290 recordingTaskGroup = std::make_unique<SkTaskGroup>(*recordingThreadPool); in run_ddl_benchmark()
|
/third_party/skia/tests/ |
D | PathOpsThreadedCommon.cpp | 19 SkTaskGroup().batch(fRunnables.count(), [&](int i) { in render()
|
D | skia_test.cpp | 237 SkTaskGroup::Enabler enabled(FLAGS_threads); in main() 238 SkTaskGroup cpuTests; in main()
|
D | OnceTest.cpp | 35 SkTaskGroup().batch(1021, [&](int) { in DEF_TEST()
|
D | SkSharedMutexTest.cpp | 31 SkTaskGroup().batch(8, [&](int threadIndex) { in DEF_TEST()
|
D | SkScalerCacheTest.cpp | 80 SkTaskGroup(*executor).batch(kThreadCount, perThread); in DEF_TEST()
|
/third_party/skia/fuzz/ |
D | FuzzDDLThreading.cpp | 103 SkTaskGroup fGpuTaskGroup{*fGpuExecutor}; 104 SkTaskGroup fRecordingTaskGroup{*fRecordingExecutor};
|
/third_party/skia/modules/skottie/src/ |
D | SkottieTool.cpp | 330 SkTaskGroup::Enabler enabler(FLAGS_threads - 1); in main() 332 SkTaskGroup tg; in main()
|
/third_party/skia/include/gpu/ |
D | GrDirectContext.h | 46 class SkTaskGroup; variable 910 std::unique_ptr<SkTaskGroup> fTaskGroup;
|
/third_party/skia/dm/ |
D | DM.cpp | 1103 static SkTaskGroup* gDefinitelyThreadSafeWork = new SkTaskGroup; 1513 SkTaskGroup::Enabler enabled(FLAGS_threads); in main() 1543 SkTaskGroup parallel; in main()
|
D | DMSrcSink.h | 510 SkTaskGroup* recordingTaskGroup, 511 SkTaskGroup* gpuTaskGroup,
|
D | DMSrcSink.cpp | 1801 SkTaskGroup* recordingTaskGroup, in ddlDraw() 1802 SkTaskGroup* gpuTaskGroup, in ddlDraw() 1928 SkTaskGroup recordingTaskGroup(*fRecordingExecutor); in draw() 1929 SkTaskGroup gpuTaskGroup(*fGPUExecutor); in draw()
|
/third_party/skia/tools/fm/ |
D | fm.cpp | 385 SkTaskGroup::Enabler enabled(FLAGS_race); in main() 573 SkTaskGroup{}.batch(replicas, [=](int replica) { in main()
|
/third_party/skia/src/gpu/vk/ |
D | GrVkResourceProvider.cpp | 473 SkTaskGroup* taskGroup = fGpu->getContext()->priv().getTaskGroup(); in destroyResources() 549 SkTaskGroup* taskGroup = fGpu->getContext()->priv().getTaskGroup(); in backgroundReset()
|
/third_party/skia/bench/ |
D | SkGlyphCacheBench.cpp | 98 SkTaskGroup().batch(16, [&](int threadIndex) { in onDraw()
|
/third_party/skia/src/gpu/ops/ |
D | SoftwarePathRenderer.cpp | 335 SkTaskGroup* taskGroup = nullptr; in onDrawPath()
|
/third_party/skia/gn/ |
D | core.gni | 390 "$_src/core/SkTaskGroup.cpp", 391 "$_src/core/SkTaskGroup.h",
|