Lines Matching defs:xid
365 req->context = gc->xid = XAllocID(dpy);
368 req->shareList = shareList ? shareList->xid : None;
380 req->context = gc->xid = XAllocID(dpy);
384 req->shareList = shareList ? shareList->xid : None;
401 req->context = gc->xid = XAllocID(dpy);
405 req->shareList = shareList ? shareList->xid : None;
420 gc->share_xid = shareList ? shareList->xid : None;
430 int isDirect = __glXIsDirect(dpy, gc->xid, &error);
479 glx_send_destroy_context(Display *dpy, XID xid)
488 req->context = xid;
502 if (gc == NULL || gc->xid == None)
507 glx_send_destroy_context(dpy, gc->xid);
512 * Note that we set gc->xid = None above. In MakeContextCurrent()
515 gc->xid = None;
673 req->source = source ? source->xid : None;
674 req->dest = dest ? dest->xid : None;
709 GLXPixmap xid;
736 req->glxpixmap = xid = XAllocID(dpy);
756 return xid;
759 pdraw = psc->driScreen->createDrawable(psc, pixmap, xid, GLX_PIXMAP_BIT, config);
762 xid = None;
766 if (__glxHashInsert(priv->drawHash, xid, pdraw)) {
768 xid = None;
773 if (xid == None) {
779 dreq->glxpixmap = xid;
785 return xid;
1522 ctx->xid = contextID;
1567 return (ctx == NULL) ? None : ctx->xid;
1575 if (gc == NULL || gc->xid == None)
1588 gc->xid = None;
1983 GLXPixmap xid = None;
2019 req->glxpixmap = xid = XAllocID(dpy);
2024 return xid;
2745 if (!gc || gc->xid == None || !gc->isDirect) {
2770 if (!gc || gc->xid == None || !gc->isDirect) {