Home
last modified time | relevance | path

Searched refs:dpyPriv (Results 1 – 2 of 2) sorted by relevance

/third_party/mesa3d/src/glx/
Dglxext.c856 struct glx_display *dpyPriv, *d; in __glXInitialize() local
864 for (dpyPriv = glx_displays; dpyPriv; dpyPriv = dpyPriv->next) { in __glXInitialize()
865 if (dpyPriv->dpy == dpy) { in __glXInitialize()
867 return dpyPriv; in __glXInitialize()
874 dpyPriv = calloc(1, sizeof *dpyPriv); in __glXInitialize()
875 if (!dpyPriv) in __glXInitialize()
880 free(dpyPriv); in __glXInitialize()
884 dpyPriv->codes = *codes; in __glXInitialize()
885 dpyPriv->dpy = dpy; in __glXInitialize()
890 if (!QueryVersion(dpy, dpyPriv->codes.major_opcode, in __glXInitialize()
[all …]
Ddri2_glx.c136 struct glx_display *dpyPriv = psc->base.display; in dri2_bind_context() local
160 pdp = (struct dri2_display *) dpyPriv->dri2Display; in dri2_bind_context()
291 struct glx_display *dpyPriv = psc->base.display; in dri2DestroyDrawable() local
292 struct dri2_display *pdp = (struct dri2_display *)dpyPriv->dri2Display; in dri2DestroyDrawable()
317 struct glx_display *dpyPriv; in dri2CreateDrawable() local
321 dpyPriv = __glXInitialize(psc->base.dpy); in dri2CreateDrawable()
322 if (dpyPriv == NULL) in dri2CreateDrawable()
354 pdp = (struct dri2_display *)dpyPriv->dri2Display; in dri2CreateDrawable()
779 struct glx_display *dpyPriv = __glXInitialize(priv->base.psc->dpy); in dri2SwapBuffers() local
782 (struct dri2_display *)dpyPriv->dri2Display; in dri2SwapBuffers()
[all …]