Home
last modified time | relevance | path

Searched refs:taskGroup (Results 1 – 6 of 6) sorted by relevance

/external/skia/tools/
DDDLTileHelper.cpp356 void DDLTileHelper::createBackendTextures(SkTaskGroup* taskGroup, GrDirectContext* direct) { in createBackendTextures() argument
358 if (taskGroup) { in createBackendTextures()
365 taskGroup->add([direct, tile]() { TileData::CreateBackendTexture(direct, tile); }); in createBackendTextures()
374 void DDLTileHelper::deleteBackendTextures(SkTaskGroup* taskGroup, GrDirectContext* direct) { in deleteBackendTextures() argument
375 if (taskGroup) { in deleteBackendTextures()
379 taskGroup->add([direct, tile]() { TileData::DeleteBackendTexture(direct, tile); }); in deleteBackendTextures()
DDDLPromiseImageHelper.cpp263 void DDLPromiseImageHelper::uploadAllToGPU(SkTaskGroup* taskGroup, GrDirectContext* direct) { in uploadAllToGPU() argument
264 if (taskGroup) { in uploadAllToGPU()
268 taskGroup->add([direct, info]() { CreateBETexturesForPromiseImage(direct, info); }); in uploadAllToGPU()
277 void DDLPromiseImageHelper::deleteAllFromGPU(SkTaskGroup* taskGroup, GrDirectContext* direct) { in deleteAllFromGPU() argument
278 if (taskGroup) { in deleteAllFromGPU()
282 taskGroup->add([info]() { DeleteBETexturesForPromiseImage(info); }); in deleteAllFromGPU()
/external/skia/src/gpu/ganesh/ops/
DSoftwarePathRenderer.cpp341 SkTaskGroup* taskGroup = nullptr; in onDrawPath() local
343 taskGroup = direct->priv().getTaskGroup(); in onDrawPath()
346 if (taskGroup) { in onDrawPath()
368 taskGroup->add(std::move(drawAndUploadMask)); in onDrawPath()
/external/skia/src/gpu/ganesh/vk/
DGrVkResourceProvider.cpp481 SkTaskGroup* taskGroup = fGpu->getContext()->priv().getTaskGroup(); in destroyResources() local
482 if (taskGroup) { in destroyResources()
483 taskGroup->wait(); in destroyResources()
/external/skia/src/codec/
DSkRawCodec.cpp127 SkTaskGroup taskGroup; in PerformAreaTask() local
139 taskGroup.add([&mutex, &exceptions, &task, this, taskIndex, taskAreas, tileSize] { in PerformAreaTask()
152 taskGroup.wait(); in PerformAreaTask()
/external/skia/src/gpu/ganesh/
DClipStack.cpp316 SkTaskGroup* taskGroup = nullptr; in render_sw_mask() local
318 taskGroup = direct->priv().getTaskGroup(); in render_sw_mask()
321 if (taskGroup) { in render_sw_mask()
363 taskGroup->add(std::move(drawAndUploadMask)); in render_sw_mask()