Home | History | Annotate | Download | only in skottie

Lines Matching full:sk_sp

68 sk_sp<sksg::Matrix> AttachMatrix(const Json::Value& t, AttachContext* ctx,
69 sk_sp<sksg::Matrix> parentMatrix) {
120 sk_sp<sksg::RenderNode> AttachOpacity(const Json::Value& jtransform, AttachContext* ctx,
121 sk_sp<sksg::RenderNode> childNode) {
145 sk_sp<sksg::RenderNode> AttachComposition(const Json::Value&, AttachContext* ctx);
147 sk_sp<sksg::Path> AttachPath(const Json::Value& jpath, AttachContext* ctx) {
155 sk_sp<sksg::GeometryNode> AttachPathGeometry(const Json::Value& jpath, AttachContext* ctx) {
161 sk_sp<sksg::GeometryNode> AttachRRectGeometry(const Json::Value& jrect, AttachContext* ctx) {
187 sk_sp<sksg::GeometryNode> AttachEllipseGeometry(const Json::Value& jellipse, AttachContext* ctx) {
211 sk_sp<sksg::GeometryNode> AttachPolystarGeometry(const Json::Value& jstar, AttachContext* ctx) {
260 sk_sp<sksg::Color> AttachColor(const Json::Value& obj, AttachContext* ctx) {
272 sk_sp<sksg::Gradient> AttachGradient(const Json::Value& obj, AttachContext* ctx) {
283 sk_sp<sksg::Gradient> gradient_node;
284 sk_sp<CompositeGradient> composite;
314 sk_sp<sksg::PaintNode> AttachPaint(const Json::Value& jpaint, AttachContext* ctx,
315 sk_sp<sksg::PaintNode> paint_node) {
329 sk_sp<sksg::PaintNode> AttachStroke(const Json::Value& jstroke, AttachContext* ctx,
330 sk_sp<sksg::PaintNode> stroke_node) {
366 sk_sp<sksg::PaintNode> AttachColorFill(const Json::Value& jfill, AttachContext* ctx) {
372 sk_sp<sksg::PaintNode> AttachGradientFill(const Json::Value& jfill, AttachContext* ctx) {
378 sk_sp<sksg::PaintNode> AttachColorStroke(const Json::Value& jstroke, AttachContext* ctx) {
384 sk_sp<sksg::PaintNode> AttachGradientStroke(const Json::Value& jstroke, AttachContext* ctx) {
390 std::vector<sk_sp<sksg::GeometryNode>> AttachMergeGeometryEffect(
391 const Json::Value& jmerge, AttachContext* ctx, std::vector<sk_sp<sksg::GeometryNode>>&& geos) {
392 std::vector<sk_sp<sksg::GeometryNode>> merged;
409 std::vector<sk_sp<sksg::GeometryNode>> AttachTrimGeometryEffect(
410 const Json::Value& jtrim, AttachContext* ctx, std::vector<sk_sp<sksg::GeometryNode>>&& geos) {
420 std::vector<sk_sp<sksg::GeometryNode>> inputs;
427 std::vector<sk_sp<sksg::GeometryNode>> trimmed;
449 using GeometryAttacherT = sk_sp<sksg::GeometryNode> (*)(const Json::Value&, AttachContext*);
457 using PaintAttacherT = sk_sp<sksg::PaintNode> (*)(const Json::Value&, AttachContext*);
466 std::vector<sk_sp<sksg::GeometryNode>> (*)(const Json::Value&,
468 std::vector<sk_sp<sksg::GeometryNode>>&&);
530 std::vector<sk_sp<sksg::GeometryNode>>* geos,
539 std::vector<sk_sp<sksg::GeometryNode>>* fGeometryStack;
544 sk_sp<sksg::RenderNode> AttachShape(const Json::Value& jshape, AttachShapeContext* shapeCtx) {
550 sk_sp<sksg::Group> shape_group = sksg::Group::Make();
551 sk_sp<sksg::RenderNode> shape_wrapper = shape_group;
552 sk_sp<sksg::Matrix> shape_matrix;
598 std::vector<sk_sp<sksg::GeometryNode>> geos;
599 std::vector<sk_sp<sksg::RenderNode >> draws;
680 sk_sp<sksg::RenderNode> AttachNestedAnimation(const char* path, AttachContext* ctx) {
683 explicit SkottieSGAdapter(sk_sp<Animation> animation)
698 const sk_sp<Animation> fAnimation;
703 SkottieAnimatorAdapter(sk_sp<Animation> animation, float frameRate)
718 const sk_sp<Animation> fAnimation;
740 sk_sp<sksg::RenderNode> AttachCompLayer(const Json::Value& jlayer, AttachContext* ctx,
773 sk_sp<sksg::RenderNode> AttachSolidLayer(const Json::Value& jlayer, AttachContext*,
794 sk_sp<sksg::RenderNode> AttachImageAsset(const Json::Value& jimage, AttachContext* ctx) {
815 sk_sp<sksg::RenderNode> AttachImageLayer(const Json::Value& layer, AttachContext* ctx,
834 sk_sp<sksg::RenderNode> AttachNullLayer(const Json::Value& layer, AttachContext*, float*, float*) {
842 sk_sp<sksg::RenderNode> AttachShapeLayer(const Json::Value& layer, AttachContext* ctx,
846 std::vector<sk_sp<sksg::GeometryNode>> geometryStack;
861 sk_sp<sksg::RenderNode> AttachTextLayer(const Json::Value& layer, AttachContext*, float*, float*) {
874 SkTHashMap<int, sk_sp<sksg::Matrix>> fLayerMatrixMap;
875 sk_sp<sksg::RenderNode> fCurrentMatte;
877 sk_sp<sksg::Matrix> AttachParentLayerMatrix(const Json::Value& jlayer) {
901 sk_sp<sksg::Matrix> AttachLayerMatrix(const Json::Value& jlayer) {
937 sk_sp<sksg::RenderNode> AttachMask(const Json::Value& jmask,
939 sk_sp<sksg::RenderNode> childNode) {
983 sk_sp<sksg::RenderNode> AttachLayer(const Json::Value& jlayer,
988 using LayerAttacher = sk_sp<sksg::RenderNode> (*)(const Json::Value&, AttachContext*,
1039 sk_sp<sksg::OpacityEffect> controlNode,
1062 const sk_sp<sksg::OpacityEffect> fControlNode;
1105 sk_sp<sksg::RenderNode> AttachComposition(const Json::Value& comp, AttachContext* ctx) {
1113 SkSTArray<16, sk_sp<sksg::RenderNode>, true> layers;
1140 sk_sp<Animation> Animation::Make(SkStream* stream, const ResourceProvider& res) {
1175 return sk_sp<Animation>(new Animation(res, std::move(version), size, fps, json));
1178 sk_sp<Animation> Animation::MakeFromFile(const char path[], const ResourceProvider* res) {