Lines Matching defs:draw
59 static void stubXshmUpdateImageRect(Display *dpy, GLXDrawable draw, GLX_Pixmap_t *pGlxPixmap, XRectangle *pRect);
642 GLXDrawable draw;
649 GLX_Pixmap_t *pGlxPixmap = (GLX_Pixmap_t *) crHashtableSearch(pCtx->pGLXPixmapsHash, (unsigned int) pParms->draw);
675 parms.draw = drawable;
1759 parms.draw = pixmap;
1995 DECLEXPORT(void) VBOXGLXTAG(glXGetSelectedEvent)(Display *dpy, GLXDrawable draw, unsigned long *event_mask)
1998 (void) draw;
2059 DECLEXPORT(Bool) VBOXGLXTAG(glXMakeContextCurrent)(Display *display, GLXDrawable draw, GLXDrawable read, GLXContext ctx)
2062 return VBOXGLXTAG(glXMakeCurrent)(display, draw, ctx);
2075 DECLEXPORT(void) VBOXGLXTAG(glXQueryDrawable)(Display *dpy, GLXDrawable draw, int attribute, unsigned int *value)
2078 (void) draw;
2084 DECLEXPORT(void) VBOXGLXTAG(glXSelectEvent)(Display *dpy, GLXDrawable draw, unsigned long event_mask)
2087 (void) draw;
2280 static GLX_Pixmap_t* stubInitGlxPixmap(GLX_Pixmap_t* pCreateInfoPixmap, Display *dpy, GLXDrawable draw, ContextInfo *pContext)
2292 if (!XGetGeometry(dpy, (Pixmap)draw, &root, &x, &y, &w, &h, &border, &depth))
2295 if (!XGetGeometry(dpy, (Pixmap)draw, &root, &x, &y, &w, &h, &border, &depth))
2297 crWarning("stubInitGlxPixmap failed in call to XGetGeometry for 0x%x", (int) draw);
2334 pGlxPixmap->gc = XCreateGC(dpy, (Pixmap)draw, GCGraphicsExposures|GCSubwindowMode, &xgcv);
2349 pGlxPixmap->hDamage = XDamageCreate(dpy, (Pixmap)draw, XDamageReportNonEmpty);
2351 (unsigned int) draw, (unsigned int) pGlxPixmap->damage, (int) XDamageReportRawRectangles);*/
2355 crWarning("stubInitGlxPixmap failed to create empty damage region for drawable 0x%x", (unsigned int) draw);
2376 crHashtableAdd(pContext->pGLXPixmapsHash, (unsigned int) draw, pGlxPixmap);
2377 crHashtableDelete(stub.pGLXPixmapsHash, (unsigned int) draw, crFree);
2382 static void stubXshmUpdateWholeImage(Display *dpy, GLXDrawable draw, GLX_Pixmap_t *pGlxPixmap)
2403 stubXshmUpdateImageRect(dpy, draw, pGlxPixmap, &rect);
2409 stubXshmUpdateImageRect(dpy, draw, pGlxPixmap, &rect);
2417 XCopyArea(dpy, (Pixmap)draw, pGlxPixmap->hShmPixmap, pGlxPixmap->gc,
2429 (unsigned int) draw, (unsigned int)pGlxPixmap->hDamage,
2434 static void stubXshmUpdateImageRect(Display *dpy, GLXDrawable draw, GLX_Pixmap_t *pGlxPixmap, XRectangle *pRect)
2451 stubXshmUpdateImageRect(dpy, draw, pGlxPixmap, &rect);
2457 stubXshmUpdateImageRect(dpy, draw, pGlxPixmap, &rect);
2465 XCopyArea(dpy, (Pixmap)draw, pGlxPixmap->hShmPixmap, pGlxPixmap->gc,
2482 (unsigned int) draw, (unsigned int)pGlxPixmap->hDamage,
2509 DECLEXPORT(void) VBOXGLXTAG(glXBindTexImageEXT)(Display *dpy, GLXDrawable draw, int buffer, const int *attrib_list)
2523 pGlxPixmap = (GLX_Pixmap_t *) crHashtableSearch(context->pGLXPixmapsHash, (unsigned int) draw);
2526 pGlxPixmap = (GLX_Pixmap_t *) crHashtableSearch(stub.pGLXPixmapsHash, (unsigned int) draw);
2529 crDebug("Unknown drawable 0x%x in glXBindTexImageEXT!", (unsigned int) draw);
2532 pGlxPixmap = stubInitGlxPixmap(pGlxPixmap, dpy, draw, context);
2559 pxim = XGetImage(dpy, (Pixmap)draw, pGlxPixmap->x, pGlxPixmap->y, pGlxPixmap->w, pGlxPixmap->h, AllPlanes, ZPixmap);
2567 pm = crHashtableSearch(ptextable, (unsigned int) draw);
2571 crHashtableAdd(ptextable, (unsigned int) draw, pm);
2582 crWarning("Failed, to get pixmap data for 0x%x", (unsigned int) draw);
2603 /*crDebug("**FULL** update for 0x%x", (unsigned int)draw);*/
2604 stubXshmUpdateWholeImage(dpy, draw, pGlxPixmap);
2629 (unsigned int)draw, pGlxPixmap->pDamageRegion->numRects, fullArea, clipdamageArea, damageArea);*/
2630 stubXshmUpdateWholeImage(dpy, draw, pGlxPixmap);
2637 (unsigned int)draw, pGlxPixmap->pDamageRegion->numRects, fullArea, clipdamageArea, damageArea);*/
2638 stubXshmUpdateWholeImage(dpy, draw, pGlxPixmap);
2643 (unsigned int)draw, pGlxPixmap->pDamageRegion->numRects, fullArea, clipdamageArea, damageArea);*/
2644 stubXshmUpdateImageRect(dpy, draw, pGlxPixmap, &damageClipBox);
2649 (unsigned int)draw, pGlxPixmap->pDamageRegion->numRects, fullArea, clipdamageArea, damageArea);*/
2660 stubXshmUpdateImageRect(dpy, draw, pGlxPixmap, &rect);
2674 stubXshmUpdateWholeImage(dpy, draw, pGlxPixmap);
2679 DECLEXPORT(void) VBOXGLXTAG(glXReleaseTexImageEXT)(Display *dpy, GLXDrawable draw, int buffer)
2682 (void) draw;
2684 //crDebug("glXReleaseTexImageEXT 0x%x", (unsigned int)draw);
2781 DECLEXPORT(Bool) VBOXGLXTAG(glXMakeCurrentReadSGI)(Display *display, GLXDrawable draw, GLXDrawable read, GLXContext ctx)
2783 return VBOXGLXTAG(glXMakeContextCurrent)(display, draw, read, ctx);