Lines Matching defs:pCursor
86 CursorPtr pCursor;
118 miDCSwitchScreenCursor(ScreenPtr pScreen, CursorPtr pCursor, PixmapPtr sourceBits, PixmapPtr maskBits, PicturePtr pPicture)
134 pScreenPriv->pCursor = pCursor;
152 miDCRealizeCursor(ScreenPtr pScreen, CursorPtr pCursor)
178 miDCRealize(ScreenPtr pScreen, CursorPtr pCursor)
185 if (pScreenPriv->pCursor == pCursor)
188 if (pCursor->bits->argb) {
198 pPixmap = (*pScreen->CreatePixmap) (pScreen, pCursor->bits->width,
199 pCursor->bits->height, 32,
211 0, 0, pCursor->bits->width,
212 pCursor->bits->height,
213 0, ZPixmap, (char *) pCursor->bits->argb);
221 miDCSwitchScreenCursor(pScreen, pCursor, NULL, NULL, pPicture);
225 sourceBits = (*pScreen->CreatePixmap) (pScreen, pCursor->bits->width,
226 pCursor->bits->height, 1, 0);
230 maskBits = (*pScreen->CreatePixmap) (pScreen, pCursor->bits->width,
231 pCursor->bits->height, 1, 0);
248 0, 0, pCursor->bits->width, pCursor->bits->height,
249 0, XYPixmap, (char *) pCursor->bits->source);
254 0, 0, pCursor->bits->width, pCursor->bits->height,
255 0, XYPixmap, (char *) pCursor->bits->mask);
257 /* mask bits -- pCursor->mask & ~pCursor->source */
262 0, 0, pCursor->bits->width, pCursor->bits->height,
263 0, XYPixmap, (char *) pCursor->bits->mask);
268 0, 0, pCursor->bits->width, pCursor->bits->height,
269 0, XYPixmap, (char *) pCursor->bits->source);
272 miDCSwitchScreenCursor(pScreen, pCursor, sourceBits, maskBits, NULL);
277 miDCUnrealizeCursor(ScreenPtr pScreen, CursorPtr pCursor)
281 if (pCursor == pScreenPriv->pCursor)
351 miDCPutUpCursor(DeviceIntPtr pDev, ScreenPtr pScreen, CursorPtr pCursor,
358 if (!miDCRealize(pScreen, pCursor))
372 x, y, pCursor->bits->width, pCursor->bits->height);
378 x, y, pCursor->bits->width, pCursor->bits->height,