Searched refs:dependedOn (Results 1 – 2 of 2) sorted by relevance
74 void addDependency(GrSurface* dependedOn);79 bool dependsOn(GrDrawTarget* dependedOn) const { in dependsOn() argument80 return fDependencies.find(dependedOn) >= 0; in dependsOn()241 void addDependency(GrDrawTarget* dependedOn);
74 void GrDrawTarget::addDependency(GrDrawTarget* dependedOn) { in addDependency() argument75 SkASSERT(!dependedOn->dependsOn(this)); // loops are bad in addDependency()77 if (this->dependsOn(dependedOn)) { in addDependency()81 *fDependencies.push() = dependedOn; in addDependency()85 void GrDrawTarget::addDependency(GrSurface* dependedOn) { in addDependency() argument86 if (dependedOn->asRenderTarget() && dependedOn->asRenderTarget()->getLastDrawTarget()) { in addDependency()90 GrDrawTarget* dt = dependedOn->asRenderTarget()->getLastDrawTarget(); in addDependency()