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, serverClient);
63 for (i = 0; i < (1 << pScreenPriv->screen->fb.depth); i++)
72 (*pScreenPriv->card->cfuncs->putColors) (pCmap->pScreen,
73 (1 << pScreenPriv->screen->fb.depth),
77 if (pScreenPriv->card->cfuncs->recolorCursor)
78 (*pScreenPriv->card->cfuncs->recolorCursor) (pCmap->pScreen, 0, 0);
91 if (!pScreenPriv->card->cfuncs->putColors)
94 if (pScreenPriv->screen->fb.depth <= KD_MAX_PSEUDO_DEPTH)
96 for (i = 0; i < (1 << pScreenPriv->screen->fb.depth); i++)
97 pScreenPriv->systemPalette[i].pixel = i;
98 (*pScreenPriv->card->cfuncs->getColors) (pScreen,
99 (1 << pScreenPriv->screen->fb.depth),
100 pScreenPriv->systemPalette);
110 if (!pScreenPriv->card->cfuncs->putColors)
113 if (pScreenPriv->screen->fb.depth <= KD_MAX_PSEUDO_DEPTH)
115 (*pScreenPriv->card->cfuncs->putColors) (pScreen,
116 (1 << pScreenPriv->screen->fb.depth),
117 pScreenPriv->systemPalette);
135 if (pCmap == pScreenPriv->pInstalledmap)
139 if (pScreenPriv->pInstalledmap)
140 WalkTree(pScreenPriv->pInstalledmap->pScreen, TellLostMap,
141 (pointer) &(pScreenPriv->pInstalledmap->mid));
144 pScreenPriv->pInstalledmap = pCmap;
167 if (pCmap != pScreenPriv->pInstalledmap)
185 pScreenPriv->pInstalledmap = 0;
195 if (pScreenPriv->pInstalledmap)
197 *pCmaps++ = pScreenPriv->pInstalledmap->mid;
217 if (pCmap != pScreenPriv->pInstalledmap)
220 if (!pScreenPriv->card->cfuncs->putColors)
223 if (pScreenPriv->screen->fb.depth > KD_MAX_PSEUDO_DEPTH)
226 if (!pScreenPriv->enabled)
241 (*pScreenPriv->card->cfuncs->putColors) (pCmap->pScreen, ndef, pdefs);
244 if (pScreenPriv->card->cfuncs->recolorCursor)
245 (*pScreenPriv->card->cfuncs->recolorCursor) (pCmap->pScreen, ndef, pdefs);