nanogui: Thread: Framebuffer question (display)


[<<] [<] Page 1 of 1 [>] [>>]
Subject: Framebuffer question (display)
From: "Demetris Zavorotnichenko" ####@####.####
Date: 8 Jan 2008 12:49:11 -0000
Message-Id: <20080108124815.4EF92187D98@demokritos4.cytanet.com.cy>

I don't know why, the hardware seems to be correct but on the display I see
where green blue and where blue green.

Is there any way to reverse this in the Nano-X compilation in the Config
file or somewhere else ?

Subject: Re: [nanogui] Framebuffer question (display)
From: "Greg Haerr" ####@####.####
Date: 9 Jan 2008 01:01:19 -0000
Message-Id: <05d501c8525b$1abcc6e0$6501a8c0@winXP>

: I don't know why, the hardware seems to be correct but on the display I 
see
: where green blue and where blue green.
:
: Is there any way to reverse this in the Nano-X compilation in the Config
: file or somewhere else ?

Thats a bit strange.  All RGB <-> hw framebuffer values are
converted using macros in include/mwtypes.h.  Look for things
like RGBTOPIXELVAL and COLORTOPIXELVAL macros.
These macros, built for each framebuffer type, convert between RGB
and hw formats.

Regards,

Greg 

[<<] [<] Page 1 of 1 [>] [>>]


Powered by ezmlm-browse 0.20.