Searched refs:RunHead (Results 1 – 6 of 6) sorted by relevance
23 typedef SkRegion::RunHead RunHead; typedef59 struct SkRegion::RunHead { struct85 static RunHead* Alloc(int count) { in Alloc() argument90 const int64_t size = sk_64_mul(count, sizeof(RunType)) + sizeof(RunHead); in Alloc()93 RunHead* head = (RunHead*)sk_malloc_throw(size); in Alloc()102 static RunHead* Alloc(int count, int yspancount, int intervalCount) { in Alloc() argument107 RunHead* head = Alloc(count); in Alloc()125 RunHead* ensureWritable() { in ensureWritable() argument126 RunHead* writable = this; in ensureWritable()
166 struct SkAAClip::RunHead { struct in SkAAClip172 return (YOffset*)((char*)this + sizeof(RunHead)); in yoffsets()175 return (const YOffset*)((const char*)this + sizeof(RunHead)); in yoffsets()184 static RunHead* Alloc(int rowCount, size_t dataSize) { in Alloc() argument185 size_t size = sizeof(RunHead) + rowCount * sizeof(YOffset) + dataSize; in Alloc()186 RunHead* head = (RunHead*)sk_malloc_throw(size); in Alloc()204 static RunHead* AllocRect(const SkIRect& bounds) { in AllocRect() argument208 RunHead* head = RunHead::Alloc(1, rowSize); in AllocRect()224 const RunHead* head = clip.fRunHead; in Iterate()399 RunHead* head = RunHead::Alloc(fRows.size(), dataSize); in finish()[all …]
65 struct RunHead;69 RunHead* fRunHead;
33 #define SkRegion_gEmptyRunHeadPtr ((SkRegionPriv::RunHead*)-1)147 fRunHead = RunHead::Alloc(count, ySpanCount, intervalCount); in allocateRuns()151 fRunHead = RunHead::Alloc(count); in allocateRuns()154 void SkRegion::allocateRuns(const RunHead& head) { in allocateRuns()155 fRunHead = RunHead::Alloc(head.fRunCount, in allocateRuns()565 const SkRegion::RunHead* ah = fRunHead; in operator ==()566 const SkRegion::RunHead* bh = b.fRunHead; in operator ==()
379 tmp.fRunHead = RunHead::Alloc(count); in setPath()
620 struct RunHead;622 static RunHead* emptyRunHeadPtr() { return (SkRegion::RunHead*) -1; } in emptyRunHeadPtr()623 static constexpr RunHead* kRectRunHeadPtr = nullptr;628 void allocateRuns(const RunHead& src);633 RunHead* fRunHead;670 friend struct RunHead;