Lines Matching refs:pDisplayContext
48 VADisplayContextP pDisplayContext
51 return (pDisplayContext != NULL &&
52 pDisplayContext->pDriverContext != NULL);
56 VADisplayContextP pDisplayContext
62 if (pDisplayContext == NULL)
65 ctx = pDisplayContext->pDriverContext;
71 free(pDisplayContext->pDriverContext->drm_state);
72 free(pDisplayContext->pDriverContext);
73 free(pDisplayContext);
78 VADisplayContextP pDisplayContext,
82 VADriverContextP ctx = pDisplayContext->pDriverContext;
91 VADisplayContextP pDisplayContext,
95 VADriverContextP ctx = pDisplayContext->pDriverContext;
104 VADisplayContextP pDisplayContext,
108 VADriverContextP ctx = pDisplayContext->pDriverContext;
127 VADisplayContextP pDisplayContext,
131 VADriverContextP ctx = pDisplayContext->pDriverContext;
145 VADisplayContextP pDisplayContext,
156 vaStatus = va_DRI2GetDriverName(pDisplayContext, driver_name);
158 vaStatus = va_DRIGetDriverName(pDisplayContext, driver_name);
160 vaStatus = va_NVCTRL_GetDriverName(pDisplayContext, driver_name);
162 vaStatus = va_FGLRX_GetDriverName(pDisplayContext, driver_name);
172 VADisplayContextP pDisplayContext;
182 pDisplayContext = calloc(1, sizeof(*pDisplayContext));
185 if (pDisplayContext && pDriverContext && dri_state)
187 pDisplayContext->vadpy_magic = VA_DISPLAY_MAGIC;
191 pDisplayContext->pDriverContext = pDriverContext;
192 pDisplayContext->vaIsValid = va_DisplayContextIsValid;
193 pDisplayContext->vaDestroy = va_DisplayContextDestroy;
194 pDisplayContext->vaGetDriverName = va_DisplayContextGetDriverName;
195 pDisplayContext->opaque = NULL;
197 dpy = (VADisplay)pDisplayContext;
201 if (pDisplayContext)
202 free(pDisplayContext);