On Wed, 5 Jun 2002, Skip Gaede wrote: > Hi, > > I was chasing down an initialization problem in a Linux kernel video driver, > and I put a printk in the kernel video driver routine set_cmap. During the > startup of the 3.3.6 X Server XF68_FBDev, set_cmap is called 256 times. > During the startup of the 4.2.0 X Server fbdev, the routine is called 753 > times. I find this rather bizarre.
3.3.6 must be being called once for each entry in the palette, rather than collecting all 256 entries and setting the map once. 4.2.0 looks like it has lost some entries, or knows that some aren't used. I'd have to guess whether it is now using three color maps, or whether the red, green, and blue palettes are set separately. DirectColor visuals pretend that the 3 channels have separate palettes which might explain this. -- Dr. Andrew C. Aitchison Computer Officer, DPMMS, Cambridge [EMAIL PROTECTED] http://www.dpmms.cam.ac.uk/~werdna _______________________________________________ Xpert mailing list [EMAIL PROTECTED] http://XFree86.Org/mailman/listinfo/xpert
