Lines Matching defs:rmap
112 CGUpdateColormap(ScreenPtr pScreen, int dex, int count, u_char *rmap, u_char *gmap, u_char *bmap)
118 sunCmap.red = &rmap[dex];
129 CGGetColormap(ScreenPtr pScreen, int dex, int count, u_char *rmap, u_char *gmap, u_char *bmap)
135 sunCmap.red = &rmap[dex];
152 u_char rmap[256], gmap[256], bmap[256];
174 rmap[i] = cmap->red[(i & rMask) >> oRed].co.local.red >> 8;
179 (*pPrivate->GetColormap) (cmap->pScreen, 0, 256, rmap, gmap, bmap);
184 rmap[i] = pent->co.shco.red->color >> 8;
189 rmap[i] = pent->co.local.red >> 8;
196 (*pPrivate->UpdateColormap) (cmap->pScreen, 0, 256, rmap, gmap, bmap);
231 u_char rmap[256], gmap[256], bmap[256];
243 rmap[i] = pdefs->red >> 8;
246 (*pPrivate->UpdateColormap) (pmap->pScreen, i, 1, rmap, gmap, bmap);
256 u_char *rmap, *gmap, *bmap;
259 rmap = origColormap->origRed;
262 (*pPrivate->GetColormap)(pScreen, 0, NCMAP, rmap, gmap, bmap);
270 u_char *rmap, *gmap, *bmap;
274 rmap = origColormap->origRed;
277 (*pPrivate->UpdateColormap)(pScreen, 0, NCMAP, rmap, gmap, bmap);
384 CG2UpdateColormap(ScreenPtr pScreen, int index, int count, u_char *rmap, u_char *gmap, u_char *bmap)
391 fb->regs.redmap[index] = rmap[index];
400 CG2GetColormap(ScreenPtr pScreen, int index, int count, u_char *rmap, u_char *gmap, u_char *bmap)
406 rmap[index] = fb->regs.redmap[index];