Lines Matching refs:pDraw
344 if (pp->pDraw == pDrawable) { in XvStopAdaptors()
349 pp->pDraw = NULL; in XvStopAdaptors()
449 XvdiSendVideoNotify(XvPortPtr pPort, DrawablePtr pDraw, int reason) in XvdiSendVideoNotify() argument
453 dixLookupResourceByType((void **) &pn, pDraw->id, XvRTVideoNotifyList, in XvdiSendVideoNotify()
460 .u.videoNotify.drawable = pDraw->id, in XvdiSendVideoNotify()
504 DrawablePtr pDraw, in XvdiPutVideo() argument
523 XvdiSendVideoNotify(pPort, pDraw, XvBusy); in XvdiPutVideo()
530 pOldDraw = pPort->pDraw; in XvdiPutVideo()
531 if ((pOldDraw) && (pOldDraw != pDraw)) { in XvdiPutVideo()
532 XvdiSendVideoNotify(pPort, pPort->pDraw, XvPreempted); in XvdiPutVideo()
535 (void) (*pPort->pAdaptor->ddPutVideo) (pDraw, pPort, pGC, in XvdiPutVideo()
539 if ((pPort->pDraw) && (pOldDraw != pDraw)) { in XvdiPutVideo()
541 XvdiSendVideoNotify(pPort, pPort->pDraw, XvStarted); in XvdiPutVideo()
552 DrawablePtr pDraw, in XvdiPutStill() argument
571 XvdiSendVideoNotify(pPort, pDraw, XvBusy); in XvdiPutStill()
577 status = (*pPort->pAdaptor->ddPutStill) (pDraw, pPort, pGC, in XvdiPutStill()
587 DrawablePtr pDraw, in XvdiPutImage() argument
607 XvdiSendVideoNotify(pPort, pDraw, XvBusy); in XvdiPutImage()
613 return (*pPort->pAdaptor->ddPutImage) (pDraw, pPort, pGC, in XvdiPutImage()
621 DrawablePtr pDraw, in XvdiGetVideo() argument
640 XvdiSendVideoNotify(pPort, pDraw, XvBusy); in XvdiGetVideo()
647 pOldDraw = pPort->pDraw; in XvdiGetVideo()
648 if ((pOldDraw) && (pOldDraw != pDraw)) { in XvdiGetVideo()
649 XvdiSendVideoNotify(pPort, pPort->pDraw, XvPreempted); in XvdiGetVideo()
652 (void) (*pPort->pAdaptor->ddGetVideo) (pDraw, pPort, pGC, in XvdiGetVideo()
656 if ((pPort->pDraw) && (pOldDraw != pDraw)) { in XvdiGetVideo()
658 XvdiSendVideoNotify(pPort, pPort->pDraw, XvStarted); in XvdiGetVideo()
669 DrawablePtr pDraw, in XvdiGetStill() argument
688 XvdiSendVideoNotify(pPort, pDraw, XvBusy); in XvdiGetStill()
692 status = (*pPort->pAdaptor->ddGetStill) (pDraw, pPort, pGC, in XvdiGetStill()
735 if ((pPort->pDraw) && (client != pPort->client)) { in XvdiGrabPort()
736 XvdiStopVideo(NULL, pPort, pPort->pDraw); in XvdiGrabPort()
779 XvdiSelectVideoNotify(ClientPtr client, DrawablePtr pDraw, BOOL onoff) in XvdiSelectVideoNotify() argument
786 rc = dixLookupResourceByType((void **) &pn, pDraw->id, in XvdiSelectVideoNotify()
804 if (!AddResource(pDraw->id, XvRTVideoNotifyList, tpn)) in XvdiSelectVideoNotify()
904 XvdiStopVideo(ClientPtr client, XvPortPtr pPort, DrawablePtr pDraw) in XvdiStopVideo() argument
910 if (!pPort->pDraw || (pPort->pDraw != pDraw)) { in XvdiStopVideo()
911 XvdiSendVideoNotify(pPort, pDraw, XvStopped); in XvdiStopVideo()
919 XvdiSendVideoNotify(pPort, pDraw, XvBusy); in XvdiStopVideo()
923 XvdiSendVideoNotify(pPort, pDraw, XvStopped); in XvdiStopVideo()
925 status = (*pPort->pAdaptor->ddStopVideo) (pPort, pDraw); in XvdiStopVideo()
927 pPort->pDraw = NULL; in XvdiStopVideo()
936 XvdiMatchPort(XvPortPtr pPort, DrawablePtr pDraw) in XvdiMatchPort() argument
945 if (pa->pScreen != pDraw->pScreen) in XvdiMatchPort()
952 if (pf->depth == pDraw->depth) in XvdiMatchPort()
1054 XvFillColorKey(DrawablePtr pDraw, CARD32 key, RegionPtr region) in XvFillColorKey() argument
1056 ScreenPtr pScreen = pDraw->pScreen; in XvFillColorKey()
1063 gc = GetScratchGC(pDraw->depth, pScreen); in XvFillColorKey()
1070 ValidateGC(pDraw, gc); in XvFillColorKey()
1075 rects[i].x = pbox->x1 - pDraw->x; in XvFillColorKey()
1076 rects[i].y = pbox->y1 - pDraw->y; in XvFillColorKey()
1081 (*gc->ops->PolyFillRect) (pDraw, gc, nbox, rects); in XvFillColorKey()