Home
last modified time | relevance | path

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

/external/skia/src/core/
DSkRegionPriv.h21 struct SkRegion::RunHead { struct
25 static RunHead* Alloc(int count) in Alloc() argument
32 RunHead* head = (RunHead*)sk_malloc_throw(sizeof(RunHead) + count * sizeof(RunType)); in Alloc()
55 RunHead* ensureWritable() in ensureWritable() argument
59 RunHead* writable = this; in ensureWritable()
DSkAAClip.cpp56 struct SkAAClip::RunHead { struct in SkAAClip
62 return (YOffset*)((char*)this + sizeof(RunHead)); in yoffsets()
65 return (const YOffset*)((const char*)this + sizeof(RunHead)); in yoffsets()
74 static RunHead* Alloc(int rowCount, size_t dataSize) { in Alloc() argument
75 size_t size = sizeof(RunHead) + rowCount * sizeof(YOffset) + dataSize; in Alloc()
76 RunHead* head = (RunHead*)sk_malloc_throw(size); in Alloc()
94 static RunHead* AllocRect(const SkIRect& bounds) { in AllocRect() argument
98 RunHead* head = RunHead::Alloc(1, rowSize); in AllocRect()
141 const RunHead* head = clip.fRunHead; in Iter()
192 const RunHead* head = fRunHead; in validate()
[all …]
DSkAAClip.h68 struct RunHead;
80 RunHead* fRunHead;
DSkRegion.cpp108 fRunHead = RunHead::Alloc(count); in allocateRuns()
118 SkTSwap<RunHead*>(fRunHead, other.fRunHead); in swap()
469 const SkRegion::RunHead* ah = fRunHead; in operator ==()
470 const SkRegion::RunHead* bh = b.fRunHead; in operator ==()
DSkRegion_path.cpp306 tmp.fRunHead = RunHead::Alloc(count); in setPath()
/external/skia/include/core/
DSkRegion.h22 #define SkRegion_gEmptyRunHeadPtr ((SkRegion::RunHead*)-1)
387 struct RunHead;
390 RunHead* fRunHead;
404 friend struct RunHead;