Lines Matching refs:child
65 * Returns the input color, modulated by the child's alpha.
67 * output = input * child.a
70 std::unique_ptr<GrFragmentProcessor> child);
73 * Invokes child with an opaque version of the input color, then applies the input alpha to
77 std::unique_ptr<GrFragmentProcessor> child);
80 * Returns a fragment processor that generates the passed-in color, modulated by the child's
81 * RGBA color. The child's input color will be the parent's fInputColor. (Pass a null FP to use
82 * the color from fInputColor instead of a child FP.)
85 std::unique_ptr<GrFragmentProcessor> child, const SkPMColor4f& color);
88 * Returns a parent fragment processor that adopts the passed fragment processor as a child.
90 * child.
96 * Returns a parent fragment processor that adopts the passed fragment processor as a child.
97 * The parent will simply return the child's color, but disable the coverage-as-alpha
137 std::unique_ptr<GrFragmentProcessor> child,
188 * If the processor has child processors they are cloned as well.
192 // The FP this was registered with as a child function. This will be null if this is a root.
199 for (const auto& child : fChildProcessors) {
200 if (child) {
201 child->addToKey(caps, b);
390 * FragmentProcessor subclasses call this from their constructor to register any child
394 * colors will be combined somehow to produce its output color. Registering these child
398 * The SampleUsage parameter describes all of the ways that the child is sampled by the parent.
400 void registerChild(std::unique_ptr<GrFragmentProcessor> child,
536 // This does not recurse to any attached child processors. Recursing the entire processor tree
554 // Invoke the child with the default input and destination colors (solid white)
572 // Invoke the child with the default destination color (solid white)
593 /** Invokes a child proc in its own scope. Pass in the parent's EmitArgs and invokeChild will
594 * automatically extract the coords and samplers of that child and pass them on to the child's
595 * emitCode(). Also, any uniforms or functions emitted by the child will have their names
597 * to the child's helper function). It is legal to pass nullptr as inputColor, since all
600 * When skslCoords is empty, the child is invoked at the sample coordinates from parentArgs.
602 * That expression is passed to the child's processor function as the "_coords" argument.
612 * to the child's SampleUsage object. This is only valid if the child is sampled with a