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.

Cordiali Saluti / Kindest Regards / mit freundlichen Grüssen
--
Marco Cavallini | KOAN SAS | Bergamo - Italia
  embedded and real-time software engineering
Phone:+39-035-255.235 - Fax:+39-178-22.39.748
       http://www.KoanSoftware.com
  Meet us @ Embedded World 2008 - Nurenberg
   February 26-28, 2008      Hall 11 - 224

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

Reply via email to