On Wed, Jan 30, 2008 at 04:05:30PM +0100, Marco Cavallini [KOAN] wrote:
> Matthias Riederer ha scritto:
> > Hi,
> > 
> > I'm working with an Atmel ARM9 Board and want to use directfb but also get 
> > the error:
> > (!) DirectFB/FBDev: Unsupported pixelformat: rgba 8/0, 8/8, 8/16, 0/0 
> > (24bit)
> > 
> > Does someone know what to do? Or find a solution for this?
> 
> I did a "quick and dirty hack" just to understand if something was working.
> I replaced
> 
> case 24:
>     if (dfb_fbdev_compatible_format( var, 0, 8, 8, 8, 0, 16, 8, 0 ))
>          return DSPF_RGB24;
> 
> with
> 
> case 24:
>     if (dfb_fbdev_compatible_format( var, 0, 8, 8, 8, 8, 16, 0, 0 ))
>          return DSPF_RGB24;
> 
> and I have been able to see something on the screen but there is still 
> al long work to do introducing a new color format DSPF_BGR24.
> Maybe Oliver could give us some useful hints about what are the files 
> involved into this issue.

grep -r RGB24 should give you a decent idea. I think it should be less than
10 files since you don't need to worry about gfxdrivers.

-- 
Ville Syrjälä
[EMAIL PROTECTED]
http://www.sci.fi/~syrjala/

_______________________________________________
directfb-users mailing list
[email protected]
http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-users

Reply via email to