Searched refs:fOrigPos (Results 1 – 4 of 4) sorted by relevance
/external/skia/src/effects/gradients/ |
D | SkGradientShader.cpp | 131 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()
|
D | Sk4fGradientBase.cpp | 162 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()
|
D | SkGradientShaderPriv.h | 266 SkScalar* fOrigPos; // original positions variable
|
D | SkLinearGradient.cpp | 121 if (shader.fOrigPos) { in LinearGradientContext() 125 rec[i].fPos = SkTPin(shader.fOrigPos[i], rec[i - 1].fPos, 1.0f); in LinearGradientContext()
|