Home
last modified time | relevance | path

Searched refs:layerCtx (Results 1 – 2 of 2) sorted by relevance

/third_party/flutter/skia/modules/skottie/src/
DComposition.cpp126 AttachLayerContext layerCtx(*jlayers); in attachComposition() local
131 layerCtx.fMotionBlurSamples = std::min(ParseDefault<size_t>((*jmb)["spf"], 1ul), in attachComposition()
133 layerCtx.fMotionBlurAngle = SkTPin(ParseDefault((*jmb)["sa"], 0.0f), 0.0f, 720.0f); in attachComposition()
134 layerCtx.fMotionBlurPhase = SkTPin(ParseDefault((*jmb)["sp"], 0.0f), -360.0f, 360.0f); in attachComposition()
139 if (auto layer = this->attachLayer(l, &layerCtx)) { in attachComposition()
159 if (layerCtx.fCameraTransform) { in attachComposition()
160 comp = sksg::TransformEffect::Make(std::move(comp), std::move(layerCtx.fCameraTransform)); in attachComposition()
DLayer.cpp375 AttachLayerContext* layerCtx) const { in attachLayer()
428 auto layer_transform_rec = layerCtx->attachLayerTransform(*jlayer, this, transform_type); in attachLayer()
433 if (layerCtx->fCameraTransform) { in attachLayer()
438 layerCtx->fCameraTransform = layer_transform_rec.fTransformNode; in attachLayer()
499 if (has_animators && layerCtx->hasMotionBlur(*jlayer)) { in attachLayer()
500 SkASSERT(layerCtx->fMotionBlurAngle >= 0); in attachLayer()
504 layerCtx->fMotionBlurSamples, in attachLayer()
505 layerCtx->fMotionBlurAngle, in attachLayer()
506 layerCtx->fMotionBlurPhase); in attachLayer()
519 layerCtx->fCurrentMatte = std::move(layer); in attachLayer()
[all …]