Home
last modified time | relevance | path

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

/external/skia/src/core/
DSkScan_DAAPath.cpp235 SkAnalyticEdge* currE = &storage; in gen_alpha_deltas() local
242 edgeSet = currE->setLine(bezier->fP0, bezier->fP1); in gen_alpha_deltas()
243 originalWinding = currE->fWinding; in gen_alpha_deltas()
249 edgeSet = static_cast<SkAnalyticQuadraticEdge*>(currE)->setQuadratic(pts); in gen_alpha_deltas()
250 originalWinding = static_cast<SkAnalyticQuadraticEdge*>(currE)->fQEdge.fWinding; in gen_alpha_deltas()
257 edgeSet = static_cast<SkAnalyticCubicEdge*>(currE)->setCubic(pts, sortY); in gen_alpha_deltas()
258 originalWinding = static_cast<SkAnalyticCubicEdge*>(currE)->fCEdge.fWinding; in gen_alpha_deltas()
268 currE->fX = currE->fUpperX; in gen_alpha_deltas()
270 SkFixed upperFloor = SkFixedFloorToFixed(currE->fUpperY); in gen_alpha_deltas()
271 SkFixed lowerCeil = SkFixedCeilToFixed(currE->fLowerY); in gen_alpha_deltas()
[all …]
DSkScan_Path.cpp112 SkEdge* currE = prevHead->fNext; in walk_edges() local
115 validate_edges_for_y(currE, curr_y); in walk_edges()
121 while (currE->fFirstY <= curr_y) { in walk_edges()
122 SkASSERT(currE->fLastY >= curr_y); in walk_edges()
124 int x = SkFixedRoundToInt(currE->fX); in walk_edges()
130 w += currE->fWinding; in walk_edges()
140 SkEdge* next = currE->fNext; in walk_edges()
143 if (currE->fLastY == curr_y) { // are we done with this edge? in walk_edges()
144 if (currE->fCurveCount > 0) { in walk_edges()
145 if (((SkQuadraticEdge*)currE)->updateQuadratic()) { in walk_edges()
[all …]
DSkScan_AAAPath.cpp973 SkAnalyticEdge* currE, int stop_y) { in isSmoothEnough() argument
974 if (currE->fUpperY >= SkLeftShift(stop_y, 16)) { in isSmoothEnough()
978 return isSmoothEnough(leftE, currE, stop_y); // Only leftE is changing in isSmoothEnough()
980 return isSmoothEnough(riteE, currE, stop_y); // Only riteE is changing in isSmoothEnough()
984 SkAnalyticEdge* nextCurrE = currE->fNext; in isSmoothEnough()
989 if (nextCurrE->fUpperX < currE->fUpperX) { in isSmoothEnough()
991 swap(currE, nextCurrE); in isSmoothEnough()
993 return isSmoothEnough(leftE, currE, stop_y) && isSmoothEnough(riteE, nextCurrE, stop_y); in isSmoothEnough()
1003 SkAnalyticEdge* currE = (SkAnalyticEdge*) riteE->fNext; in aaa_walk_convex_edges() local
1017 if (SkFixedFloorToInt(currE->fUpperY) >= stop_y) { in aaa_walk_convex_edges()
[all …]
/external/skqp/src/core/
DSkScan_DAAPath.cpp235 SkAnalyticEdge* currE = &storage; in gen_alpha_deltas() local
242 edgeSet = currE->setLine(bezier->fP0, bezier->fP1); in gen_alpha_deltas()
243 originalWinding = currE->fWinding; in gen_alpha_deltas()
249 edgeSet = static_cast<SkAnalyticQuadraticEdge*>(currE)->setQuadratic(pts); in gen_alpha_deltas()
250 originalWinding = static_cast<SkAnalyticQuadraticEdge*>(currE)->fQEdge.fWinding; in gen_alpha_deltas()
257 edgeSet = static_cast<SkAnalyticCubicEdge*>(currE)->setCubic(pts, sortY); in gen_alpha_deltas()
258 originalWinding = static_cast<SkAnalyticCubicEdge*>(currE)->fCEdge.fWinding; in gen_alpha_deltas()
268 currE->fX = currE->fUpperX; in gen_alpha_deltas()
270 SkFixed upperFloor = SkFixedFloorToFixed(currE->fUpperY); in gen_alpha_deltas()
271 SkFixed lowerCeil = SkFixedCeilToFixed(currE->fLowerY); in gen_alpha_deltas()
[all …]
DSkScan_Path.cpp112 SkEdge* currE = prevHead->fNext; in walk_edges() local
115 validate_edges_for_y(currE, curr_y); in walk_edges()
121 while (currE->fFirstY <= curr_y) { in walk_edges()
122 SkASSERT(currE->fLastY >= curr_y); in walk_edges()
124 int x = SkFixedRoundToInt(currE->fX); in walk_edges()
130 w += currE->fWinding; in walk_edges()
140 SkEdge* next = currE->fNext; in walk_edges()
143 if (currE->fLastY == curr_y) { // are we done with this edge? in walk_edges()
144 if (currE->fCurveCount > 0) { in walk_edges()
145 if (((SkQuadraticEdge*)currE)->updateQuadratic()) { in walk_edges()
[all …]
DSkScan_AAAPath.cpp973 SkAnalyticEdge* currE, int stop_y) { in isSmoothEnough() argument
974 if (currE->fUpperY >= SkLeftShift(stop_y, 16)) { in isSmoothEnough()
978 return isSmoothEnough(leftE, currE, stop_y); // Only leftE is changing in isSmoothEnough()
980 return isSmoothEnough(riteE, currE, stop_y); // Only riteE is changing in isSmoothEnough()
984 SkAnalyticEdge* nextCurrE = currE->fNext; in isSmoothEnough()
989 if (nextCurrE->fUpperX < currE->fUpperX) { in isSmoothEnough()
991 swap(currE, nextCurrE); in isSmoothEnough()
993 return isSmoothEnough(leftE, currE, stop_y) && isSmoothEnough(riteE, nextCurrE, stop_y); in isSmoothEnough()
1003 SkAnalyticEdge* currE = (SkAnalyticEdge*) riteE->fNext; in aaa_walk_convex_edges() local
1017 if (SkFixedFloorToInt(currE->fUpperY) >= stop_y) { in aaa_walk_convex_edges()
[all …]