Home
last modified time | relevance | path

Searched refs:newEdge (Results 1 – 6 of 6) sorted by relevance

/third_party/flutter/skia/src/core/
DSkScan_Path.cpp44 static void insert_new_edges(SkEdge* newEdge, int curr_y) { in insert_new_edges() argument
45 if (newEdge->fFirstY != curr_y) { in insert_new_edges()
48 SkEdge* prev = newEdge->fPrev; in insert_new_edges()
49 if (prev->fX <= newEdge->fX) { in insert_new_edges()
53 SkEdge* start = backward_insert_start(prev, newEdge->fX); in insert_new_edges()
56 SkEdge* next = newEdge->fNext; in insert_new_edges()
58 if (start->fNext == newEdge) { in insert_new_edges()
62 if (after->fX >= newEdge->fX) { in insert_new_edges()
67 remove_edge(newEdge); in insert_new_edges()
68 insert_edge_after(newEdge, start); in insert_new_edges()
[all …]
DSkScan_AAAPath.cpp1371 static void insert_new_edges(SkAnalyticEdge* newEdge, SkFixed y, SkFixed* nextNextY) { in insert_new_edges() argument
1372 if (newEdge->fUpperY > y) { in insert_new_edges()
1373 update_next_next_y(newEdge->fUpperY, y, nextNextY); in insert_new_edges()
1376 SkAnalyticEdge* prev = newEdge->fPrev; in insert_new_edges()
1377 if (prev->fX <= newEdge->fX) { in insert_new_edges()
1378 while (newEdge->fUpperY <= y) { in insert_new_edges()
1379 check_intersection(newEdge, y, nextNextY); in insert_new_edges()
1380 update_next_next_y(newEdge->fLowerY, y, nextNextY); in insert_new_edges()
1381 newEdge = newEdge->fNext; in insert_new_edges()
1383 update_next_next_y(newEdge->fUpperY, y, nextNextY); in insert_new_edges()
[all …]
/third_party/skia/src/core/
DSkScan_Path.cpp44 static void insert_new_edges(SkEdge* newEdge, int curr_y) { in insert_new_edges() argument
45 if (newEdge->fFirstY != curr_y) { in insert_new_edges()
48 SkEdge* prev = newEdge->fPrev; in insert_new_edges()
49 if (prev->fX <= newEdge->fX) { in insert_new_edges()
53 SkEdge* start = backward_insert_start(prev, newEdge->fX); in insert_new_edges()
56 SkEdge* next = newEdge->fNext; in insert_new_edges()
58 if (start->fNext == newEdge) { in insert_new_edges()
62 if (after->fX >= newEdge->fX) { in insert_new_edges()
67 remove_edge(newEdge); in insert_new_edges()
68 insert_edge_after(newEdge, start); in insert_new_edges()
[all …]
DSkScan_AAAPath.cpp1377 static void insert_new_edges(SkAnalyticEdge* newEdge, SkFixed y, SkFixed* nextNextY) { in insert_new_edges() argument
1378 if (newEdge->fUpperY > y) { in insert_new_edges()
1379 update_next_next_y(newEdge->fUpperY, y, nextNextY); in insert_new_edges()
1382 SkAnalyticEdge* prev = newEdge->fPrev; in insert_new_edges()
1383 if (prev->fX <= newEdge->fX) { in insert_new_edges()
1384 while (newEdge->fUpperY <= y) { in insert_new_edges()
1385 check_intersection(newEdge, y, nextNextY); in insert_new_edges()
1386 update_next_next_y(newEdge->fLowerY, y, nextNextY); in insert_new_edges()
1387 newEdge = newEdge->fNext; in insert_new_edges()
1389 update_next_next_y(newEdge->fUpperY, y, nextNextY); in insert_new_edges()
[all …]
/third_party/skia/src/gpu/geometry/
DGrTriangulator.cpp915 Edge* newEdge = fAlloc->make<Edge>(top, bottom, winding, edge->fType); in splitEdge() local
916 newEdge->insertBelow(top, c); in splitEdge()
917 newEdge->insertAbove(bottom, c); in splitEdge()
918 this->mergeCollinearEdges(newEdge, activeEdges, current, c); in splitEdge()
/third_party/flutter/skia/src/gpu/
DGrTessellator.cpp1120 Edge* newEdge = alloc.make<Edge>(top, bottom, winding, edge->fType); in split_edge() local
1121 insert_edge_below(newEdge, top, c); in split_edge()
1122 insert_edge_above(newEdge, bottom, c); in split_edge()
1123 merge_collinear_edges(newEdge, activeEdges, current, c); in split_edge()