Searched refs:fGradient (Results 1 – 8 of 8) sorted by relevance
/external/skqp/src/gpu/gradients/ |
D | GrTextureGradientColorizer.cpp | 44 if (fGradient != that.fGradient) return false; in onIsEqual() 49 , fGradient(src.fGradient) { in GrTextureGradientColorizer() 57 return IthTextureSampler(index, fGradient); in onTextureSampler()
|
D | GrTextureGradientColorizer.h | 28 , fGradient(std::move(gradient), GrSamplerState::ClampBilerp()) { in GrTextureGradientColorizer() 36 TextureSampler fGradient; variable
|
/external/skia/modules/skottie/src/effects/ |
D | GradientEffect.cpp | 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::__anona84dad1b0111::GradientRampEffectAdapter
|
/external/skia/modules/skottie/src/layers/shapelayer/ |
D | Gradient.cpp | 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::__anonb835de5b0111::GradientAdapter
|
/external/skia/src/shaders/ |
D | SkPerlinNoiseShader.cpp | 110 memcpy(fGradient, that.fGradient, sizeof(fGradient)); in PaintingData() 117 SkPoint fGradient[4][kBlockSize]; member 200 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()
|
/external/skqp/modules/skottie/src/ |
D | SkottieAdapter.cpp | 179 : fGradient(std::move(grad)) in GradientAdapter() 206 fGradient->setColorStops(std::move(stops)); in apply() 213 auto* grad = static_cast<sksg::LinearGradient*>(fGradient.get()); in onApply() 222 auto* grad = static_cast<sksg::RadialGradient*>(fGradient.get()); in onApply()
|
D | SkottieAdapter.h | 180 sk_sp<sksg::Gradient> fGradient; variable
|
/external/skqp/src/shaders/ |
D | SkPerlinNoiseShader.cpp | 165 memcpy(fGradient, that.fGradient, sizeof(fGradient)); in PaintingData() 172 SkPoint fGradient[4][kBlockSize]; member 255 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()
|