Lines Matching refs:SkRasterPipeline
17 #include "src/core/SkRasterPipeline.h"
396 SkRasterPipeline* p = rec.fPipeline;
413 p->append(SkRasterPipeline::seed_shader);
451 p->append(SkRasterPipeline::decal_x_and_y, decal_ctx);
455 case SkTileMode::kMirror: p->append(SkRasterPipeline::mirror_x, limit_x); break;
456 case SkTileMode::kRepeat: p->append(SkRasterPipeline::repeat_x, limit_x); break;
457 case SkTileMode::kDecal: p->append(SkRasterPipeline::decal_x, decal_ctx); break;
461 case SkTileMode::kMirror: p->append(SkRasterPipeline::mirror_y, limit_y); break;
462 case SkTileMode::kRepeat: p->append(SkRasterPipeline::repeat_y, limit_y); break;
463 case SkTileMode::kDecal: p->append(SkRasterPipeline::decal_y, decal_ctx); break;
469 case kAlpha_8_SkColorType: p->append(SkRasterPipeline::gather_a8, ctx); break;
470 case kA16_unorm_SkColorType: p->append(SkRasterPipeline::gather_a16, ctx); break;
471 case kA16_float_SkColorType: p->append(SkRasterPipeline::gather_af16, ctx); break;
472 case kRGB_565_SkColorType: p->append(SkRasterPipeline::gather_565, ctx); break;
473 case kARGB_4444_SkColorType: p->append(SkRasterPipeline::gather_4444, ctx); break;
474 case kR8G8_unorm_SkColorType: p->append(SkRasterPipeline::gather_rg88, ctx); break;
475 case kR16G16_unorm_SkColorType: p->append(SkRasterPipeline::gather_rg1616, ctx); break;
476 case kR16G16_float_SkColorType: p->append(SkRasterPipeline::gather_rgf16, ctx); break;
477 case kRGBA_8888_SkColorType: p->append(SkRasterPipeline::gather_8888, ctx); break;
478 case kRGBA_1010102_SkColorType: p->append(SkRasterPipeline::gather_1010102, ctx); break;
480 p->append(SkRasterPipeline::gather_16161616,ctx); break;
482 case kRGBA_F16_SkColorType: p->append(SkRasterPipeline::gather_f16, ctx); break;
483 case kRGBA_F32_SkColorType: p->append(SkRasterPipeline::gather_f32, ctx); break;
485 case kGray_8_SkColorType: p->append(SkRasterPipeline::gather_a8, ctx);
486 p->append(SkRasterPipeline::alpha_to_gray ); break;
488 case kRGB_888x_SkColorType: p->append(SkRasterPipeline::gather_8888, ctx);
489 p->append(SkRasterPipeline::force_opaque ); break;
491 case kBGRA_1010102_SkColorType: p->append(SkRasterPipeline::gather_1010102, ctx);
492 p->append(SkRasterPipeline::swap_rb ); break;
494 case kRGB_101010x_SkColorType: p->append(SkRasterPipeline::gather_1010102, ctx);
495 p->append(SkRasterPipeline::force_opaque ); break;
497 case kBGR_101010x_SkColorType: p->append(SkRasterPipeline::gather_1010102, ctx);
498 p->append(SkRasterPipeline::force_opaque );
499 p->append(SkRasterPipeline::swap_rb ); break;
501 case kBGRA_8888_SkColorType: p->append(SkRasterPipeline::gather_8888, ctx);
502 p->append(SkRasterPipeline::swap_rb ); break;
505 p->append(SkRasterPipeline::gather_8888, ctx);
512 p->append(SkRasterPipeline::check_decal_mask, decal_ctx);
531 p->append(SkRasterPipeline::clamp_0);
533 ? SkRasterPipeline::clamp_1
534 : SkRasterPipeline::clamp_a);
552 p->append(SkRasterPipeline::bilerp_clamp_8888, gather);
554 p->append(SkRasterPipeline::swap_rb);
571 p->append(SkRasterPipeline::bilinear, ctx);
579 p->append(SkRasterPipeline::bicubic_clamp_8888, gather);
581 p->append(SkRasterPipeline::swap_rb);
598 p->append(SkRasterPipeline::bicubic, ctx);
604 auto sample = [&](SkRasterPipeline::StockStage setup_x,
605 SkRasterPipeline::StockStage setup_y) {
609 p->append(SkRasterPipeline::accumulate, sampler);
613 p->append(SkRasterPipeline::save_xy, sampler);
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);
635 p->append(SkRasterPipeline::move_dst_src);
637 p->append(SkRasterPipeline::save_xy, sampler);
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);
644 p->append(SkRasterPipeline::move_dst_src);