Home
last modified time | relevance | path

Searched refs:fHead (Results 1 – 25 of 40) sorted by relevance

12

/third_party/skia/src/core/
DSkTInternalLList.h32 fHead = nullptr; in reset()
37 SkASSERT(fHead && fTail); in remove()
46 fHead = next; in remove()
67 entry->fNext = fHead; in addToHead()
68 if (fHead) { in addToHead()
69 fHead->fPrev = entry; in addToHead()
71 fHead = entry; in addToHead()
91 if (nullptr == fHead) { in addToTail()
92 fHead = entry; in addToTail()
119 SkASSERT(fHead == existingEntry); in addBefore()
[all …]
DSkBlockAllocator.cpp16 : fTail(&fHead) in SkBlockAllocator()
26 , fHead(/*prev=*/nullptr, additionalPreallocBytes + BaseHeadBlockSize()) { in SkBlockAllocator()
53 size_t size = offsetof(SkBlockAllocator, fHead) + this->scratchBlockSize(); in totalSize()
97 if (block == &fHead) { in releaseBlock()
117 SkASSERT(block != fHead.fPrev); // shouldn't already be the scratch block in releaseBlock()
118 if (fHead.fPrev) { in releaseBlock()
119 delete fHead.fPrev; in releaseBlock()
122 fHead.fPrev = block; in releaseBlock()
151 Block* toSteal = other->fHead.fNext; in stealHeapBlocks()
155 SkASSERT(other->fTail != &other->fHead); in stealHeapBlocks()
[all …]
DSkStream.cpp491 : fHead(other.fHead) in SkDynamicMemoryWStream()
495 other.fHead = nullptr; in SkDynamicMemoryWStream()
513 Block* block = fHead; in reset()
519 fHead = fTail = nullptr; in reset()
561 fHead = fTail = block; in write()
579 dst->fTail->fNext = fHead; in writeToAndReset()
582 fHead = fTail = nullptr; in writeToAndReset()
597 fTail->fNext = dst->fHead; in prependToAndReset()
598 dst->fHead = fHead; in prependToAndReset()
600 fHead = fTail = nullptr; in prependToAndReset()
[all …]
DSkResourceCache.cpp82 fHead = nullptr; in init()
107 Rec* rec = fHead; in ~SkResourceCache()
313 SkASSERT(fHead == rec); in release()
314 fHead = next; in release()
329 if (fHead == rec) { in moveToHead()
333 SkASSERT(fHead); in moveToHead()
340 fHead->fPrev = rec; in moveToHead()
341 rec->fNext = fHead; in moveToHead()
342 fHead = rec; in moveToHead()
351 rec->fNext = fHead; in addToHead()
[all …]
DSkStrikeCache.cpp129 if (fHead != nullptr && fHead->getDescriptor() == desc) { return sk_ref_sp(fHead); } in internalFindStrikeOrNull()
136 if (fHead != strikePtr) { in internalFindStrikeOrNull()
144 fHead->fPrev = strikePtr; in internalFindStrikeOrNull()
145 strikePtr->fNext = fHead; in internalFindStrikeOrNull()
147 fHead = strikePtr; in internalFindStrikeOrNull()
223 for (SkStrike* strike = fHead; strike != nullptr; strike = strike->fNext) { in forEachStrike()
290 if (fHead != nullptr) { in internalAttachToHead()
291 fHead->fPrev = strikePtr; in internalAttachToHead()
292 strikePtr->fNext = fHead; in internalAttachToHead()
299 fHead = strikePtr; // Transfer ownership of strike to the cache list. in internalAttachToHead()
[all …]
DSkArenaAllocList.h26 void reset() { fHead = fTail = nullptr; } in reset()
46 Iter begin() { return Iter(fHead); } in begin()
57 Node* fHead = nullptr; variable
64 SkASSERT(!fHead == !fTail); in append()
67 fHead = fTail = n; in append()
DSkBlockAllocator.h231 return sizeof(SkBlockAllocator) + fHead.fSize - BaseHeadBlockSize(); in preallocSize()
239 return fHead.fSize - kDataStart; in preallocUsableSpace()
247 int metadata() const { return fHead.fAllocatorMetadata; } in metadata()
252 void setMetadata(int value) { fHead.fAllocatorMetadata = value; } in setMetadata()
317 const Block* headBlock() const { return &fHead; } in headBlock()
318 Block* headBlock() { return &fHead; } in headBlock()
438 return sizeof(SkBlockAllocator) - offsetof(SkBlockAllocator, fHead); in BaseHeadBlockSize()
446 int scratchBlockSize() const { return fHead.fPrev ? fHead.fPrev->fSize : 0; } in scratchBlockSize()
472 alignas(kAddressAlign) Block fHead; variable
530 offsetof(SkBlockAllocator, fHead) + BlockOverhead<Align, Padding>()); in Overhead()
[all …]
/third_party/skia/src/gpu/geometry/
DGrTriangulator.h215 const Node* head() const { return fHead; } in head()
236 if (list.fHead) { in concat()
237 *fTail = list.fHead; in concat()
240 list.fHead = nullptr; in concat()
241 list.fTail = &list.fHead; in concat()
247 Node* fHead = nullptr;
248 Node** fTail = &fHead;
298 VertexList() : fHead(nullptr), fTail(nullptr) {} in VertexList()
299 VertexList(Vertex* head, Vertex* tail) : fHead(head), fTail(tail) {} in VertexList()
300 Vertex* fHead; member
[all …]
DGrAATriangulator.cpp110 for (Vertex* outer = mesh->fHead; outer; outer = outer->fNext) { in connectPartners()
145 for (Vertex* v = mesh.fHead; v != nullptr; v = v->fNext) { in removeNonBoundaryEdges()
188 for (Edge* e = boundary->fHead; e != nullptr;) { in simplifyBoundary()
200 e = boundary->fHead; in simplifyBoundary()
219 e = boundary->fHead; // join->fLeft ? join->fLeft : join; in simplifyBoundary()
315 for (Vertex* v = mesh->fHead; v != nullptr; v = v->fNext) { in collapseOverlapRegions()
414 if (!boundary->fHead || !boundary->fHead->fRight || !boundary->fHead->fRight->fRight) { in strokeBoundary()
430 for (Edge* e = boundary->fHead; e != nullptr; e = e->fRight) { in strokeBoundary()
543 if (!inversion(innerVertices.fTail, innerVertices.fHead, prevEdge, c)) { in strokeBoundary()
546 if (!inversion(outerVertices.fTail, outerVertices.fHead, prevEdge, c)) { in strokeBoundary()
[all …]
DGrTriangulator.cpp114 list_insert<Vertex, &Vertex::fPrev, &Vertex::fNext>(v, prev, next, &fHead, &fTail); in insert()
118 list_remove<Vertex, &Vertex::fPrev, &Vertex::fNext>(v, &fHead, &fTail); in remove()
290 list_insert<Edge, &Edge::fLeft, &Edge::fRight>(edge, prev, next, &fHead, &fTail); in insert()
296 list_remove<Edge, &Edge::fLeft, &Edge::fRight>(edge, &fHead, &fTail); in remove()
329 Vertex* first = vertices.fHead; in emitMonotonePoly()
379 , fHead(nullptr) in Poly()
410 fHead = fTail = alloc->make<MonotonePoly>(e, side, fWinding); in addEdge()
438 for (MonotonePoly* m = poly->fHead; m != nullptr; m = m->fNext) { in emitPoly()
559 if (contour->fHead) { in pathToContours()
631 Edge* next = prev ? prev->fRight : fHead; in insert()
[all …]
/third_party/skia/src/gpu/gradients/
DGrGradientBitmapCache.cpp46 fHead = fTail = nullptr; in GrGradientBitmapCache()
54 Entry* entry = fHead; in ~GrGradientBitmapCache()
64 SkASSERT(fHead != entry); in release()
67 SkASSERT(fHead == entry); in release()
68 fHead = entry->fNext; in release()
82 entry->fNext = fHead; in attachToHead()
83 if (fHead) { in attachToHead()
84 fHead->fPrev = entry; in attachToHead()
88 fHead = entry; in attachToHead()
94 Entry* entry = fHead; in find()
[all …]
/third_party/skia/src/pathops/
DSkOpContour.h48 : &fHead; in appendSegment()
63 SkOpSegment* segment = &fHead; in calcAngles()
118 SkOpSegment* segment = &fHead; in debugShowActiveSpans()
135 const SkOpSegment* segment = &fHead; in debugValidate()
177 return &fHead; in first()
182 return &fHead; in first()
205 SkOpSegment* segment = &fHead; in joinSegments()
209 segment->joinEnds(next ? next : &fHead); in joinSegments()
214 SkOpSegment* segment = &fHead; in markAllDone()
223 SkOpSegment* segment = &fHead; in missingCoincidence()
[all …]
DSkOpCoincidence.cpp193 SkCoincidentSpans* test = fHead; in extend()
272 DebugCheckAdd(fHead, coinPtTStart, coinPtTEnd, oppPtTStart, oppPtTEnd); in add()
276 coinRec->set(this->fHead, coinPtTStart, coinPtTEnd, oppPtTStart, oppPtTEnd); in add()
277 fHead = coinRec; in add()
386 SkCoincidentSpans* span = fHead; in addEndMovedSpans()
391 fHead = nullptr; in addEndMovedSpans()
434 SkCoincidentSpans* coin = this->fHead; in addExpanded()
667 if (fHead && !this->checkOverlap(fHead, coinSeg, oppSeg, coinTs, in addOrOverlap()
690 if (!fHead || !this->release(fHead, test)) { in addOrOverlap()
775 fHead->debugShow(); in addOrOverlap()
[all …]
DSkPathOpsTSect.cpp60 SkTSpan* next = prior ? prior->fNext : fHead; in addFollowing()
67 fHead = result; in addFollowing()
514 fHead = this->addOne(); in SkTSect()
515 SkDEBUGCODE(fHead->debugSetGlobalState(debugGlobalState)); in SkTSect()
516 fHead->init(c); in SkTSect()
580 if (sect2->fHead->contains(oppTTest)) { in binarySearchCoin()
617 SkTSpan* test = fHead; in boundsMax()
618 SkTSpan* largest = fHead; in boundsMax()
637 SkTSpan* first = fHead; in coincidentCheck()
661 if (!fHead || !sect2->fHead) { in coincidentCheck()
[all …]
DSkOpSegment.h82 angle->set(&fHead, fHead.next()); in addStartSpan()
83 fHead.setToAngle(angle); in addStartSpan()
224 return &fHead; in head()
228 return &fHead; in head()
269 fTail.ptT()->addOpp(start->fHead.ptT(), start->fHead.ptT()); in joinEnds()
429 SkOpSpan fHead; // the head span always has its t set to zero
DSkPathOpsDebug.cpp727 const SkOpSpanBase* span = &fHead; in debugAddT()
757 const SkOpSpanBase* base = &fHead; in debugCheckAngleCoin()
786 const SkOpSpan* span = &fHead; in debugClearAll()
844 const SkOpSpanBase* spanBase = &fHead; in debugMissingCoincidence()
861 if (spanBase == &fHead) { in debugMissingCoincidence()
939 DebugClearVisited(&fHead); in debugMissingCoincidence()
947 const SkOpSpanBase* test = &fHead; in debugMoveMultiples()
1044 const SkOpSpanBase* spanBase = &fHead; in debugMoveNearby()
1053 if (spanBase == &fHead) { in debugMoveNearby()
1068 spanBase = &fHead; in debugMoveNearby()
[all …]
/third_party/skia/src/gpu/tessellate/
DPathTessellator.h52 void operator++() { fHead = fHead->fNext; }
53 bool operator!=(const Iter& b) const { return fHead != b.fHead; }
55 return {fHead->fPathMatrix, fHead->fPath, fHead->fColor};
57 const PathDrawList* fHead; member
/third_party/skia/src/gpu/
DGrResourceAllocator.cpp193 Interval* temp = fHead; in popHead()
195 fHead = temp->next(); in popHead()
196 if (!fHead) { in popHead()
211 if (!fHead) { 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()
224 Interval* prev = fHead; in insertByIncreasingStart()
242 if (!fHead) { in insertByIncreasingEnd()
[all …]
DGrRingBuffer.cpp19 head = fHead; in getAllocationOffset()
53 fHead = SkAlignTo(head + size, fAlignment); in getAllocationOffset()
75 fHead = 0; in suballocate()
100 submitData->fLastHead = fHead; in startSubmit()
DGrResourceAllocator.h255 SkASSERT(SkToBool(fHead) == SkToBool(fTail)); in empty()
256 return !SkToBool(fHead); in empty()
258 const Interval* peekHead() const { return fHead; } in peekHead()
259 Interval* peekHead() { return fHead; } in peekHead()
267 Interval* fHead = nullptr;
DGrRingBuffer.h31 , fHead(0) in GrRingBuffer()
66 size_t fHead; // where we start allocating variable
/third_party/skia/src/gpu/ops/
DAtlasTextOp.cpp73 , fHead{geo}
74 , fTail{&fHead->fNext} {
99 , fHead{geo}
100 , fTail{&fHead->fNext} {
140 for(Geometry* geom = fHead; geom != nullptr; geom = geom->fNext) { in onDumpInfo()
167 color.setToConstant(fHead->fColor); in finalize()
187 caps, clampType, &fHead->fColor); in finalize()
203 if (fUsesLocalCoords && !fHead->fDrawMatrix.invert(&localMatrix)) { in onPrepareDraws()
245 target->allocator(), *target->caps().shaderCaps(), fHead->fColor, in onPrepareDraws()
281 for (const Geometry* geo = fHead; geo != nullptr; geo = geo->fNext) { in onPrepareDraws()
[all …]
DOpsTask.cpp79 : fHead(std::move(op)), fTail(fHead.get()) { in List()
86 fHead = std::move(that.fHead); in operator =()
94 SkASSERT(fHead); in popHead()
95 auto temp = fHead->cutChain(); in popHead()
96 std::swap(temp, fHead); in popHead()
97 if (!fHead) { in popHead()
108 SkASSERT(head == fHead.get()); in removeOp()
112 SkASSERT(op == fHead.get()); in removeOp()
130 if (fHead) { in pushHead()
131 op->chainConcat(std::move(fHead)); in pushHead()
[all …]
/third_party/skia/tests/
DPathOpsDebug.cpp834 const SkOpSpanBase* span = &fHead; in dump()
848 const SkOpSpanBase* span = &fHead; in dumpAll()
858 const SkOpSpanBase* span = &fHead; in dumpAngles()
874 const SkOpSpan* span = &fHead; in dumpCoin()
931 SkCoincidentSpans* span = fHead; in dump()
936 if (!fTop || fHead == fTop) { in dump()
962 const SkOpSegment* segment = &fHead; in dump()
976 const SkOpSegment* segment = &fHead; in dumpAll()
988 const SkOpSegment* segment = &fHead; in dumpAngles()
996 const SkOpSegment* segment = &fHead; in dumpPt()
[all …]
/third_party/skia/src/gpu/text/
DGrTextBlob.h154 bool isEmpty() const { return fHead == nullptr; } in isEmpty()
155 Iterator begin() { return Iterator{ fHead.get()}; } in begin()
157 Iterator begin() const { return Iterator{ fHead.get()}; } in begin()
159 GrSubRun& front() const {return *fHead; } in front()
161 GrSubRunOwner fHead{nullptr};
162 GrSubRunOwner* fTail{&fHead};

12