[cairo] pixman box filtering code prototype

Jeff Muizelaar jeff at infidigm.net
Mon Nov 3 11:31:07 PST 2008


On Mon, Nov 03, 2008 at 12:25:11PM -0500, Frédéric Plourde wrote:
> 
> >I've attached a patch that has a rough implementation of this.
> >  
> your code in  /pixman-rescale-box.c  looks good to me, but why haven't 
> you placed your filtering calls down to pixman-transformed.c ?

I do a rectangular box filter to create a temporary image that is then
transformed as needed by the code in pixman-transformed.c. This approach
keeps things simpler by avoiding more code in pixman-transformed and
allows for a performance improvement in the common case of rectilinear
scaling.

-Jeff


More information about the cairo mailing list