Lines Matching refs:fCount
18 GrWindowRectangles() : fCount(0) {} in GrWindowRectangles()
19 GrWindowRectangles(const GrWindowRectangles& that) : fCount(0) { *this = that; } in GrWindowRectangles()
24 bool empty() const { return !fCount; } in empty()
25 int count() const { return fCount; } in count()
40 const Rec* rec() const { return fCount <= 1 ? nullptr : fRec; } in rec()
42 int fCount; variable
60 return fCount <= 1 ? &fLocalWindow : fRec->fData; in data()
65 fCount = 0; in reset()
70 fCount = that.fCount;
71 if (fCount <= 1) {
84 result.fCount = fCount; in makeOffset()
86 if (result.fCount > 1) { in makeOffset()
92 for (int i = 0; i < fCount; ++i) { in makeOffset()
99 SkASSERT(fCount < kMaxWindows); in addWindow()
100 if (fCount == 0) { in addWindow()
101 fCount = 1; in addWindow()
104 if (fCount == 1) { in addWindow()
108 fRec = new Rec(fRec->fData, fCount); in addWindow()
110 return fRec->fData[fCount++]; in addWindow()
114 if (fCount != that.fCount) {
117 if (fCount > 1 && fRec == that.fRec) {
120 return !fCount || !memcmp(this->data(), that.data(), sizeof(SkIRect) * fCount);