Lines Matching refs:draws
228 std::vector<sk_sp<sksg::RenderNode >> draws; in attachShape() local
230 const auto add_draw = [this, &draws](sk_sp<sksg::RenderNode> draw, const ShapeRec& rec) { in attachShape()
232 draws.push_back(this->attachBlendMode(rec.fJson, std::move(draw))); in attachShape()
301 if (!draws.empty()) { in attachShape()
302 draws = gDrawEffectAttachers[rec->fInfo.fAttacherIndex](rec->fJson, in attachShape()
304 std::move(draws)); in attachShape()
317 if (draws.size() == 1) { in attachShape()
319 shape_wrapper = std::move(draws.front()); in attachShape()
320 } else if (!draws.empty()) { in attachShape()
322 std::reverse(draws.begin(), draws.end()); in attachShape()
323 draws.shrink_to_fit(); in attachShape()
326 shape_wrapper = sksg::Group::Make(std::move(draws)); in attachShape()