Hi,
I am noticing SkImageFilters::blur giving blank output passing crop rect on M101. Previously I was on M83 and it was working fine. Btw if I don't pass crop rect it works fine. In this case, I am passing crop rect larger than source image
Have we seen a similar failure?
The output image and skpicture files are copied here.
static sk_sp< SkImageFilter > CreateCropEffect( sk_sp< SkImageFilter >&& pInput, const SkIRect& cropRect )
{
sk_sp< SkImageFilter > pCropInputFilter = std::move( pInput );
return SkImageFilters::Merge( &pCropInputFilter, 1, &cropRect );
}
sk_sp< SkImageFilter > pOutput = SkImageFilters::Blur( ConvertRadiusToSigma( radius_x ), ConvertRadiusToSigma( radius_y ), std::move( pInput ), &blurCropRect );
pOutput = CreateCropEffect( std::move( pOutput ), blurCropRect ); this doesn't work
sk_sp< SkImageFilter > pOutput = SkImageFilters::Blur( ConvertRadiusToSigma( radius_x ), ConvertRadiusToSigma( radius_y ), std::move( pInput ) );
pOutput = CreateCropEffect( std::move( pOutput ), blurCropRect ); ( this works )
Input -> image17_seq04_d01_EffectBlur_src.png
Output ->image17_seq04_d01_EffectBlur_dest.png
Thanks
Bharat