Lines Matching defs:child
82 std::unique_ptr<GrFragmentProcessor> child;
84 static GrIgnoreOptFlags IgnoreOptFlags(std::unique_ptr<GrFragmentProcessor> child) {
85 return {std::move(child)};
96 * Both factories support a single 'input' FP, as well as a collection of other 'child' FPs.
97 * The 'child' FPs correspond to the children declared in the effect's SkSL. The inputFP is
99 * child - if present, it's evaluated to produce the input color fed to the SkSL. Otherwise,
125 * uniform shader child;
131 * std::unique_ptr<GrFragmentProcessor> child = ...;
135 * "child", std::move(child),
178 void addChild(std::unique_ptr<GrFragmentProcessor> child, bool mergeOptFlags);
219 std::unique_ptr<GrFragmentProcessor>&& child,
221 // Child FP case -- register the child, then continue processing the remaining arguments.
223 this->addChild(std::move(child), /*mergeOptFlags=*/true);
226 // As above, but we don't merge in the child's optimization flags
231 GrIgnoreOptFlags&& child,
233 // Child FP case -- register the child, then continue processing the remaining arguments.
235 this->addChild(std::move(child.child), /*mergeOptFlags=*/false);
313 "Expected child '%s', got '%s' instead",
322 std::unique_ptr<GrFragmentProcessor>&& child,
324 // NOTE: This function (necessarily) gets an rvalue reference to child, but deliberately
336 GrIgnoreOptFlags&& child,
338 // NOTE: This function (necessarily) gets an rvalue reference to child, but deliberately