Home
last modified time | relevance | path

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

/external/skia/src/shaders/gradients/
DSkGradientShader.cpp190 fOrigPos = (SkScalar*)(fOrigColors4f + fColorCount); in SkGradientShaderBase()
191 fRecs = (Rec*)(fOrigPos + fColorCount); in SkGradientShaderBase()
193 fOrigPos = nullptr; in SkGradientShaderBase()
203 SkScalar* origPosPtr = fOrigPos; in SkGradientShaderBase()
238 fOrigPos = nullptr; in SkGradientShaderBase()
254 fOrigPos[0] = SkScalarPin(desc.fPos[0], 0, 1); in SkGradientShaderBase()
255 fOrigPos[1] = SkScalarPin(desc.fPos[1], fOrigPos[0], 1); in SkGradientShaderBase()
256 if (0 == fOrigPos[0] && 1 == fOrigPos[1]) { in SkGradientShaderBase()
257 fOrigPos = nullptr; in SkGradientShaderBase()
281 desc.fPos = fOrigPos; in flatten()
[all …]
DSkTwoPointConicalGradient.cpp127 SkScalar* origPos = fOrigPos ? origPosStorage.begin() : nullptr; in onMakeColorSpace()
138 origPos[i] = fFlippedGrad ? 1.0f - fOrigPos[fColorCount - i - 1] : fOrigPos[i]; in onMakeColorSpace()
DSk4fGradientBase.cpp35 if (!fShader.fOrigPos) { in iterate()
51 ? SkTPin(fShader.fOrigPos[curr], prevPos, lastPos) in iterate()
52 : SkTPin(fShader.fOrigPos[curr], lastPos, prevPos); in iterate()
DSkLinearGradient.cpp94 return SkGradientShader::MakeLinear(pts, xformedColors.begin(), fOrigPos, fColorCount, in onMakeColorSpace()
118 if (shader.fOrigPos) { in LinearGradientContext()
122 rec[i].fPos = SkTPin(shader.fOrigPos[i], rec[i - 1].fPos, 1.0f); in LinearGradientContext()
DSkSweepGradient.cpp202 return SkGradientShader::MakeSweep(fCenter.fX, fCenter.fY, xformedColors.begin(), fOrigPos, in onMakeColorSpace()
DSkGradientShaderPriv.h271 SkScalar* fOrigPos; // original positions variable
DSkRadialGradient.cpp357 return SkGradientShader::MakeRadial(fCenter, fRadius, xformedColors.begin(), fOrigPos, in onMakeColorSpace()