Home
last modified time | relevance | path

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

/external/skia/src/core/
DSkRegionPriv.h41 struct SkRegion::RunHead { struct
67 static RunHead* Alloc(int count) { in Alloc() argument
75 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() argument
92 RunHead* head = Alloc(count); in Alloc()
110 RunHead* ensureWritable() { in ensureWritable() argument
111 RunHead* writable = this; in ensureWritable()
DSkAAClip.cpp57 struct SkAAClip::RunHead { struct in SkAAClip
63 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() argument
76 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() argument
99 RunHead* head = RunHead::Alloc(1, rowSize); in AllocRect()
144 const RunHead* head = clip.fRunHead; in Iter()
196 const RunHead* head = fRunHead; in validate()
[all …]
DSkAAClip.h72 struct RunHead;
86 RunHead* fRunHead;
DSkRegion.cpp103 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 ==()
DSkRegion_path.cpp366 tmp.fRunHead = RunHead::Alloc(count); in setPath()
/external/skia/include/core/
DSkRegion.h22 #define SkRegion_gEmptyRunHeadPtr ((SkRegion::RunHead*)-1)
413 struct RunHead;
418 void allocateRuns(const RunHead& src);
421 RunHead* fRunHead;
455 friend struct RunHead;