On Tue, 1 Apr 2003 [EMAIL PROTECTED] wrote:

> Can anyone tell me where in the XFree86 code the initial colormap gets
> allocated when a modifiable visual (eg PseudoColor) is being used? I'm
> trying to stop XFree86 allocate any colors itself except black and white,
> because I'm using a legacy application that's running out of colormap space
> (in 8 bit color depth mode). Currently using a hack to block AllocColor
> calls until the server starts up, but would like to fix this properly.

Which version of XFree86 are you using ?

In 4.2 the RENDER extension uses most of the colours in 8bit mode;
you can disable it at compile time.

I think I've seen a config option which disables the Render extension 
at run time in 4.3, but now the extension isn't quite as greedy, so there 
is less need for it.

-- 
Dr. Andrew C. Aitchison         Computer Officer, DPMMS, Cambridge
[EMAIL PROTECTED]       http://www.dpmms.cam.ac.uk/~werdna

_______________________________________________
Devel mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/devel

Reply via email to