nanogui: colormap


Previous by date: 20 Dec 2005 22:28:57 +0000 Re: colormap, Robbie
Next by date: 20 Dec 2005 22:28:57 +0000 libnano-X.so, needed by libX11.so, not found, Terence Soh
Previous in thread: 20 Dec 2005 22:28:57 +0000 Re: colormap, Robbie
Next in thread: 20 Dec 2005 22:28:57 +0000 Re: colormap, Robbie

Subject: Re: [nanogui] colormap
From: "Greg Haerr" ####@####.####
Date: 20 Dec 2005 22:28:57 +0000
Message-Id: <19be01c605b4$bceda1a0$0300a8c0@RDP>

: I believe I've found the source. The byte ordering for the arm lcdc driver
(linux 2.6.12) is set to BGR and nanoX is assuming RGB. The question is, Is
their an easy switch in the nanoX source? I've examine the device.h file and
it appears that I'll have to redefine the conversions? Is their a simpler
way I might be missing?

I thought redefining macros would be simple :)
It should be as simple as changing the positions of 'r' and 'b'
in the macro definition, I think.

Yes, change the macros to switch the RGB values that your
framebuffer requires.  When you get it working, send me
a patch, and I'll add it to CVS device.h.

Regards,

Greg


Previous by date: 20 Dec 2005 22:28:57 +0000 Re: colormap, Robbie
Next by date: 20 Dec 2005 22:28:57 +0000 libnano-X.so, needed by libX11.so, not found, Terence Soh
Previous in thread: 20 Dec 2005 22:28:57 +0000 Re: colormap, Robbie
Next in thread: 20 Dec 2005 22:28:57 +0000 Re: colormap, Robbie


Powered by ezmlm-browse 0.20.