Lines Matching refs:pScreenPriv

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