Home
last modified time | relevance | path

Searched refs:fOrigPos (Results 1 – 4 of 4) sorted by relevance

/external/skia/src/effects/gradients/
DSkGradientShader.cpp131 fOrigPos = (SkScalar*)(fOrigColors + fColorCount); in SkGradientShaderBase()
132 fRecs = (Rec*)(fOrigPos + fColorCount); in SkGradientShaderBase()
134 fOrigPos = nullptr; in SkGradientShaderBase()
144 SkScalar* origPosPtr = fOrigPos; in SkGradientShaderBase()
179 fOrigPos = nullptr; in SkGradientShaderBase()
195 fOrigPos[0] = SkScalarPin(desc.fPos[0], 0, 1); in SkGradientShaderBase()
196 fOrigPos[1] = SkScalarPin(desc.fPos[1], fOrigPos[0], 1); in SkGradientShaderBase()
197 if (0 == fOrigPos[0] && 1 == fOrigPos[1]) { in SkGradientShaderBase()
198 fOrigPos = nullptr; in SkGradientShaderBase()
221 desc.fPos = fOrigPos; in flatten()
DSk4fGradientBase.cpp162 if (shader.fOrigPos) { in GradientShaderBase4fContext()
167 ? SkTPin(shader.fOrigPos[curr], prev_pos, last_pos) in GradientShaderBase4fContext()
168 : SkTPin(shader.fOrigPos[curr], last_pos, prev_pos); in GradientShaderBase4fContext()
DSkGradientShaderPriv.h266 SkScalar* fOrigPos; // original positions variable
DSkLinearGradient.cpp121 if (shader.fOrigPos) { in LinearGradientContext()
125 rec[i].fPos = SkTPin(shader.fOrigPos[i], rec[i - 1].fPos, 1.0f); in LinearGradientContext()