Hi Jack,

Yes, the CPU-based rasterizer compilation defaults to nearest for scaling.

It can be changed to support linear interpolation via configuring using the 
--with-smooth-scaling option.  There is also optional render option flags that 
can be set using IDirectFBSurface::SetRenderOptions.  Specifically, 
DSRO_SMOOTH_UPSCALE and DSRO_SMOOTH_DOWNSCALE.

Timothy

--

Timothy Strelchun
CE Software Engineering
Digital Home Group
Intel Corporation

The views expressed above are my own and not those of Intel

________________________________

        From: directfb-dev-boun...@directfb.org 
[mailto:directfb-dev-boun...@directfb.org] On Behalf Of Jack W.
        Sent: Tuesday, February 09, 2010 5:08 PM
        To: directfb-dev@directfb.org
        Subject: [directfb-dev] Does StretchBlit use nearest-neighbour 
interpolation?
        
        
        Hi,
        
        The result of the StretchBlit looks like generated by nearest neighbour 
interpolation. Is it true? If use bi-linear interpolation, how about the 
performance? Very slow? Thanks!
        
        -Jack
                


_______________________________________________
directfb-dev mailing list
directfb-dev@directfb.org
http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-dev

Reply via email to