Home
last modified time | relevance | path

Searched refs:dependedOn (Results 1 – 2 of 2) sorted by relevance

/external/skia/src/gpu/
DGrDrawTarget.h74 void addDependency(GrSurface* dependedOn);
79 bool dependsOn(GrDrawTarget* dependedOn) const { in dependsOn() argument
80 return fDependencies.find(dependedOn) >= 0; in dependsOn()
241 void addDependency(GrDrawTarget* dependedOn);
DGrDrawTarget.cpp74 void GrDrawTarget::addDependency(GrDrawTarget* dependedOn) { in addDependency() argument
75 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() argument
86 if (dependedOn->asRenderTarget() && dependedOn->asRenderTarget()->getLastDrawTarget()) { in addDependency()
90 GrDrawTarget* dt = dependedOn->asRenderTarget()->getLastDrawTarget(); in addDependency()