Lines Matching refs:drawId
825 GLXDrawable drawId = drawable; in MakeCurrent() local
850 if ((drawId == None && contextId != None) || in MakeCurrent()
851 (drawId != None && contextId == None)) { in MakeCurrent()
891 if (drawId != None) { in MakeCurrent()
892 rc = dixLookupDrawable(&pDraw, drawId, client, 0, DixWriteAccess); in MakeCurrent()
912 client->errorValue = drawId; in MakeCurrent()
924 client->errorValue = drawId; in MakeCurrent()
930 dixLookupResourceByType((void **) &pGlxPixmap, drawId, in MakeCurrent()
939 client->errorValue = drawId; in MakeCurrent()
955 dixLookupResourceByType((void **) &pGlxWindow, drawId, in MakeCurrent()
966 client->errorValue = drawId; in MakeCurrent()
978 dixLookupResourceByType((void **) &pGlxPbuffer, drawId, in MakeCurrent()
984 client->errorValue = drawId; in MakeCurrent()
998 client->errorValue = drawId; in MakeCurrent()
1007 if (readId != None && readId != drawId) { in MakeCurrent()
1095 client->errorValue = drawId; in MakeCurrent()
1290 if (drawId == readId) { in MakeCurrent()
2095 __glXDoSwapBuffers(__GLXclientState * cl, XID drawId, GLXContextTag tag) in __glXDoSwapBuffers() argument
2115 rc = dixLookupDrawable(&pDraw, drawId, client, 0, DixWriteAccess); in __glXDoSwapBuffers()
2129 client->errorValue = drawId; in __glXDoSwapBuffers()
2135 dixLookupResourceByType((void **) &pGlxPixmap, drawId, in __glXDoSwapBuffers()
2147 dixLookupResourceByType((void **) &pGlxWindow, drawId, in __glXDoSwapBuffers()
2162 client->errorValue = drawId; in __glXDoSwapBuffers()
2264 XID drawId = req->drawable; in __glXSwapBuffers() local
2273 rc = dixLookupDrawable(&pDraw, drawId, client, 0, DixWriteAccess); in __glXSwapBuffers()
2279 client->errorValue = drawId; in __glXSwapBuffers()
2285 dixLookupResourceByType((void **) &pGlxPixmap, drawId, in __glXSwapBuffers()
2296 dixLookupResourceByType((void **) &pGlxWindow, drawId, in __glXSwapBuffers()
2310 client->errorValue = drawId; in __glXSwapBuffers()
2324 return SGSwapBuffers(cl, drawId, tag, pDraw); in __glXSwapBuffers()
2327 return __glXDoSwapBuffers(cl, drawId, tag); in __glXSwapBuffers()
3476 GLXDrawable drawId = req->drawable; in __glXGetDrawableAttributes() local
3489 if (drawId != None) { in __glXGetDrawableAttributes()
3490 rc = dixLookupDrawable(&pDraw, drawId, client, 0, DixGetAttrAccess); in __glXGetDrawableAttributes()
3501 client->errorValue = drawId; in __glXGetDrawableAttributes()
3509 drawId, __glXPixmapRes, in __glXGetDrawableAttributes()
3522 drawId, __glXWindowRes, in __glXGetDrawableAttributes()
3535 drawId, __glXPbufferRes, in __glXGetDrawableAttributes()
3549 client->errorValue = drawId; in __glXGetDrawableAttributes()
3564 client->errorValue = drawId; in __glXGetDrawableAttributes()
3585 client->errorValue = drawId; in __glXGetDrawableAttributes()
3646 GLXDrawable drawId = req->drawable; in __glXChangeDrawableAttributes() local
3653 if (drawId != None) { in __glXChangeDrawableAttributes()
3654 rc = dixLookupDrawable(&pDraw, drawId, client, 0, DixSetAttrAccess); in __glXChangeDrawableAttributes()
3663 client->errorValue = drawId; in __glXChangeDrawableAttributes()
3671 drawId, __glXPixmapRes, in __glXChangeDrawableAttributes()
3684 drawId, __glXWindowRes, in __glXChangeDrawableAttributes()
3697 drawId, __glXPbufferRes, in __glXChangeDrawableAttributes()
3711 client->errorValue = drawId; in __glXChangeDrawableAttributes()
3728 client->errorValue = drawId; in __glXChangeDrawableAttributes()
3749 client->errorValue = drawId; in __glXChangeDrawableAttributes()