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

Reply via email to