Home
last modified time | relevance | path

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

/third_party/skia/src/gpu/geometry/
DGrAATriangulator.cpp185 Edge* prevEdge = boundary->fTail; in simplifyBoundary() local
187 get_edge_normal(prevEdge, &prevNormal); in simplifyBoundary()
189 Vertex* prev = prevEdge->fWinding == 1 ? prevEdge->fTop : prevEdge->fBottom; in simplifyBoundary()
192 double distNext = prevEdge->dist(next->fPoint); in simplifyBoundary()
197 boundary->remove(prevEdge); in simplifyBoundary()
199 prevEdge = boundary->fTail; in simplifyBoundary()
201 if (prevEdge) { in simplifyBoundary()
202 get_edge_normal(prevEdge, &prevNormal); in simplifyBoundary()
212 boundary->remove(prevEdge); in simplifyBoundary()
215 prevEdge = join->fLeft; in simplifyBoundary()
[all …]
/third_party/skia/src/utils/
DSkPolyUtils.cpp376 OffsetEdge* prevEdge = currEdge->fPrev; in SkInsetConvexPolygon() local
380 while (head && prevEdge != currEdge) { in SkInsetConvexPolygon()
389 if (compute_intersection(prevEdge->fOffset, currEdge->fOffset, in SkInsetConvexPolygon()
392 if (s < prevEdge->fTValue) { in SkInsetConvexPolygon()
394 remove_node(prevEdge, &head); in SkInsetConvexPolygon()
397 prevEdge = prevEdge->fPrev; in SkInsetConvexPolygon()
410 prevEdge = currEdge; in SkInsetConvexPolygon()
417 prevEdge->fOffset.fP0); in SkInsetConvexPolygon()
421 prevEdge->fOffset.fP0 + prevEdge->fOffset.fV)) { in SkInsetConvexPolygon()
423 remove_node(prevEdge, &head); in SkInsetConvexPolygon()
[all …]
/third_party/flutter/skia/src/utils/
DSkPolyUtils.cpp365 OffsetEdge* prevEdge = currEdge->fPrev; in SkInsetConvexPolygon() local
369 while (head && prevEdge != currEdge) { in SkInsetConvexPolygon()
378 if (compute_intersection(prevEdge->fOffset, currEdge->fOffset, in SkInsetConvexPolygon()
381 if (s < prevEdge->fTValue) { in SkInsetConvexPolygon()
383 remove_node(prevEdge, &head); in SkInsetConvexPolygon()
386 prevEdge = prevEdge->fPrev; in SkInsetConvexPolygon()
399 prevEdge = currEdge; in SkInsetConvexPolygon()
406 prevEdge->fOffset.fP0); in SkInsetConvexPolygon()
410 prevEdge->fOffset.fP0 + prevEdge->fOffset.fV)) { in SkInsetConvexPolygon()
412 remove_node(prevEdge, &head); in SkInsetConvexPolygon()
[all …]
/third_party/flutter/skia/src/gpu/
DGrTessellator.cpp1736 Edge* prevEdge = boundary->fTail; in simplify_boundary() local
1738 get_edge_normal(prevEdge, &prevNormal); in simplify_boundary()
1740 Vertex* prev = prevEdge->fWinding == 1 ? prevEdge->fTop : prevEdge->fBottom; in simplify_boundary()
1743 double distNext = prevEdge->dist(next->fPoint); in simplify_boundary()
1748 remove_edge(prevEdge, boundary); in simplify_boundary()
1750 prevEdge = boundary->fTail; in simplify_boundary()
1752 if (prevEdge) { in simplify_boundary()
1753 get_edge_normal(prevEdge, &prevNormal); in simplify_boundary()
1763 remove_edge(prevEdge, boundary); in simplify_boundary()
1766 prevEdge = join->fLeft; in simplify_boundary()
[all …]