Jouni Tulkki wrote:

I use firegl driver from ATI. I know this is not directly related
to DRI but still.

I enabled Fast Writes from bios and now I get 440MB/s with ShmPutImage.
The real bottleneck seems to be texture downloading with glTexImage2d.
The speed I get is 121MB/s. Using glDrawPixels I get 710 MB/s. So I should use glDrawPixels and then glCopyTexImage2d for best performance.

There are a couple of factors here. First, you may be supplying the data in a format that the hardware cannot directly handle. As a result the driver may have to reformat the data. Also, the driver has to copy the data from your buffer to a DMA buffer before it can transmit it to the card. I expect that the ATI driver will do that as a single step, but maybe not. In any case, as many people have found on many platforms, glCopyTexImage is not the fastest interface for sending data to the card.




-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Dri-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/dri-devel

Reply via email to