Home
last modified time | relevance | path

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

/external/skia/src/effects/gradients/
DSk4fGradientBase.cpp142 const bool dx_is_pos = fDstToPos.getScaleX() >= 0; in GradientShaderBase4fContext() local
143 if (!dx_is_pos) { in GradientShaderBase4fContext()
153 const SkScalar clamp_pos = dx_is_pos ? SK_ScalarMin : SK_ScalarMax; in GradientShaderBase4fContext()
166 const SkScalar curr_pos = (dx_is_pos) in GradientShaderBase4fContext()
205 const SkScalar clamp_pos = dx_is_pos ? SK_ScalarMax : SK_ScalarMin; in GradientShaderBase4fContext()
221 if (!dx_is_pos) { in GradientShaderBase4fContext()
DSkLinearGradient.cpp616 template <bool apply_alpha, bool dx_is_pos>
627 if (dx_is_pos) { in shade4_dx_clamp()
655 if (dx_is_pos) { in shade4_dx_clamp()
662 if (dx_is_pos) { in shade4_dx_clamp()
674 if (dx_is_pos) { in shade4_dx_clamp()
691 if (dx_is_pos) { in shade4_dx_clamp()
700 if (dx_is_pos) { in shade4_dx_clamp()