Home
last modified time | relevance | path

Searched refs:ddl (Results 1 – 25 of 53) sorted by relevance

123

/third_party/flutter/skia/tests/
DDeferredDisplayListTest.cpp323 std::unique_ptr<SkDeferredDisplayList> ddl; in DDLSurfaceCharacterizationTestImpl() local
329 ddl = params.createDDL(context); in DDLSurfaceCharacterizationTestImpl()
330 SkAssertResult(ddl); in DDLSurfaceCharacterizationTestImpl()
339 REPORTER_ASSERT(reporter, s->draw(ddl.get())); in DDLSurfaceCharacterizationTestImpl()
400 REPORTER_ASSERT(reporter, !s->draw(ddl.get()), in DDLSurfaceCharacterizationTestImpl()
421 REPORTER_ASSERT(reporter, !s->draw(ddl.get())); in DDLSurfaceCharacterizationTestImpl()
428 REPORTER_ASSERT(reporter, s->draw(ddl.get())); in DDLSurfaceCharacterizationTestImpl()
432 REPORTER_ASSERT(reporter, s->draw(ddl.get())); in DDLSurfaceCharacterizationTestImpl()
436 REPORTER_ASSERT(reporter, s->draw(ddl.get())); in DDLSurfaceCharacterizationTestImpl()
455 REPORTER_ASSERT(reporter, !s->draw(ddl.get())); // bc the DDL was made w/ textureability in DDLSurfaceCharacterizationTestImpl()
[all …]
/third_party/skia/src/gpu/vk/
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/tests/
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)); // bc the DDL was made w/ textureability in DDLSurfaceCharacterizationTestImpl()
[all …]
/third_party/skia/fuzz/
DFuzzCreateDDL.cpp183 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()
229 if (!draw_ddl(std::move(surface), std::move(ddl))) { in DEF_FUZZ()
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/src/gpu/
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->priv().targetProxy()->msaaDirtyRect()); in createDDLTask()
[all …]
DGrDDLTask.cpp16 sk_sp<const SkDeferredDisplayList> ddl, in GrDDLTask() argument
18 : fDDL(std::move(ddl)) in GrDDLTask()
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()
DGrRecordingContextPriv.cpp57 void GrRecordingContextPriv::moveRenderTasksToDDL(SkDeferredDisplayList* ddl) { in moveRenderTasksToDDL() argument
58 this->context()->drawingManager()->moveRenderTasksToDDL(ddl); in moveRenderTasksToDDL()
DGrDrawingManager.h159 void moveRenderTasksToDDL(SkDeferredDisplayList* ddl);
/third_party/flutter/skia/src/gpu/vk/
DGrVkSecondaryCBDrawContext.cpp165 bool GrVkSecondaryCBDrawContext::draw(SkDeferredDisplayList* ddl) { in draw() argument
166 if (!ddl || !this->isCompatible(ddl->characterization())) { in draw()
173 ctx->priv().copyRenderTasksFromDDL(ddl, rtc->asRenderTargetProxy()); in draw()
/third_party/flutter/skia/src/core/
DSkDeferredDisplayListPriv.h35 explicit SkDeferredDisplayListPriv(SkDeferredDisplayList* ddl) : fDDL(ddl) {} in SkDeferredDisplayListPriv() argument
DSkDeferredDisplayListRecorder.cpp222 auto ddl = std::unique_ptr<SkDeferredDisplayList>( in detach() local
225 fContext->priv().moveRenderTasksToDDL(ddl.get()); in detach()
230 return ddl; in detach()
/third_party/flutter/skia/src/gpu/
DGrDrawingManager.cpp544 void GrDrawingManager::moveRenderTasksToDDL(SkDeferredDisplayList* ddl) { in moveRenderTasksToDDL() argument
551 fDAG.swap(&ddl->fRenderTasks); in moveRenderTasksToDDL()
555 ddl->fPendingPaths = ccpr->detachPendingPaths(); in moveRenderTasksToDDL()
562 void GrDrawingManager::copyRenderTasksFromDDL(const SkDeferredDisplayList* ddl, in copyRenderTasksFromDDL() argument
579 ddl->fLazyProxyData->fReplayDest = newDest; in copyRenderTasksFromDDL()
581 if (ddl->fPendingPaths.size()) { in copyRenderTasksFromDDL()
584 ccpr->mergePendingPaths(ddl->fPendingPaths); in copyRenderTasksFromDDL()
587 fDAG.add(ddl->fRenderTasks); in copyRenderTasksFromDDL()
DGrContextPriv.cpp216 void GrContextPriv::moveRenderTasksToDDL(SkDeferredDisplayList* ddl) { in moveRenderTasksToDDL() argument
217 fContext->drawingManager()->moveRenderTasksToDDL(ddl); in moveRenderTasksToDDL()
220 void GrContextPriv::copyRenderTasksFromDDL(const SkDeferredDisplayList* ddl, in copyRenderTasksFromDDL() argument
222 fContext->drawingManager()->copyRenderTasksFromDDL(ddl, newDest); in copyRenderTasksFromDDL()
DGrDrawingManager.h97 void moveRenderTasksToDDL(SkDeferredDisplayList* ddl);
/third_party/skia/src/core/
DSkDeferredDisplayListPriv.h43 explicit SkDeferredDisplayListPriv(SkDeferredDisplayList* ddl) : fDDL(ddl) {} in SkDeferredDisplayListPriv() argument
DSkDeferredDisplayList.cpp48 SkDeferredDisplayList* ddl) in ProgramIterator() argument
50 , fProgramData(ddl->programData()) in ProgramIterator()
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/flutter/skia/tools/
DDDLTileHelper.cpp36 std::unique_ptr<SkDeferredDisplayList> ddl = recorder.detach(); in createTileSpecificSKP() local
37 if (ddl->priv().numRenderTasks()) { in createTileSpecificSKP()
/third_party/skia/src/image/
DSkSurface_Gpu.cpp376 bool SkSurface_Gpu::onDraw(sk_sp<const SkDeferredDisplayList> ddl, SkIPoint offset) { in onDraw() argument
377 if (!ddl || !this->isCompatible(ddl->characterization())) { in onDraw()
388 direct->priv().createDDLTask(std::move(ddl), view.asRenderTargetProxyRef(), offset); in onDraw()
DSkSurface.cpp334 bool SkSurface::draw(sk_sp<const SkDeferredDisplayList> ddl, int xOffset, int yOffset) { in draw() argument
339 return asSB(this)->onDraw(std::move(ddl), { xOffset, yOffset }); in draw()
/third_party/flutter/skia/src/image/
DSkSurface_Gpu.cpp320 bool SkSurface_Gpu::onDraw(const SkDeferredDisplayList* ddl) { in onDraw() argument
321 if (!ddl || !this->isCompatible(ddl->characterization())) { in onDraw()
328 ctx->priv().copyRenderTasksFromDDL(ddl, rtc->asRenderTargetProxy()); in onDraw()
DSkSurface.cpp467 bool SkSurface::draw(SkDeferredDisplayList* ddl) { in draw() argument
468 return asSB(this)->onDraw(ddl); in draw()
/third_party/skia/tools/
DDDLTileHelper.h70 SkDeferredDisplayList* ddl() { return fDisplayList.get(); } in ddl() function

123