Lines Matching refs:child
265 enum Child {
271 SkBlendMode mode, Child child) {
276 new ComposeOneFragmentProcessor(std::move(fp), mode, child));
285 str.appendf("Mode: %s, Child: %s",
300 Child child() const { return fChild; }
303 OptimizationFlags OptFlags(const GrFragmentProcessor* fp, SkBlendMode mode, Child child) {
312 SkASSERT(child == kSrc_Child);
318 SkASSERT(child == kDst_Child);
323 // Produces opaque if both src and dst are opaque. These also will modulate the child's
324 // output by either the input color or alpha. However, if the child is not compatible
351 if (child == kDst_Child) {
362 if (child == kSrc_Child) {
423 Child child)
424 : INHERITED(kComposeOneFragmentProcessor_ClassID, OptFlags(fp.get(), mode, child))
426 , fChild(child) {
434 Child fChild;
448 ComposeOneFragmentProcessor::Child child =
449 args.fFp.cast<ComposeOneFragmentProcessor>().child();
450 SkString childColor("child");
456 if (ComposeOneFragmentProcessor::kDst_Child == child) {
479 ComposeOneFragmentProcessor::Child child;
482 child = d->fRandom->nextBool() ? kDst_Child : kSrc_Child;
483 } while (SkBlendMode::kClear == mode || (SkBlendMode::kDst == mode && child == kSrc_Child) ||
484 (SkBlendMode::kSrc == mode && child == kDst_Child));
486 new ComposeOneFragmentProcessor(std::move(dst), mode, child));