• Home
  • Raw
  • Download

Lines Matching refs:intvl

73         Interval* intvl = *intvlPtr;  variable
79 SkASSERT(0 == intvl->start());
83 SkASSERT(intvl->start() <= start && intvl->end() >= end);
85 SkASSERT(intvl->end() <= start && intvl->end() <= end);
89 intvl->addUse();
91 intvl->extendEnd(end);
207 void GrResourceAllocator::IntervalList::insertByIncreasingStart(Interval* intvl) { in insertByIncreasingStart() argument
209 SkASSERT(!intvl->next()); in insertByIncreasingStart()
213 fHead = fTail = intvl; in insertByIncreasingStart()
214 } else if (intvl->start() <= fHead->start()) { in insertByIncreasingStart()
216 intvl->setNext(fHead); in insertByIncreasingStart()
217 fHead = intvl; in insertByIncreasingStart()
218 } else if (fTail->start() <= intvl->start()) { in insertByIncreasingStart()
220 fTail->setNext(intvl); in insertByIncreasingStart()
221 fTail = intvl; in insertByIncreasingStart()
226 for (; intvl->start() > next->start(); prev = next, next = next->next()) { in insertByIncreasingStart()
230 intvl->setNext(next); in insertByIncreasingStart()
231 prev->setNext(intvl); in insertByIncreasingStart()
238 void GrResourceAllocator::IntervalList::insertByIncreasingEnd(Interval* intvl) { in insertByIncreasingEnd() argument
240 SkASSERT(!intvl->next()); in insertByIncreasingEnd()
244 fHead = fTail = intvl; in insertByIncreasingEnd()
245 } else if (intvl->end() <= fHead->end()) { in insertByIncreasingEnd()
247 intvl->setNext(fHead); in insertByIncreasingEnd()
248 fHead = intvl; in insertByIncreasingEnd()
249 } else if (fTail->end() <= intvl->end()) { in insertByIncreasingEnd()
251 fTail->setNext(intvl); in insertByIncreasingEnd()
252 fTail = intvl; in insertByIncreasingEnd()
257 for (; intvl->end() > next->end(); prev = next, next = next->next()) { in insertByIncreasingEnd()
261 intvl->setNext(next); in insertByIncreasingEnd()
262 prev->setNext(intvl); in insertByIncreasingEnd()
312 Interval* intvl = fActiveIntvls.popHead(); in expire() local
313 SkASSERT(!intvl->next()); in expire()
315 Register* r = intvl->getRegister(); in expire()
316 if (r && r->isRecyclable(*fDContext->priv().caps(), intvl->proxy(), intvl->uses())) { in expire()
323 fFinishedIntvls.insertByIncreasingStart(intvl); in expire()