Home
last modified time | relevance | path

Searched refs:edgeIdx (Results 1 – 4 of 4) sorted by relevance

/external/skia/src/gpu/ops/
DGrAAConvexTessellator.cpp328 SkScalar GrAAConvexTessellator::computeDepthFromEdge(int edgeIdx, const SkPoint& p) const { in computeDepthFromEdge() argument
329 SkASSERT(edgeIdx < fNorms.count()); in computeDepthFromEdge()
331 SkPoint v = p - fPts[edgeIdx]; in computeDepthFromEdge()
332 SkScalar depth = -fNorms[edgeIdx].dot(v); in computeDepthFromEdge()
340 int edgeIdx, in computePtAlongBisector() argument
343 const SkPoint& norm = fNorms[edgeIdx]; in computePtAlongBisector()
348 SkScalar t = perp_intersect(fPts[startIdx], bisector, fPts[edgeIdx], norm); in computePtAlongBisector()
DGrAAConvexTessellator.h210 SkScalar computeDepthFromEdge(int edgeIdx, const SkPoint& p) const;
213 int edgeIdx, SkScalar desiredDepth,
/external/skqp/src/gpu/ops/
DGrAAConvexTessellator.cpp328 SkScalar GrAAConvexTessellator::computeDepthFromEdge(int edgeIdx, const SkPoint& p) const { in computeDepthFromEdge() argument
329 SkASSERT(edgeIdx < fNorms.count()); in computeDepthFromEdge()
331 SkPoint v = p - fPts[edgeIdx]; in computeDepthFromEdge()
332 SkScalar depth = -fNorms[edgeIdx].dot(v); in computeDepthFromEdge()
340 int edgeIdx, in computePtAlongBisector() argument
343 const SkPoint& norm = fNorms[edgeIdx]; in computePtAlongBisector()
348 SkScalar t = perp_intersect(fPts[startIdx], bisector, fPts[edgeIdx], norm); in computePtAlongBisector()
DGrAAConvexTessellator.h210 SkScalar computeDepthFromEdge(int edgeIdx, const SkPoint& p) const;
213 int edgeIdx, SkScalar desiredDepth,