Home
last modified time | relevance | path

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

/external/skia/src/core/
DSkRegionPriv.h21 typedef SkRegion::RunHead RunHead; typedef
57 struct SkRegion::RunHead { struct
83 static RunHead* Alloc(int count) { in Alloc() argument
88 const int64_t size = sk_64_mul(count, sizeof(RunType)) + sizeof(RunHead); in Alloc()
91 RunHead* head = (RunHead*)sk_malloc_throw(size); in Alloc()
100 static RunHead* Alloc(int count, int yspancount, int intervalCount) { in Alloc() argument
105 RunHead* head = Alloc(count); in Alloc()
123 RunHead* ensureWritable() { in ensureWritable() argument
124 RunHead* writable = this; in ensureWritable()
DSkAAClip.cpp61 struct SkAAClip::RunHead { struct in SkAAClip
67 return (YOffset*)((char*)this + sizeof(RunHead)); in yoffsets()
70 return (const YOffset*)((const char*)this + sizeof(RunHead)); in yoffsets()
79 static RunHead* Alloc(int rowCount, size_t dataSize) { in Alloc() argument
80 size_t size = sizeof(RunHead) + rowCount * sizeof(YOffset) + dataSize; in Alloc()
81 RunHead* head = (RunHead*)sk_malloc_throw(size); in Alloc()
99 static RunHead* AllocRect(const SkIRect& bounds) { in AllocRect() argument
103 RunHead* head = RunHead::Alloc(1, rowSize); in AllocRect()
148 const RunHead* head = clip.fRunHead; in Iter()
200 const RunHead* head = fRunHead; in validate()
[all …]
DSkAAClip.h72 struct RunHead;
86 RunHead* fRunHead;
DSkRegion.cpp30 #define SkRegion_gEmptyRunHeadPtr ((SkRegionPriv::RunHead*)-1)
144 fRunHead = RunHead::Alloc(count, ySpanCount, intervalCount); in allocateRuns()
148 fRunHead = RunHead::Alloc(count); in allocateRuns()
151 void SkRegion::allocateRuns(const RunHead& head) { in allocateRuns()
152 fRunHead = RunHead::Alloc(head.fRunCount, in allocateRuns()
562 const SkRegion::RunHead* ah = fRunHead; in operator ==()
563 const SkRegion::RunHead* bh = b.fRunHead; in operator ==()
DSkRegion_path.cpp379 tmp.fRunHead = RunHead::Alloc(count); in setPath()
/external/skqp/src/core/
DSkRegionPriv.h21 typedef SkRegion::RunHead RunHead; typedef
57 struct SkRegion::RunHead { struct
83 static RunHead* Alloc(int count) { in Alloc() argument
88 const int64_t size = sk_64_mul(count, sizeof(RunType)) + sizeof(RunHead); in Alloc()
91 RunHead* head = (RunHead*)sk_malloc_throw(size); in Alloc()
100 static RunHead* Alloc(int count, int yspancount, int intervalCount) { in Alloc() argument
105 RunHead* head = Alloc(count); in Alloc()
123 RunHead* ensureWritable() { in ensureWritable() argument
124 RunHead* writable = this; in ensureWritable()
DSkAAClip.cpp62 struct SkAAClip::RunHead { struct in SkAAClip
68 return (YOffset*)((char*)this + sizeof(RunHead)); in yoffsets()
71 return (const YOffset*)((const char*)this + sizeof(RunHead)); in yoffsets()
80 static RunHead* Alloc(int rowCount, size_t dataSize) { in Alloc() argument
81 size_t size = sizeof(RunHead) + rowCount * sizeof(YOffset) + dataSize; in Alloc()
82 RunHead* head = (RunHead*)sk_malloc_throw(size); in Alloc()
100 static RunHead* AllocRect(const SkIRect& bounds) { in AllocRect() argument
104 RunHead* head = RunHead::Alloc(1, rowSize); in AllocRect()
149 const RunHead* head = clip.fRunHead; in Iter()
201 const RunHead* head = fRunHead; in validate()
[all …]
DSkAAClip.h72 struct RunHead;
86 RunHead* fRunHead;
DSkRegion.cpp31 #define SkRegion_gEmptyRunHeadPtr ((SkRegionPriv::RunHead*)-1)
145 fRunHead = RunHead::Alloc(count, ySpanCount, intervalCount); in allocateRuns()
149 fRunHead = RunHead::Alloc(count); in allocateRuns()
152 void SkRegion::allocateRuns(const RunHead& head) { in allocateRuns()
153 fRunHead = RunHead::Alloc(head.fRunCount, in allocateRuns()
563 const SkRegion::RunHead* ah = fRunHead; in operator ==()
564 const SkRegion::RunHead* bh = b.fRunHead; in operator ==()
DSkRegion_path.cpp380 tmp.fRunHead = RunHead::Alloc(count); in setPath()
/external/skia/include/core/
DSkRegion.h617 struct RunHead;
619 static RunHead* emptyRunHeadPtr() { return (SkRegion::RunHead*) -1; } in emptyRunHeadPtr()
620 static constexpr RunHead* kRectRunHeadPtr = nullptr;
625 void allocateRuns(const RunHead& src);
630 RunHead* fRunHead;
664 friend struct RunHead;
/external/skqp/include/core/
DSkRegion.h624 struct RunHead;
626 static RunHead* emptyRunHeadPtr() { return (SkRegion::RunHead*) -1; } in emptyRunHeadPtr()
627 static constexpr RunHead* kRectRunHeadPtr = nullptr;
632 void allocateRuns(const RunHead& src);
637 RunHead* fRunHead;
671 friend struct RunHead;