nanogui: Palette or TrueColor?
Subject:
Re: [nanogui] Palette or TrueColor?
From:
"Greg Haerr" ####@####.####
Date:
7 Dec 2001 17:25:50 -0000
Message-Id: <011701c17f43$ed6f1120$3aba46a6@xmission.com>
: 1. Because this LCD only have 4096 color, how can I deal with the pallette of
MicroWindow?
: 2. There isn't any code to manage the 12BPP besides in "drivers\fblin12.c".
Can I regard my platform as 256 color( 8BPP palette ) or 4096 color( 12BPP
444TrueColor )?
I think the best approach is to set up the framebuffer for 444 truecolor,
and then use the ioctl functions in drivers/scr_fb.c to set up the internal
linux palette. In this way, Microwindows will see the framebuffer as truecolor,
rather than a > 256 color palette.
Please send me the completed 12bpp driver if you get this working.
Regards,
Greg