Home | History | Annotate | Download | only in vfb

Lines Matching refs:pmap

411 vfbInstallColormap(ColormapPtr pmap)
413 ColormapPtr oldpmap = GetInstalledColormap(pmap->pScreen);
415 if (pmap != oldpmap)
427 WalkTree(pmap->pScreen, TellLostMap, (char *)&oldpmap->mid);
428 /* Install pmap */
429 SetInstalledColormap(pmap->pScreen, pmap);
430 WalkTree(pmap->pScreen, TellGainedMap, (char *)&pmap->mid);
432 entries = pmap->pVisual->ColormapEntries;
433 pXWDHeader = vfbScreens[pmap->pScreen->myNum].pXWDHeader;
434 pXWDCmap = vfbScreens[pmap->pScreen->myNum].pXWDCmap;
435 pVisual = pmap->pVisual;
450 QueryColors(pmap, entries, ppix, prgb, serverClient);
459 (*pmap->pScreen->StoreColors)(pmap, entries, defs);
468 vfbUninstallColormap(ColormapPtr pmap)
470 ColormapPtr curpmap = GetInstalledColormap(pmap->pScreen);
472 if(pmap == curpmap)
474 if (pmap->mid != pmap->pScreen->defColormap)
477 pmap->pScreen->defColormap,
480 (*pmap->pScreen->InstallColormap)(curpmap);
486 vfbStoreColors(ColormapPtr pmap, int ndef, xColorItem *pdefs)
491 if (pmap != GetInstalledColormap(pmap->pScreen))
496 pXWDCmap = vfbScreens[pmap->pScreen->myNum].pXWDCmap;
498 if ((pmap->pVisual->class | DynamicClass) == DirectColor)