Lines Matching refs:Interval
20 void GrResourceAllocator::Interval::assign(sk_sp<GrSurface> s) {
51 if (Interval* intvl = fIntvlHash.find(proxy->uniqueID().asUInt())) {
52 // Revise the interval for an existing use
55 // This interval is for the initial upload to a deferred proxy. Due to the vagaries
60 // Direct reads from the render target itself should occur w/in the existing interval
70 Interval* newIntvl;
76 newIntvl = fIntervalAllocator.make<Interval>(proxy, start, end);
90 GrResourceAllocator::Interval* GrResourceAllocator::IntervalList::popHead() {
91 Interval* temp = fHead;
99 void GrResourceAllocator::IntervalList::insertByIncreasingStart(Interval* intvl) {
107 Interval* prev = fHead;
108 Interval* next = prev->next();
117 void GrResourceAllocator::IntervalList::insertByIncreasingEnd(Interval* intvl) {
125 Interval* prev = fHead;
126 Interval* next = prev->next();
186 Interval* temp = fActiveIntvls.popHead();
192 // Add temp to the free interval list so it can be reused
202 fIntvlHash.reset(); // we don't need the interval hash anymore
212 while (Interval* cur = fIntvlList.popHead()) {
272 // expire all the remaining intervals to drain the active interval list