Home
last modified time | relevance | path

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

/external/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()
185 fTextureResolveTask->addProxy(drawingMgr, sk_ref_sp(dependedOn), resolveFlags, caps); in addDependency()
189 SkASSERT(drawingMgr->getLastRenderTask(dependedOn) == fTextureResolveTask); in addDependency()
209 SkASSERT(drawingMgr->getLastRenderTask(dependedOn) == fTextureResolveTask); in addDependency()
302 void GrRenderTask::addTarget(GrDrawingManager* drawingMgr, sk_sp<GrSurfaceProxy> proxy) { in addTarget() argument
[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.cpp14 sk_sp<GrRenderTask> GrCopyRenderTask::Make(GrDrawingManager* drawingMgr, in Make() argument
32 return sk_sp<GrRenderTask>(new GrCopyRenderTask(drawingMgr, in Make()
40 GrCopyRenderTask::GrCopyRenderTask(GrDrawingManager* drawingMgr, in GrCopyRenderTask() argument
47 this->addTarget(drawingMgr, std::move(dst)); in GrCopyRenderTask()
DGrOnFlushResourceProvider.h63 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()
DGrOpsTask.cpp357 GrOpsTask::GrOpsTask(GrDrawingManager* drawingMgr, in GrOpsTask() argument
368 this->addTarget(drawingMgr, view.detachProxy());
382 void GrOpsTask::addOp(GrDrawingManager* drawingMgr, GrOp::Owner op, in addOp() argument
385 this->addDependency(drawingMgr, p, mipmapped, textureResolveManager, caps); in addOp()
393 void GrOpsTask::addDrawOp(GrDrawingManager* drawingMgr, GrOp::Owner op, in addDrawOp() argument
400 this->addDependency(drawingMgr, p, mipmapped, textureResolveManager, caps); in addDrawOp()
438 void GrOpsTask::endFlush(GrDrawingManager* drawingMgr) { in endFlush() argument
446 GrRenderTask::endFlush(drawingMgr); in endFlush()
DGrSurfaceFillContext.cpp331 GrDrawingManager* drawingMgr = this->drawingManager(); in addOp() local
332 this->getOpsTask()->addOp(drawingMgr, in addOp()
334 GrTextureResolveManager(drawingMgr), in addOp()
/external/skia/tests/
DOpChainTest.cpp207 GrDrawingManager* drawingMgr = dContext->priv().drawingManager(); variable
223 GrOpsTask opsTask(drawingMgr,
241 opsTask.addOp(drawingMgr, std::move(op),
248 opsTask.endFlush(drawingMgr);
249 opsTask.disown(drawingMgr);
/external/skqp/src/gpu/
DGrTextureContext.cpp21 GrDrawingManager* drawingMgr, in GrTextureContext() argument
26 : GrSurfaceContext(context, drawingMgr, textureProxy->config(), std::move(colorSpace), in GrTextureContext()
DGrOnFlushResourceProvider.h67 explicit GrOnFlushResourceProvider(GrDrawingManager* drawingMgr) : fDrawingMgr(drawingMgr) {} in GrOnFlushResourceProvider() argument
DGrSurfaceContext.cpp24 GrDrawingManager* drawingMgr, in GrSurfaceContext() argument
32 , fDrawingManager(drawingMgr) in GrSurfaceContext()
DGrRenderTargetContext.cpp162 GrDrawingManager* drawingMgr, in GrRenderTargetContext() argument
169 : GrSurfaceContext(context, drawingMgr, rtp->config(), std::move(colorSpace), auditTrail, in GrRenderTargetContext()