On Mon, 18 Jun 2001 17:49:51 EDT, Havoc Pennington said:
> There's just no real point using a visual other than the default,
> ever. Unless your app is written specifically for certain hardware
> such as an SGI.
>
> (The only exception is to use the GdkRGB visual for drawables where
> you'll draw RGB data, but in GTK 2 this isn't even necessary.)
The other exception is where your default visual is 24 bit, but you are
trying to optimize for speed, and thus want to use a 8 or 16 bit visual.
There was a review of XFree86 4.1.0, which showed this effect:
http://www.thedukeofurl.org/reviews/misc/xfree86410/4.shtml
Look at the XBench results for 16 and 32 bit.
And of course, if you're trying to use X-over-ssh or lbxproxy or just
remote display of an X window, and are pumping all the pixmaps over an
actual wire, cutting 60% of your network traffic by ysing an 8-bit
visual rather than 24-bit may be *really* crucial...
--
Valdis Kletnieks
Operating Systems Analyst
Virginia Tech
PGP signature