Lines Matching refs:pDraw

374 	  if (pp->pDraw == (DrawablePtr)pPix)
376 XvdiSendVideoNotify(pp, pp->pDraw, XvPreempted);
378 (void)(* pp->pAdaptor->ddStopVideo)(NULL, pp, pp->pDraw);
380 pp->pDraw = NULL;
425 if (pp->pDraw == (DrawablePtr)pWin)
427 XvdiSendVideoNotify(pp, pp->pDraw, XvPreempted);
429 (void)(* pp->pAdaptor->ddStopVideo)(NULL, pp, pp->pDraw);
431 pp->pDraw = NULL;
460 if (!pPort->pDraw) return Success;
462 XvdiSendVideoNotify(pPort, pPort->pDraw, reason);
464 pPort->pDraw = NULL;
529 XvdiSendVideoNotify(XvPortPtr pPort, DrawablePtr pDraw, int reason)
534 dixLookupResourceByType((pointer *)&pn, pDraw->id, XvRTVideoNotifyList,
541 event.u.videoNotify.drawable = pDraw->id;
591 DrawablePtr pDraw,
612 XvdiSendVideoNotify(pPort, pDraw, XvBusy);
619 pOldDraw = pPort->pDraw;
620 if ((pOldDraw) && (pOldDraw != pDraw))
622 XvdiSendVideoNotify(pPort, pPort->pDraw, XvPreempted);
625 (void) (* pPort->pAdaptor->ddPutVideo)(client, pDraw, pPort, pGC,
629 if ((pPort->pDraw) && (pOldDraw != pDraw))
632 XvdiSendVideoNotify(pPort, pPort->pDraw, XvStarted);
644 DrawablePtr pDraw,
665 XvdiSendVideoNotify(pPort, pDraw, XvBusy);
671 status = (* pPort->pAdaptor->ddPutStill)(client, pDraw, pPort, pGC,
682 DrawablePtr pDraw,
705 XvdiSendVideoNotify(pPort, pDraw, XvBusy);
711 return (* pPort->pAdaptor->ddPutImage)(client, pDraw, pPort, pGC,
721 DrawablePtr pDraw,
742 XvdiSendVideoNotify(pPort, pDraw, XvBusy);
749 pOldDraw = pPort->pDraw;
750 if ((pOldDraw) && (pOldDraw != pDraw))
752 XvdiSendVideoNotify(pPort, pPort->pDraw, XvPreempted);
755 (void) (* pPort->pAdaptor->ddGetVideo)(client, pDraw, pPort, pGC,
759 if ((pPort->pDraw) && (pOldDraw != pDraw))
762 XvdiSendVideoNotify(pPort, pPort->pDraw, XvStarted);
774 DrawablePtr pDraw,
795 XvdiSendVideoNotify(pPort, pDraw, XvBusy);
799 status = (* pPort->pAdaptor->ddGetStill)(client, pDraw, pPort, pGC,
850 if ((pPort->pDraw) && (client != pPort->client))
852 XvdiStopVideo(NULL, pPort, pPort->pDraw);
903 DrawablePtr pDraw,
911 rc = dixLookupResourceByType((pointer *)&pn, pDraw->id, XvRTVideoNotifyList,
928 if (!AddResource(pDraw->id, XvRTVideoNotifyList, tpn))
1039 DrawablePtr pDraw
1045 if (!pPort->pDraw || (pPort->pDraw != pDraw))
1047 XvdiSendVideoNotify(pPort, pDraw, XvStopped);
1056 XvdiSendVideoNotify(pPort, pDraw, XvBusy);
1060 XvdiSendVideoNotify(pPort, pDraw, XvStopped);
1062 status = (* pPort->pAdaptor->ddStopVideo)(client, pPort, pDraw);
1064 pPort->pDraw = NULL;
1076 DrawablePtr pDraw
1082 if (!pPort->pDraw || (pPort->pDraw != pDraw)) return Success;
1084 XvdiSendVideoNotify(pPort, pPort->pDraw, XvPreempted);
1086 status = (* pPort->pAdaptor->ddStopVideo)(client, pPort, pPort->pDraw);
1088 pPort->pDraw = NULL;
1099 DrawablePtr pDraw
1108 if (pa->pScreen != pDraw->pScreen) return BadMatch;
1115 if ((pf->depth == pDraw->depth)
1117 && ((pDraw->type == DRAWABLE_PIXMAP) ||
1118 (wVisual(((WindowPtr)pDraw)) == pf->visual))