On Wed, 06 Jan 2010 23:30:46 +0100, Pierre Willenbrock <pie...@pirsoft.de> 
wrote:
> Hi list,
> 
> the first of these two patches fixes _mesa_meta_GenerateMipmap to update
> the viewport and projection matrix after changing the destination mipmap
> level. Before, pixels would get clipped to the boundaries of the
> original DrawBuffer, which may be smaller than the second mipmap level.
> The second patch just pulls projection matrix and vertex array setup out
> of the main loop.
> 
> The other way to fix this i can think of is to disable clipping to
> viewport. I could not figure out if that is even possible.
> 
> Tested with swrast and i965.

Pushed a testcase for this into piglit.

Attachment: pgpozsg4H6Ygi.pgp
Description: PGP signature

------------------------------------------------------------------------------
This SF.Net email is sponsored by the Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast and easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev 
_______________________________________________
Mesa3d-dev mailing list
Mesa3d-dev@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mesa3d-dev

Reply via email to