Home
last modified time | relevance | path

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

123

/external/skqp/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 bool SkTaskGroup::done() const { in done()
36 void SkTaskGroup::wait() { in wait()
46 SkTaskGroup::Enabler::Enabler(int threads) { in Enabler()
DSkTaskGroup.h17 class SkTaskGroup : SkNoncopyable {
20 explicit SkTaskGroup(SkExecutor& executor = SkExecutor::GetDefault());
21 ~SkTaskGroup() { this->wait(); } in ~SkTaskGroup()
DSkMultiPictureDraw.cpp86 SkTaskGroup().batch(fThreadSafeDrawData.count(), [&](int i) { in draw()
/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 bool SkTaskGroup::done() const { in done()
36 void SkTaskGroup::wait() { in wait()
46 SkTaskGroup::Enabler::Enabler(int threads) { in Enabler()
DSkTaskGroup.h17 class SkTaskGroup : SkNoncopyable {
20 explicit SkTaskGroup(SkExecutor& executor = SkExecutor::GetDefault());
21 ~SkTaskGroup() { this->wait(); } in ~SkTaskGroup()
/external/skia/tools/
DDDLTileHelper.h25 class SkTaskGroup; variable
107 void kickOffThreadedWork(SkTaskGroup* recordingTaskGroup,
108 SkTaskGroup* gpuTaskGroup,
134 void createBackendTextures(SkTaskGroup*, GrDirectContext*);
135 void deleteBackendTextures(SkTaskGroup*, GrDirectContext*);
DDDLTileHelper.cpp264 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()
DDDLPromiseImageHelper.h24 class SkTaskGroup; variable
116 void uploadAllToGPU(SkTaskGroup*, GrDirectContext*);
117 void deleteAllFromGPU(SkTaskGroup*, GrDirectContext*);
/external/skqp/include/gpu/
DGrContext.h51 class SkTaskGroup; variable
299 std::unique_ptr<SkTaskGroup> fTaskGroup;
/external/skia/tests/
DPathOpsThreadedCommon.cpp19 SkTaskGroup().batch(fRunnables.count(), [&](int i) { in render()
DOnceTest.cpp35 SkTaskGroup().batch(1021, [&](int) { in DEF_TEST()
DSkSharedMutexTest.cpp31 SkTaskGroup().batch(8, [&](int threadIndex) { in DEF_TEST()
Dskia_test.cpp233 SkTaskGroup::Enabler enabled(FLAGS_threads); in main()
234 SkTaskGroup cpuTests; in main()
DSkScalerCacheTest.cpp83 SkTaskGroup(*executor).batch(kThreadCount, perThread); in DEF_TEST()
/external/skqp/tests/
DPathOpsThreadedCommon.cpp19 SkTaskGroup().batch(fRunnables.count(), [&](int i) { in render()
DOnceTest.cpp35 SkTaskGroup().batch(1021, [&](int) { in DEF_TEST()
Dskia_test.cpp216 SkTaskGroup::Enabler enabled(FLAGS_threads); in main()
217 SkTaskGroup cpuTests; in main()
DSkSharedMutexTest.cpp31 SkTaskGroup().batch(8, [&](int threadIndex) { in DEF_TEST()
/external/skqp/tools/
DDDLTileHelper.cpp141 SkTaskGroup().batch(fTiles.count(), [&](int i) { fTiles[i].createDDL(); }); in createDDLsInParallel()
142 SkTaskGroup().wait(); in createDDLsInParallel()
/external/skia/src/gpu/
DGrDirectContextPriv.h25 class SkTaskGroup; variable
113 SkTaskGroup* getTaskGroup() { return fContext->fTaskGroup.get(); } in getTaskGroup()
/external/skia/tools/skpbench/
Dskpbench.cpp211 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/
DFuzzDDLThreading.cpp103 SkTaskGroup fGpuTaskGroup{*fGpuExecutor};
104 SkTaskGroup fRecordingTaskGroup{*fRecordingExecutor};
/external/skqp/bench/
DSkGlyphCacheBench.cpp97 SkTaskGroup().batch(16, [&](int threadIndex) { in onDraw()
/external/toolchain-utils/android_bench_suite/
Dskia_internal.diff39 #include "SkTaskGroup.h"
/external/skia/include/gpu/
DGrDirectContext.h44 class SkTaskGroup; variable
856 std::unique_ptr<SkTaskGroup> fTaskGroup;

123