Searched refs:RunType (Results 1 – 4 of 4) sorted by relevance
28 static SkRegion::RunType* skip_scanline(const SkRegion::RunType runs[])35 return (SkRegion::RunType*)(runs + 1); // return past the X-sentinel38 static SkRegion::RunType* find_y(const SkRegion::RunType runs[], int y) in find_y()50 return (SkRegion::RunType*)runs; in find_y()60 bool SkRegion::ComputeRunBounds(const SkRegion::RunType runs[], int count, SkIRect* bounds) in ComputeRunBounds()231 const RunType* runs = fRunHead->readonly_runs() + 1; in count_runtype_values()235 const RunType* next = skip_scanline(runs + 1); in count_runtype_values()248 bool SkRegion::setRuns(RunType runs[], int count) in setRuns()264 RunType* stop = runs + count; in setRuns()308 const RunType* r = runs; in setRuns()[all …]
33 … fCurrScanline->fXCount = (SkRegion::RunType)((int)(fCurrXPtr - fCurrScanline->firstX())); in done()42 void copyToRgn(SkRegion::RunType runs[]) const;63 SkRegion::RunType fLastY;64 SkRegion::RunType fXCount;66 SkRegion::RunType* firstX() const { return (SkRegion::RunType*)(this + 1); } in firstX()68 return (Scanline*)((SkRegion::RunType*)(this + 1) + fXCount); in nextScanline()71 SkRegion::RunType* fStorage;75 SkRegion::RunType* fCurrXPtr;76 SkRegion::RunType fTop; // first Y value86 fCurrScanline->fXCount * sizeof(SkRegion::RunType))) in collapsWithPrev()[all …]
40 RunHead* head = (RunHead*)sk_malloc_throw(sizeof(RunHead) + count * sizeof(RunType)); in Alloc()51 SkRegion::RunType* writable_runs() in writable_runs()55 return (SkRegion::RunType*)(this + 1); in writable_runs()57 const SkRegion::RunType* readonly_runs() const in readonly_runs()60 return (const SkRegion::RunType*)(this + 1); in readonly_runs()75 fRunCount * sizeof(RunType)); in ensureWritable()
39 typedef int32_t RunType; typedef262 const RunType* fRuns;293 const SkRegion::RunType* fRuns;312 SkDEBUGCODE(bool debugSetRuns(const RunType runs[], int count);)332 const RunType* getRuns(RunType tmpStorage[], int* count) const;333 bool setRuns(RunType runs[], int count);338 RunType runs[kRectRegionRuns]);340 static bool ComputeRunBounds(const RunType runs[], int count,