Lines Matching refs:layer
116 // These require a layer.
246 sk_sp<sksg::RenderNode> layer,
249 , fLayerNode(std::move(layer))
265 // When active, dispatch ticks to all layer animators.
266 // When inactive, we must still dispatch ticks to the layer transform animators
291 // When motion blur is present, time ticks are not passed to layer animators
361 // Explicit parent layer.
419 // AE is annoyingly inconsistent in how effects interact with layer transforms: depending on
420 // the layer type, effects are applied before or after the content is transformed.
426 kTransformEffects = 0x01, // The layer transform also applies to its effects.
427 kForceSeek = 0x02, // Dispatch all seek() events even when the layer is inactive.
458 // Switch to the layer animator scope (which at this point holds transform-only animators).
462 sk_sp<sksg::RenderNode> layer;
464 // Build the layer content fragment.
466 layer = (abuilder.*(build_info.fBuilder))(fJlayer, &fInfo);
472 layer = sksg::ClipEffect::Make(std::move(layer),
477 // Optional layer mask.
478 layer = AttachMask(fJlayer["masksProperties"], &abuilder, std::move(layer));
486 layer = sksg::TransformEffect::Make(std::move(layer), fLayerTransform);
489 // Optional layer effects.
491 layer = EffectBuilder(&abuilder, fInfo.fSize, cbuilder)
492 .attachEffects(*jeffects, std::move(layer));
497 layer = sksg::TransformEffect::Make(std::move(layer), std::move(fLayerTransform));
500 // Optional layer styles.
502 layer = EffectBuilder(&abuilder, fInfo.fSize, cbuilder)
503 .attachStyles(*jstyles, std::move(layer));
506 // Optional layer opacity.
509 layer = abuilder.attachOpacity(*jtransform, std::move(layer));
513 fContentTree = layer;
515 layer = nullptr;
524 layer,
530 if (layer && has_animators && this->hasMotionBlur(cbuilder)) {
531 // Wrap both the layer node and the controller.
532 auto motion_blur = MotionBlurEffect::Make(std::move(controller), std::move(layer),
537 layer = std::move(motion_blur);
543 // |layer| is a track matte. We apply it as a mask to the next layer.
560 // The current layer is masked with the previous layer *content*.
561 layer = sksg::MaskEffect::Make(std::move(layer),
571 // NB: blend modes are never applied to matte sources (layer content only).
572 return abuilder.attachBlendMode(fJlayer, std::move(layer));