Lines Matching refs:pdp
634 struct dri_drawable *pdp = (struct dri_drawable *) pdraw;
636 (*psc->core->destroyDrawable) (pdp->driDrawable);
650 struct dri_drawable *pdp;
656 pdp = Xmalloc(sizeof *pdp);
657 if (!pdp)
660 memset(pdp, 0, sizeof *pdp);
661 pdp->base.drawable = drawable;
662 pdp->base.psc = &psc->base;
666 Xfree(pdp);
671 pdp->driDrawable =
676 empty_attribute_list, pdp);
678 if (!pdp->driDrawable) {
680 Xfree(pdp);
684 pdp->base.destroyDrawable = driDestroyDrawable;
686 return &pdp->base;
694 struct dri_drawable *pdp = (struct dri_drawable *) pdraw;
696 (*psc->core->swapBuffers) (pdp->driDrawable);
704 struct dri_drawable *pdp = (struct dri_drawable *) pdraw;
705 struct dri_screen *psc = (struct dri_screen *) pdp->base.psc;
707 (*psc->driCopySubBuffer->copySubBuffer) (pdp->driDrawable,
732 struct dri_drawable *pdp = (struct dri_drawable *) pdraw;
734 if (pdp && psc->sbc && psc->msc)
736 (*psc->sbc->getSBC)(pdp->driDrawable, sbc) == 0 &&
745 struct dri_drawable *pdp = (struct dri_drawable *) pdraw;
747 if (pdp != NULL && psc->msc != NULL) {
748 ret = (*psc->msc->waitForMSC) (pdp->driDrawable, target_msc,
762 struct dri_drawable *pdp = (struct dri_drawable *) pdraw;
764 if (pdp != NULL && psc->sbc != NULL) {
766 (*psc->sbc->waitForSBC) (pdp->driDrawable, target_sbc, msc, sbc);
774 return DRI2WaitSBC(pdp->base.psc->dpy,
775 pdp->base.xDrawable, target_sbc, ust, msc, sbc);
783 struct dri_drawable *pdp = (struct dri_drawable *) pdraw;
787 psc->swapControl->setSwapInterval(pdp->driDrawable, interval);
797 struct dri_drawable *pdp = (struct dri_drawable *) pdraw;
801 return psc->swapControl->getSwapInterval(pdp->driDrawable);
846 struct dri_display *pdp;
887 pdp = (struct dri_display *) priv->driDisplay;
889 CallCreateNewScreen(psc->base.dpy, screen, psc, pdp);