On Sat, 15 Sep 2001, Keith Packard wrote:

> 
> Around 9 o'clock on Sep 15, Sidik Isani wrote:
> 
> |>   With 8 bpp pseudocolor, I'm finding that simply starting the
> |>   X-Server allocates almost all the color cells in the default
> |>   colormap.  There are only about 12 free cells, and most programs
> |>   either fail or install a private colormap.  Is there an extension
> |>   which may be doing this?
> 
> Yes, the Render extension allocates most of your colormap now.  I was 
> planning on making the number it consumed configurable but I got 
> sidetracked by other work temporarily.  If you build your own X server, 
> you can easily hack this number in the source; look at
> 
>       programs/Xserver/render/miindex.c:miInitIndexed
> 
> What do others think we should do about this?  One possibility would be to 
> bend the protocol and match incoming requests to this palette when the 
> colormap was otherwise filled; that would eliminate color flashing while 
> still providing reasonable color matching.  The protocol is rather vague 
> on when this kind of sharing will occur; perhaps some less stringent 
> metric could be applied that allowed more distant colors to be used.

   Can render allocate the colors as needed and use whatever it
gets?  This would be more consistent with traditional PsuedoColor
behavior.  That is, first come first serve and if you don't like that
use a private map.  


                                Mark.


_______________________________________________
Xpert mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/xpert

Reply via email to