Home
last modified time | relevance | path

Searched refs:kSnapHalf (Results 1 – 2 of 2) sorted by relevance

/external/skia/src/core/
DSkScan_AAAPath.cpp1247 const SkFixed kSnapHalf = kSnapDigit >> 1; in aaa_walk_convex_edges() local
1249 left += kSnapHalf; in aaa_walk_convex_edges()
1250 rite += kSnapHalf; // For fast rounding in aaa_walk_convex_edges()
1329 SkFixed nextLeft = std::max(left + SkFixedMul(dLeft, dY), leftBound + kSnapHalf); in aaa_walk_convex_edges()
1330 SkFixed nextRite = std::min(rite + SkFixedMul(dRite, dY), riteBound + kSnapHalf); in aaa_walk_convex_edges()
1348 left -= kSnapHalf; in aaa_walk_convex_edges()
1349 rite -= kSnapHalf; in aaa_walk_convex_edges()
/external/skqp/src/core/
DSkScan_AAAPath.cpp1136 const SkFixed kSnapHalf = kSnapDigit >> 1; in aaa_walk_convex_edges() local
1138 left += kSnapHalf; rite += kSnapHalf; // For fast rounding in aaa_walk_convex_edges()
1204 SkFixed nextLeft = SkTMax(left + SkFixedMul(dLeft, dY), leftBound + kSnapHalf); in aaa_walk_convex_edges()
1205 SkFixed nextRite = SkTMin(rite + SkFixedMul(dRite, dY), riteBound + kSnapHalf); in aaa_walk_convex_edges()
1213 left -= kSnapHalf; rite -= kSnapHalf; in aaa_walk_convex_edges()