Home
last modified time | relevance | path

Searched refs:ddl (Results 1 - 20 of 20) sorted by relevance

/third_party/skia/src/gpu/vk/
H A DGrVkSecondaryCBDrawContext.cpp189 bool GrVkSecondaryCBDrawContext::draw(sk_sp<const SkDeferredDisplayList> ddl) { argument
191 bool GrVkSecondaryCBDrawContext::draw(const SkDeferredDisplayList* ddl) {
193 if (!ddl || !this->isCompatible(ddl->characterization())) {
204 direct->priv().createDDLTask(std::move(ddl), readSurfaceView.asRenderTargetProxyRef(), {0, 0});
/third_party/skia/fuzz/
H A DFuzzCreateDDL.cpp32 * the ddl on a GPU backend surface.
183 static bool draw_ddl(sk_sp<SkSurface> surface, sk_sp<SkDeferredDisplayList> ddl) { in draw_ddl() argument
184 return surface->draw(std::move(ddl)); in draw_ddl()
224 sk_sp<SkDeferredDisplayList> ddl = make_ddl(fuzz, dContext, c); in DEF_FUZZ() local
225 if (!ddl) { in DEF_FUZZ()
226 SkDebugf("Could not create ddl %s", GrBackendApiToStr(dContext->backend())); in DEF_FUZZ()
229 if (!draw_ddl(std::move(surface), std::move(ddl))) { in DEF_FUZZ()
230 SkDebugf("Could not draw ddl in the backend"); in DEF_FUZZ()
H A DFuzzDDLThreading.cpp247 sk_sp<SkDeferredDisplayList> ddl = recorder.detach(); in recordAndPlayDDL() local
248 fGpuTaskGroup.add([=, ddl{std::move(ddl)}]{ in recordAndPlayDDL()
249 bool success = fSurface->draw(std::move(ddl)); in recordAndPlayDDL()
/third_party/skia/tests/
H A DDeferredDisplayListTest.cpp388 sk_sp<SkDeferredDisplayList> ddl; in DDLSurfaceCharacterizationTestImpl() local
396 ddl = params.createDDL(dContext); in DDLSurfaceCharacterizationTestImpl()
397 SkAssertResult(ddl); in DDLSurfaceCharacterizationTestImpl()
405 REPORTER_ASSERT(reporter, s->draw(ddl)); in DDLSurfaceCharacterizationTestImpl()
423 REPORTER_ASSERT(reporter, !s->draw(ddl), in DDLSurfaceCharacterizationTestImpl()
437 REPORTER_ASSERT(reporter, !s->draw(ddl)); in DDLSurfaceCharacterizationTestImpl()
444 REPORTER_ASSERT(reporter, s->draw(ddl)); in DDLSurfaceCharacterizationTestImpl()
448 REPORTER_ASSERT(reporter, s->draw(ddl)); in DDLSurfaceCharacterizationTestImpl()
452 REPORTER_ASSERT(reporter, s->draw(ddl)); in DDLSurfaceCharacterizationTestImpl()
466 REPORTER_ASSERT(reporter, !s->draw(ddl)); // b in DDLSurfaceCharacterizationTestImpl()
699 sk_sp<SkDeferredDisplayList> ddl = params.createDDL(dContext); DEF_GPUTEST_FOR_VULKAN_CONTEXT() local
729 sk_sp<SkDeferredDisplayList> ddl; DEF_GPUTEST_FOR_RENDERING_CONTEXTS() local
1063 sk_sp<SkDeferredDisplayList> ddl; DEF_GPUTEST_FOR_RENDERING_CONTEXTS() local
[all...]
H A DGrThreadSafeCacheTest.cpp374 bool checkImage(skiatest::Reporter* reporter, sk_sp<SkDeferredDisplayList> ddl) { in checkImage() argument
382 if (!tmp->draw(std::move(ddl))) { in checkImage()
/third_party/skia/src/gpu/
H A DGrDrawingManager.cpp584 void GrDrawingManager::moveRenderTasksToDDL(SkDeferredDisplayList* ddl) { in moveRenderTasksToDDL() argument
593 fDAG.swap(ddl->fRenderTasks); in moveRenderTasksToDDL()
596 for (auto& renderTask : ddl->fRenderTasks) { in moveRenderTasksToDDL()
601 ddl->fArenas = std::move(fContext->priv().detachArenas()); in moveRenderTasksToDDL()
603 fContext->priv().detachProgramData(&ddl->fProgramData); in moveRenderTasksToDDL()
608 void GrDrawingManager::createDDLTask(sk_sp<const SkDeferredDisplayList> ddl, in createDDLTask() argument
625 if (ddl->priv().targetProxy()->isMSAADirty()) { in createDDLTask()
627 ddl->characterization().origin(), in createDDLTask()
628 ddl->priv().targetProxy()->backingStoreDimensions().height(), in createDDLTask()
629 ddl in createDDLTask()
[all...]
H A DGrDDLTask.cpp16 sk_sp<const SkDeferredDisplayList> ddl, in GrDDLTask()
18 : fDDL(std::move(ddl)) in GrDDLTask()
14 GrDDLTask(GrDrawingManager* drawingMgr, sk_sp<GrRenderTargetProxy> ddlTarget, sk_sp<const SkDeferredDisplayList> ddl, SkIPoint offset) GrDDLTask() argument
H A DGrDirectContextPriv.cpp63 void GrDirectContextPriv::createDDLTask(sk_sp<const SkDeferredDisplayList> ddl, in createDDLTask() argument
66 this->context()->drawingManager()->createDDLTask(std::move(ddl), std::move(newDest), offset); in createDDLTask()
H A DGrDrawingManager.h159 void moveRenderTasksToDDL(SkDeferredDisplayList* ddl);
H A DGrRecordingContextPriv.cpp57 void GrRecordingContextPriv::moveRenderTasksToDDL(SkDeferredDisplayList* ddl) { in moveRenderTasksToDDL() argument
58 this->context()->drawingManager()->moveRenderTasksToDDL(ddl); in moveRenderTasksToDDL()
/third_party/skia/src/core/
H A DSkDeferredDisplayListPriv.h43 explicit SkDeferredDisplayListPriv(SkDeferredDisplayList* ddl) : fDDL(ddl) {} in SkDeferredDisplayListPriv() argument
H A DSkDeferredDisplayList.cpp48 SkDeferredDisplayList* ddl) in ProgramIterator()
50 , fProgramData(ddl->programData()) in ProgramIterator()
47 ProgramIterator(GrDirectContext* dContext, SkDeferredDisplayList* ddl) ProgramIterator() argument
H A DSkDeferredDisplayListRecorder.cpp198 auto ddl = sk_sp<SkDeferredDisplayList>(new SkDeferredDisplayList(fCharacterization, in detach() local
202 fContext->priv().moveRenderTasksToDDL(ddl.get()); in detach()
207 return ddl; in detach()
/third_party/skia/src/image/
H A DSkSurface_Gpu.cpp383 bool SkSurface_Gpu::onDraw(sk_sp<const SkDeferredDisplayList> ddl, SkIPoint offset) { in onDraw() argument
384 if (!ddl || !this->isCompatible(ddl->characterization())) { in onDraw()
395 direct->priv().createDDLTask(std::move(ddl), view.asRenderTargetProxyRef(), offset); in onDraw()
H A DSkSurface.cpp338 bool SkSurface::draw(sk_sp<const SkDeferredDisplayList> ddl, int xOffset, int yOffset) { in draw() argument
343 return asSB(this)->onDraw(std::move(ddl), { xOffset, yOffset }); in draw()
/third_party/skia/tools/
H A DDDLTileHelper.h70 SkDeferredDisplayList* ddl() { return fDisplayList.get(); } in ddl() function in DDLTileHelper::TileData
/third_party/skia/dm/
H A DDMSrcSink.cpp1741 auto ddl = recorder.detach(); in ooprDraw() local
1743 SkDeferredDisplayList::ProgramIterator iter(context, ddl.get()); in ooprDraw()
1748 SkAssertResult(dstSurface->draw(std::move(ddl))); in ooprDraw()
1864 gpuTaskGroup->add([dstSurface, ddl = tiles.composeDDL()]() { in ddlDraw()
1865 dstSurface->draw(ddl); in ddlDraw()
/third_party/skia/tools/skpbench/
H A Dskpbench.py74 __argparse.add_argument('--ddl',
162 if FLAGS.ddl:
163 ARGV.extend(['--ddl', 'true'])
H A Dskpbench.cpp65 static DEFINE_bool(ddl, false, "record the skp into DDLs before rendering");
/third_party/ffmpeg/libavcodec/x86/
H A Dvp9intrapred_16bpp.asm43 ; FIXME most top-only functions (ddl, vl, v, dc_top) can be modified to take

Completed in 26 milliseconds