On Tue, 2004-11-02 at 02:11 +0100, Stephane Marchesin wrote:
>
> Index: src/mesa/drivers/dri/r200/r200_context.c
> ===================================================================
> RCS file: /cvs/mesa/Mesa/src/mesa/drivers/dri/r200/r200_context.c,v
> retrieving revision 1.33
> diff -u -r1.33 r200_context.c
> --- src/mesa/drivers/dri/r200/r200_context.c 7 Oct 2004 23:30:30 -0000 1.33
> +++ src/mesa/drivers/dri/r200/r200_context.c 1 Nov 2004 19:52:52 -0000
> @@ -262,6 +262,14 @@
> rmesa->initialMaxAnisotropy = driQueryOptionf(&rmesa->optionCache,
> "def_max_anisotropy");
>
> + if ( driQueryOptionb( &rmesa->optionCache, "hyperz" ) ) {
> + if ( sPriv->drmMinor < 13 )
> + fprintf( stderr, "DRM version 1.%d too old to support HyperZ, "
> + "disabling.\n",sPriv->drmMinor );
> + else
> + rmesa->using_hyperz = GL_TRUE;
> + }
> +
Can this really be a per-context option, considering that the depth
buffer is shared by all contexts?
--
Earthling Michel DÃnzer | Debian (powerpc), X and DRI developer
Libre software enthusiast | http://svcs.affero.net/rm.php?r=daenzer
-------------------------------------------------------
This SF.Net email is sponsored by:
Sybase ASE Linux Express Edition - download now for FREE
LinuxWorld Reader's Choice Award Winner for best database on Linux.
http://ads.osdn.com/?ad_idU88&alloc_id065&op=click
--
_______________________________________________
Dri-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/dri-devel