Searched refs:RunHead (Results 1 – 6 of 6) sorted by relevance
36 struct SkRegion::RunHead { struct62 static RunHead* Alloc(int count) { in Alloc() argument68 const int64_t size = sk_64_mul(count, sizeof(RunType)) + sizeof(RunHead); in Alloc()71 RunHead* head = (RunHead*)sk_malloc_throw(size); in Alloc()80 static RunHead* Alloc(int count, int yspancount, int intervalCount) { in Alloc() argument84 RunHead* head = Alloc(count); in Alloc()99 RunHead* ensureWritable() { in ensureWritable() argument100 RunHead* writable = this; in ensureWritable()
58 struct SkAAClip::RunHead { struct in SkAAClip64 return (YOffset*)((char*)this + sizeof(RunHead)); in yoffsets()67 return (const YOffset*)((const char*)this + sizeof(RunHead)); in yoffsets()76 static RunHead* Alloc(int rowCount, size_t dataSize) { in Alloc() argument77 size_t size = sizeof(RunHead) + rowCount * sizeof(YOffset) + dataSize; in Alloc()78 RunHead* head = (RunHead*)sk_malloc_throw(size); in Alloc()96 static RunHead* AllocRect(const SkIRect& bounds) { in AllocRect() argument100 RunHead* head = RunHead::Alloc(1, rowSize); in AllocRect()145 const RunHead* head = clip.fRunHead; in Iter()196 const RunHead* head = fRunHead; in validate()[all …]
72 struct RunHead;86 RunHead* fRunHead;
104 fRunHead = RunHead::Alloc(count, ySpanCount, intervalCount); in allocateRuns()108 fRunHead = RunHead::Alloc(count); in allocateRuns()111 void SkRegion::allocateRuns(const RunHead& head) { in allocateRuns()112 fRunHead = RunHead::Alloc(head.fRunCount, in allocateRuns()124 SkTSwap<RunHead*>(fRunHead, other.fRunHead); in swap()517 const SkRegion::RunHead* ah = fRunHead; in operator ==()518 const SkRegion::RunHead* bh = b.fRunHead; in operator ==()
367 tmp.fRunHead = RunHead::Alloc(count); in setPath()
22 #define SkRegion_gEmptyRunHeadPtr ((SkRegion::RunHead*)-1)405 struct RunHead;410 void allocateRuns(const RunHead& src);413 RunHead* fRunHead;445 friend struct RunHead;