Home
last modified time | relevance | path

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

/external/skia/src/core/
DSkRegionPriv.h36 struct SkRegion::RunHead { struct
62 static RunHead* Alloc(int count) { in Alloc() argument
68 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() argument
84 RunHead* head = Alloc(count); in Alloc()
99 RunHead* ensureWritable() { in ensureWritable() argument
100 RunHead* writable = this; in ensureWritable()
DSkAAClip.cpp58 struct SkAAClip::RunHead { struct in SkAAClip
64 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() argument
77 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() argument
100 RunHead* head = RunHead::Alloc(1, rowSize); in AllocRect()
145 const RunHead* head = clip.fRunHead; in Iter()
196 const RunHead* head = fRunHead; in validate()
[all …]
DSkAAClip.h72 struct RunHead;
86 RunHead* fRunHead;
DSkRegion.cpp104 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 ==()
DSkRegion_path.cpp367 tmp.fRunHead = RunHead::Alloc(count); in setPath()
/external/skia/include/core/
DSkRegion.h22 #define SkRegion_gEmptyRunHeadPtr ((SkRegion::RunHead*)-1)
405 struct RunHead;
410 void allocateRuns(const RunHead& src);
413 RunHead* fRunHead;
445 friend struct RunHead;