Alan Cox wrote:
On Mer, 2004-10-06 at 16:56, Dieter NÃtzel wrote:

What about MMX2, 3DNow, 3DNow2 (pro), SSE (1)?

It would be nice if we have this like MPlayer:

Soreen wrote a set of routines for this that are in Xorg 6.8.* and optimise the readback of video memory for render operations - naturally enough they include the speed ups for readback of videoram.

I'll take a look at that. It should make a useful reference. The gotcha is that the readback routine is (slightly) more than just a copy from video RAM to system RAM. It has to convert the pixel data from its native, on-card format to RGBA8888. In the case of my patch, it converts from BGRA to RGBA while doing the copy. That's why it needs the SSE2 shift instructions.


DMA is still a better option - being able to DMA a tile to main memory
for fixup and DMA back..

Right.


------------------------------------------------------- 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