Searched refs:RunType (Results 1 – 5 of 5) sorted by relevance
/external/skia/src/core/ |
D | SkRegion_rects.cpp | 12 SkRegion::RunType fX; 13 SkRegion::RunType fTop; 14 SkRegion::RunType fBottom; 54 Accumulator(SkRegion::RunType top, int numRects); 57 SkRegion::RunType append(SkRegion::RunType top, const VEdge* edge); 60 void copyTo(SkRegion::RunType dst[]); 64 SkRegion::RunType* fPtr; 65 SkRegion::RunType fBottom; 70 SkRegion::RunType fTop; 75 Accumulator::Accumulator(SkRegion::RunType top, int numRects) [all …]
|
D | SkRegion.cpp | 32 static SkRegion::RunType* skip_scanline(const SkRegion::RunType runs[]) 39 return (SkRegion::RunType*)(runs + 1); // return past the X-sentinel 43 bool SkRegion::ComputeRunBounds(const SkRegion::RunType runs[], int count, SkIRect* bounds) in ComputeRunBounds() 228 const RunType* runs = fRunHead->readonly_runs() + 1; in count_runtype_values() 232 const RunType* next = skip_scanline(runs + 1); in count_runtype_values() 245 bool SkRegion::setRuns(RunType runs[], int count) in setRuns() 261 RunType* stop = runs + count; in setRuns() 305 const RunType* r = runs; in setRuns() 327 memcpy(fRunHead->writable_runs(), runs, count * sizeof(RunType)); in setRuns() 335 RunType runs[kRectRegionRuns]) in BuildRectRuns() [all …]
|
D | SkRegion_path.cpp | 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 value 86 fCurrScanline->fXCount * sizeof(SkRegion::RunType))) in collapsWithPrev() [all …]
|
D | SkRegionPriv.h | 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()
|
/external/skia/include/core/ |
D | SkRegion.h | 39 typedef int32_t RunType; typedef 319 const RunType* fRuns; 352 const SkRegion::RunType* fRuns; 380 SkDEBUGCODE(bool debugSetRuns(const RunType runs[], int count);) 400 const RunType* getRuns(RunType tmpStorage[], int* count) const; 401 bool setRuns(RunType runs[], int count); 406 RunType runs[kRectRegionRuns]); 408 static bool ComputeRunBounds(const RunType runs[], int count,
|