Lines Matching refs:xid
359 req->context = gc->xid = XAllocID(dpy);
362 req->shareList = shareList ? shareList->xid : None;
374 req->context = gc->xid = XAllocID(dpy);
378 req->shareList = shareList ? shareList->xid : None;
395 req->context = gc->xid = XAllocID(dpy);
399 req->shareList = shareList ? shareList->xid : None;
414 gc->share_xid = shareList ? shareList->xid : None;
424 int isDirect = __glXIsDirect(dpy, gc->xid, &error);
486 glx_send_destroy_context(Display *dpy, XID xid)
495 req->context = xid;
509 if (gc == NULL || gc->xid == None)
514 glx_send_destroy_context(dpy, gc->xid);
519 * Note that we set gc->xid = None above. In MakeContextCurrent()
522 gc->xid = None;
658 req->source = source ? source->xid : None;
659 req->dest = dest ? dest->xid : None;
688 return __glXIsDirect(dpy, gc->xid, NULL);
709 GLXPixmap xid;
736 req->glxpixmap = xid = XAllocID(dpy);
756 return xid;
759 pdraw = psc->driScreen->createDrawable(psc, pixmap, xid, 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;
1531 ctx->xid = contextID;
1576 return (ctx == NULL) ? None : ctx->xid;
1584 if (gc == NULL || gc->xid == None)
1597 gc->xid = None;
1968 GLXPixmap xid = None;
2004 req->glxpixmap = xid = XAllocID(dpy);
2009 return xid;
2690 if (!gc || gc->xid == None || !gc->isDirect) {
2715 if (!gc || gc->xid == None || !gc->isDirect) {