Lines Matching defs:pGlxPixmap
420 __GLXpixmap *pGlxPixmap = NULL;
426 dixLookupResourceByType((pointer*) &pGlxPixmap, req->drawable,
428 if (pGlxPixmap) pDraw = pGlxPixmap->pDraw;
450 __GLXpixmap *pGlxPixmap = NULL;
456 dixLookupResourceByType((pointer*) &pGlxPixmap, req->drawable,
458 if (pGlxPixmap) pDraw = pGlxPixmap->pDraw;
476 dixLookupResourceByType((pointer*) &pGlxPixmap, req->member,
479 if (pGlxPixmap) pMember = pGlxPixmap->pDraw;
716 __GLXpixmap *pGlxPixmap = 0;
812 dixLookupResourceByType((pointer*) &pGlxPixmap, drawId,
815 if (pGlxPixmap) {
819 if (pGlxPixmap->pScreen != glxc->pScreen ||
820 pGlxPixmap->pGlxVisual != glxc->pGlxVisual) {
824 pDraw = pGlxPixmap->pDraw;
827 pGlxPixmap->pGlxVisual->vid);
831 from_screen = to_screen = pGlxPixmap->pScreen->myNum;
993 pReadGlxPixmap = pGlxPixmap;
1001 if (prevglxc->pGlxPixmap) {
1005 prevglxc->pGlxPixmap->refcnt--;
1006 __glXFreeGLXPixmap( prevglxc->pGlxPixmap );
1007 prevglxc->pGlxPixmap = 0;
1063 glxc->pGlxPixmap = pGlxPixmap;
1070 if (pGlxPixmap) {
1071 pGlxPixmap->refcnt++;
1136 if (pGlxPixmap) {
1137 be_draw = pGlxPixmap->be_xids[s];
1642 __GLXpixmap *pGlxPixmap;
1741 pGlxPixmap = (__GLXpixmap *) malloc(sizeof(__GLXpixmap));
1742 if (!pGlxPixmap) {
1745 pGlxPixmap->be_xids = (XID *) malloc(sizeof(XID) * screenInfo.numScreens);
1746 if (!pGlxPixmap->be_xids) {
1747 free( pGlxPixmap );
1751 pGlxPixmap->pDraw = pDraw;
1752 pGlxPixmap->pGlxScreen = pGlxScreen;
1753 pGlxPixmap->pGlxVisual = pGlxVisual;
1754 pGlxPixmap->pFBConfig = pFBConfig;
1755 pGlxPixmap->pScreen = pScreen;
1756 pGlxPixmap->idExists = True;
1757 pGlxPixmap->refcnt = 0;
1802 pGlxPixmap->be_xids[s] = XAllocID(dpy);
1809 be_new_req->glxpixmap = (unsigned int)pGlxPixmap->be_xids[s];
1820 pGlxPixmap->be_xids[s] = XAllocID(dpy);
1831 ext_req->glxpixmap = (unsigned int)pGlxPixmap->be_xids[s];
1837 pGlxPixmap->be_xids[s] = XAllocID(dpy);
1847 be_req->glxpixmap = (unsigned int)pGlxPixmap->be_xids[s];
1853 free( pGlxPixmap );
1860 if (!(AddResource(glxpixmapId, __glXPixmapRes, pGlxPixmap))) {
1861 free( pGlxPixmap );
1889 __GLXpixmap *pGlxPixmap;
1896 dixLookupResourceByType((pointer*) &pGlxPixmap, glxpixmap,
1898 if (!pGlxPixmap) {
1907 from_screen = to_screen = pGlxPixmap->pDraw->pScreen->myNum;
1926 req->glxpixmap = (unsigned int)pGlxPixmap->be_xids[s];
1948 __GLXpixmap *pGlxPixmap = NULL;
1980 dixLookupResourceByType((pointer*) &pGlxPixmap, drawId,
1982 if (pGlxPixmap) {
1986 pDraw = pGlxPixmap->pDraw;
1987 from_screen = to_screen = pGlxPixmap->pScreen->myNum;
2063 if (pGlxPixmap) {
2064 be_draw = (unsigned int)pGlxPixmap->be_xids[s];
2109 __GLXpixmap *pGlxPixmap = NULL;
2129 dixLookupResourceByType((pointer*) &pGlxPixmap, drawId,
2131 if (pGlxPixmap) {
2135 pDraw = pGlxPixmap->pDraw;
3321 __GLXpixmap *pGlxPixmap;
3322 dixLookupResourceByType((pointer*) &pGlxPixmap,
3325 if (pGlxPixmap) {
3326 pDraw = pGlxPixmap->pDraw;
3327 screen = pGlxPixmap->pScreen->myNum;
3328 be_drawable = pGlxPixmap->be_xids[screen];
3478 __GLXpixmap *pGlxPixmap;
3479 dixLookupResourceByType((pointer*) &pGlxPixmap,
3482 if (pGlxPixmap) {
3483 pDraw = pGlxPixmap->pDraw;
3484 screen = pGlxPixmap->pScreen->myNum;
3485 be_drawable = pGlxPixmap->be_xids[screen];