[PATCH] Accelerated two directional blt support for EXA

Jesse Barnes jbarnes at virtuousgeek.org
Sat Feb 25 14:08:10 PST 2006


Since my lame Trident Cyberblade only supports blts in two directions 
(xdir == ydir), this patch is needed to get decent blt acceleration on 
my machine.  I just took the equivalent XAA code and ported it over to 
EXA.  Seems to work ok on my machine, but I'd appreciate review and/or 
comments.  One thing that's lacking is proper error handling for the 
new case.  If one of the PrepareCopy calls fails, I'm not sure what to 
do, since we may be part way through the CopyNtoN process...

Thoughts?

Thanks,
Jesse

P.S.  The other bit in the patch is a fix for the exaInitCard routine.  
The old macro was broken so I fixed it and made it into a static inline 
so we get type checking (not that anyone uses it, maybe it should just 
be removed instead).  I can check that in separately though if it looks 
good.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: exa-twodir-blt-2.patch
Type: text/x-diff
Size: 9284 bytes
Desc: not available
URL: <http://lists.x.org/archives/xorg/attachments/20060225/b7c69b9e/attachment.patch>


More information about the xorg mailing list