Lines Matching defs:pGlxPbuffer
724 __glXPbuffer *pGlxPbuffer = NULL;
860 dixLookupResourceByType((pointer*) &pGlxPbuffer, drawId,
863 if (pGlxPbuffer) {
864 if (pGlxPbuffer->pScreen != glxc->pScreen ||
865 pGlxPbuffer->pFBConfig != glxc->pFBConfig) {
870 pDraw = (DrawablePtr)pGlxPbuffer;
871 new_reply.writeVid = pGlxPbuffer->pFBConfig->id;
1037 if (prevglxc->pGlxPbuffer) {
1041 prevglxc->pGlxPbuffer->refcnt--;
1042 __glXFreeGLXPbuffer( prevglxc->pGlxPbuffer );
1043 prevglxc->pGlxPbuffer = 0;
1067 glxc->pGlxPbuffer = pGlxPbuffer;
1086 if (pGlxPbuffer) {
1087 pGlxPbuffer->refcnt++;
1139 else if (pGlxPbuffer) {
1140 be_draw = pGlxPbuffer->be_xids[s];
3131 __glXPbuffer *pGlxPbuffer;
3164 pGlxPbuffer = (__glXPbuffer *) malloc(sizeof(__glXPbuffer));
3165 if (!pGlxPbuffer) {
3169 pGlxPbuffer->be_xids = (XID *) malloc( sizeof(XID) * screenInfo.numScreens );
3170 if (!pGlxPbuffer->be_xids) {
3171 free(pGlxPbuffer);
3216 pGlxPbuffer->be_xids[s] = be_xid;
3220 pGlxPbuffer->idExists = True;
3221 pGlxPbuffer->refcnt = 0;
3222 pGlxPbuffer->pFBConfig = pGlxFBConfig;
3223 pGlxPbuffer->pScreen = pScreen;
3228 if (!(AddResource(pbuffer, __glXPbufferRes, pGlxPbuffer))) {
3245 __glXPbuffer *pGlxPbuffer;
3252 dixLookupResourceByType((pointer*) &pGlxPbuffer, pbuffer,
3254 if (!pGlxPbuffer) {
3259 screen = pGlxPbuffer->pScreen->myNum;
3278 be_req->pbuffer = pGlxPbuffer->be_xids[s];
3345 __glXPbuffer *pGlxPbuffer;
3346 dixLookupResourceByType((pointer*) &pGlxPbuffer,
3349 if (pGlxPbuffer) {
3350 pDraw = (DrawablePtr)pGlxPbuffer;
3351 screen = pGlxPbuffer->pScreen->myNum;
3352 be_drawable = pGlxPbuffer->be_xids[screen];
3502 __glXPbuffer *pGlxPbuffer;
3503 dixLookupResourceByType((pointer*) &pGlxPbuffer,
3506 if (pGlxPbuffer) {
3507 pDraw = (DrawablePtr)pGlxPbuffer;
3508 screen = pGlxPbuffer->pScreen->myNum;
3509 be_drawable = pGlxPbuffer->be_xids[screen];