Searched refs:fGradient (Results 1 – 7 of 7) sorted by relevance
74 fGradient = new_type == InstanceType::kLinear in onSync()78 fShaderEffect->setShader(fGradient); in onSync()82 fGradient->setColorStops({{0, fStartColor}, in onSync()98 auto* lg = static_cast<sksg::LinearGradient*>(fGradient.get()); in onSync()104 auto* rg = static_cast<sksg::RadialGradient*>(fGradient.get()); in onSync()114 sk_sp<sksg::Gradient> fGradient; member in skottie::internal::__anon7d6d43050111::GradientRampEffectAdapter
56 fGradient = new_type == InstanceType::kLinear in apply()60 fRoot->setShader(fGradient); in apply()64 fGradient->setColorStops({ {0, fStartColor}, {1, fEndColor} }); in apply()77 auto* lg = static_cast<sksg::LinearGradient*>(fGradient.get()); in apply()83 auto* rg = static_cast<sksg::RadialGradient*>(fGradient.get()); in apply()93 sk_sp<sksg::Gradient> fGradient; member in skottie::internal::__anondb884e7a0111::GradientRampEffectAdapter
46 const sk_sp<sksg::Gradient>& node() const { return fGradient; } in node()57 : fGradient(std::move(gradient)) in GradientAdapter()71 auto* grad = static_cast<sksg::LinearGradient*>(fGradient.get()); in onSync()78 auto* grad = static_cast<sksg::RadialGradient*>(fGradient.get()); in onSync()182 fGradient->setColorStops(std::move(stops)); in onSync()196 const sk_sp<sksg::Gradient> fGradient; member in skottie::internal::__anon9da259450111::GradientAdapter
110 memcpy(fGradient, that.fGradient, sizeof(fGradient)); in PaintingData()117 SkPoint fGradient[4][kBlockSize]; member200 fGradient[channel][i] = SkPoint::Make( in init()203 fGradient[channel][i].normalize(); in init()206 SkScalarRoundToInt((fGradient[channel][i].fX + 1) * kHalfMax16bits); in init()208 SkScalarRoundToInt((fGradient[channel][i].fY + 1) * kHalfMax16bits); in init()457 u = fPaintingData.fGradient[channel][b00].dot(fractionValue); in noise2D()459 v = fPaintingData.fGradient[channel][b10].dot(fractionValue); in noise2D()462 v = fPaintingData.fGradient[channel][b11].dot(fractionValue); in noise2D()464 u = fPaintingData.fGradient[channel][b01].dot(fractionValue); in noise2D()
256 : fGradient(std::move(grad)) in GradientAdapter()283 fGradient->setColorStops(std::move(stops)); in apply()290 auto* grad = static_cast<sksg::LinearGradient*>(fGradient.get()); in onApply()299 auto* grad = static_cast<sksg::RadialGradient*>(fGradient.get()); in onApply()
230 sk_sp<sksg::Gradient> fGradient; variable
165 memcpy(fGradient, that.fGradient, sizeof(fGradient)); in PaintingData()172 SkPoint fGradient[4][kBlockSize]; member255 fGradient[channel][i] = SkPoint::Make( in init()258 fGradient[channel][i].normalize(); in init()261 (fGradient[channel][i].fX + 1) * gHalfMax16bits); in init()263 (fGradient[channel][i].fY + 1) * gHalfMax16bits); in init()518 u = fPaintingData.fGradient[channel][b00].dot(fractionValue); in noise2D()520 v = fPaintingData.fGradient[channel][b10].dot(fractionValue); in noise2D()523 v = fPaintingData.fGradient[channel][b11].dot(fractionValue); in noise2D()525 u = fPaintingData.fGradient[channel][b01].dot(fractionValue); in noise2D()