Michael Opdenacker wrote:
> Hello,
> 
>> If I look at systems/fbdev/fbdev.c in the DirectFB library, I see that 
>> DirectFB only supports pixel formats for which red offset > green offset 
>>> blue offset instead of red offset < green offset < blue offset in my 
>> case.
>>
>> Would this means that
>>
>>    * It's just that this format is not supported yet by DirectFB, but
>>      may be one day,
>>    * Or that the FB driver for my kernel is ordering color information
>>      in a non standard way?
>>  
>>
> Just talked to Atmel people about this issue. They told me that their 
> hardware only supports BGR instead of RGB.
> 
> So, do you know if there are plans to support BGR in DirectFB?

There are no plans, at least until the pixel formats are modularized
so you don't have to include tons of formats in your custom build, and
to have it extendable without modifying the core library.

You can add the pixel format quite easily, give it a try and grep
for DSPF_ARGB1555 through whole source and add DSPF_ABGR1555.

-- 
Best regards,
   Denis Oliver Kropp

.------------------------------------------.
| DirectFB - Hardware accelerated graphics |
| http://www.directfb.org/                 |
"------------------------------------------"

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

Reply via email to