[prev in list] [next in list] [prev in thread] [next in thread] 

List:       freedesktop-xorg
Subject:    Re: PseudoColor X - Initial entries in the shared colormap
From:       Peter Harris <pharris () opentext ! com>
Date:       2013-03-13 17:23:32
Message-ID: 5140B614.9090303 () opentext ! com
[Download RAW message or body]

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@opentext.com            Toll Free: 1 877 359 4866
_______________________________________________
xorg@lists.x.org: X.Org support
Archives: http://lists.freedesktop.org/archives/xorg
Info: http://lists.x.org/mailman/listinfo/xorg
Your subscription address: freedesktop-xorg@progressive-comp.com
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic