Quoting Ville Syrj?l? ([EMAIL PROTECTED]):
> I just added the AGP setup ioctl to my previous attempt and it works!
> Here's an incremental patch.

Great ;)

> Bencmark results:
> Benchmarking with 256x256 in 16bit mode... (16bit)
> 
> AGP:
> Blit                                   3.02 secs (  189.05 MPixel/sec)
> Blit colorkeyed                        3.02 secs (  189.05 MPixel/sec)
> Blit with format conversion            3.01 secs (   98.11 MPixel/sec)
> Blit from 32bit (alphachannel blend)   3.01 secs (   98.08 MPixel/sec)
> Stretch Blit                           3.12 secs (  125.05 MPixel/sec)
> Stretch Blit colorkeyed                3.12 secs (  125.05 MPixel/sec)
> 
> Card memory:
> Blit                                   3.02 secs (  308.15 MPixel/sec)
> Blit colorkeyed                        3.01 secs (  308.87 MPixel/sec)
> Blit with format conversion            3.02 secs (  141.15 MPixel/sec)
> Blit from 32bit (alphachannel blend)   3.04 secs (  129.26 MPixel/sec)
> Stretch Blit                           3.06 secs (  147.43 MPixel/sec)
> Stretch Blit colorkeyed                3.05 secs (  147.57 MPixel/sec)
> 
> "Blit with format conversion" seems to be limited from AGP. I think I'm
> running at AGP 2x but I'm not sure. I'll have to make it print some useful
> messages on the mode, sba, fw etc.

I don't know how calculate the bandwidth correctly, but 66*4*2 gives 528Mb/s,
which is comparable to the 400Mb/s read by the MGA during conversion-blit.

Did you try mode 4?

-- 
Best regards,
  Denis Oliver Kropp

.------------------------------------------.
| DirectFB - Hardware accelerated graphics |
| http://www.directfb.org/                 |
"------------------------------------------"

                            Convergence GmbH


-- 
Info:  To unsubscribe send a mail to [EMAIL PROTECTED] with 
"unsubscribe directfb-dev" as subject.

Reply via email to