Lines Matching refs:fOrigPos
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()
392 if (!fOrigPos) { in onAppendStages()
409 if (fColorCount == 2 && fOrigPos == nullptr) { in onAppendStages()
430 if (fOrigPos == nullptr) { in onAppendStages()
465 float t_l = fOrigPos[firstStop]; in onAppendStages()
470 float t_r = fOrigPos[i + 1]; in onAppendStages()
1317 if (shader.fOrigPos) { in determineColorType()
1319 if (SkScalarNearlyEqual(shader.fOrigPos[0], 0.0f) && in determineColorType()
1320 SkScalarNearlyEqual(shader.fOrigPos[1], shader.fOrigPos[2]) && in determineColorType()
1321 SkScalarNearlyEqual(shader.fOrigPos[3], 1.0f)) { in determineColorType()
1326 if (SkScalarNearlyEqual(shader.fOrigPos[0], 0.0f) && in determineColorType()
1327 SkScalarNearlyEqual(shader.fOrigPos[1], 0.0f) && in determineColorType()
1328 SkScalarNearlyEqual(shader.fOrigPos[2], 1.0f)) { in determineColorType()
1331 } else if (SkScalarNearlyEqual(shader.fOrigPos[0], 0.0f) && in determineColorType()
1332 SkScalarNearlyEqual(shader.fOrigPos[1], 1.0f) && in determineColorType()
1333 SkScalarNearlyEqual(shader.fOrigPos[2], 1.0f)) { in determineColorType()
1776 if (shader.fOrigPos) { in GrGradientEffect()
1777 fPositions = SkTDArray<SkScalar>(shader.fOrigPos, shader.fColorCount); in GrGradientEffect()