nanogui: quick question on the config file.


Previous by date: 2 Jul 2001 14:35:09 -0000 quick question on the config file., Gray, Tim
Next by date: 2 Jul 2001 14:35:09 -0000 flnx help question, Gray, Tim
Previous in thread: 2 Jul 2001 14:35:09 -0000 quick question on the config file., Gray, Tim
Next in thread:

Subject: Re: [nanogui] quick question on the config file.
From: Jordan Crouse ####@####.####
Date: 2 Jul 2001 14:35:09 -0000
Message-Id: <01070208355900.05819@cosmic>

The problem here is that you said that the depth of the screen is 16 bits, 
but you have a PIXTYPE for 15 bits (5 + 5 + 5 = 15).  There are actually two 
color types that use a 16 bit short, 555 which has 5 bits each for Red, Green 
and Blue, and 565 which adds a sixth bit for green (it turns out that the 
human eye is most sensitive to green).

So you can see that you are generating 15 bit colors in the drawing 
primitives, but they are being parsed as 16 bit colors when they are being 
drawn by X11, resulting in your problem.

Try replacing the pixtype with:
SCREEN_PIXTYPE = MWPF_TRUECOLOR565 

and see if things improve.
Jordan


On Monday 02 July 2001 07:10, Gray, Tim mentioned:
> I am finally compiling a X11 version of microwindows to make my development
> easier instead of doing everything on a prototype final product.
>
> When I configure nano-X as follows....
>
> X11 = Y
> SCREEN_E15 = N
> SCREEN_WIDTH = 640
> SCREEN_HEIGHT = 480
> SCREEN_DEPTH = 16
>
> in the desire to have a 16bit depth for color, the same as the target
> platform, I get only 4 colors dithered, and everything has a bluish hue to
> it.
>
> I do have the SCREEN_PIXTYPE = MWPF_TRUECOLOR555
> defined for 16 bit color depth also.
>
> Thanks.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: ####@####.####
> For additional commands, e-mail: ####@####.####

Previous by date: 2 Jul 2001 14:35:09 -0000 quick question on the config file., Gray, Tim
Next by date: 2 Jul 2001 14:35:09 -0000 flnx help question, Gray, Tim
Previous in thread: 2 Jul 2001 14:35:09 -0000 quick question on the config file., Gray, Tim
Next in thread:


Powered by ezmlm-browse 0.20.