Searched refs:mask_stack (Results 1 – 2 of 2) sorted by relevance
143 SkSTArray<4, MaskRecord, true> mask_stack; in AttachMask() local177 if (mask_stack.empty()) { in AttachMask()194 mask_stack.push_back({ std::move(mask_path), in AttachMask()200 if (mask_stack.empty()) in AttachMask()207 if (mask_stack.count() == 1) { in AttachMask()209 clip_node = std::move(mask_stack.front().mask_path); in AttachMask()213 merge_recs.reserve(SkToSizeT(mask_stack.count())); in AttachMask()215 for (auto& mask : mask_stack) { in AttachMask()226 if (mask_stack.count() == 1) { in AttachMask()228 const auto rec = mask_stack.front(); in AttachMask()[all …]
79 SkSTArray<4, MaskRecord, true> mask_stack; in AttachMask() local119 mask_paint->setBlendMode(mask_stack.empty() ? SkBlendMode::kSrc in AttachMask()127 mask_stack.push_back({mask_path, mask_paint, mask_info->fMergeMode}); in AttachMask()130 if (mask_stack.empty()) in AttachMask()137 if (mask_stack.count() == 1) { in AttachMask()139 clip_node = std::move(mask_stack.front().mask_path); in AttachMask()143 merge_recs.reserve(SkToSizeT(mask_stack.count())); in AttachMask()145 for (auto& mask : mask_stack) { in AttachMask()156 if (mask_stack.count() == 1) { in AttachMask()158 maskNode = sksg::Draw::Make(std::move(mask_stack.front().mask_path), in AttachMask()[all …]