Lines Matching refs:ctx

467         void* ctx = gather;
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);
488 case kRGB_888x_SkColorType: p->append(SkRasterPipeline::gather_8888, ctx);
491 case kBGRA_1010102_SkColorType: p->append(SkRasterPipeline::gather_1010102, ctx);
494 case kRGB_101010x_SkColorType: p->append(SkRasterPipeline::gather_1010102, ctx);
497 case kBGR_101010x_SkColorType: p->append(SkRasterPipeline::gather_1010102, ctx);
501 case kBGRA_8888_SkColorType: p->append(SkRasterPipeline::gather_8888, ctx);
505 p->append(SkRasterPipeline::gather_8888, ctx);
564 auto ctx = alloc->make<SkRasterPipeline_SamplerCtx2>();
565 *(SkRasterPipeline_GatherCtx*)(ctx) = *gather;
566 ctx->ct = ct;
567 ctx->tileX = fTileModeX;
568 ctx->tileY = fTileModeY;
569 ctx->invWidth = 1.0f / ctx->width;
570 ctx->invHeight = 1.0f / ctx->height;
571 p->append(SkRasterPipeline::bilinear, ctx);
591 auto ctx = alloc->make<SkRasterPipeline_SamplerCtx2>();
592 *(SkRasterPipeline_GatherCtx*)(ctx) = *gather;
593 ctx->ct = ct;
594 ctx->tileX = fTileModeX;
595 ctx->tileY = fTileModeY;
596 ctx->invWidth = 1.0f / ctx->width;
597 ctx->invHeight = 1.0f / ctx->height;
598 p->append(SkRasterPipeline::bicubic, ctx);