Lines Matching defs:sample

604     auto sample = [&](SkRasterPipeline::StockStage setup_x,
615 sample(SkRasterPipeline::bicubic_n3x, SkRasterPipeline::bicubic_n3y);
616 sample(SkRasterPipeline::bicubic_n1x, SkRasterPipeline::bicubic_n3y);
617 sample(SkRasterPipeline::bicubic_p1x, SkRasterPipeline::bicubic_n3y);
618 sample(SkRasterPipeline::bicubic_p3x, SkRasterPipeline::bicubic_n3y);
620 sample(SkRasterPipeline::bicubic_n3x, SkRasterPipeline::bicubic_n1y);
621 sample(SkRasterPipeline::bicubic_n1x, SkRasterPipeline::bicubic_n1y);
622 sample(SkRasterPipeline::bicubic_p1x, SkRasterPipeline::bicubic_n1y);
623 sample(SkRasterPipeline::bicubic_p3x, SkRasterPipeline::bicubic_n1y);
625 sample(SkRasterPipeline::bicubic_n3x, SkRasterPipeline::bicubic_p1y);
626 sample(SkRasterPipeline::bicubic_n1x, SkRasterPipeline::bicubic_p1y);
627 sample(SkRasterPipeline::bicubic_p1x, SkRasterPipeline::bicubic_p1y);
628 sample(SkRasterPipeline::bicubic_p3x, SkRasterPipeline::bicubic_p1y);
630 sample(SkRasterPipeline::bicubic_n3x, SkRasterPipeline::bicubic_p3y);
631 sample(SkRasterPipeline::bicubic_n1x, SkRasterPipeline::bicubic_p3y);
632 sample(SkRasterPipeline::bicubic_p1x, SkRasterPipeline::bicubic_p3y);
633 sample(SkRasterPipeline::bicubic_p3x, SkRasterPipeline::bicubic_p3y);
639 sample(SkRasterPipeline::bilinear_nx, SkRasterPipeline::bilinear_ny);
640 sample(SkRasterPipeline::bilinear_px, SkRasterPipeline::bilinear_ny);
641 sample(SkRasterPipeline::bilinear_nx, SkRasterPipeline::bilinear_py);
642 sample(SkRasterPipeline::bilinear_px, SkRasterPipeline::bilinear_py);
720 // Each call to sample() will try to rewrite the same uniforms over and over,
722 // sample() call uses the same uniform offsets.
746 skvm::PixelFormat pixelFormat; // not a uniform, but needed for each texel sample,
797 // Always clamp sample coordinates to [0,width), [0,height), both for memory
812 // Mask away any pixels that we tried to sample outside the bounds in kDecal.
876 // Our four sample points are the corners of a logical 1x1 pixel
905 // Forcing *a to 1.0 here will retroactively skip any work we did to interpolate sample alphas.