Lines Matching defs:layout

527 // This top-level effect implements clamping on the layout coordinate and requires specifying the
560 // layout has rejected this fragment (rely on sksl to remove this branch if the
561 // layout FP preserves opacity is false)
568 // Always sample from (x, 0), discarding y, since the layout FP can use y as a
579 // If the layout does not preserve opacity, remove the opaque optimization,
618 // layout has rejected this fragment (rely on sksl to remove this branch if the
619 // layout FP preserves opacity is false)
637 // Always sample from (x, 0), discarding y, since the layout FP can use y as a
648 // If the layout does not preserve opacity, remove the opaque optimization,
670 // Combines the colorizer and layout with an appropriately configured top-level effect based on the
675 std::unique_ptr<GrFragmentProcessor> layout,
677 // No shader is possible if a layout couldn't be created, e.g. a layout-specific Make() returned
679 if (layout == nullptr) {
683 // Wrap the layout in a matrix effect to apply the gradient's matrix:
690 layout = GrMatrixEffect::Make(matrix, std::move(layout));
724 // All gradients are colorized the same way, regardless of layout
743 gradient = make_tiled_gradient(args, std::move(colorizer), std::move(layout),
747 gradient = make_tiled_gradient(args, std::move(colorizer), std::move(layout),
755 gradient = make_clamped_gradient(std::move(colorizer), std::move(layout),
762 gradient = make_clamped_gradient(std::move(colorizer), std::move(layout),
842 // was opaque. Thus, all of these layout FPs disable that optimization.