Lines Matching refs:pCmap
36 ColormapPtr pCmap = pScreenPriv->pInstalledmap;
50 if (!pCmap)
61 QueryColors(pCmap, (1 << pScreenPriv->screen->fb.depth), pixels, colors,
72 (*pScreenPriv->card->cfuncs->putColors) (pCmap->pScreen,
127 KdInstallColormap(ColormapPtr pCmap)
129 KdScreenPriv(pCmap->pScreen);
131 if (pCmap == pScreenPriv->pInstalledmap)
140 pScreenPriv->pInstalledmap = pCmap;
142 KdSetColormap(pCmap->pScreen);
145 WalkTree(pCmap->pScreen, TellGainedMap, (void *) &(pCmap->mid));
156 KdUninstallColormap(ColormapPtr pCmap)
158 KdScreenPriv(pCmap->pScreen);
163 if (pCmap != pScreenPriv->pInstalledmap)
167 defMapID = pCmap->pScreen->defColormap;
168 if ((Colormap) pCmap->mid == defMapID)
175 (*pCmap->pScreen->InstallColormap) (defMap);
178 WalkTree(pCmap->pScreen, TellLostMap, (void *) &(pCmap->mid));
204 KdStoreColors(ColormapPtr pCmap, int ndef, xColorItem * pdefs)
206 KdScreenPriv(pCmap->pScreen);
210 if (pCmap != pScreenPriv->pInstalledmap)
223 pVisual = pCmap->pVisual;
229 ndef = fbExpandDirectColors(pCmap, ndef, pdefs, expanddefs);
233 (*pScreenPriv->card->cfuncs->putColors) (pCmap->pScreen, ndef, pdefs);