seems to improve the perfomance in quake 

On Wed, 02 Feb 2005 17:38:21 +0100, Felix Kühling <[EMAIL PROTECTED]> wrote:
> I attached an updated patch that applies to latest CVS and includes a
> fix along the lines of the one I just committed to texmem.c.
> 
> I havn't heard any feedback in over a week. If no one objects I'll
> commit this tomorrow.
> 
> Regards,
>   Felix
> 
> Am Mittwoch, den 26.01.2005, 00:26 +0100 schrieb Felix Kühling:
> > Hi,
> >
> > The attached patch is my first cut at implementing a fair strategy for
> > using all texture heaps. This solves my texture trashing problems with
> > Torcs on Savage4 and ProSavageDDR. Testing and comments are welcome. I'm
> > especially interested if anyone sees any performance regressions with
> > this.
> >
> > Heaps are now weighted by their sizes. That is, the bigger a heap, the
> > more data will be kicked from/uploaded to it. If upload performance
> > differs greatly then it would be quite easy to multiply a heap-specific
> > factor to that weight in order to introduce a heap preference. This
> > could be done either directly in the driver just after allocating a
> > texture heap (heap->weight *= factor) or by adding a new parameter to
> > driCreateTextureHeap.
> >
> > Note that the new code in my patch will not be active as long as there
> > is enough free space on any texture heap. So in order to see any
> > performance difference you will either have to test with a very
> > texture-hungry application or artificially reduce the amount of texture
> > memory on one or both heaps. Also note that you need at least two
> > texture heaps, so r200 is a bad candidate. ;-)
> >
> > Regards,
> >   Felix
> >
> --
> | Felix Kühling <[EMAIL PROTECTED]>                     http://fxk.de.vu |
> | PGP Fingerprint: 6A3C 9566 5B30 DDED 73C3  B152 151C 5CC1 D888 E595 |
> 
> 
>


-------------------------------------------------------
This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting
Tool for open source databases. Create drag-&-drop reports. Save time
by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc.
Download a FREE copy at http://www.intelliview.com/go/osdn_nl
--
_______________________________________________
Dri-devel mailing list
Dri-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dri-devel

Reply via email to