Home
last modified time | relevance | path

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

/external/skqp/src/gpu/ops/
DGrDashOp.cpp121 SkScalar srcIntervalLen = intervals[0] + intervals[1]; in calc_start_adjustment() local
122 return srcIntervalLen - phase; in calc_start_adjustment()
132 SkScalar srcIntervalLen = intervals[0] + intervals[1]; in calc_end_adjustment() local
134 SkScalar temp = totalLen / srcIntervalLen; in calc_end_adjustment()
136 *endingInt = totalLen - numFullIntervals * srcIntervalLen + phase; in calc_end_adjustment()
137 temp = *endingInt / srcIntervalLen; in calc_end_adjustment()
138 *endingInt = *endingInt - SkScalarFloorToScalar(temp) * srcIntervalLen; in calc_end_adjustment()
140 *endingInt = srcIntervalLen; in calc_end_adjustment()
/external/skia/src/gpu/ops/
DGrDashOp.cpp121 SkScalar srcIntervalLen = intervals[0] + intervals[1]; in calc_start_adjustment() local
122 return srcIntervalLen - phase; in calc_start_adjustment()
132 SkScalar srcIntervalLen = intervals[0] + intervals[1]; in calc_end_adjustment() local
134 SkScalar temp = totalLen / srcIntervalLen; in calc_end_adjustment()
136 *endingInt = totalLen - numFullIntervals * srcIntervalLen + phase; in calc_end_adjustment()
137 temp = *endingInt / srcIntervalLen; in calc_end_adjustment()
138 *endingInt = *endingInt - SkScalarFloorToScalar(temp) * srcIntervalLen; in calc_end_adjustment()
140 *endingInt = srcIntervalLen; in calc_end_adjustment()