/third_party/flutter/skia/tests/ |
D | DeferredDisplayListTest.cpp | 323 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/ |
D | GrVkSecondaryCBDrawContext.cpp | 189 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/ |
D | DeferredDisplayListTest.cpp | 388 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/ |
D | FuzzCreateDDL.cpp | 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() 229 if (!draw_ddl(std::move(surface), std::move(ddl))) { in DEF_FUZZ()
|
D | FuzzDDLThreading.cpp | 247 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/ |
D | GrDrawingManager.cpp | 584 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 …]
|
D | GrDDLTask.cpp | 16 sk_sp<const SkDeferredDisplayList> ddl, in GrDDLTask() argument 18 : fDDL(std::move(ddl)) in GrDDLTask()
|
D | GrDirectContextPriv.cpp | 63 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()
|
D | GrRecordingContextPriv.cpp | 57 void GrRecordingContextPriv::moveRenderTasksToDDL(SkDeferredDisplayList* ddl) { in moveRenderTasksToDDL() argument 58 this->context()->drawingManager()->moveRenderTasksToDDL(ddl); in moveRenderTasksToDDL()
|
D | GrDrawingManager.h | 159 void moveRenderTasksToDDL(SkDeferredDisplayList* ddl);
|
/third_party/flutter/skia/src/gpu/vk/ |
D | GrVkSecondaryCBDrawContext.cpp | 165 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/ |
D | SkDeferredDisplayListPriv.h | 35 explicit SkDeferredDisplayListPriv(SkDeferredDisplayList* ddl) : fDDL(ddl) {} in SkDeferredDisplayListPriv() argument
|
D | SkDeferredDisplayListRecorder.cpp | 222 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/ |
D | GrDrawingManager.cpp | 544 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()
|
D | GrContextPriv.cpp | 216 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()
|
D | GrDrawingManager.h | 97 void moveRenderTasksToDDL(SkDeferredDisplayList* ddl);
|
/third_party/skia/src/core/ |
D | SkDeferredDisplayListPriv.h | 43 explicit SkDeferredDisplayListPriv(SkDeferredDisplayList* ddl) : fDDL(ddl) {} in SkDeferredDisplayListPriv() argument
|
D | SkDeferredDisplayList.cpp | 48 SkDeferredDisplayList* ddl) in ProgramIterator() argument 50 , fProgramData(ddl->programData()) in ProgramIterator()
|
D | SkDeferredDisplayListRecorder.cpp | 198 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/ |
D | DDLTileHelper.cpp | 36 std::unique_ptr<SkDeferredDisplayList> ddl = recorder.detach(); in createTileSpecificSKP() local 37 if (ddl->priv().numRenderTasks()) { in createTileSpecificSKP()
|
/third_party/skia/src/image/ |
D | SkSurface_Gpu.cpp | 376 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()
|
D | SkSurface.cpp | 334 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/ |
D | SkSurface_Gpu.cpp | 320 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()
|
D | SkSurface.cpp | 467 bool SkSurface::draw(SkDeferredDisplayList* ddl) { in draw() argument 468 return asSB(this)->onDraw(ddl); in draw()
|
/third_party/skia/tools/ |
D | DDLTileHelper.h | 70 SkDeferredDisplayList* ddl() { return fDisplayList.get(); } in ddl() function
|