Lines Matching defs:pCursor

140 miDCRealizeCursor (ScreenPtr pScreen, CursorPtr pCursor)
142 if (pCursor->bits->refcnt <= 1)
143 dixSetScreenPrivate(&pCursor->bits->devPrivates, miDCCursorBitsKey, pScreen, NULL);
188 miDCRealize (ScreenPtr pScreen, CursorPtr pCursor)
198 if (pCursor->bits->argb)
213 pPixmap = (*pScreen->CreatePixmap) (pScreen, pCursor->bits->width,
214 pCursor->bits->height, 32,
230 0, 0, pCursor->bits->width,
231 pCursor->bits->height,
232 0, ZPixmap, (char *) pCursor->bits->argb);
242 dixSetScreenPrivate(&pCursor->bits->devPrivates, miDCCursorBitsKey, pScreen, pPriv);
247 pPriv->sourceBits = (*pScreen->CreatePixmap) (pScreen, pCursor->bits->width, pCursor->bits->height, 1, 0);
253 pPriv->maskBits = (*pScreen->CreatePixmap) (pScreen, pCursor->bits->width, pCursor->bits->height, 1, 0);
260 dixSetScreenPrivate(&pCursor->bits->devPrivates, miDCCursorBitsKey, pScreen, pPriv);
267 (void) miDCUnrealizeCursor (pScreen, pCursor);
273 0, 0, pCursor->bits->width, pCursor->bits->height,
274 0, XYPixmap, (char *)pCursor->bits->source);
279 0, 0, pCursor->bits->width, pCursor->bits->height,
280 0, XYPixmap, (char *)pCursor->bits->mask);
282 /* mask bits -- pCursor->mask & ~pCursor->source */
287 0, 0, pCursor->bits->width, pCursor->bits->height,
288 0, XYPixmap, (char *)pCursor->bits->mask);
293 0, 0, pCursor->bits->width, pCursor->bits->height,
294 0, XYPixmap, (char *)pCursor->bits->source);
300 miDCUnrealizeCursor (ScreenPtr pScreen, CursorPtr pCursor)
304 pPriv = (miDCCursorPtr)dixLookupScreenPrivate(&pCursor->bits->devPrivates,
306 if (pPriv && (pCursor->bits->refcnt <= 1))
317 dixSetScreenPrivate(&pCursor->bits->devPrivates, miDCCursorBitsKey, pScreen, NULL);
397 miDCPutUpCursor (DeviceIntPtr pDev, ScreenPtr pScreen, CursorPtr pCursor,
404 pPriv = (miDCCursorPtr)dixLookupScreenPrivate(&pCursor->bits->devPrivates,
408 pPriv = miDCRealize(pScreen, pCursor);
427 pCursor->bits->width,
428 pCursor->bits->height);
435 x, y, pCursor->bits->width, pCursor->bits->height,