Searched refs:fOrigPos (Results 1 – 7 of 7) sorted by relevance
/external/skia/src/shaders/gradients/ |
D | SkGradientShader.cpp | 190 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 …]
|
D | SkTwoPointConicalGradient.cpp | 127 SkScalar* origPos = fOrigPos ? origPosStorage.begin() : nullptr; in onMakeColorSpace() 138 origPos[i] = fFlippedGrad ? 1.0f - fOrigPos[fColorCount - i - 1] : fOrigPos[i]; in onMakeColorSpace()
|
D | Sk4fGradientBase.cpp | 35 if (!fShader.fOrigPos) { in iterate() 51 ? SkTPin(fShader.fOrigPos[curr], prevPos, lastPos) in iterate() 52 : SkTPin(fShader.fOrigPos[curr], lastPos, prevPos); in iterate()
|
D | SkLinearGradient.cpp | 94 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()
|
D | SkSweepGradient.cpp | 202 return SkGradientShader::MakeSweep(fCenter.fX, fCenter.fY, xformedColors.begin(), fOrigPos, in onMakeColorSpace()
|
D | SkGradientShaderPriv.h | 271 SkScalar* fOrigPos; // original positions variable
|
D | SkRadialGradient.cpp | 357 return SkGradientShader::MakeRadial(fCenter, fRadius, xformedColors.begin(), fOrigPos, in onMakeColorSpace()
|