Home | History | Annotate | Download | only in gpu

Lines Matching defs:fPts

43     int numPts() const { return fPts.count(); }
46 const SkPoint& lastPoint() const { return fPts.top(); }
47 const SkPoint& point(int index) const { return fPts[index]; }
63 void setReserve(int numPts) { fPts.setReserve(numPts); }
64 void rewind() { fPts.rewind(); }
66 int numPts() const { return fPts.count(); }
68 const SkPoint& lastPoint() const { return fPts.top().fPt; }
69 const SkPoint& firstPoint() const { return fPts[0].fPt; }
70 const SkPoint& point(int index) const { return fPts[index].fPt; }
72 int originatingIdx(int index) const { return fPts[index].fOriginatingIdx; }
73 int origEdge(int index) const { return fPts[index].fOrigEdgeId; }
74 bool needsToBeNew(int index) const { return fPts[index].fNeedsToBeNew; }
77 struct PointData* pt = fPts.push();
82 return fPts.count() - 1;
86 fPts.top().fOrigEdgeId = origEdgeId;
87 fPts.top().fOriginatingIdx = -1;
88 fPts.top().fNeedsToBeNew = true;
89 return fPts.count() - 1;
93 fPts[0].fOriginatingIdx = -1;
94 fPts[0].fNeedsToBeNew = true;
99 if (fPts.count() > 1) {
100 fPts.pop();
103 fPts[0].fOriginatingIdx = -1;
104 fPts[0].fNeedsToBeNew = true;
116 SkTDArray<struct PointData> fPts;
123 void setReserve(int numPts) { fPts.setReserve(numPts); }
124 void rewind() { fPts.rewind(); }
126 int numPts() const { return fPts.count(); }
129 struct PointData* pt = fPts.push();
138 const SkPoint& norm(int index) const { return fPts[index].fNorm; }
139 const SkPoint& bisector(int index) const { return fPts[index].fBisector; }
140 int index(int index) const { return fPts[index].fIndex; }
141 int origEdgeID(int index) const { return fPts[index].fOrigEdgeId; }
160 SkTDArray<PointData> fPts;
177 fPts.setReserve(count);
209 // fPts, fWeights & fMovable should always have the same # of elements
210 SkTDArray<SkPoint> fPts;