I use the MPC5200 too and I has written a patch to see normal colors on the
device on the most pixel formats.

I'll be able to give it to you in monday when I'll come at my office.


2008/4/18, [EMAIL PROTECTED] <[EMAIL PROTECTED]>:
>
> Hi All,
>
> I'm using a Freescale MPC5200 based board with the Fujitsu Carmine
> graphics controller.
> When using directfb a get wrong colors on the display.
> The reason is that the PowerPC uses big endian and the framebuffer
> of the graphic controller is little endian. Some parts of the graphic
> controller
> can be set to be big endian (e.g. register access) but not the framebuffer
> memory!
>
> When writing to the framebuffer each 16bit value has to be byte-swapped
> (for 16bpp)
> by the processor.
>
> Reading the FAQ of directfb a have read that there are no hook function to
> swap bytes.
> Where is the right place in the source code of directfb 1.1.1 to do
> byte-swapping?
>
> Regards,
> E. Ponstingl
>
> _______________________________________________
> directfb-dev mailing list
> directfb-dev@directfb.org
> http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-dev
>



-- 
Best Regards
Nikita Egorov
[EMAIL PROTECTED]
[EMAIL PROTECTED]
_______________________________________________
directfb-dev mailing list
directfb-dev@directfb.org
http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-dev

Reply via email to