On Tue, Feb 13, 2007 at 05:42:34PM +0100, Søren Andersen wrote: > Hej > > I had tryed to use Directfb on an at91sam9261 cpu > > I added the following line in system/fbdev/fbdev.c > > case 16: > if (dfb_fbdev_compatible_format( var, 0, 5, 5, 5, 0, 10, > 5, 0 ) | > + dfb_fbdev_compatible_format( var, 1, 5, 5, 5,15, 0, 5, > 10 ) | > dfb_fbdev_compatible_format( var, 1, 5, 5, 5,15, 10, > 5, 0 ) ) > return DSPF_ARGB1555; > > > to get any picture.
DirectFB doesn't currently support any ABGR formats. If the colors aren't messed up then the kernel fb driver is buggy, but if red and blue are inverted then the hardware really does support ABGR. DirectFB would need some modifications to support it. It should actually be quite easy now that the sw rendering code uses cpp templates. -- Ville Syrjälä [EMAIL PROTECTED] http://www.sci.fi/~syrjala/ _______________________________________________ directfb-dev mailing list [email protected] http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-dev
