PseudoColor and DirectColor visuals (was Re: Documentation?)

Olivier Galibert galibert at
Wed Apr 8 16:14:28 PDT 2009

On Wed, Apr 08, 2009 at 07:00:02PM -0400, Patrick O'Donnell wrote:
> Speaking of which -- the applications I'm maintaining are wedded to
> using a writable color map, which has always been PseudoColor, which,
> as you point out, pretty much means 8-bit.  I've been toying with
> expanding the apps' repertoire to accepting a DirectColor visual, but
> I've noticed that not a lot of servers actually offer one.  Would I be
> wasting my time adding in the necessary support for DirectColor?
> (Supporting TrueColor, alas, would be a royal pain, given the design
> of the apps.)

You would be.  On the other hand, are you sure supporting DirectColor
is any easier than TrueColor?  The hard part, supported >255 color
numbers, seems to be identical, and the 3 per-color palettes don't
allow for much in terms of color animation.


More information about the xorg mailing list