Lines Matching refs:SkRegion

17     SkASSERT(((value) == SkRegion::kRunTypeSentinel) == isSentinel)
25 static int compute_intervalcount(const SkRegion::RunType runs[]) { in compute_intervalcount()
26 const SkRegion::RunType* curr = runs; in compute_intervalcount()
27 while (*curr < SkRegion::kRunTypeSentinel) { in compute_intervalcount()
29 SkASSERT(curr[1] < SkRegion::kRunTypeSentinel); in compute_intervalcount()
36 struct SkRegion::RunHead {
66 SkASSERT(count >= SkRegion::kRectRegionRuns); in Alloc()
90 SkRegion::RunType* writable_runs() { in writable_runs()
92 return (SkRegion::RunType*)(this + 1); in writable_runs()
95 const SkRegion::RunType* readonly_runs() const { in readonly_runs()
96 return (const SkRegion::RunType*)(this + 1); in readonly_runs()
123 static SkRegion::RunType* SkipEntireScanline(const SkRegion::RunType runs[]) { in SkipEntireScanline()
125 SkASSERT(runs[0] < SkRegion::kRunTypeSentinel); in SkipEntireScanline()
128 SkASSERT(runs[2 + intervals * 2] == SkRegion::kRunTypeSentinel); in SkipEntireScanline()
138 return const_cast<SkRegion::RunType*>(runs); in SkipEntireScanline()
149 SkRegion::RunType* findScanline(int y) const { in findScanline()
160 SkASSERT(bottom < SkRegion::kRunTypeSentinel); in findScanline()
166 return const_cast<SkRegion::RunType*>(runs); in findScanline()
182 SkASSERT(bot < SkRegion::kRunTypeSentinel); in computeRunBounds()
187 SkASSERT(intervals < SkRegion::kRunTypeSentinel); in computeRunBounds()
197 SkASSERT(L < SkRegion::kRunTypeSentinel); in computeRunBounds()
204 SkASSERT(R < SkRegion::kRunTypeSentinel); in computeRunBounds()
211 SkASSERT(SkRegion::kRunTypeSentinel == *runs); in computeRunBounds()
215 } while (SkRegion::kRunTypeSentinel > *runs); in computeRunBounds()