[Mesa-dev] [PATCH] Anisotropic filtering extension for swrast

Brian Paul brianp at vmware.com
Wed May 18 07:06:24 PDT 2011

On 05/17/2011 05:08 AM, Andreas Faenger wrote:
> Hi,
> this patch makes it possible to have high quality texture filtering
> with the pure software renderer. The main purpose is to use it with
> osmesa. The anisotropic filtering is based on Elliptical Weighted Avarage (EWA).
> The patch was designed to make as little changes to the existing codebase as possible. Therefore, the existing texture_sample_func
> signature has not been adjusted although this was required; a "hack"
> was used instead to pass the required arguments.
> I provide this patch as other people might be interessted in
> using anisotropic filtering for osmesa, especially when rendering
> images in a headless environment.

Thanks.  I'm about to commit your patch (with some formatting fixes).

Would you be interested in implementing this feature in the Gallium 
softpipe driver too?


More information about the mesa-dev mailing list