Home
last modified time | relevance | path

Searched refs:RunHead (Results 1 – 6 of 6) sorted by relevance

/external/skia/src/core/
DSkRegionPriv.h23 typedef SkRegion::RunHead RunHead; typedef
59 struct SkRegion::RunHead { struct
85 static RunHead* Alloc(int count) { in Alloc() argument
90 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() argument
107 RunHead* head = Alloc(count); in Alloc()
125 RunHead* ensureWritable() { in ensureWritable() argument
126 RunHead* writable = this; in ensureWritable()
DSkAAClip.cpp166 struct SkAAClip::RunHead { struct in SkAAClip
172 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() argument
185 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() argument
208 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 …]
DSkAAClip.h65 struct RunHead;
69 RunHead* fRunHead;
DSkRegion.cpp33 #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 ==()
DSkRegion_path.cpp379 tmp.fRunHead = RunHead::Alloc(count); in setPath()
/external/skia/include/core/
DSkRegion.h620 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;