nanogui: Palette or TrueColor?


Previous by date: 7 Dec 2001 17:25:50 -0000 Re: Resource Compiler (There IS one out there), Greg Haerr
Next by date: 7 Dec 2001 17:25:50 -0000 Re: Microwindows 0.89pre8 released (long), Greg Haerr
Previous in thread: 7 Dec 2001 17:25:50 -0000 Palette or TrueColor?, linuxhh
Next in thread: 7 Dec 2001 17:25:50 -0000 Re: Palette or TrueColor?, linuxhh

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



Previous by date: 7 Dec 2001 17:25:50 -0000 Re: Resource Compiler (There IS one out there), Greg Haerr
Next by date: 7 Dec 2001 17:25:50 -0000 Re: Microwindows 0.89pre8 released (long), Greg Haerr
Previous in thread: 7 Dec 2001 17:25:50 -0000 Palette or TrueColor?, linuxhh
Next in thread: 7 Dec 2001 17:25:50 -0000 Re: Palette or TrueColor?, linuxhh


Powered by ezmlm-browse 0.20.