Lines Matching refs:xid
363 req->context = gc->xid = XAllocID(dpy);
366 req->shareList = shareList ? shareList->xid : None;
378 req->context = gc->xid = XAllocID(dpy);
382 req->shareList = shareList ? shareList->xid : None;
399 req->context = gc->xid = XAllocID(dpy);
403 req->shareList = shareList ? shareList->xid : None;
418 gc->share_xid = shareList ? shareList->xid : None;
428 int isDirect = __glXIsDirect(dpy, gc->xid, &error);
477 glx_send_destroy_context(Display *dpy, XID xid)
486 req->context = xid;
500 if (gc == NULL || gc->xid == None)
505 glx_send_destroy_context(dpy, gc->xid);
510 * Note that we set gc->xid = None above. In MakeContextCurrent()
513 gc->xid = None;
671 req->source = source ? source->xid : None;
672 req->dest = dest ? dest->xid : None;
707 GLXPixmap xid;
734 req->glxpixmap = xid = XAllocID(dpy);
754 return xid;
757 pdraw = psc->driScreen->createDrawable(psc, pixmap, xid, config);
760 xid = None;
764 if (__glxHashInsert(priv->drawHash, xid, pdraw)) {
766 xid = None;
771 if (xid == None) {
777 dreq->glxpixmap = xid;
783 return xid;
1518 ctx->xid = contextID;
1563 return (ctx == NULL) ? None : ctx->xid;
1571 if (gc == NULL || gc->xid == None)
1584 gc->xid = None;
1980 GLXPixmap xid = None;
2016 req->glxpixmap = xid = XAllocID(dpy);
2021 return xid;
2743 if (!gc || gc->xid == None || !gc->isDirect) {
2768 if (!gc || gc->xid == None || !gc->isDirect) {