Lines Matching refs:xid
316 req->context = gc->xid = XAllocID(dpy); in CreateContext()
319 req->shareList = shareList ? shareList->xid : None; in CreateContext()
331 req->context = gc->xid = XAllocID(dpy); in CreateContext()
335 req->shareList = shareList ? shareList->xid : None; in CreateContext()
352 req->context = gc->xid = XAllocID(dpy); in CreateContext()
356 req->shareList = shareList ? shareList->xid : None; in CreateContext()
371 gc->share_xid = shareList ? shareList->xid : None; in CreateContext()
436 glx_send_destroy_context(Display *dpy, XID xid) in glx_send_destroy_context() argument
445 req->context = xid; in glx_send_destroy_context()
459 if (gc == NULL || gc->xid == None) in glXDestroyContext()
464 glx_send_destroy_context(dpy, gc->xid); in glXDestroyContext()
472 gc->xid = None; in glXDestroyContext()
608 req->source = source ? source->xid : None; in glXCopyContext()
609 req->dest = dest ? dest->xid : None; in glXCopyContext()
674 return __glXIsDirect(dpy, gc->xid); in glXIsDirect()
695 GLXPixmap xid; in glXCreateGLXPixmap()
722 req->glxpixmap = xid = XAllocID(dpy); in glXCreateGLXPixmap()
742 return xid; in glXCreateGLXPixmap()
745 pdraw = psc->driScreen->createDrawable(psc, pixmap, xid, config); in glXCreateGLXPixmap()
748 xid = None; in glXCreateGLXPixmap()
752 if (__glxHashInsert(priv->drawHash, xid, pdraw)) { in glXCreateGLXPixmap()
754 xid = None; in glXCreateGLXPixmap()
759 if (xid == None) { in glXCreateGLXPixmap()
765 dreq->glxpixmap = xid; in glXCreateGLXPixmap()
771 return xid; in glXCreateGLXPixmap()
1527 ctx->xid = contextID; in glXImportContextEXT()
1572 return (ctx == NULL) ? None : ctx->xid; in glXGetContextIDEXT()
1580 if (gc == NULL || gc->xid == None) in glXFreeContextEXT()
1593 gc->xid = None; in glXFreeContextEXT()
1964 GLXPixmap xid = None; in glXCreateGLXPixmapWithConfigSGIX() local
2000 req->glxpixmap = xid = XAllocID(dpy); in glXCreateGLXPixmapWithConfigSGIX()
2005 return xid; in glXCreateGLXPixmapWithConfigSGIX()
2728 if (!gc || gc->xid == None || !gc->isDirect) { in MesaGLInteropGLXQueryDeviceInfo()
2753 if (!gc || gc->xid == None || !gc->isDirect) { in MesaGLInteropGLXExportObject()