Home
last modified time | relevance | path

Searched refs:fDX (Results 1 – 18 of 18) sorted by relevance

/third_party/skia/src/core/
DSkAnalyticEdge.h32 SkFixed fDX; member
60 fX = fX + fDX; in goY()
65 fX = fUpperX + SkFixedMul(fDX, y - fUpperY); in goY()
72 SkASSERT(fDX == 0 || y - fY == SK_Fixed1 >> yShift); in goY()
74 fX += fDX >> yShift; in goY()
93 SkFixedToFloat(fDX), fWinding); in dump()
118 SkASSERT(SkAbs32(fX - SkFixedMul(fY - fSnappedY, fDX) - fSnappedX) < SK_Fixed1); in keepContinuous()
133 SkASSERT(SkAbs32(fX - SkFixedMul(fDX, fY - SnapY(fCEdge.fCy)) - fCEdge.fCx) < SK_Fixed1); in keepContinuous()
DSkEdge.h32 SkFixed fDX; member
53 …d lastY:%d x:%g dx:%g w:%d\n", fFirstY, fLastY, SkFixedToFloat(fX), SkFixedToFloat(fDX), fWinding); in dump()
129 fDX = slope; in setLine()
DSkScan_AAAPath.cpp1014 valuea = a.fDX; in operator <()
1015 valueb = b.fDX; in operator <()
1066 return SkAbs32(nextEdge->fDX - thisEdge->fDX) <= SK_Fixed1 && // DDx should be small in is_smooth_enough()
1148 if (leftE->fX > riteE->fX || (leftE->fX == riteE->fX && leftE->fDX > riteE->fDX)) { in aaa_walk_convex_edges()
1159 SkFixed dLeft = leftE->fDX; in aaa_walk_convex_edges()
1161 SkFixed dRite = riteE->fDX; in aaa_walk_convex_edges()
1372 if (edge->fPrev->fPrev && edge->fPrev->fX + edge->fPrev->fDX > edge->fX + edge->fDX) { in check_intersection()
1446 prev->fX + SLACK >= next->fX - SkAbs32(next->fDX); in edges_too_close()
1894 headEdge.fDX = 0; in aaa_fill_path()
1904 tailEdge.fDX = 0; in aaa_fill_path()
DSkEdgeBuilder.cpp20 if (last->fCurveCount || last->fDX || edge->fX != last->fX) { in combineVertical()
66 if (last->fCurveCount || last->fDX || edge->fX != last->fX) { in combineVertical()
112 return edge->fDX == 0 in is_vertical()
DSkEdge.cpp80 fDX = slope; in setLine()
121 fDX = slope; in updateLine()
138 fX += fDX * (clip.fTop - top); in chopLineWithClip()
DSkAnalyticEdge.cpp265 fDX = slope; in setLine()
313 fDX = slope; in updateLine()
DSkScan_Path.cpp159 newX = currE->fX + currE->fDX; in walk_edges()
243 SkFixed dLeft = leftE->fDX; in walk_simple_edges()
245 SkFixed dRite = riteE->fDX; in walk_simple_edges()
/third_party/flutter/skia/src/core/
DSkAnalyticEdge.h32 SkFixed fDX; member
60 fX = fX + fDX; in goY()
65 fX = fUpperX + SkFixedMul(fDX, y - fUpperY); in goY()
72 SkASSERT(fDX == 0 || y - fY == SK_Fixed1 >> yShift); in goY()
74 fX += fDX >> yShift; in goY()
93 SkFixedToFloat(fDX), fWinding); in dump()
118 SkASSERT(SkAbs32(fX - SkFixedMul(fY - fSnappedY, fDX) - fSnappedX) < SK_Fixed1); in keepContinuous()
133 SkASSERT(SkAbs32(fX - SkFixedMul(fDX, fY - SnapY(fCEdge.fCy)) - fCEdge.fCx) < SK_Fixed1); in keepContinuous()
DSkEdge.h32 SkFixed fDX; member
53 …d lastY:%d x:%g dx:%g w:%d\n", fFirstY, fLastY, SkFixedToFloat(fX), SkFixedToFloat(fDX), fWinding); in dump()
129 fDX = slope; in setLine()
DSkScan_AAAPath.cpp1015 valuea = a.fDX; in operator <()
1016 valueb = b.fDX; in operator <()
1067 return SkAbs32(nextEdge->fDX - thisEdge->fDX) <= SK_Fixed1 && // DDx should be small in is_smooth_enough()
1149 if (leftE->fX > riteE->fX || (leftE->fX == riteE->fX && leftE->fDX > riteE->fDX)) { in aaa_walk_convex_edges()
1160 SkFixed dLeft = leftE->fDX; in aaa_walk_convex_edges()
1162 SkFixed dRite = riteE->fDX; in aaa_walk_convex_edges()
1366 if (edge->fPrev->fPrev && edge->fPrev->fX + edge->fPrev->fDX > edge->fX + edge->fDX) { in check_intersection()
1440 prev->fX + SLACK >= next->fX - SkAbs32(next->fDX); in edges_too_close()
1890 headEdge.fDX = 0; in aaa_fill_path()
1900 tailEdge.fDX = 0; in aaa_fill_path()
DSkEdge.cpp80 fDX = slope; in setLine()
121 fDX = slope; in updateLine()
138 fX += fDX * (clip.fTop - top); in chopLineWithClip()
DSkEdgeBuilder.cpp20 if (last->fCurveCount || last->fDX || edge->fX != last->fX) { in combineVertical()
66 if (last->fCurveCount || last->fDX || edge->fX != last->fX) { in combineVertical()
112 return edge->fDX == 0 in is_vertical()
DSkAnalyticEdge.cpp265 fDX = slope; in setLine()
313 fDX = slope; in updateLine()
DSkScan_Path.cpp160 newX = currE->fX + currE->fDX; in walk_edges()
244 SkFixed dLeft = leftE->fDX; in walk_simple_edges()
246 SkFixed dRite = riteE->fDX; in walk_simple_edges()
/third_party/flutter/skia/samplecode/
DSampleBitmapRect.cpp127 SkScalar fDX = 1; member in BitmapRectView2
153 bounce(&fSrcR.fLeft, &fDX, fLimitR.fLeft, fLimitR.fRight - width); in onAnimate()
/third_party/skia/src/gpu/geometry/
DGrQuadUtils.cpp673 fDX = next_ccw(fX2D) - fX2D; in reset()
675 fInvLengths = 1.f / sqrt(fDX*fDX + fDY*fDY); in reset()
678 fDX *= fInvLengths; in reset()
686 fCosTheta = fDX*next_cw(fDX) + fDY*next_cw(fDY); in reset()
696 V4f dx = edgeVectors.fDX; in reset()
987 fX += signedOutsetsCW * next_cw(edgeVectors.fDX) + signedOutsets * edgeVectors.fDX; in moveAlong()
DGrQuadUtils.h111 skvx::Vec<4, float> fDX, fDY; member
/third_party/flutter/skia/src/gpu/ops/
DGrQuadPerEdgeAA.cpp40 V4f fDX, fDY; member
111 V4f dx = metadata.fDX; in get_edge_equations()
143 V4f cosTheta = fma(metadata.fDX, nextCW(metadata.fDX), metadata.fDY * nextCW(metadata.fDY)); in get_optimized_outset()
171 quad->fX += fma(maskedOutsetCW, nextCW(metadata.fDX), maskedOutset * metadata.fDX); in outset_vertices()