Home | History | Annotate | Download | only in core

Lines Matching refs:fRunHead

74     fRunHead = SkRegion_gEmptyRunHeadPtr;
78 fRunHead = SkRegion_gEmptyRunHeadPtr; // just need a value that won't trigger sk_free(fRunHead)
83 fRunHead = SkRegion_gEmptyRunHeadPtr; // just need a value that won't trigger sk_free(fRunHead)
93 SkASSERT(fRunHead->fRefCnt >= 1);
94 if (sk_atomic_dec(&fRunHead->fRefCnt) == 1) {
98 sk_free(fRunHead);
104 fRunHead = RunHead::Alloc(count, ySpanCount, intervalCount);
108 fRunHead = RunHead::Alloc(count);
112 fRunHead = RunHead::Alloc(head.fRunCount,
124 SkTSwap<RunHead*>(fRunHead, other.fRunHead);
133 return fRunHead->getIntervalCount();
139 fRunHead = SkRegion_gEmptyRunHeadPtr;
150 fRunHead = SkRegion_gRectRunHeadPtr;
163 fRunHead = src.fRunHead;
165 sk_atomic_inc(&fRunHead->fRefCnt);
168 return fRunHead != SkRegion_gEmptyRunHeadPtr;
227 maxT = fRunHead->getIntervalCount() * 2;
290 if (!this->isComplex() || fRunHead->fRunCount != count) {
297 fRunHead = fRunHead->ensureWritable();
298 memcpy(fRunHead->writable_runs(), runs, count * sizeof(RunType));
299 fRunHead->computeRunBounds(&fBounds);
328 const RunType* runs = fRunHead->findScanline(y);
386 const RunType* scanline = fRunHead->findScanline(r.fTop);
432 runs = fRunHead->readonly_runs();
433 *intervals = fRunHead->getIntervalCount();
471 const RunType* scanline = fRunHead->findScanline(sect.fTop);
523 const SkRegion::RunHead* ah = fRunHead;
524 const SkRegion::RunHead* bh = b.fRunHead;
552 dst->fRunHead = dst->fRunHead->ensureWritable();
555 tmp.allocateRuns(*fRunHead);
562 const RunType* sruns = fRunHead->readonly_runs();
563 RunType* druns = dst->fRunHead->writable_runs();
585 SkASSERT(sruns - fRunHead->readonly_runs() == fRunHead->fRunCount);
586 SkASSERT(druns - dst->fRunHead->readonly_runs() == dst->fRunHead->fRunCount);
1110 size += fRunHead->fRunCount * sizeof(RunType);
1123 buffer.write32(isRect ? 0 : fRunHead->fRunCount);
1127 buffer.write32(fRunHead->getYSpanCount());
1128 buffer.write32(fRunHead->getIntervalCount());
1129 buffer.write(fRunHead->readonly_runs(),
1130 fRunHead->fRunCount * sizeof(RunType));
1143 tmp.fRunHead = SkRegion_gRectRunHeadPtr;
1148 buffer.read(tmp.fRunHead->writable_runs(), count * sizeof(RunType));
1245 SkASSERT(fRunHead->fRefCnt >= 1);
1246 SkASSERT(fRunHead->fRunCount > kRectRegionRuns);
1248 const RunType* run = fRunHead->readonly_runs();
1258 SkASSERT(fRunHead->getYSpanCount() == ySpanCount);
1260 SkASSERT(fRunHead->getIntervalCount() == intervalCount);
1272 const RunType* runs = fRunHead->readonly_runs();
1273 for (int i = 0; i < fRunHead->fRunCount; i++)
1306 fRuns = rgn.fRunHead->readonly_runs();
1414 const SkRegion::RunType* runs = rgn.fRunHead->findScanline(y);