Home
last modified time | relevance | path

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

/external/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.cpp1370 static void insert_new_edges(SkAnalyticEdge* newEdge, SkFixed y, SkFixed* nextNextY) { in insert_new_edges() argument
1371 if (newEdge->fUpperY > y) { in insert_new_edges()
1372 update_next_next_y(newEdge->fUpperY, y, nextNextY); in insert_new_edges()
1375 SkAnalyticEdge* prev = newEdge->fPrev; in insert_new_edges()
1376 if (prev->fX <= newEdge->fX) { in insert_new_edges()
1377 while (newEdge->fUpperY <= y) { in insert_new_edges()
1378 check_intersection(newEdge, y, nextNextY); in insert_new_edges()
1379 update_next_next_y(newEdge->fLowerY, y, nextNextY); in insert_new_edges()
1380 newEdge = newEdge->fNext; in insert_new_edges()
1382 update_next_next_y(newEdge->fUpperY, y, nextNextY); in insert_new_edges()
[all …]
/external/skqp/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.cpp1241 static void insert_new_edges(SkAnalyticEdge* newEdge, SkFixed y, SkFixed* nextNextY) { in insert_new_edges() argument
1242 if (newEdge->fUpperY > y) { in insert_new_edges()
1243 updateNextNextY(newEdge->fUpperY, y, nextNextY); in insert_new_edges()
1246 SkAnalyticEdge* prev = newEdge->fPrev; in insert_new_edges()
1247 if (prev->fX <= newEdge->fX) { in insert_new_edges()
1248 while (newEdge->fUpperY <= y) { in insert_new_edges()
1249 checkIntersection(newEdge, y, nextNextY); in insert_new_edges()
1250 updateNextNextY(newEdge->fLowerY, y, nextNextY); in insert_new_edges()
1251 newEdge = newEdge->fNext; in insert_new_edges()
1253 updateNextNextY(newEdge->fUpperY, y, nextNextY); in insert_new_edges()
[all …]
/external/skia/src/gpu/
DGrTriangulator.cpp812 Edge* newEdge = fAlloc->make<Edge>(top, bottom, winding, edge->fType); in splitEdge() local
813 newEdge->insertBelow(top, c); in splitEdge()
814 newEdge->insertAbove(bottom, c); in splitEdge()
815 this->mergeCollinearEdges(newEdge, activeEdges, current, c); in splitEdge()
/external/skqp/src/gpu/
DGrTessellator.cpp1100 Edge* newEdge = alloc.make<Edge>(top, bottom, winding, edge->fType); in split_edge() local
1101 insert_edge_below(newEdge, top, c); in split_edge()
1102 insert_edge_above(newEdge, bottom, c); in split_edge()
1103 merge_collinear_edges(newEdge, activeEdges, current, c); in split_edge()
/external/llvm-project/lld/lib/ReaderWriter/MachO/
DMachONormalizedFileBinaryWriter.cpp1304 auto *newEdge = new (allocator) TrieEdge(partialStr, newNode); in addSymbol() local
1305 _children.insert(_children.end(), newEdge); in addSymbol()