PseudoColor X - Initial entries in the shared colormap

Peter Harris pharris at opentext.com
Wed Mar 13 10:23:32 PDT 2013


On 2013-03-13 13:15, Andy Bristow wrote:
> When using X in 8-bit PseudoColor mode, I am trying to find out where
> default colors are allocated to the system colormap.
> 
> When I start just X - by that I mean just the root window displayed:
> without a display manager and without any application windows (not even
> so much as an Xterm), then the colormap has already 73 entries in it.
> Does anyone know how they get there? I was expecting black and white in
> there (there is the cursor to display, after all), but 73?
> 
> If I could find out how they get there, then I may be able to reduce the
> number ...

The RENDER extension preallocates a colour cube.

You can reduce the number of preallocated entries by disabling RENDER,
but be aware that most modern apps require RENDER to run.

Peter Harris
-- 
               Open Text Connectivity Solutions Group
Peter Harris                    http://connectivity.opentext.com/
Research and Development        Phone: +1 905 762 6001
pharris at opentext.com            Toll Free: 1 877 359 4866


More information about the xorg mailing list