Lines Matching refs:drawId

175         (*drawable)->drawId != id ||  in validGlxDrawable()
467 __glXGetDrawable(__GLXcontext * glxc, GLXDrawable drawId, ClientPtr client, in __glXGetDrawable() argument
476 if (validGlxDrawable(client, drawId, GLX_DRAWABLE_ANY, in __glXGetDrawable()
481 client->errorValue = drawId; in __glXGetDrawable()
491 client->errorValue = drawId; in __glXGetDrawable()
501 rc = dixLookupDrawable(&pDraw, drawId, client, 0, DixGetAttrAccess); in __glXGetDrawable()
503 client->errorValue = drawId; in __glXGetDrawable()
535 pGlxDraw = pGlxScreen->createDrawable(client, pGlxScreen, pDraw, drawId, in __glXGetDrawable()
536 GLX_DRAWABLE_WINDOW, drawId, config); in __glXGetDrawable()
543 if (!AddResource(drawId, __glXDrawableRes, pGlxDraw)) { in __glXGetDrawable()
557 xorgGlxMakeCurrent(ClientPtr client, GLXContextTag tag, XID drawId, XID readId, in xorgGlxMakeCurrent() argument
567 if (!contextId && (drawId || readId)) in xorgGlxMakeCurrent()
571 if ((drawId == None) != (readId == None)) in xorgGlxMakeCurrent()
595 if (drawId) { in xorgGlxMakeCurrent()
596 drawPriv = __glXGetDrawable(glxc, drawId, client, &status); in xorgGlxMakeCurrent()
1133 XID drawId, __GLXconfig * config) in __glXDrawableInit() argument
1137 drawable->drawId = drawId; in __glXDrawableInit()
1591 XID drawId; in __glXDisp_SwapBuffers() local
1597 drawId = req->drawable; in __glXDisp_SwapBuffers()
1620 pGlxDraw = __glXGetDrawable(glxc, drawId, client, &error); in __glXDisp_SwapBuffers()
1710 GLXDrawable drawId; in __glXDisp_BindTexImageEXT() local
1720 drawId = *((CARD32 *) (pc)); in __glXDisp_BindTexImageEXT()
1736 if (!validGlxDrawable(client, drawId, GLX_DRAWABLE_PIXMAP, in __glXDisp_BindTexImageEXT()
1753 GLXDrawable drawId; in __glXDisp_ReleaseTexImageEXT() local
1761 drawId = *((CARD32 *) (pc)); in __glXDisp_ReleaseTexImageEXT()
1768 if (!validGlxDrawable(client, drawId, GLX_DRAWABLE_PIXMAP, in __glXDisp_ReleaseTexImageEXT()
1786 GLXDrawable drawId; in __glXDisp_CopySubBufferMESA() local
1797 drawId = *((CARD32 *) (pc)); in __glXDisp_CopySubBufferMESA()
1825 pGlxDraw = __glXGetDrawable(glxc, drawId, client, &error); in __glXDisp_CopySubBufferMESA()
1848 DoGetDrawableAttributes(__GLXclientState * cl, XID drawId) in DoGetDrawableAttributes() argument
1857 if (!validGlxDrawable(client, drawId, GLX_DRAWABLE_ANY, in DoGetDrawableAttributes()
1860 int err = dixLookupWindow((WindowPtr *)&pDraw, drawId, client, in DoGetDrawableAttributes()
2480 ClientPtr client = clients[CLIENT_ID(drawable->drawId)]; in __glXsendSwapEvent()
2493 wire.drawable = drawable->drawId; in __glXsendSwapEvent()