Home
last modified time | relevance | path

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

/external/skia/tools/
DDDLTileHelper.cpp350 void DDLTileHelper::createBackendTextures(SkTaskGroup* taskGroup, GrDirectContext* direct) { in createBackendTextures() argument
352 if (taskGroup) { in createBackendTextures()
359 taskGroup->add([direct, tile]() { TileData::CreateBackendTexture(direct, tile); }); in createBackendTextures()
368 void DDLTileHelper::deleteBackendTextures(SkTaskGroup* taskGroup, GrDirectContext* direct) { in deleteBackendTextures() argument
369 if (taskGroup) { in deleteBackendTextures()
373 taskGroup->add([direct, tile]() { TileData::DeleteBackendTexture(direct, tile); }); in deleteBackendTextures()
DDDLPromiseImageHelper.cpp260 void DDLPromiseImageHelper::uploadAllToGPU(SkTaskGroup* taskGroup, GrDirectContext* direct) { in uploadAllToGPU() argument
261 if (taskGroup) { in uploadAllToGPU()
265 taskGroup->add([direct, info]() { CreateBETexturesForPromiseImage(direct, info); }); in uploadAllToGPU()
274 void DDLPromiseImageHelper::deleteAllFromGPU(SkTaskGroup* taskGroup, GrDirectContext* direct) { in deleteAllFromGPU() argument
275 if (taskGroup) { in deleteAllFromGPU()
279 taskGroup->add([info]() { DeleteBETexturesForPromiseImage(info); }); in deleteAllFromGPU()
/external/skqp/src/gpu/vk/
DGrVkResourceProvider.cpp389 SkTaskGroup* taskGroup = fGpu->getContext()->contextPriv().getTaskGroup(); in destroyResources() local
390 if (taskGroup) { in destroyResources()
391 taskGroup->wait(); in destroyResources()
450 SkTaskGroup* taskGroup = fGpu->getContext()->contextPriv().getTaskGroup(); in abandonResources() local
451 if (taskGroup) { in abandonResources()
452 taskGroup->wait(); in abandonResources()
512 SkTaskGroup* taskGroup = fGpu->getContext()->contextPriv().getTaskGroup(); in backgroundReset() local
513 if (taskGroup) { in backgroundReset()
514 taskGroup->add([this, pool]() { in backgroundReset()
/external/skia/src/gpu/vk/
DGrVkResourceProvider.cpp471 SkTaskGroup* taskGroup = fGpu->getContext()->priv().getTaskGroup(); in destroyResources() local
472 if (taskGroup) { in destroyResources()
473 taskGroup->wait(); in destroyResources()
547 SkTaskGroup* taskGroup = fGpu->getContext()->priv().getTaskGroup(); in backgroundReset() local
548 if (taskGroup) { in backgroundReset()
549 taskGroup->add([this, pool]() { in backgroundReset()
/external/skia/src/gpu/
DGrSoftwarePathRenderer.cpp330 SkTaskGroup* taskGroup = nullptr; in onDrawPath() local
332 taskGroup = direct->priv().getTaskGroup(); in onDrawPath()
335 if (taskGroup) { in onDrawPath()
357 taskGroup->add(std::move(drawAndUploadMask)); in onDrawPath()
DGrClipStackClip.cpp468 SkTaskGroup* taskGroup = nullptr; in createSoftwareClipMask() local
470 taskGroup = direct->priv().getTaskGroup(); in createSoftwareClipMask()
474 if (taskGroup && surfaceDrawContext) { in createSoftwareClipMask()
508 taskGroup->add(std::move(drawAndUploadMask)); in createSoftwareClipMask()
DGrClipStack.cpp326 SkTaskGroup* taskGroup = nullptr; in render_sw_mask() local
328 taskGroup = direct->priv().getTaskGroup(); in render_sw_mask()
331 if (taskGroup) { in render_sw_mask()
366 taskGroup->add(std::move(drawAndUploadMask)); in render_sw_mask()
/external/skqp/src/gpu/
DGrSoftwarePathRenderer.cpp334 SkTaskGroup* taskGroup = args.fContext->contextPriv().getTaskGroup(); in onDrawPath() local
335 if (taskGroup) { in onDrawPath()
359 taskGroup->add(std::move(drawAndUploadMask)); in onDrawPath()
DGrClipStackClip.cpp478 SkTaskGroup* taskGroup = context->contextPriv().getTaskGroup(); in createSoftwareClipMask() local
479 if (taskGroup && renderTargetContext) { in createSoftwareClipMask()
510 taskGroup->add(std::move(drawAndUploadMask)); in createSoftwareClipMask()
/external/skia/src/codec/
DSkRawCodec.cpp100 SkTaskGroup taskGroup; in PerformAreaTask() local
112 taskGroup.add([&mutex, &exceptions, &task, this, taskIndex, taskAreas, tileSize] { in PerformAreaTask()
125 taskGroup.wait(); in PerformAreaTask()
/external/skqp/src/codec/
DSkRawCodec.cpp100 SkTaskGroup taskGroup; in PerformAreaTask() local
112 taskGroup.add([&mutex, &exceptions, &task, this, taskIndex, taskAreas, tileSize] { in PerformAreaTask()
125 taskGroup.wait(); in PerformAreaTask()