Home
last modified time | relevance | path

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

/external/skia/src/effects/gradients/
DSkGradientShader.cpp228 fOrigPos = (SkScalar*)(fOrigColors4f + fColorCount); in SkGradientShaderBase()
229 fRecs = (Rec*)(fOrigPos + fColorCount); in SkGradientShaderBase()
231 fOrigPos = nullptr; in SkGradientShaderBase()
241 SkScalar* origPosPtr = fOrigPos; in SkGradientShaderBase()
276 fOrigPos = nullptr; in SkGradientShaderBase()
292 fOrigPos[0] = SkScalarPin(desc.fPos[0], 0, 1); in SkGradientShaderBase()
293 fOrigPos[1] = SkScalarPin(desc.fPos[1], fOrigPos[0], 1); in SkGradientShaderBase()
294 if (0 == fOrigPos[0] && 1 == fOrigPos[1]) { in SkGradientShaderBase()
295 fOrigPos = nullptr; in SkGradientShaderBase()
319 desc.fPos = fOrigPos; in flatten()
[all …]
DSkLinearGradient.cpp110 SkASSERT(fOrigPos == nullptr || (fOrigPos[0] == 0 && fOrigPos[1] == 1)); in onAppendStages()
176 if (shader.fOrigPos) { in LinearGradientContext()
180 rec[i].fPos = SkTPin(shader.fOrigPos[i], rec[i - 1].fPos, 1.0f); in LinearGradientContext()
DSkGradientShaderPriv.h260 SkScalar* fOrigPos; // original positions variable
DSk4fLinearGradient.cpp132 fIntervals.init(shader.fOrigColors, shader.fOrigPos, shader.fColorCount, shader.fTileMode, in LinearGradient4fContext()