Bede,

The colormap allocation is done in xc/programs/Xserver/render/miindex.c in
the miBuildRenderColormap function.  To have only black and white pixels
allocated, the same as Solaris Xsun, remove the call to
miBuildRenderColormap in miInitIndexed (in the same file).

Regards,

Lindsay Haigh

      Hi,

      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.

      Thanks in advance,

      Bede Jordan

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

Reply via email to