On Fri, 08 Oct 2004 13:19:34 -0700, Ian Romanick <[EMAIL PROTECTED]> wrote:
> 
> 
> Ian Romanick wrote:
> > Here's a simple patch that gives about a 50% (on my box) speed boost to
> > glReadPixels performance in 24-bit.  I measured using the benchmark
> > built into progs/demos/readpix.  The interesting thing is that the core
> > MMX & SSE2 routines can be used for other cards as well.  For example,
> > it looks like MGA, Unichrome, and others can use the same code for 24-bit.
> >
> > Before persuing this too far, I'd like to look at ways to make the
> > *compiled* code from spantmp.h be more device-independent.  That would
> > make it easier to generate a bunch of these generic routines and just
> > plug them in.
> 
> Here's an updated version of the patch.  I think this one includes all
> the code. ;)  In addition, this patch adds support for the Unichrome
> driver.  It is still called r200_readpixels-*.patch.
> 
> 
> 

I experience a great slowdown in using this patch .

[EMAIL PROTECTED]:~/driconf-0.2.2$ glxgears
Mesa: software DXTn compression/decompression available
Using MMX version of ReadRGBASpan
27 frames in 5.1 seconds =  5.320 FPS
25 frames in 5.0 seconds =  4.982 FPS
[EMAIL PROTECTED]:~/driconf-0.2.2$ 

Bye

Marcello


-------------------------------------------------------
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
--
_______________________________________________
Dri-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/dri-devel

Reply via email to