Searched refs:SkScalarClampMax (Results 1 – 6 of 6) sorted by relevance
430 v = SkScalarClampMax(v + 1.f / lodY, 1); in MakeVertices()432 u = SkScalarClampMax(u + 1.f / lodX, 1); in MakeVertices()
123 static inline SkScalar SkScalarClampMax(SkScalar x, SkScalar max) { in SkScalarClampMax() function
273 t.fX = SkScalarClampMax(t.x(), 1.0); in init()274 t.fY = SkScalarClampMax(t.y(), 1.0); in init()
158 colorScale = SkScalarClampMax(colorScale, SK_Scalar1); in light()183 colorScale = SkScalarClampMax(colorScale, SK_Scalar1); in light()
649 return SkScalarClampMax(result, 1.0f); in compute_coverage()
591 result = SkScalarClampMax((result + 1.0f) / 2.0f, 1.0f); in calculateImprovedNoiseValueForPoint()