/external/skqp/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 | SkMultiPictureDraw.cpp | 86 SkTaskGroup().batch(fThreadSafeDrawData.count(), [&](int i) { in draw()
|
/external/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()
|
/external/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 | 264 SkTaskGroup().batch(this->numTiles(), [&](int i) { in createDDLsInParallel() 267 SkTaskGroup().add([this]{ this->createComposeDDL(); }); in createDDLsInParallel() 268 SkTaskGroup().wait(); in createDDLsInParallel() 293 void DDLTileHelper::kickOffThreadedWork(SkTaskGroup* recordingTaskGroup, in kickOffThreadedWork() 294 SkTaskGroup* gpuTaskGroup, in kickOffThreadedWork() 350 void DDLTileHelper::createBackendTextures(SkTaskGroup* taskGroup, GrDirectContext* direct) { in createBackendTextures() 368 void DDLTileHelper::deleteBackendTextures(SkTaskGroup* taskGroup, GrDirectContext* direct) { in deleteBackendTextures()
|
D | DDLPromiseImageHelper.h | 24 class SkTaskGroup; variable 116 void uploadAllToGPU(SkTaskGroup*, GrDirectContext*); 117 void deleteAllFromGPU(SkTaskGroup*, GrDirectContext*);
|
/external/skqp/include/gpu/ |
D | GrContext.h | 51 class SkTaskGroup; variable 299 std::unique_ptr<SkTaskGroup> fTaskGroup;
|
/external/skia/tests/ |
D | PathOpsThreadedCommon.cpp | 19 SkTaskGroup().batch(fRunnables.count(), [&](int i) { in render()
|
D | OnceTest.cpp | 35 SkTaskGroup().batch(1021, [&](int) { in DEF_TEST()
|
D | SkSharedMutexTest.cpp | 31 SkTaskGroup().batch(8, [&](int threadIndex) { in DEF_TEST()
|
D | skia_test.cpp | 233 SkTaskGroup::Enabler enabled(FLAGS_threads); in main() 234 SkTaskGroup cpuTests; in main()
|
D | SkScalerCacheTest.cpp | 83 SkTaskGroup(*executor).batch(kThreadCount, perThread); in DEF_TEST()
|
/external/skqp/tests/ |
D | PathOpsThreadedCommon.cpp | 19 SkTaskGroup().batch(fRunnables.count(), [&](int i) { in render()
|
D | OnceTest.cpp | 35 SkTaskGroup().batch(1021, [&](int) { in DEF_TEST()
|
D | skia_test.cpp | 216 SkTaskGroup::Enabler enabled(FLAGS_threads); in main() 217 SkTaskGroup cpuTests; in main()
|
D | SkSharedMutexTest.cpp | 31 SkTaskGroup().batch(8, [&](int threadIndex) { in DEF_TEST()
|
/external/skqp/tools/ |
D | DDLTileHelper.cpp | 141 SkTaskGroup().batch(fTiles.count(), [&](int i) { fTiles[i].createDDL(); }); in createDDLsInParallel() 142 SkTaskGroup().wait(); in createDDLsInParallel()
|
/external/skia/src/gpu/ |
D | GrDirectContextPriv.h | 25 class SkTaskGroup; variable 113 SkTaskGroup* getTaskGroup() { return fContext->fTaskGroup.get(); } in getTaskGroup()
|
/external/skia/tools/skpbench/ |
D | skpbench.cpp | 211 Sample* sample, SkTaskGroup* recordingTaskGroup, SkTaskGroup* gpuTaskGroup, in ddl_sample() 282 std::unique_ptr<SkTaskGroup> gpuTaskGroup; in run_ddl_benchmark() 284 std::unique_ptr<SkTaskGroup> recordingTaskGroup; in run_ddl_benchmark() 287 gpuTaskGroup = std::make_unique<SkTaskGroup>(*gpuThread); in run_ddl_benchmark() 289 recordingTaskGroup = std::make_unique<SkTaskGroup>(*recordingThreadPool); in run_ddl_benchmark()
|
/external/skia/fuzz/ |
D | FuzzDDLThreading.cpp | 103 SkTaskGroup fGpuTaskGroup{*fGpuExecutor}; 104 SkTaskGroup fRecordingTaskGroup{*fRecordingExecutor};
|
/external/skqp/bench/ |
D | SkGlyphCacheBench.cpp | 97 SkTaskGroup().batch(16, [&](int threadIndex) { in onDraw()
|
/external/toolchain-utils/android_bench_suite/ |
D | skia_internal.diff | 39 #include "SkTaskGroup.h"
|
/external/skia/include/gpu/ |
D | GrDirectContext.h | 44 class SkTaskGroup; variable 856 std::unique_ptr<SkTaskGroup> fTaskGroup;
|