Lines Matching refs:pGlxPixmap
506 __GLXpixmap *pGlxPixmap = NULL; in __glXBindSwapBarrierSGIX() local
512 dixLookupResourceByType((void **) &pGlxPixmap, req->drawable, in __glXBindSwapBarrierSGIX()
514 if (pGlxPixmap) in __glXBindSwapBarrierSGIX()
515 pDraw = pGlxPixmap->pDraw; in __glXBindSwapBarrierSGIX()
539 __GLXpixmap *pGlxPixmap = NULL; in __glXJoinSwapGroupSGIX() local
545 dixLookupResourceByType((void **) &pGlxPixmap, req->drawable, in __glXJoinSwapGroupSGIX()
547 if (pGlxPixmap) in __glXJoinSwapGroupSGIX()
548 pDraw = pGlxPixmap->pDraw; in __glXJoinSwapGroupSGIX()
567 dixLookupResourceByType((void **) &pGlxPixmap, req->member, in __glXJoinSwapGroupSGIX()
570 if (pGlxPixmap) in __glXJoinSwapGroupSGIX()
571 pMember = pGlxPixmap->pDraw; in __glXJoinSwapGroupSGIX()
828 __GLXpixmap *pGlxPixmap = 0; in MakeCurrent() local
930 dixLookupResourceByType((void **) &pGlxPixmap, drawId, in MakeCurrent()
933 if (pGlxPixmap) { in MakeCurrent()
937 if (pGlxPixmap->pScreen != glxc->pScreen || in MakeCurrent()
938 pGlxPixmap->pGlxVisual != glxc->pGlxVisual) { in MakeCurrent()
942 pDraw = pGlxPixmap->pDraw; in MakeCurrent()
945 pGlxPixmap->pGlxVisual->vid); in MakeCurrent()
949 from_screen = to_screen = pGlxPixmap->pScreen->myNum; in MakeCurrent()
1116 pReadGlxPixmap = pGlxPixmap; in MakeCurrent()
1124 if (prevglxc->pGlxPixmap) { in MakeCurrent()
1128 prevglxc->pGlxPixmap->refcnt--; in MakeCurrent()
1129 __glXFreeGLXPixmap(prevglxc->pGlxPixmap); in MakeCurrent()
1130 prevglxc->pGlxPixmap = 0; in MakeCurrent()
1187 glxc->pGlxPixmap = pGlxPixmap; in MakeCurrent()
1194 if (pGlxPixmap) { in MakeCurrent()
1195 pGlxPixmap->refcnt++; in MakeCurrent()
1257 if (pGlxPixmap) { in MakeCurrent()
1258 be_draw = pGlxPixmap->be_xids[s]; in MakeCurrent()
1789 __GLXpixmap *pGlxPixmap; in CreateGLXPixmap() local
1888 pGlxPixmap = (__GLXpixmap *) malloc(sizeof(__GLXpixmap)); in CreateGLXPixmap()
1889 if (!pGlxPixmap) { in CreateGLXPixmap()
1892 pGlxPixmap->be_xids = xallocarray(screenInfo.numScreens, sizeof(XID)); in CreateGLXPixmap()
1893 if (!pGlxPixmap->be_xids) { in CreateGLXPixmap()
1894 free(pGlxPixmap); in CreateGLXPixmap()
1898 pGlxPixmap->pDraw = pDraw; in CreateGLXPixmap()
1899 pGlxPixmap->pGlxScreen = pGlxScreen; in CreateGLXPixmap()
1900 pGlxPixmap->pGlxVisual = pGlxVisual; in CreateGLXPixmap()
1901 pGlxPixmap->pFBConfig = pFBConfig; in CreateGLXPixmap()
1902 pGlxPixmap->pScreen = pScreen; in CreateGLXPixmap()
1903 pGlxPixmap->idExists = True; in CreateGLXPixmap()
1904 pGlxPixmap->refcnt = 0; in CreateGLXPixmap()
1950 pGlxPixmap->be_xids[s] = XAllocID(dpy); in CreateGLXPixmap()
1957 be_new_req->glxpixmap = (unsigned int) pGlxPixmap->be_xids[s]; in CreateGLXPixmap()
1969 pGlxPixmap->be_xids[s] = XAllocID(dpy); in CreateGLXPixmap()
1980 ext_req->glxpixmap = (unsigned int) pGlxPixmap->be_xids[s]; in CreateGLXPixmap()
1986 pGlxPixmap->be_xids[s] = XAllocID(dpy); in CreateGLXPixmap()
1998 be_req->glxpixmap = (unsigned int) pGlxPixmap->be_xids[s]; in CreateGLXPixmap()
2004 free(pGlxPixmap->be_xids); in CreateGLXPixmap()
2005 free(pGlxPixmap); in CreateGLXPixmap()
2012 if (!(AddResource(glxpixmapId, __glXPixmapRes, pGlxPixmap))) in CreateGLXPixmap()
2042 __GLXpixmap *pGlxPixmap; in __glXDestroyGLXPixmap() local
2049 dixLookupResourceByType((void **) &pGlxPixmap, glxpixmap, in __glXDestroyGLXPixmap()
2051 if (!pGlxPixmap) { in __glXDestroyGLXPixmap()
2060 from_screen = to_screen = pGlxPixmap->pDraw->pScreen->myNum; in __glXDestroyGLXPixmap()
2079 req->glxpixmap = (unsigned int) pGlxPixmap->be_xids[s]; in __glXDestroyGLXPixmap()
2101 __GLXpixmap *pGlxPixmap = NULL; in __glXDoSwapBuffers() local
2135 dixLookupResourceByType((void **) &pGlxPixmap, drawId, in __glXDoSwapBuffers()
2137 if (pGlxPixmap) { in __glXDoSwapBuffers()
2141 pDraw = pGlxPixmap->pDraw; in __glXDoSwapBuffers()
2142 from_screen = to_screen = pGlxPixmap->pScreen->myNum; in __glXDoSwapBuffers()
2218 if (pGlxPixmap) { in __glXDoSwapBuffers()
2219 be_draw = (unsigned int) pGlxPixmap->be_xids[s]; in __glXDoSwapBuffers()
2265 __GLXpixmap *pGlxPixmap = NULL; in __glXSwapBuffers() local
2285 dixLookupResourceByType((void **) &pGlxPixmap, drawId, in __glXSwapBuffers()
2287 if (pGlxPixmap) { in __glXSwapBuffers()
2291 pDraw = pGlxPixmap->pDraw; in __glXSwapBuffers()
3506 __GLXpixmap *pGlxPixmap; in __glXGetDrawableAttributes() local
3508 dixLookupResourceByType((void **) &pGlxPixmap, in __glXGetDrawableAttributes()
3511 if (pGlxPixmap) { in __glXGetDrawableAttributes()
3512 pDraw = pGlxPixmap->pDraw; in __glXGetDrawableAttributes()
3513 screen = pGlxPixmap->pScreen->myNum; in __glXGetDrawableAttributes()
3514 be_drawable = pGlxPixmap->be_xids[screen]; in __glXGetDrawableAttributes()
3668 __GLXpixmap *pGlxPixmap; in __glXChangeDrawableAttributes() local
3670 dixLookupResourceByType((void **) &pGlxPixmap, in __glXChangeDrawableAttributes()
3673 if (pGlxPixmap) { in __glXChangeDrawableAttributes()
3674 pDraw = pGlxPixmap->pDraw; in __glXChangeDrawableAttributes()
3675 screen = pGlxPixmap->pScreen->myNum; in __glXChangeDrawableAttributes()
3676 be_drawable = pGlxPixmap->be_xids[screen]; in __glXChangeDrawableAttributes()