[comp.windows.x] Color Server question

dany@pensoft.UUCP (Dany Guindi) (03/27/91)

A question for those who have developed servers for colour displays with
large depths: How did you do the colormap? If you have a 36bit colour you 
do not really want to allocate such a large colourmap, is there a recommended
solution?

Thanks for any and all hints!

--dany guindi
pensoft!dany@cs.utexas.edu
Pencom Software
512-343-1111

mouse@lightning.mcrcim.mcgill.EDU (der Mouse) (03/28/91)

> A question for those who have developed servers for colour displays
> with large depths: How did you do the colormap?

I would recommend providing only TrueColor and DirectColor visuals.

> If you have a 36bit colour you do not really want to allocate such a
> large colourmap, is there a recommended solution?

Seems to me the hardware will impose some restrictions on you.  It's
unlikely that the hardware is (in X terms) 36-bit PseudoColor; a
64-gigaentry hardware colormap would take up a lot of silicon.  So, I
would say you should present an X visual that matches what the hardware
does, which is probably 12/12/12 TrueColor or DirectColor.  If the
hardware makes it possible, it might be nice to present an 8-bit
PseudoColor visual, preferably with multiple installed maps, but that's
a bit of a frill, IMO.

					der Mouse

			old: mcgill-vision!mouse
			new: mouse@larry.mcrcim.mcgill.edu