Searched refs:fFocalX (Results 1 – 7 of 7) sorted by relevance
/third_party/skia/src/shaders/gradients/ |
D | SkTwoPointConicalGradient.cpp | 20 fFocalX = sk_ieee_float_divide(r0, (r0 - r1)); in set() 21 if (SkScalarNearlyZero(fFocalX - 1)) { in set() 26 fFocalX = 0; // because r0 is now 0 in set() 31 const SkPoint from[2] = { {fFocalX, 0}, {1, 0} }; in set() 38 fR1 = r1 / SkScalarAbs(1 - fFocalX); // focalMatrix has a scale of 1/(1-f) in set() 47 matrix->postScale(SkScalarAbs(1 - fFocalX), SkScalarAbs(1 - fFocalX)); // scale |1 - f| in set() 183 ctx->fP1 = fFocalData.fFocalX; in appendGradientStages() 189 } else if (fFocalData.isSwapped() || 1 - fFocalData.fFocalX < 0) { in appendGradientStages() 198 if (1 - fFocalData.fFocalX < 0) { in appendGradientStages() 247 if (fFocalData.isSwapped() || 1 - fFocalData.fFocalX < 0) { in transformT() [all …]
|
D | SkTwoPointConicalGradient.h | 19 SkScalar fFocalX; // f member 37 bool isNativelyFocal() const { return SkScalarNearlyZero(fFocalX); } in isNativelyFocal()
|
/third_party/flutter/skia/src/shaders/gradients/ |
D | SkTwoPointConicalGradient.cpp | 20 fFocalX = sk_ieee_float_divide(r0, (r0 - r1)); in set() 21 if (SkScalarNearlyZero(fFocalX - 1)) { in set() 26 fFocalX = 0; // because r0 is now 0 in set() 31 const SkPoint from[2] = { {fFocalX, 0}, {1, 0} }; in set() 38 fR1 = r1 / SkScalarAbs(1 - fFocalX); // focalMatrix has a scale of 1/(1-f) in set() 47 matrix->postScale(SkScalarAbs(1 - fFocalX), SkScalarAbs(1 - fFocalX)); // scale |1 - f| in set() 208 ctx->fP1 = fFocalData.fFocalX; in appendGradientStages() 214 } else if (fFocalData.isSwapped() || 1 - fFocalData.fFocalX < 0) { in appendGradientStages() 223 if (1 - fFocalData.fFocalX < 0) { in appendGradientStages()
|
D | SkTwoPointConicalGradient.h | 19 SkScalar fFocalX; // f member 37 bool isNativelyFocal() const { return SkScalarNearlyZero(fFocalX); } in isNativelyFocal()
|
/third_party/flutter/skia/src/gpu/gradients/generated/ |
D | GrTwoPointConicalGradientLayout.cpp | 271 isRadiusIncreasing = (1 - focalData.fFocalX) > 0; in Make() 273 focalParams.set(1.0 / focalData.fR1, focalData.fFocalX); in Make()
|
/third_party/flutter/skia/src/gpu/gradients/ |
D | GrTwoPointConicalGradientLayout.fp | 187 isRadiusIncreasing = (1 - focalData.fFocalX) > 0; 189 focalParams.set(1.0 / focalData.fR1, focalData.fFocalX);
|
/third_party/skia/src/gpu/gradients/ |
D | GrGradientShader.cpp | 967 bool isRadiusIncreasing = (1 - focalData.fFocalX) > 0, in MakeConical() 981 "fx", focalData.fFocalX); in MakeConical()
|