Home
last modified time | relevance | path

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

/external/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()
1365 if (edge->fPrev->fPrev && edge->fPrev->fX + edge->fPrev->fDX > edge->fX + edge->fDX) { in check_intersection()
1439 prev->fX + SLACK >= next->fX - SkAbs32(next->fDX); in edges_too_close()
1887 headEdge.fDX = 0; in aaa_fill_path()
1897 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()
/external/skqp/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_DAAPath.cpp276 SkFixed nextX = currE->fX + SkFixedMul(currE->fDX, rowHeight); in gen_alpha_deltas()
287 nextX = currE->fX + SkFixedMul(currE->fDX, rowHeight); in gen_alpha_deltas()
298 nextX += currE->fDX; in gen_alpha_deltas()
306 SkASSERT(currE->fDX == 0); // If yes, we must be on an edge with fDX = 0. in gen_alpha_deltas()
319 nextX = currE->fX + SkFixedMul(currE->fDX, rowHeight); in gen_alpha_deltas()
DSkScan_AAAPath.cpp911 valuea = a.fDX; in operator <()
912 valueb = b.fDX; in operator <()
966 return SkAbs32(nextEdge->fDX - thisEdge->fDX) <= SK_Fixed1 && // DDx should be small in isSmoothEnough()
1049 leftE->fDX > riteE->fDX)) { in aaa_walk_convex_edges()
1061 SkFixed dLeft = leftE->fDX; in aaa_walk_convex_edges()
1063 SkFixed dRite = riteE->fDX; in aaa_walk_convex_edges()
1236 if (edge->fPrev->fPrev && edge->fPrev->fX + edge->fPrev->fDX > edge->fX + edge->fDX) { in checkIntersection()
1310 next->fX - SkAbs32(next->fDX); in edges_too_close()
1633 headEdge.fDX = 0; in aaa_fill_path()
1643 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()
/external/skqp/samplecode/
DSampleCircle.cpp29 SkScalar fDX, fDY, fRAD; member in CircleView
32 fDX = fDY = fRAD = 0; in CircleView()
DSampleBitmapRect.cpp182 SkScalar fDX; member in BitmapRectView2
187 bounce(&fSrcR.fLeft, &fDX, fLimitR.fLeft, fLimitR.fRight - width); in bounceMe()
193 fDX = SK_Scalar1; in resetBounce()
/external/skia/src/gpu/geometry/
DGrQuadUtils.cpp660 fDX = next_ccw(fX2D) - fX2D; in reset()
662 fInvLengths = 1.f / sqrt(fDX*fDX + fDY*fDY); in reset()
665 fDX *= fInvLengths; in reset()
673 fCosTheta = fDX*next_cw(fDX) + fDY*next_cw(fDY); in reset()
683 V4f dx = edgeVectors.fDX; in reset()
963 fX += signedOutsetsCW * next_cw(edgeVectors.fDX) + signedOutsets * edgeVectors.fDX; in moveAlong()
DGrQuadUtils.h104 skvx::Vec<4, float> fDX, fDY; member