Lines Matching defs:gmap
112 CGUpdateColormap(ScreenPtr pScreen, int dex, int count, u_char *rmap, u_char *gmap, u_char *bmap)
119 sunCmap.green = &gmap[dex];
129 CGGetColormap(ScreenPtr pScreen, int dex, int count, u_char *rmap, u_char *gmap, u_char *bmap)
136 sunCmap.green = &gmap[dex];
152 u_char rmap[256], gmap[256], bmap[256];
175 gmap[i] = cmap->green[(i & gMask) >> oGreen].co.local.green >> 8;
179 (*pPrivate->GetColormap) (cmap->pScreen, 0, 256, rmap, gmap, bmap);
185 gmap[i] = pent->co.shco.green->color >> 8;
190 gmap[i] = pent->co.local.green >> 8;
196 (*pPrivate->UpdateColormap) (cmap->pScreen, 0, 256, rmap, gmap, bmap);
232 u_char rmap[256], gmap[256], bmap[256];
245 gmap[i] = pdefs->green >> 8;
247 (*pPrivate->UpdateColormap) (pmap->pScreen, i, 1, rmap, gmap, bmap);
257 u_char *rmap, *gmap, *bmap;
261 gmap = origColormap->origGreen;
263 (*pPrivate->GetColormap)(pScreen, 0, NCMAP, rmap, gmap, bmap);
271 u_char *rmap, *gmap, *bmap;
276 gmap = origColormap->origGreen;
278 (*pPrivate->UpdateColormap)(pScreen, 0, NCMAP, rmap, gmap, bmap);
387 CG2UpdateColormap(ScreenPtr pScreen, int index, int count, u_char *rmap, u_char *gmap, u_char *bmap)
395 fb->regs.greenmap[index] = gmap[index];
403 CG2GetColormap(ScreenPtr pScreen, int index, int count, u_char *rmap, u_char *gmap, u_char *bmap)
410 gmap[index] = fb->regs.greenmap[index];