Home
last modified time | relevance | path

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

/third_party/skia/src/shaders/gradients/
DSkTwoPointConicalGradient.cpp106 fFocalData = data; in SkTwoPointConicalGradient()
182 ctx->fP0 = 1/fFocalData.fR1; in appendGradientStages()
183 ctx->fP1 = fFocalData.fFocalX; in appendGradientStages()
185 if (fFocalData.isFocalOnCircle()) { in appendGradientStages()
187 } else if (fFocalData.isWellBehaved()) { in appendGradientStages()
189 } else if (fFocalData.isSwapped() || 1 - fFocalData.fFocalX < 0) { in appendGradientStages()
195 if (!fFocalData.isWellBehaved()) { in appendGradientStages()
198 if (1 - fFocalData.fFocalX < 0) { in appendGradientStages()
201 if (!fFocalData.isNativelyFocal()) { in appendGradientStages()
204 if (fFocalData.isSwapped()) { in appendGradientStages()
[all …]
DSkTwoPointConicalGradient.h64 const FocalData& getFocalData() const { return fFocalData; } in getFocalData()
88 FocalData fFocalData; variable
/third_party/flutter/skia/src/shaders/gradients/
DSkTwoPointConicalGradient.cpp106 fFocalData = data; in SkTwoPointConicalGradient()
207 ctx->fP0 = 1/fFocalData.fR1; in appendGradientStages()
208 ctx->fP1 = fFocalData.fFocalX; in appendGradientStages()
210 if (fFocalData.isFocalOnCircle()) { in appendGradientStages()
212 } else if (fFocalData.isWellBehaved()) { in appendGradientStages()
214 } else if (fFocalData.isSwapped() || 1 - fFocalData.fFocalX < 0) { in appendGradientStages()
220 if (!fFocalData.isWellBehaved()) { in appendGradientStages()
223 if (1 - fFocalData.fFocalX < 0) { in appendGradientStages()
226 if (!fFocalData.isNativelyFocal()) { in appendGradientStages()
229 if (fFocalData.isSwapped()) { in appendGradientStages()
[all …]
DSkTwoPointConicalGradient.h64 const FocalData& getFocalData() const { return fFocalData; } in getFocalData()
85 FocalData fFocalData; variable