Searched refs:merge_recs (Results 1 – 4 of 4) sorted by relevance
19 std::vector<sksg::Merge::Rec> merge_recs; in MergeGeometry() local20 merge_recs.reserve(geos.size()); in MergeGeometry()23 merge_recs.push_back( in MergeGeometry()24 {std::move(geo), merge_recs.empty() ? sksg::Merge::Mode::kMerge : mode}); in MergeGeometry()27 return sksg::Merge::Make(std::move(merge_recs)); in MergeGeometry()
142 std::vector<sksg::Merge::Rec> merge_recs; in AttachMask() local143 merge_recs.reserve(SkToSizeT(mask_stack.count())); in AttachMask()146 const auto mode = merge_recs.empty() ? sksg::Merge::Mode::kMerge : mask.merge_mode; in AttachMask()147 merge_recs.push_back({std::move(mask.mask_path), mode}); in AttachMask()149 clip_node = sksg::Merge::Make(std::move(merge_recs)); in AttachMask()
266 std::vector<sksg::Merge::Rec> merge_recs; in Merge() local267 merge_recs.reserve(geos.size()); in Merge()270 merge_recs.push_back( in Merge()271 {std::move(geo), merge_recs.empty() ? sksg::Merge::Mode::kMerge : mode}); in Merge()274 return sksg::Merge::Make(std::move(merge_recs)); in Merge()
212 std::vector<sksg::Merge::Rec> merge_recs; in AttachMask() local213 merge_recs.reserve(SkToSizeT(mask_stack.count())); in AttachMask()216 merge_recs.push_back({std::move(mask.mask_path), mask.merge_mode }); in AttachMask()218 clip_node = sksg::Merge::Make(std::move(merge_recs)); in AttachMask()