• Home
  • Raw
  • Download

Lines Matching refs:lastControlPoint

101     bool SK_WARN_UNUSED_RESULT countLine(const SkPoint pts[2], SkPoint lastControlPoint,  in countLine()  argument
108 float rotation = SkMeasureAngleBetweenVectors(pts[0] - lastControlPoint, pts[1] - pts[0]); in countLine()
113 void countQuad(const SkPoint pts[3], SkPoint lastControlPoint, int8_t* resolveLevelPtr) { in countQuad() argument
119 rotation += SkMeasureAngleBetweenVectors(pts[0] - lastControlPoint, nextTan); in countQuad()
124 void countCubic(const SkPoint pts[4], SkPoint lastControlPoint, int8_t* resolveLevelPtr) { in countCubic() argument
129 if (fIsRoundJoin && pts[0] != lastControlPoint) { in countCubic()
131 rotation += SkMeasureAngleBetweenVectors(pts[0] - lastControlPoint, nextTan); in countCubic()
136 void countChoppedCubic(const SkPoint pts[4], const float chopT, SkPoint lastControlPoint, in countChoppedCubic() argument
140 this->countCubic(chops, lastControlPoint, resolveLevelPtr); in countChoppedCubic()
165 bool SK_WARN_UNUSED_RESULT countLine(const SkPoint pts[2], SkPoint lastControlPoint, in countLine() argument
172 if (fLineQueue.push(pts, fIsRoundJoin, lastControlPoint, resolveLevelPtr) == 3) { in countLine()
178 void countQuad(const SkPoint pts[3], SkPoint lastControlPoint, int8_t* resolveLevelPtr) { in countQuad() argument
179 if (fQuadQueue.push(pts, fIsRoundJoin, lastControlPoint, resolveLevelPtr) == 3) { in countQuad()
184 void countCubic(const SkPoint pts[4], SkPoint lastControlPoint, int8_t* resolveLevelPtr) { in countCubic() argument
185 if (fCubicQueue.push(pts, fIsRoundJoin, lastControlPoint, resolveLevelPtr) == 3) { in countCubic()
190 void countChoppedCubic(const SkPoint pts[4], const float chopT, SkPoint lastControlPoint, in countChoppedCubic() argument
192 int i = fChoppedCubicQueue.push(pts, fIsRoundJoin, lastControlPoint, resolveLevelPtr); in countChoppedCubic()
238 SkPoint lastControlPoint, int8_t* resolveLevelPtr) { in push()
245 fLastControlPoints[fCount] = lastControlPoint.fX; in push()
246 fLastControlPoints[4 + fCount] = lastControlPoint.fY; in push()
325 auto lastControlPoint = fQuadQueue.loadLastControlPoint<N>(); in flushQuads() local
327 rotation += grvx::approx_angle_between_vectors(p0 - lastControlPoint, nextTan); in flushQuads()
388 auto lastControlPoint = queue.loadLastControlPoint<N>(); in flushCubics() local
390 rotation += grvx::approx_angle_between_vectors(p0 - lastControlPoint, nextTan); in flushCubics()
465 SkPoint lastControlPoint = {0,0}; in GrStrokeIndirectTessellator() local
494 lastControlPoint = prevPts[2]; in GrStrokeIndirectTessellator()
501 lastControlPoint = prevPts[1]; in GrStrokeIndirectTessellator()
506 lastControlPoint = prevPts[0]; in GrStrokeIndirectTessellator()
513 lastControlPoint = pts[0]; in GrStrokeIndirectTessellator()
521 if (counter.countLine(pts, lastControlPoint, nextResolveLevel)) { in GrStrokeIndirectTessellator()
534 if (counter.countLine(pts, lastControlPoint, nextResolveLevel)) { in GrStrokeIndirectTessellator()
539 counter.countQuad(pts, lastControlPoint, nextResolveLevel++); in GrStrokeIndirectTessellator()
551 counter.countCubic(pts, lastControlPoint, nextResolveLevel); in GrStrokeIndirectTessellator()
558 counter.countChoppedCubic(pts, nextChopTs[0], lastControlPoint, in GrStrokeIndirectTessellator()
569 counter.countCubic(pts_, lastControlPoint, nextResolveLevel); in GrStrokeIndirectTessellator()
806 SkPoint lastControlPoint = {0,0}; in writeBuffers() local
835 lastControlPoint = pts[0]; in writeBuffers()
842 binningWriter.writeStroke(firstResolveLevel, firstCubic, lastControlPoint); in writeBuffers()
921 binningWriter.writeStroke(resolveLevel, pts_, lastControlPoint, (i != 0)); in writeBuffers()
925 lastControlPoint = pts_[2]; in writeBuffers()
927 lastControlPoint = pts_[1]; in writeBuffers()
929 lastControlPoint = pts_[0]; in writeBuffers()