Lines Matching refs:pScreenPriv

36     ColormapPtr pCmap = pScreenPriv->pInstalledmap;  in KdSetColormap()
42 if (!pScreenPriv->card->cfuncs->putColors) in KdSetColormap()
44 if (pScreenPriv->screen->fb.depth > KD_MAX_PSEUDO_DEPTH) in KdSetColormap()
47 if (!pScreenPriv->enabled) in KdSetColormap()
58 for (i = 0; i < (1 << pScreenPriv->screen->fb.depth); i++) in KdSetColormap()
61 QueryColors(pCmap, (1 << pScreenPriv->screen->fb.depth), pixels, colors, in KdSetColormap()
64 for (i = 0; i < (1 << pScreenPriv->screen->fb.depth); i++) { in KdSetColormap()
72 (*pScreenPriv->card->cfuncs->putColors) (pCmap->pScreen, in KdSetColormap()
73 (1 << pScreenPriv->screen->fb. in KdSetColormap()
87 if (!pScreenPriv->card->cfuncs->putColors) in KdEnableColormap()
90 if (pScreenPriv->screen->fb.depth <= KD_MAX_PSEUDO_DEPTH) { in KdEnableColormap()
91 for (i = 0; i < (1 << pScreenPriv->screen->fb.depth); i++) in KdEnableColormap()
92 pScreenPriv->systemPalette[i].pixel = i; in KdEnableColormap()
93 (*pScreenPriv->card->cfuncs->getColors) (pScreen, in KdEnableColormap()
94 (1 << pScreenPriv->screen->fb. in KdEnableColormap()
96 pScreenPriv->systemPalette); in KdEnableColormap()
106 if (!pScreenPriv->card->cfuncs->putColors) in KdDisableColormap()
109 if (pScreenPriv->screen->fb.depth <= KD_MAX_PSEUDO_DEPTH) { in KdDisableColormap()
110 (*pScreenPriv->card->cfuncs->putColors) (pScreen, in KdDisableColormap()
111 (1 << pScreenPriv->screen->fb. in KdDisableColormap()
113 pScreenPriv->systemPalette); in KdDisableColormap()
131 if (pCmap == pScreenPriv->pInstalledmap) in KdInstallColormap()
135 if (pScreenPriv->pInstalledmap) in KdInstallColormap()
136 WalkTree(pScreenPriv->pInstalledmap->pScreen, TellLostMap, in KdInstallColormap()
137 (void *) &(pScreenPriv->pInstalledmap->mid)); in KdInstallColormap()
140 pScreenPriv->pInstalledmap = pCmap; in KdInstallColormap()
163 if (pCmap != pScreenPriv->pInstalledmap) in KdUninstallColormap()
179 pScreenPriv->pInstalledmap = 0; in KdUninstallColormap()
189 if (pScreenPriv->pInstalledmap) { in KdListInstalledColormaps()
190 *pCmaps++ = pScreenPriv->pInstalledmap->mid; in KdListInstalledColormaps()
210 if (pCmap != pScreenPriv->pInstalledmap) in KdStoreColors()
213 if (!pScreenPriv->card->cfuncs->putColors) in KdStoreColors()
216 if (pScreenPriv->screen->fb.depth > KD_MAX_PSEUDO_DEPTH) in KdStoreColors()
219 if (!pScreenPriv->enabled) in KdStoreColors()
233 (*pScreenPriv->card->cfuncs->putColors) (pCmap->pScreen, ndef, pdefs); in KdStoreColors()