Alan.Coopersmith at Sun.COM
Wed Apr 8 08:36:29 PDT 2009
Patrick O'Donnell wrote:
>> ...Even if you do need to work on a PseudoColor display, you're far
>> better off allocating a new Colormap and calling XStoreColors once
>> (to fill the whole Colormap with exactly the colors you need) for
>> this sort of thing.
> But for nearly all systems, allocating a new colormap for specific
> windows creates color flashing when the windows change focus. When
> there are enough color slots avilable in the default colormap,
> XAllocColors (note the plural) gives a much more pleasing effect.
> (Though, I just really noticed the the "million". That could indeed
> change the balance.)
Are there any systems in which you can write a million colors to a
PsuedoColor colormap? I've not often seen PseudoColor supporting
more than 8-bit/256 colors in the real world.
-Alan Coopersmith- alan.coopersmith at sun.com
Sun Microsystems, Inc. - X Window System Engineering
More information about the xorg