Lines Matching refs:pDRIPriv

103     DRIScreenPrivPtr pDRIPriv;  in DRIScreenInit()  local
115 pDRIPriv = (DRIScreenPrivPtr)calloc(1, sizeof(DRIScreenPrivRec)); in DRIScreenInit()
116 if (!pDRIPriv) { in DRIScreenInit()
121 dixSetPrivate(&pScreen->devPrivates, DRIScreenPrivKey, pDRIPriv); in DRIScreenInit()
122 pDRIPriv->directRenderingSupport = TRUE; in DRIScreenInit()
123 pDRIPriv->nrWindows = 0; in DRIScreenInit()
127 pDRIPriv->DRIDrawables[i] = NULL; in DRIScreenInit()
136 DRIScreenPrivPtr pDRIPriv = DRI_SCREEN_PRIV(pScreen); in DRIFinishScreenInit() local
139 pDRIPriv->wrap.CopyWindow = pScreen->CopyWindow; in DRIFinishScreenInit()
142 pDRIPriv->wrap.ClipNotify = pScreen->ClipNotify; in DRIFinishScreenInit()
153 DRIScreenPrivPtr pDRIPriv = DRI_SCREEN_PRIV(pScreen); in DRICloseScreen() local
155 if (pDRIPriv && pDRIPriv->directRenderingSupport) { in DRICloseScreen()
156 free(pDRIPriv); in DRICloseScreen()
185 DRIScreenPrivPtr pDRIPriv = DRI_SCREEN_PRIV(pScreen); in DRIQueryDirectRenderingCapable() local
187 if (pDRIPriv) in DRIQueryDirectRenderingCapable()
188 *isCapable = pDRIPriv->directRenderingSupport; in DRIQueryDirectRenderingCapable()
201 DRIScreenPrivPtr pDRIPriv = DRI_SCREEN_PRIV(pScreen); in DRIAuthConnection()
203 if (drmAuthMagic(pDRIPriv->drmFD, magic)) return FALSE; in DRIAuthConnection()
366 DRIScreenPrivPtr pDRIPriv = DRI_SCREEN_PRIV(pScreen); in DRICreateSurface() local
431 ++pDRIPriv->nrWindows; in DRICreateSurface()
518 DRIScreenPrivPtr pDRIPriv = DRI_SCREEN_PRIV(pDrawable->pScreen); in DRIDrawablePrivDelete() local
543 pDRIPriv->DRIDrawables[pDRIDrawablePriv->drawableIndex] = NULL; in DRIDrawablePrivDelete()
563 --pDRIPriv->nrWindows; in DRIDrawablePrivDelete()
572 DRIScreenPrivPtr pDRIPriv = DRI_SCREEN_PRIV(pScreen); in DRICopyWindow() local
575 if (pDRIPriv->nrWindows > 0) { in DRICopyWindow()
583 pScreen->CopyWindow = pDRIPriv->wrap.CopyWindow; in DRICopyWindow()
596 DRIScreenPrivPtr pDRIPriv = DRI_SCREEN_PRIV(pScreen); in DRIClipNotify() local
603 if (pDRIPriv->wrap.ClipNotify) { in DRIClipNotify()
604 pScreen->ClipNotify = pDRIPriv->wrap.ClipNotify; in DRIClipNotify()