Searched refs:lastRing (Results 1 – 4 of 4) sorted by relevance
/external/skia/src/gpu/ops/ |
D | GrAAConvexTessellator.cpp | 476 GrAAConvexTessellator::Ring* GrAAConvexTessellator::getNextRing(Ring* lastRing) { in getNextRing() argument 484 int nextRing = (lastRing == &fRings[0]) ? 1 : 0; in getNextRing() 662 bool GrAAConvexTessellator::createInsetRing(const Ring& lastRing, Ring* nextRing, in createInsetRing() argument 674 for (int cur = 0; cur < lastRing.numPts(); ++cur) { in createInsetRing() 675 int next = (cur + 1) % lastRing.numPts(); in createInsetRing() 678 bool result = intersect(this->point(lastRing.index(cur)), lastRing.bisector(cur), in createInsetRing() 679 this->point(lastRing.index(next)), lastRing.bisector(next), in createInsetRing() 686 SkScalar dist = -t * lastRing.norm(cur).dot(lastRing.bisector(cur)); in createInsetRing() 698 SkPoint newPt = lastRing.bisector(minEdgeIdx); in createInsetRing() 700 newPt += this->point(lastRing.index(minEdgeIdx)); in createInsetRing() [all …]
|
D | GrAAConvexTessellator.h | 228 void terminate(const Ring& lastRing); 237 Ring* getNextRing(Ring* lastRing); 245 bool createInsetRing(const Ring& lastRing, Ring* nextRing,
|
/external/skqp/src/gpu/ops/ |
D | GrAAConvexTessellator.cpp | 476 GrAAConvexTessellator::Ring* GrAAConvexTessellator::getNextRing(Ring* lastRing) { in getNextRing() argument 484 int nextRing = (lastRing == &fRings[0]) ? 1 : 0; in getNextRing() 662 bool GrAAConvexTessellator::createInsetRing(const Ring& lastRing, Ring* nextRing, in createInsetRing() argument 674 for (int cur = 0; cur < lastRing.numPts(); ++cur) { in createInsetRing() 675 int next = (cur + 1) % lastRing.numPts(); in createInsetRing() 678 bool result = intersect(this->point(lastRing.index(cur)), lastRing.bisector(cur), in createInsetRing() 679 this->point(lastRing.index(next)), lastRing.bisector(next), in createInsetRing() 686 SkScalar dist = -t * lastRing.norm(cur).dot(lastRing.bisector(cur)); in createInsetRing() 698 SkPoint newPt = lastRing.bisector(minEdgeIdx); in createInsetRing() 700 newPt += this->point(lastRing.index(minEdgeIdx)); in createInsetRing() [all …]
|
D | GrAAConvexTessellator.h | 228 void terminate(const Ring& lastRing); 237 Ring* getNextRing(Ring* lastRing); 245 bool createInsetRing(const Ring& lastRing, Ring* nextRing,
|