case FB_VISUAL_STATIC_PSE UDOCOLOR fbdevGetColors pScreen nent pdefs v

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
...
case FB_VISUAL_STATIC_PSEUDOCOLOR:
...
fbdevGetColors (pScreen, 0, nent, pdefs);
...
...
void
fbdevGetColors (ScreenPtr pScreen, int fb, int n, xColorItem *pdefs)
{
....
k = ioctl (priv->fd, FBIOGETCMAP, &cmap);
}