Home
last modified time | relevance | path

Searched refs:pCmap (Results 1 – 11 of 11) sorted by relevance

/OK3568_Linux_fs/external/xserver/hw/xnest/
H A DColor.c46 xnestCreateColormap(ColormapPtr pCmap) in xnestCreateColormap() argument
54 pVisual = pCmap->pVisual; in xnestCreateColormap()
57 xnestColormapPriv(pCmap)->colormap = in xnestCreateColormap()
59 xnestDefaultWindows[pCmap->pScreen->myNum], in xnestCreateColormap()
68 XQueryColors(xnestDisplay, xnestColormap(pCmap), colors, ncolors); in xnestCreateColormap()
70 pCmap->red[i].co.local.red = colors[i].red; in xnestCreateColormap()
71 pCmap->red[i].co.local.green = colors[i].red; in xnestCreateColormap()
72 pCmap->red[i].co.local.blue = colors[i].red; in xnestCreateColormap()
81 XQueryColors(xnestDisplay, xnestColormap(pCmap), colors, ncolors); in xnestCreateColormap()
83 pCmap->red[i].co.local.red = colors[i].red; in xnestCreateColormap()
[all …]
H A DColor.h37 #define xnestColormapPriv(pCmap) \ argument
38 ((xnestPrivColormap *) dixLookupPrivate(&(pCmap)->devPrivates, &xnestColormapPrivateKeyRec))
40 #define xnestColormap(pCmap) (xnestColormapPriv(pCmap)->colormap) argument
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 DWindow.c81 ColormapPtr pCmap; in xnestCreateWindow() local
99 dixLookupResourceByType((void **) &pCmap, wColormap(pWin), in xnestCreateWindow()
102 attributes.colormap = xnestColormap(pCmap); in xnestCreateWindow()
112 dixLookupResourceByType((void **) &pCmap, wColormap(pWin), in xnestCreateWindow()
115 attributes.colormap = xnestColormap(pCmap); in xnestCreateWindow()
332 ColormapPtr pCmap; in xnestChangeWindowAttributes() local
334 dixLookupResourceByType((void **) &pCmap, wColormap(pWin), in xnestChangeWindowAttributes()
337 attributes.colormap = xnestColormap(pCmap); in xnestChangeWindowAttributes()
/OK3568_Linux_fs/external/xserver/hw/kdrive/src/
H A Dkcmap.c36 ColormapPtr pCmap = pScreenPriv->pInstalledmap; in KdSetColormap() local
50 if (!pCmap) in KdSetColormap()
61 QueryColors(pCmap, (1 << pScreenPriv->screen->fb.depth), pixels, colors, in KdSetColormap()
72 (*pScreenPriv->card->cfuncs->putColors) (pCmap->pScreen, in KdSetColormap()
127 KdInstallColormap(ColormapPtr pCmap) in KdInstallColormap() argument
129 KdScreenPriv(pCmap->pScreen); in KdInstallColormap()
131 if (pCmap == pScreenPriv->pInstalledmap) in KdInstallColormap()
140 pScreenPriv->pInstalledmap = pCmap; in KdInstallColormap()
142 KdSetColormap(pCmap->pScreen); in KdInstallColormap()
145 WalkTree(pCmap->pScreen, TellGainedMap, (void *) &(pCmap->mid)); in KdInstallColormap()
[all …]
H A Dkdrive.h307 KdInstallColormap(ColormapPtr pCmap);
310 KdUninstallColormap(ColormapPtr pCmap);
316 KdStoreColors(ColormapPtr pCmap, int ndef, xColorItem * pdefs);
/OK3568_Linux_fs/external/xserver/hw/xwin/
H A Dwin.h615 #define winGetCmapPriv(pCmap) ((winPrivCmapPtr) \ argument
616 dixLookupPrivate(&(pCmap)->devPrivates, g_iCmapPrivateKey))
618 #define winSetCmapPriv(pCmap,v) \ argument
619 dixSetPrivate(&(pCmap)->devPrivates, g_iCmapPrivateKey, v)
621 #define winCmapPriv(pCmap) \ argument
622 winPrivCmapPtr pCmapPriv = winGetCmapPriv(pCmap)
691 winInitCmapPrivates(ColormapPtr pCmap, int i);
694 winAllocateCmapPrivates(ColormapPtr pCmap);
H A Dwinallpriv.c130 winAllocateCmapPrivates(ColormapPtr pCmap) in winAllocateCmapPrivates() argument
162 winSetCmapPriv(pCmap, pCmapPriv); in winAllocateCmapPrivates()
/OK3568_Linux_fs/external/xserver/Xext/
H A Dsaver.c448 ColormapPtr pCmap; in UninstallSaverColormap() local
452 rc = dixLookupResourceByType((void **) &pCmap, pPriv->installedMap, in UninstallSaverColormap()
456 (*pCmap->pScreen->UninstallColormap) (pCmap); in UninstallSaverColormap()
472 ColormapPtr pCmap; in CreateSaverWindow() local
549 result = dixLookupResourceByType((void **) &pCmap, wantMap, RT_COLORMAP, in CreateSaverWindow()
556 (*pCmap->pScreen->InstallColormap) (pCmap); in CreateSaverWindow()
752 ColormapPtr pCmap; in ScreenSaverSetAttributes() local
1017 ret = dixLookupResourceByType((void **) &pCmap, cmap, RT_COLORMAP, in ScreenSaverSetAttributes()
1023 if (pCmap->pVisual->vid != visual || pCmap->pScreen != pScreen) { in ScreenSaverSetAttributes()
/OK3568_Linux_fs/external/xserver/hw/dmx/
H A Ddmxwindow.c81 ColormapPtr pCmap; in dmxCreateRootWindow() local
89 dixLookupResourceByType((void **) &pCmap, wColormap(pWindow), in dmxCreateRootWindow()
91 pCmapPriv = DMX_GET_COLORMAP_PRIV(pCmap); in dmxCreateRootWindow()
192 ColormapPtr pCmap; in dmxGetDefaultWindowAttributes() local
195 dixLookupResourceByType((void **) &pCmap, wColormap(pWindow), in dmxGetDefaultWindowAttributes()
197 pCmapPriv = DMX_GET_COLORMAP_PRIV(pCmap); in dmxGetDefaultWindowAttributes()
561 ColormapPtr pCmap; in dmxDoChangeWindowAttributes() local
564 dixLookupResourceByType((void **) &pCmap, wColormap(pWindow), in dmxDoChangeWindowAttributes()
566 pCmapPriv = DMX_GET_COLORMAP_PRIV(pCmap); in dmxDoChangeWindowAttributes()
H A Ddmxextension.c943 ColormapPtr pCmap = value; in dmxBECreateResources() local
945 if (pCmap->pScreen->myNum == scrnNum) in dmxBECreateResources()
1554 ColormapPtr pCmap = value; in dmxBEDestroyResources() local
1556 if (pCmap->pScreen->myNum == scrnNum) in dmxBEDestroyResources()
/OK3568_Linux_fs/external/xserver/dix/
H A Dwindow.c1179 ColormapPtr pCmap; in ChangeWindowAttributes() local
1432 rc = dixLookupResourceByType((void **) &pCmap, cmap, RT_COLORMAP, in ChangeWindowAttributes()
1439 if (pCmap->pVisual->vid != wVisual(pWin) || in ChangeWindowAttributes()
1440 pCmap->pScreen != pScreen) { in ChangeWindowAttributes()