Searched refs:pCmap (Results 1 - 20 of 20) sorted by relevance

/xsrc/external/mit/xorg-server.old/dist/hw/xnest/
H A DColor.h36 #define xnestColormapPriv(pCmap) \
37 ((xnestPrivColormap *) dixLookupPrivate(&(pCmap)->devPrivates, &xnestColormapPrivateKeyRec))
39 #define xnestColormap(pCmap) (xnestColormapPriv(pCmap)->colormap)
43 Bool xnestCreateColormap(ColormapPtr pCmap);
44 void xnestDestroyColormap(ColormapPtr pCmap);
49 void xnestInstallColormap(ColormapPtr pCmap);
50 void xnestUninstallColormap(ColormapPtr pCmap);
52 void xnestStoreColors(ColormapPtr pCmap, int nColors, xColorItem *pColors);
H A DColor.c46 xnestCreateColormap(ColormapPtr pCmap) argument
54 pVisual = pCmap->pVisual;
57 xnestColormapPriv(pCmap)->colormap =
59 xnestDefaultWindows[pCmap->pScreen->myNum],
70 XQueryColors(xnestDisplay, xnestColormap(pCmap), colors, ncolors);
72 pCmap->red[i].co.local.red = colors[i].red;
73 pCmap->red[i].co.local.green = colors[i].red;
74 pCmap->red[i].co.local.blue = colors[i].red;
83 XQueryColors(xnestDisplay, xnestColormap(pCmap), colors, ncolors);
85 pCmap
130 xnestDestroyColormap(ColormapPtr pCmap) argument
246 ColormapPtr pCmap; local in function:xnestSetInstalledColormapWindows
304 ColormapPtr pCmap; local in function:xnestDirectInstallColormaps
324 ColormapPtr pCmap; local in function:xnestDirectUninstallColormaps
334 xnestInstallColormap(ColormapPtr pCmap) argument
355 xnestUninstallColormap(ColormapPtr pCmap) argument
386 xnestStoreColors(ColormapPtr pCmap,int nColors,xColorItem * pColors) argument
465 ColormapPtr pCmap; local in function:xnestCreateDefaultColormap
[all...]
H A DWindow.c79 ColormapPtr pCmap; local in function:xnestCreateWindow
95 dixLookupResourceByType((pointer *)&pCmap, wColormap(pWin),
97 attributes.colormap = xnestColormap(pCmap);
107 dixLookupResourceByType((pointer *)&pCmap, wColormap(pWin),
110 attributes.colormap = xnestColormap(pCmap);
338 ColormapPtr pCmap; local in function:xnestChangeWindowAttributes
340 dixLookupResourceByType((pointer *)&pCmap, wColormap(pWin), RT_COLORMAP,
343 attributes.colormap = xnestColormap(pCmap);
/xsrc/external/mit/xorg-server/dist/hw/xnest/
H A DColor.h37 #define xnestColormapPriv(pCmap) \
38 ((xnestPrivColormap *) dixLookupPrivate(&(pCmap)->devPrivates, &xnestColormapPrivateKeyRec))
40 #define xnestColormap(pCmap) (xnestColormapPriv(pCmap)->colormap)
44 Bool xnestCreateColormap(ColormapPtr pCmap);
45 void xnestDestroyColormap(ColormapPtr pCmap);
50 void xnestInstallColormap(ColormapPtr pCmap);
51 void xnestUninstallColormap(ColormapPtr pCmap);
53 void xnestStoreColors(ColormapPtr pCmap, int nColors, xColorItem * pColors);
H A DColor.c46 xnestCreateColormap(ColormapPtr pCmap) argument
54 pVisual = pCmap->pVisual;
57 xnestColormapPriv(pCmap)->colormap =
59 xnestDefaultWindows[pCmap->pScreen->myNum],
68 XQueryColors(xnestDisplay, xnestColormap(pCmap), colors, ncolors);
70 pCmap->red[i].co.local.red = colors[i].red;
71 pCmap->red[i].co.local.green = colors[i].red;
72 pCmap->red[i].co.local.blue = colors[i].red;
81 XQueryColors(xnestDisplay, xnestColormap(pCmap), colors, ncolors);
83 pCmap
131 xnestDestroyColormap(ColormapPtr pCmap) argument
246 ColormapPtr pCmap; local in function:xnestSetInstalledColormapWindows
307 ColormapPtr pCmap; local in function:xnestDirectInstallColormaps
328 ColormapPtr pCmap; local in function:xnestDirectUninstallColormaps
338 xnestInstallColormap(ColormapPtr pCmap) argument
358 xnestUninstallColormap(ColormapPtr pCmap) argument
387 xnestStoreColors(ColormapPtr pCmap,int nColors,xColorItem * pColors) argument
461 ColormapPtr pCmap; local in function:xnestCreateDefaultColormap
[all...]
H A DWindow.c81 ColormapPtr pCmap; local in function:xnestCreateWindow
99 dixLookupResourceByType((void **) &pCmap, wColormap(pWin),
102 attributes.colormap = xnestColormap(pCmap);
112 dixLookupResourceByType((void **) &pCmap, wColormap(pWin),
115 attributes.colormap = xnestColormap(pCmap);
332 ColormapPtr pCmap; local in function:xnestChangeWindowAttributes
334 dixLookupResourceByType((void **) &pCmap, wColormap(pWin),
337 attributes.colormap = xnestColormap(pCmap);
/xsrc/external/mit/xorg-server/dist/hw/kdrive/src/
H A Dkcmap.c36 ColormapPtr pCmap = pScreenPriv->pInstalledmap; local in function:KdSetColormap
50 if (!pCmap)
61 QueryColors(pCmap, (1 << pScreenPriv->screen->fb.depth), pixels, colors,
72 (*pScreenPriv->card->cfuncs->putColors) (pCmap->pScreen,
127 KdInstallColormap(ColormapPtr pCmap) argument
129 KdScreenPriv(pCmap->pScreen);
131 if (pCmap == pScreenPriv->pInstalledmap)
140 pScreenPriv->pInstalledmap = pCmap;
142 KdSetColormap(pCmap->pScreen);
145 WalkTree(pCmap
156 KdUninstallColormap(ColormapPtr pCmap) argument
204 KdStoreColors(ColormapPtr pCmap,int ndef,xColorItem * pdefs) argument
[all...]
H A Dkdrive.h307 KdInstallColormap(ColormapPtr pCmap);
310 KdUninstallColormap(ColormapPtr pCmap);
316 KdStoreColors(ColormapPtr pCmap, int ndef, xColorItem * pdefs);
/xsrc/external/mit/xorg-server.old/dist/hw/kdrive/src/
H A Dkcmap.c36 ColormapPtr pCmap = pScreenPriv->pInstalledmap; local in function:KdSetColormap
50 if (!pCmap)
61 QueryColors (pCmap, (1 << pScreenPriv->screen->fb.depth), pixels, colors, serverClient);
72 (*pScreenPriv->card->cfuncs->putColors) (pCmap->pScreen,
78 (*pScreenPriv->card->cfuncs->recolorCursor) (pCmap->pScreen, 0, 0);
131 KdInstallColormap (ColormapPtr pCmap) argument
133 KdScreenPriv(pCmap->pScreen);
135 if (pCmap == pScreenPriv->pInstalledmap)
144 pScreenPriv->pInstalledmap = pCmap;
146 KdSetColormap (pCmap
160 KdUninstallColormap(ColormapPtr pCmap) argument
211 KdStoreColors(ColormapPtr pCmap,int ndef,xColorItem * pdefs) argument
[all...]
H A Dkdrive.h375 KdInstallColormap (ColormapPtr pCmap);
378 KdUninstallColormap (ColormapPtr pCmap);
384 KdStoreColors (ColormapPtr pCmap, int ndef, xColorItem *pdefs);
/xsrc/external/mit/xorg-server/dist/hw/xwin/
H A Dwinallpriv.c130 winAllocateCmapPrivates(ColormapPtr pCmap) argument
162 winSetCmapPriv(pCmap, pCmapPriv);
H A Dwin.h591 #define winGetCmapPriv(pCmap) ((winPrivCmapPtr) \
592 dixLookupPrivate(&(pCmap)->devPrivates, g_iCmapPrivateKey))
594 #define winSetCmapPriv(pCmap,v) \
595 dixSetPrivate(&(pCmap)->devPrivates, g_iCmapPrivateKey, v)
597 #define winCmapPriv(pCmap) \
598 winPrivCmapPtr pCmapPriv = winGetCmapPriv(pCmap)
667 winInitCmapPrivates(ColormapPtr pCmap, int i);
670 winAllocateCmapPrivates(ColormapPtr pCmap);
/xsrc/external/mit/xorg-server.old/dist/hw/xwin/
H A Dwinallpriv.c144 winAllocateCmapPrivates (ColormapPtr pCmap) argument
179 winSetCmapPriv (pCmap, pCmapPriv);
H A Dwin.h698 #define winGetCmapPriv(pCmap) ((winPrivCmapPtr) \
699 dixLookupPrivate(&(pCmap)->devPrivates, g_iCmapPrivateKey))
701 #define winSetCmapPriv(pCmap,v) \
702 dixSetPrivate(&(pCmap)->devPrivates, g_iCmapPrivateKey, v)
704 #define winCmapPriv(pCmap) \
705 winPrivCmapPtr pCmapPriv = winGetCmapPriv(pCmap)
778 winInitCmapPrivates (ColormapPtr pCmap, int index);
781 winAllocateCmapPrivates (ColormapPtr pCmap);
/xsrc/external/mit/xorg-server.old/dist/Xext/
H A Dsaver.c482 ColormapPtr pCmap; local in function:UninstallSaverColormap
487 rc = dixLookupResourceByType((pointer *)&pCmap, pPriv->installedMap,
491 (*pCmap->pScreen->UninstallColormap) (pCmap);
510 ColormapPtr pCmap; local in function:CreateSaverWindow
604 result = dixLookupResourceByType((pointer *)&pCmap, wantMap, RT_COLORMAP,
611 (*pCmap->pScreen->InstallColormap) (pCmap);
811 ColormapPtr pCmap; local in function:ScreenSaverSetAttributes
1109 ret = dixLookupResourceByType((pointer *)&pCmap, cma
[all...]
/xsrc/external/mit/xorg-server/dist/Xext/
H A Dsaver.c448 ColormapPtr pCmap; local in function:UninstallSaverColormap
452 rc = dixLookupResourceByType((void **) &pCmap, pPriv->installedMap,
456 (*pCmap->pScreen->UninstallColormap) (pCmap);
472 ColormapPtr pCmap; local in function:CreateSaverWindow
549 result = dixLookupResourceByType((void **) &pCmap, wantMap, RT_COLORMAP,
556 (*pCmap->pScreen->InstallColormap) (pCmap);
752 ColormapPtr pCmap; local in function:ScreenSaverSetAttributes
1017 ret = dixLookupResourceByType((void **) &pCmap, cma
[all...]
/xsrc/external/mit/xorg-server.old/dist/hw/dmx/
H A Ddmxwindow.c79 ColormapPtr pCmap; local in function:dmxCreateRootWindow
87 dixLookupResourceByType((pointer*) &pCmap, wColormap(pWindow),
89 pCmapPriv = DMX_GET_COLORMAP_PRIV(pCmap);
192 ColormapPtr pCmap; local in function:dmxGetDefaultWindowAttributes
195 dixLookupResourceByType((pointer*) &pCmap, wColormap(pWindow),
197 pCmapPriv = DMX_GET_COLORMAP_PRIV(pCmap);
546 ColormapPtr pCmap; local in function:dmxDoChangeWindowAttributes
549 dixLookupResourceByType((pointer*) &pCmap, wColormap(pWindow),
551 pCmapPriv = DMX_GET_COLORMAP_PRIV(pCmap);
H A Ddmxextension.c894 ColormapPtr pCmap = value; local in function:dmxBECreateResources
895 if (pCmap->pScreen->myNum == scrnNum)
1478 ColormapPtr pCmap = value; local in function:dmxBEDestroyResources
1479 if (pCmap->pScreen->myNum == scrnNum)
/xsrc/external/mit/xorg-server.old/dist/dix/
H A Dwindow.c1003 ColormapPtr pCmap; local in function:ChangeWindowAttributes
1282 rc = dixLookupResourceByType((pointer *)&pCmap, cmap, RT_COLORMAP,
1290 if (pCmap->pVisual->vid != wVisual (pWin) ||
1291 pCmap->pScreen != pScreen)
/xsrc/external/mit/xorg-server/dist/dix/
H A Dwindow.c1166 ColormapPtr pCmap; local in function:ChangeWindowAttributes
1424 rc = dixLookupResourceByType((void **) &pCmap, cmap, RT_COLORMAP,
1431 if (pCmap->pVisual->vid != wVisual(pWin) ||
1432 pCmap->pScreen != pScreen) {

Completed in 27 milliseconds