Lines Matching refs:mask_stack
79 SkSTArray<4, MaskRecord, true> mask_stack; in AttachMask() local
119 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()
159 std::move(mask_stack.front().mask_paint)); in AttachMask()
162 masks.reserve(SkToSizeT(mask_stack.count())); in AttachMask()
163 for (auto& rec : mask_stack) { in AttachMask()