FB endianness

Keith Packard keithp at keithp.com
Thu Jan 20 18:04:52 PST 2005


Around 2 o'clock on Jan 21, Thomas Winischhofer wrote:

> Is there any way to "trick" the server into using a little-endian
> (shadow) framebuffer on a big endian machine? Thinking of RGB ordering
> and the like.

You can make fb access the frame buffer 32 bits at a time, which should 
let you set whatever bit/byte order you want.  Note that fb doesn't handle 
mixed endian formats though.

Are you sure it wouldn't be easier to just flip pixels on the way to the 
frame buffer?

-keith


-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 228 bytes
Desc: not available
URL: <http://lists.x.org/archives/xorg/attachments/20050120/80d55fce/attachment.pgp>


More information about the xorg mailing list