| /xsrc/external/mit/xorg-server/dist/fb/ |
| fbcmap_mi.c | 45 fbInstallColormap(ColormapPtr pmap) 47 miInstallColormap(pmap); 51 fbUninstallColormap(ColormapPtr pmap) 53 miUninstallColormap(pmap); 64 fbInitializeColormap(ColormapPtr pmap) 66 return miInitializeColormap(pmap); 70 mfbCreateColormap(ColormapPtr pmap) 77 pScreen = pmap->pScreen; 95 if (AllocColor(pmap, &red0, &green0, &blue0, &pix, 0) != Success) 99 if (AllocColor(pmap, &red1, &green1, &blue1, &pix, 0) != Success [all...] |
| /xsrc/external/mit/xorg-server.old/dist/fb/ |
| fbcmap_mi.c | 46 fbInstallColormap(ColormapPtr pmap) 48 miInstallColormap(pmap); 52 fbUninstallColormap(ColormapPtr pmap) 54 miUninstallColormap(pmap); 67 fbInitializeColormap(ColormapPtr pmap) 69 return miInitializeColormap(pmap); 73 mfbCreateColormap(ColormapPtr pmap) 80 pScreen = pmap->pScreen; 98 if (AllocColor(pmap, &red0, &green0, &blue0, &pix, 0) != Success) 102 if (AllocColor(pmap, &red1, &green1, &blue1, &pix, 0) != Success [all...] |
| /xsrc/external/mit/xorg-server.old/dist/hw/xfree86/vgahw/ |
| vgaCmap.c | 69 int vgaCheckColorMap(ColormapPtr pmap) 71 return (pmap != GetInstalledmiColormap(pmap->pScreen)); 76 vgaStoreColors(pmap, ndef, pdefs) 77 ColormapPtr pmap; 89 int scrnIndex = pmap->pScreen->myNum; 96 if (vgaCheckColorMap(pmap)) 99 if ((pmap->pVisual->class | DynamicClass) == DirectColor) 101 ndef = miExpandDirectColors (pmap, ndef, pdefs, directDefs); 217 vgaInstallColormap(pmap) [all...] |
| /xsrc/external/mit/xorg-server.old/dist/dix/ |
| colormap.c | 97 ColormapPtr /*pmap*/, 109 ColormapPtr /*pmap*/, 115 ColormapPtr /*pmap*/ 120 ColormapPtr /*pmap*/, 134 ColormapPtr /*pmap*/, 144 ColormapPtr /*pmap*/, 154 ColormapPtr /*pmap*/, 167 ColormapPtr /*pmap*/, 181 ColormapPtr /* pmap */, 260 ColormapPtr pmap; local 436 ColormapPtr pmap = (ColormapPtr)value; local 569 ColormapPtr pmap = (ColormapPtr) NULL; local 1565 pointer pmap; local [all...] |
| /xsrc/external/mit/xorg-server/dist/dix/ |
| colormap.c | 92 static void FreePixels(ColormapPtr /*pmap */ , 102 static void FreeCell(ColormapPtr /*pmap */ , 107 static void UpdateColors(ColormapPtr /*pmap */ 111 ColormapPtr /*pmap */ , 124 ColormapPtr /*pmap */ , 133 static Bool AllocCP(ColormapPtr /*pmap */ , 142 static Bool AllocShared(ColormapPtr /*pmap */ , 154 static int FreeCo(ColormapPtr /*pmap */ , 166 static void FindColorInRootCmap(ColormapPtr /* pmap */ , 243 ColormapPtr pmap; local 407 ColormapPtr pmap = (ColormapPtr) value; local 531 ColormapPtr pmap = (ColormapPtr) NULL; local 1472 void *pmap; local [all...] |
| /xsrc/external/mit/libXpm/dist/src/ |
| scan.c | 65 LFUNC(storePixel, int, (Pixel pixel, PixelsMap *pmap, 68 LFUNC(storeMaskPixel, int, (Pixel pixel, PixelsMap *pmap, 71 typedef int (*storeFuncPtr)(Pixel pixel, PixelsMap *pmap, 75 unsigned int height, PixelsMap *pmap)); 78 unsigned int height, PixelsMap *pmap)); 81 unsigned int height, PixelsMap *pmap)); 84 unsigned int height, PixelsMap *pmap)); 87 unsigned int height, PixelsMap *pmap, 105 PixelsMap *pmap, 116 ncolors = pmap->ncolors 179 PixelsMap pmap; local [all...] |
| /xsrc/external/mit/xorg-server/dist/hw/sun/ |
| sunCfb24.c | 73 CG24StoreColors(ColormapPtr pmap, int ndef, xColorItem *pdefs) 76 sunScreenPtr pPrivate = sunGetScreenPrivate(pmap->pScreen); 77 VisualPtr pVisual = pmap->pVisual; 80 if (pPrivate->installedMap != NULL && pPrivate->installedMap != pmap) 83 rmap[i] = pmap->red[i].co.local.red >> 8; 84 gmap[i] = pmap->green[i].co.local.green >> 8; 85 bmap[i] = pmap->blue[i].co.local.blue >> 8; 97 CG24UpdateColormap (pmap->pScreen, 0, 256, rmap, gmap, bmap);
|
| sunCfb.c | 229 CGStoreColors(ColormapPtr pmap, int ndef, xColorItem *pdefs) 231 sunScreenPtr pPrivate = sunGetScreenPrivate(pmap->pScreen); 236 if (pPrivate->installedMap != NULL && pPrivate->installedMap != pmap) 238 if ((pmap->pVisual->class | DynamicClass) == DirectColor) { 239 ndef = fbExpandDirectColors(pmap, ndef, pdefs, expanddefs); 247 (*pPrivate->UpdateColormap) (pmap->pScreen, i, 1, rmap, gmap, bmap);
|
| /xsrc/external/mit/xorg-server.old/dist/hw/sun/ |
| sunCfb24.c | 73 CG24StoreColors(ColormapPtr pmap, int ndef, xColorItem *pdefs) 76 sunScreenPtr pPrivate = sunGetScreenPrivate(pmap->pScreen); 77 VisualPtr pVisual = pmap->pVisual; 80 if (pPrivate->installedMap != NULL && pPrivate->installedMap != pmap) 83 rmap[i] = pmap->red[i].co.local.red >> 8; 84 gmap[i] = pmap->green[i].co.local.green >> 8; 85 bmap[i] = pmap->blue[i].co.local.blue >> 8; 97 CG24UpdateColormap (pmap->pScreen, 0, 256, rmap, gmap, bmap);
|
| /xsrc/external/mit/xorg-server/dist/mi/ |
| micmap.c | 55 miInstallColormap(ColormapPtr pmap) 57 ColormapPtr oldpmap = GetInstalledmiColormap(pmap->pScreen); 59 if (pmap != oldpmap) { 63 WalkTree(pmap->pScreen, TellLostMap, (char *) &oldpmap->mid); 64 /* Install pmap */ 65 SetInstalledmiColormap(pmap->pScreen, pmap); 66 WalkTree(pmap->pScreen, TellGainedMap, (char *) &pmap->mid); 72 miUninstallColormap(ColormapPtr pmap) [all...] |
| micmap.h | 22 extern _X_EXPORT void miInstallColormap(ColormapPtr pmap); 23 extern _X_EXPORT void miUninstallColormap(ColormapPtr pmap);
|
| /xsrc/external/mit/xorg-server.old/dist/mi/ |
| micmap.c | 56 miInstallColormap(ColormapPtr pmap) 58 ColormapPtr oldpmap = GetInstalledmiColormap(pmap->pScreen); 60 if(pmap != oldpmap) 65 WalkTree(pmap->pScreen, TellLostMap, (char *)&oldpmap->mid); 66 /* Install pmap */ 67 SetInstalledmiColormap(pmap->pScreen, pmap); 68 WalkTree(pmap->pScreen, TellGainedMap, (char *)&pmap->mid); 74 miUninstallColormap(ColormapPtr pmap) [all...] |
| micmap.h | 20 extern _X_EXPORT void miInstallColormap(ColormapPtr pmap); 21 extern _X_EXPORT void miUninstallColormap(ColormapPtr pmap);
|
| /xsrc/external/mit/xorg-server/dist/hw/xwin/ |
| wincmap.c | 47 winStoreColors(ColormapPtr pmap, int ndef, xColorItem * pdefs); 50 winInstallColormap(ColormapPtr pmap); 53 winUninstallColormap(ColormapPtr pmap); 62 winCreateColormap(ColormapPtr pmap); 65 winDestroyColormap(ColormapPtr pmap); 155 winUninstallColormap(ColormapPtr pmap) 157 winScreenPriv(pmap->pScreen); 165 if (pmap != curpmap) { 179 if (pmap->mid != pmap->pScreen->defColormap) [all...] |
| /xsrc/external/mit/xorg-server.old/dist/hw/xwin/ |
| wincmap.c | 48 winStoreColors (ColormapPtr pmap, int ndef, xColorItem *pdefs); 51 winInstallColormap (ColormapPtr pmap); 54 winUninstallColormap (ColormapPtr pmap); 63 winCreateColormap (ColormapPtr pmap); 66 winDestroyColormap (ColormapPtr pmap); 161 winUninstallColormap (ColormapPtr pmap) 163 winScreenPriv(pmap->pScreen); 171 if (pmap != curpmap) 186 if (pmap->mid != pmap->pScreen->defColormap [all...] |
| /xsrc/external/mit/xorg-server/dist/hw/xfree86/common/ |
| xf86cmap.c | 67 #define LOAD_PALETTE(pmap) \ 68 ((pmap == GetInstalledmiColormap(pmap->pScreen)) && \ 70 xf86ScreenToScrn(pmap->pScreen)->vtSema || pScreenPriv->isDGAmode)) 262 CMapAllocateColormapPrivate(ColormapPtr pmap) 265 (CMapScreenPtr) dixLookupPrivate(&pmap->pScreen->devPrivates, 272 if (CMapColormapUseMax(pmap->pVisual, pScreenPriv)) 273 numColors = pmap->pVisual->ColormapEntries; 275 numColors = 1 << pmap->pVisual->nplanes; 285 dixSetPrivate(&pmap->devPrivates, CMapColormapKey, pColPriv) [all...] |
| /xsrc/external/mit/xorg-server.old/dist/hw/xfree86/common/ |
| xf86cmap.c | 66 #define LOAD_PALETTE(pmap) \ 67 ((pmap == GetInstalledmiColormap(pmap->pScreen)) && \ 69 xf86Screens[pmap->pScreen->myNum]->vtSema || pScreenPriv->isDGAmode)) 261 CMapAllocateColormapPrivate(ColormapPtr pmap) 264 &pmap->pScreen->devPrivates, CMapScreenKey); 270 if (CMapColormapUseMax(pmap->pVisual, pScreenPriv)) 271 numColors = pmap->pVisual->ColormapEntries; 273 numColors = 1 << pmap->pVisual->nplanes; 283 dixSetPrivate(&pmap->devPrivates, CMapColormapKey, pColPriv) [all...] |
| xf86DGA.c | 59 static void DGADestroyColormap(ColormapPtr pmap); 60 static void DGAInstallColormap(ColormapPtr pmap); 61 static void DGAUninstallColormap(ColormapPtr pmap); 275 DGADestroyColormap(ColormapPtr pmap) 277 ScreenPtr pScreen = pmap->pScreen; 279 VisualPtr pVisual = pmap->pVisual; 297 (*pScreen->DestroyColormap)(pmap); 304 DGAInstallColormap(ColormapPtr pmap) 306 ScreenPtr pScreen = pmap->pScreen; 310 if (pmap != pScreenPriv->dgaColormap) 671 ColormapPtr pmap; local [all...] |
| /xsrc/external/mit/xorg-server.old/dist/hw/vfb/ |
| InitOutput.c | 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 [all...] |
| /xsrc/external/mit/xorg-server/dist/hw/netbsd/x68k/ |
| x68kGraph.c | 125 static void x68kStoreColors(ColormapPtr pmap, int ndef, xColorItem *pdefs); 448 * argument: (ColormapPtr)pmap : colormap 454 x68kStoreColors(ColormapPtr pmap, int ndef, xColorItem *pdefs) 456 X68kScreenRec *pPriv = x68kGetScreenPrivate(pmap->pScreen); 461 if (pPriv->installedMap != NULL && pPriv->installedMap != pmap) 463 if ((pmap->pVisual->class | DynamicClass) == DirectColor) { 464 ndef = fbExpandDirectColors(pmap, ndef, pdefs, expanddefs); 472 x68kUpdateColormap(pmap->pScreen, i, 1, rmap, gmap, bmap);
|
| /xsrc/external/mit/xorg-server.old/dist/hw/netbsd/x68k/ |
| x68kGraph.c | 125 static void x68kStoreColors(ColormapPtr pmap, int ndef, xColorItem *pdefs); 447 * argument: (ColormapPtr)pmap : colormap 453 x68kStoreColors(ColormapPtr pmap, int ndef, xColorItem *pdefs) 455 X68kScreenRec *pPriv = x68kGetScreenPrivate(pmap->pScreen); 460 if (pPriv->installedMap != NULL && pPriv->installedMap != pmap) 462 if ((pmap->pVisual->class | DynamicClass) == DirectColor) { 463 ndef = fbExpandDirectColors(pmap, ndef, pdefs, expanddefs); 471 x68kUpdateColormap(pmap->pScreen, i, 1, rmap, gmap, bmap);
|
| /xsrc/external/mit/xorg-server/dist/include/ |
| colormap.h | 85 extern _X_EXPORT int FreeColormap(void *pmap, 98 extern _X_EXPORT int AllocColor(ColormapPtr /*pmap */ , 105 extern _X_EXPORT void FakeAllocColor(ColormapPtr /*pmap */ , 108 extern _X_EXPORT void FakeFreeColor(ColormapPtr /*pmap */ , 111 extern _X_EXPORT int QueryColors(ColormapPtr /*pmap */ , 121 ColormapPtr /*pmap */ , 129 ColormapPtr /*pmap */ , 140 extern _X_EXPORT int FreeColors(ColormapPtr /*pmap */ , 146 extern _X_EXPORT int StoreColors(ColormapPtr /*pmap */ ,
|
| /xsrc/external/mit/xorg-server/dist/hw/vfb/ |
| InitOutput.c | 382 vfbInstallColormap(ColormapPtr pmap) 384 ColormapPtr oldpmap = GetInstalledmiColormap(pmap->pScreen); 386 if (pmap != oldpmap) { 395 miInstallColormap(pmap); 397 entries = pmap->pVisual->ColormapEntries; 398 pXWDHeader = vfbScreens[pmap->pScreen->myNum].pXWDHeader; 399 pVisual = pmap->pVisual; 415 QueryColors(pmap, entries, ppix, prgb, serverClient); 424 (*pmap->pScreen->StoreColors) (pmap, entries, defs) [all...] |
| /xsrc/external/mit/xorg-server.old/dist/hw/kdrive/fake/ |
| fake.h | 114 fakeCreateColormap (ColormapPtr pmap);
|
| /xsrc/external/mit/xmodmap/dist/ |
| exec.c | 322 unsigned char pmap[256]; /* there are 8 bits of buttons */ local 325 count = XGetPointerMapping (dpy, pmap, 256); 333 i+1, (unsigned int) pmap[i]);
|