Searched refs:RunHead (Results 1 – 6 of 6) sorted by relevance
41 struct SkRegion::RunHead { struct67 static RunHead* Alloc(int count) { in Alloc() argument75 const int64_t size = sk_64_mul(count, sizeof(RunType)) + sizeof(RunHead); in Alloc()78 RunHead* head = (RunHead*)sk_malloc_throw(size); in Alloc()87 static RunHead* Alloc(int count, int yspancount, int intervalCount) { in Alloc() argument92 RunHead* head = Alloc(count); in Alloc()110 RunHead* ensureWritable() { in ensureWritable() argument111 RunHead* writable = this; in ensureWritable()
57 struct SkAAClip::RunHead { struct in SkAAClip63 return (YOffset*)((char*)this + sizeof(RunHead)); in yoffsets()66 return (const YOffset*)((const char*)this + sizeof(RunHead)); in yoffsets()75 static RunHead* Alloc(int rowCount, size_t dataSize) { in Alloc() argument76 size_t size = sizeof(RunHead) + rowCount * sizeof(YOffset) + dataSize; in Alloc()77 RunHead* head = (RunHead*)sk_malloc_throw(size); in Alloc()95 static RunHead* AllocRect(const SkIRect& bounds) { in AllocRect() argument99 RunHead* head = RunHead::Alloc(1, rowSize); in AllocRect()144 const RunHead* head = clip.fRunHead; in Iter()196 const RunHead* head = fRunHead; in validate()[all …]
72 struct RunHead;86 RunHead* fRunHead;
103 fRunHead = RunHead::Alloc(count, ySpanCount, intervalCount); in allocateRuns()107 fRunHead = RunHead::Alloc(count); in allocateRuns()110 void SkRegion::allocateRuns(const RunHead& head) { in allocateRuns()111 fRunHead = RunHead::Alloc(head.fRunCount, in allocateRuns()123 SkTSwap<RunHead*>(fRunHead, other.fRunHead); in swap()518 const SkRegion::RunHead* ah = fRunHead; in operator ==()519 const SkRegion::RunHead* bh = b.fRunHead; in operator ==()
366 tmp.fRunHead = RunHead::Alloc(count); in setPath()
22 #define SkRegion_gEmptyRunHeadPtr ((SkRegion::RunHead*)-1)413 struct RunHead;418 void allocateRuns(const RunHead& src);421 RunHead* fRunHead;455 friend struct RunHead;