• Home
  • Raw
  • Download

Lines Matching refs:dependedOn

106 void GrRenderTask::addDependency(GrRenderTask* dependedOn) {  in addDependency()  argument
107 SkASSERT(!dependedOn->dependsOn(this)); // loops are bad in addDependency()
108 SkASSERT(!this->dependsOn(dependedOn)); // caller should weed out duplicates in addDependency()
110 fDependencies.push_back(dependedOn); in addDependency()
111 dependedOn->addDependent(this); in addDependency()
128 void GrRenderTask::addDependency(GrDrawingManager* drawingMgr, GrSurfaceProxy* dependedOn, in addDependency() argument
135 GrRenderTask* dependedOnTask = drawingMgr->getLastRenderTask(dependedOn); in addDependency()
142 SkASSERT(!dependedOn->requiresManualMSAAResolve()); in addDependency()
143 SkASSERT(!dependedOn->asTextureProxy() || in addDependency()
144 !dependedOn->asTextureProxy()->texPriv().isDeferred()); in addDependency()
163 if (dependedOn->requiresManualMSAAResolve()) { in addDependency()
164 auto* renderTargetProxy = dependedOn->asRenderTargetProxy(); in addDependency()
171 GrTextureProxy* textureProxy = dependedOn->asTextureProxy(); in addDependency()
188 fTextureResolveTask->addProxy(drawingMgr, sk_ref_sp(dependedOn), resolveFlags, caps); in addDependency()
192 SkASSERT(drawingMgr->getLastRenderTask(dependedOn) == fTextureResolveTask); in addDependency()
207 if (GrRenderTargetProxy* renderTargetProxy = dependedOn->asRenderTargetProxy()) { in addDependency()
214 SkASSERT(drawingMgr->getLastRenderTask(dependedOn) == fTextureResolveTask); in addDependency()
253 bool GrRenderTask::dependsOn(const GrRenderTask* dependedOn) const { in dependsOn()
255 if (fDependencies[i] == dependedOn) { in dependsOn()