Home
last modified time | relevance | path

Searched refs:SkFDot6ToFixed (Results 1 – 12 of 12) sorted by relevance

/external/skia/src/core/
DSkEdge.cpp79 fX = SkFDot6ToFixed(x0 + SkFixedMul(slope, dy)); // + SK_Fixed1/2 in setLine()
120 fX = SkFDot6ToFixed(x0 + SkFixedMul(slope, dy)); // + SK_Fixed1/2 in updateLine()
262 SkFixed B = SkFDot6ToFixed(x1 - x0); // 1/2 the real value in setQuadraticWithoutUpdate()
264 fQx = SkFDot6ToFixed(x0); in setQuadraticWithoutUpdate()
269 B = SkFDot6ToFixed(y1 - y0); // 1/2 the real value in setQuadraticWithoutUpdate()
271 fQy = SkFDot6ToFixed(y0); in setQuadraticWithoutUpdate()
275 fQLastX = SkFDot6ToFixed(x2); in setQuadraticWithoutUpdate()
276 fQLastY = SkFDot6ToFixed(y2); in setQuadraticWithoutUpdate()
431 fCx = SkFDot6ToFixed(x0); in setCubicWithoutUpdate()
440 fCy = SkFDot6ToFixed(y0); in setCubicWithoutUpdate()
[all …]
DSkAnalyticEdge.cpp234 SkFixed x0 = SkFDot6ToFixed(SkScalarRoundToFDot6(p0.fX, accuracy)) >> accuracy; in setLine()
235 SkFixed y0 = SnapY(SkFDot6ToFixed(SkScalarRoundToFDot6(p0.fY, accuracy)) >> accuracy); in setLine()
236 SkFixed x1 = SkFDot6ToFixed(SkScalarRoundToFDot6(p1.fX, accuracy)) >> accuracy; in setLine()
237 SkFixed y1 = SnapY(SkFDot6ToFixed(SkScalarRoundToFDot6(p1.fY, accuracy)) >> accuracy); in setLine()
240 SkFixed x0 = SkFDot6ToFixed(SkScalarToFDot6(p0.fX * multiplier)) >> accuracy; in setLine()
241 SkFixed y0 = SnapY(SkFDot6ToFixed(SkScalarToFDot6(p0.fY * multiplier)) >> accuracy); in setLine()
242 SkFixed x1 = SkFDot6ToFixed(SkScalarToFDot6(p1.fX * multiplier)) >> accuracy; in setLine()
243 SkFixed y1 = SnapY(SkFDot6ToFixed(SkScalarToFDot6(p1.fY * multiplier)) >> accuracy); in setLine()
DSkFDot6.h58 inline SkFixed SkFDot6ToFixed(SkFDot6 x) { in SkFDot6ToFixed() function
DSkEdge.h128 fX = SkFDot6ToFixed(x0 + SkFixedMul(slope, dy)); // + SK_Fixed1/2 in setLine()
DSkScan_Hairline.cpp126 SkFixed startY = SkFDot6ToFixed(y0) + (slope * ((32 - x0) & 63) >> 6); in HairLineRgn()
142 SkFixed startX = SkFDot6ToFixed(x0) + (slope * ((32 - y0) & 63) >> 6); in HairLineRgn()
DSkScan_Antihair.cpp356 fstart = SkFDot6ToFixed(y0); in do_anti_hairline()
430 fstart = SkFDot6ToFixed(x0); in do_anti_hairline()
/external/skqp/src/core/
DSkEdge.cpp79 fX = SkFDot6ToFixed(x0 + SkFixedMul(slope, dy)); // + SK_Fixed1/2 in setLine()
120 fX = SkFDot6ToFixed(x0 + SkFixedMul(slope, dy)); // + SK_Fixed1/2 in updateLine()
262 SkFixed B = SkFDot6ToFixed(x1 - x0); // 1/2 the real value in setQuadraticWithoutUpdate()
264 fQx = SkFDot6ToFixed(x0); in setQuadraticWithoutUpdate()
269 B = SkFDot6ToFixed(y1 - y0); // 1/2 the real value in setQuadraticWithoutUpdate()
271 fQy = SkFDot6ToFixed(y0); in setQuadraticWithoutUpdate()
275 fQLastX = SkFDot6ToFixed(x2); in setQuadraticWithoutUpdate()
276 fQLastY = SkFDot6ToFixed(y2); in setQuadraticWithoutUpdate()
431 fCx = SkFDot6ToFixed(x0); in setCubicWithoutUpdate()
440 fCy = SkFDot6ToFixed(y0); in setCubicWithoutUpdate()
[all …]
DSkAnalyticEdge.cpp234 SkFixed x0 = SkFDot6ToFixed(SkScalarRoundToFDot6(p0.fX, accuracy)) >> accuracy; in setLine()
235 SkFixed y0 = SnapY(SkFDot6ToFixed(SkScalarRoundToFDot6(p0.fY, accuracy)) >> accuracy); in setLine()
236 SkFixed x1 = SkFDot6ToFixed(SkScalarRoundToFDot6(p1.fX, accuracy)) >> accuracy; in setLine()
237 SkFixed y1 = SnapY(SkFDot6ToFixed(SkScalarRoundToFDot6(p1.fY, accuracy)) >> accuracy); in setLine()
240 SkFixed x0 = SkFDot6ToFixed(SkScalarToFDot6(p0.fX * multiplier)) >> accuracy; in setLine()
241 SkFixed y0 = SnapY(SkFDot6ToFixed(SkScalarToFDot6(p0.fY * multiplier)) >> accuracy); in setLine()
242 SkFixed x1 = SkFDot6ToFixed(SkScalarToFDot6(p1.fX * multiplier)) >> accuracy; in setLine()
243 SkFixed y1 = SnapY(SkFDot6ToFixed(SkScalarToFDot6(p1.fY * multiplier)) >> accuracy); in setLine()
DSkFDot6.h58 inline SkFixed SkFDot6ToFixed(SkFDot6 x) { in SkFDot6ToFixed() function
DSkEdge.h128 fX = SkFDot6ToFixed(x0 + SkFixedMul(slope, dy)); // + SK_Fixed1/2 in setLine()
DSkScan_Hairline.cpp126 SkFixed startY = SkFDot6ToFixed(y0) + (slope * ((32 - x0) & 63) >> 6); in HairLineRgn()
142 SkFixed startX = SkFDot6ToFixed(x0) + (slope * ((32 - y0) & 63) >> 6); in HairLineRgn()
DSkScan_Antihair.cpp356 fstart = SkFDot6ToFixed(y0); in do_anti_hairline()
430 fstart = SkFDot6ToFixed(x0); in do_anti_hairline()