Lines Matching refs:pDraw
109 DrawablePtr pDraw, int *err) in validGlxFBConfigForWindow() argument
111 ScreenPtr pScreen = pDraw->pScreen; in validGlxFBConfigForWindow()
116 vid = wVisual((WindowPtr) pDraw); in validGlxFBConfigForWindow()
127 client->errorValue = pDraw->id; in validGlxFBConfigForWindow()
470 DrawablePtr pDraw; in __glXGetDrawable() local
501 rc = dixLookupDrawable(&pDraw, drawId, client, 0, DixGetAttrAccess); in __glXGetDrawable()
502 if (rc != Success || pDraw->type != DRAWABLE_WINDOW) { in __glXGetDrawable()
509 if (pDraw->pScreen != pGlxScreen->pScreen) { in __glXGetDrawable()
510 client->errorValue = pDraw->pScreen->myNum; in __glXGetDrawable()
517 config = inferConfigForWindow(pGlxScreen, (WindowPtr)pDraw); in __glXGetDrawable()
532 if (!validGlxFBConfigForWindow(client, config, pDraw, error)) in __glXGetDrawable()
535 pGlxDraw = pGlxScreen->createDrawable(client, pGlxScreen, pDraw, drawId, in __glXGetDrawable()
1132 __GLXscreen * screen, DrawablePtr pDraw, int type, in __glXDrawableInit() argument
1135 drawable->pDraw = pDraw; in __glXDrawableInit()
1151 __GLXconfig * config, DrawablePtr pDraw, XID drawableId, in DoCreateGLXDrawable() argument
1156 if (pGlxScreen->pScreen != pDraw->pScreen) in DoCreateGLXDrawable()
1159 pGlxDraw = pGlxScreen->createDrawable(client, pGlxScreen, pDraw, in DoCreateGLXDrawable()
1173 !AddResource(pDraw->id, __glXDrawableRes, pGlxDraw)) in DoCreateGLXDrawable()
1183 DrawablePtr pDraw; in DoCreateGLXPixmap() local
1186 err = dixLookupDrawable(&pDraw, drawableId, client, 0, DixAddAccess); in DoCreateGLXPixmap()
1191 if (pDraw->type != DRAWABLE_PIXMAP) { in DoCreateGLXPixmap()
1196 err = DoCreateGLXDrawable(client, pGlxScreen, config, pDraw, drawableId, in DoCreateGLXPixmap()
1200 ((PixmapPtr) pDraw)->refcnt++; in DoCreateGLXPixmap()
1236 int w = pGlxDraw->pDraw->width, h = pGlxDraw->pDraw->height; in determineTextureTarget()
1537 DrawablePtr pDraw; in __glXDisp_CreateWindow() local
1552 err = dixLookupDrawable(&pDraw, req->window, client, 0, DixAddAccess); in __glXDisp_CreateWindow()
1553 if (err != Success || pDraw->type != DRAWABLE_WINDOW) { in __glXDisp_CreateWindow()
1558 if (!validGlxFBConfigForWindow(client, config, pDraw, &err)) in __glXDisp_CreateWindow()
1562 pDraw, req->window, in __glXDisp_CreateWindow()
1853 DrawablePtr pDraw; in DoGetDrawableAttributes() local
1860 int err = dixLookupWindow((WindowPtr *)&pDraw, drawId, client, in DoGetDrawableAttributes()
1866 pDraw = pGlxDraw->pDraw; in DoGetDrawableAttributes()
1875 ATTRIB(GLX_WIDTH, pDraw->width); in DoGetDrawableAttributes()
1876 ATTRIB(GLX_HEIGHT, pDraw->height); in DoGetDrawableAttributes()
1877 ATTRIB(GLX_SCREEN, pDraw->pScreen->myNum); in DoGetDrawableAttributes()