Re: Optimized cfbimgblt.c
flat view
From: Antonino A. Daplas <hidden>
Date: 2005-01-25 12:58:59
On Thursday 20 January 2005 04:25, jsimmons@pentafluge.infradead.org wrote:
Here is a patch for packed pixel software imageblit. Since the code to draw a color image and a mono image are almost the same I merged them. Second I made the code generic enough to work on big endian and little endian code at the same time. I set my radeon card in my x86 box to big endian mode and tested. It worked for me but I like people on big endian machines to test it. The last fix was to deal with the 16 color logo. The fb_set_logo was unpacking the 4bpp info. Now cfb_imageblit can handle the logo data directly. Most hardware expects the data not to be unpacked. Another bug was image.depth was always set to 8 in fb_show_logo. This is in correct. Please test. Thank you.
Hi James, Tested on vesafb: works Tested on rivafb: crashes on fb_show_logo(). Tony ------------------------------------------------------- This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag-&-drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl