Home
last modified time | relevance | path

Searched refs:drawingMgr (Results 1 – 9 of 9) sorted by relevance

/third_party/skia/src/gpu/
DGrRenderTask.cpp29 void GrRenderTask::disown(GrDrawingManager* drawingMgr) { in disown() argument
30 SkASSERT(!fDrawingMgr || drawingMgr == fDrawingMgr); in disown()
39 if (this == drawingMgr->getLastRenderTask(target.get())) { in disown()
40 drawingMgr->setLastRenderTask(target.get(), nullptr); in disown()
127 void GrRenderTask::addDependency(GrDrawingManager* drawingMgr, GrSurfaceProxy* dependedOn, in addDependency() argument
134 GrRenderTask* dependedOnTask = drawingMgr->getLastRenderTask(dependedOn); in addDependency()
156 dependedOnTask->makeClosed(drawingMgr->getContext()); in addDependency()
187 fTextureResolveTask->addProxy(drawingMgr, sk_ref_sp(dependedOn), resolveFlags, caps); in addDependency()
191 SkASSERT(drawingMgr->getLastRenderTask(dependedOn) == fTextureResolveTask); in addDependency()
211 SkASSERT(drawingMgr->getLastRenderTask(dependedOn) == fTextureResolveTask); in addDependency()
[all …]
DGrTextureResolveRenderTask.cpp17 void GrTextureResolveRenderTask::addProxy(GrDrawingManager* drawingMgr, in addProxy() argument
26 SkASSERT(!drawingMgr->getLastRenderTask(proxy) in addProxy()
27 || drawingMgr->getLastRenderTask(proxy)->isClosed()); in addProxy()
47 this->addDependency(drawingMgr, proxy, GrMipmapped::kNo, in addProxy()
49 this->addTarget(drawingMgr, GrSurfaceProxyView(std::move(proxyRef))); in addProxy()
DGrCopyRenderTask.cpp15 sk_sp<GrRenderTask> GrCopyRenderTask::Make(GrDrawingManager* drawingMgr, in Make() argument
33 return sk_sp<GrRenderTask>(new GrCopyRenderTask(drawingMgr, in Make()
41 GrCopyRenderTask::GrCopyRenderTask(GrDrawingManager* drawingMgr, in GrCopyRenderTask() argument
48 this->addTarget(drawingMgr, std::move(dst)); in GrCopyRenderTask()
DGrOnFlushResourceProvider.h55 explicit GrOnFlushResourceProvider(GrDrawingManager* drawingMgr) : fDrawingMgr(drawingMgr) {} in GrOnFlushResourceProvider() argument
DGrDDLTask.cpp14 GrDDLTask::GrDDLTask(GrDrawingManager* drawingMgr, in GrDDLTask() argument
27 drawingMgr->setLastRenderTask(task->target(i), task.get()); in GrDDLTask()
/third_party/skia/tests/
DOpChainTest.cpp207 GrDrawingManager* drawingMgr = dContext->priv().drawingManager(); variable
223 skgpu::v1::OpsTask opsTask(drawingMgr,
241 opsTask.addOp(drawingMgr, std::move(op),
248 opsTask.endFlush(drawingMgr);
249 opsTask.disown(drawingMgr);
/third_party/flutter/skia/src/gpu/
DGrOnFlushResourceProvider.h67 explicit GrOnFlushResourceProvider(GrDrawingManager* drawingMgr) : fDrawingMgr(drawingMgr) {} in GrOnFlushResourceProvider() argument
/third_party/skia/src/gpu/v1/
DSurfaceFillContext_v1.cpp114 GrDrawingManager* drawingMgr = this->drawingManager(); in addOp() local
115 this->getOpsTask()->addOp(drawingMgr, in addOp()
117 GrTextureResolveManager(drawingMgr), in addOp()
/third_party/skia/src/gpu/ops/
DOpsTask.cpp389 OpsTask::OpsTask(GrDrawingManager* drawingMgr, in OpsTask() argument
400 this->addTarget(drawingMgr, view.detachProxy());
414 void OpsTask::addOp(GrDrawingManager* drawingMgr, GrOp::Owner op, in addOp() argument
417 this->addDependency(drawingMgr, p, mipmapped, textureResolveManager, caps); in addOp()
426 void OpsTask::addDrawOp(GrDrawingManager* drawingMgr, GrOp::Owner op, bool usesMSAA, in addDrawOp() argument
432 this->addDependency(drawingMgr, p, mipmapped, textureResolveManager, caps); in addDrawOp()
457 void OpsTask::endFlush(GrDrawingManager* drawingMgr) { in endFlush() argument
465 GrRenderTask::endFlush(drawingMgr); in endFlush()