Lines Matching refs:draws
364 std::vector<sk_sp<sksg::RenderNode>>&& draws) { in AttachRepeaterDrawEffect() argument
370 if (draws.size() > 1) { in AttachRepeaterDrawEffect()
371 repeater_node = sksg::Group::Make(std::move(draws)); in AttachRepeaterDrawEffect()
373 repeater_node = std::move(draws[0]); in AttachRepeaterDrawEffect()
419 repeater_draws = std::move(draws); in AttachRepeaterDrawEffect()
589 std::vector<sk_sp<sksg::RenderNode >> draws; in attachShape() local
591 const auto add_draw = [this, &draws](sk_sp<sksg::RenderNode> draw, const ShapeRec& rec) { in attachShape()
593 draws.push_back(this->attachBlendMode(rec.fJson, std::move(draw))); in attachShape()
661 if (!draws.empty()) { in attachShape()
662 draws = gDrawEffectAttachers[rec->fInfo.fAttacherIndex](rec->fJson, in attachShape()
665 std::move(draws)); in attachShape()
678 if (draws.size() == 1) { in attachShape()
680 shape_wrapper = std::move(draws.front()); in attachShape()
681 } else if (!draws.empty()) { in attachShape()
683 std::reverse(draws.begin(), draws.end()); in attachShape()
684 draws.shrink_to_fit(); in attachShape()
687 shape_wrapper = sksg::Group::Make(std::move(draws)); in attachShape()