Lines Matching refs:dst
30 std::unique_ptr<GrFragmentProcessor> dst,
33 new BlendFragmentProcessor(std::move(src), std::move(dst), mode));
48 std::unique_ptr<GrFragmentProcessor> dst,
50 : INHERITED(kBlendFragmentProcessor_ClassID, OptFlags(src.get(), dst.get(), mode))
54 this->registerChild(std::move(dst));
68 const GrFragmentProcessor* dst, SkBlendMode mode) {
74 SkDEBUGFAIL("Shouldn't have created a Blend FP as 'clear', 'src', or 'dst'.");
78 // Produces opaque if both src and dst are opaque. These also will modulate the child's
84 if (src && dst) {
85 flags = ProcessorOptimizationFlags(src) & ProcessorOptimizationFlags(dst) &
90 } else if (dst) {
91 flags = ProcessorOptimizationFlags(dst) &
105 // Is opaque if the dst is opaque.
107 flags = ProcessorOptimizationFlags(dst) & kPreservesOpaqueInput_OptimizationFlag;
116 // These modes are all opaque if either src or dst is opaque. All the advanced modes
135 flags = (ProcessorOptimizationFlags(src) | ProcessorOptimizationFlags(dst)) &
141 (!dst || dst->hasConstantOutputForConstantInput())) {
158 const auto* dst = this->childProcessor(1);
161 SkPMColor4f dstColor = ConstantOutputForConstantInput(dst, input);
184 std::unique_ptr<GrFragmentProcessor> dst(GrProcessorUnitTest::MakeChildFP(d));
186 std::swap(src, dst);
194 new BlendFragmentProcessor(std::move(src), std::move(dst), mode));
212 // Invoke src/dst with our input color (or substitute input color if no child FP)
216 // Blend src and dst colors together.
231 std::unique_ptr<GrFragmentProcessor> dst,
239 return dst;
241 return BlendFragmentProcessor::Make(std::move(src), std::move(dst), mode);