Lines Matching refs:visinfo
303 if (v->visinfo->visualid == vinfo->visualid) { in save_glx_visual()
379 create_glx_visual( Display *dpy, XVisualInfo *visinfo ) in create_glx_visual() argument
386 vislevel = level_of_visual( dpy, visinfo ); in create_glx_visual()
391 else if (is_usable_visual( visinfo )) { in create_glx_visual()
395 return save_glx_visual( dpy, visinfo, in create_glx_visual()
428 && VisualTable[i]->visinfo->visualid == vinfo->visualid) { in find_glx_visual()
447 XVisualInfo *vinfo = glxvis->visinfo; in transparent_pixel()
1236 XVisualInfo* visinfo = malloc(sizeof(XVisualInfo)); in Fake_glXChooseVisual() local
1237 if (visinfo) { in Fake_glXChooseVisual()
1238 memcpy(visinfo, xmvis->visinfo, sizeof(XVisualInfo)); in Fake_glXChooseVisual()
1240 return visinfo; in Fake_glXChooseVisual()
1248 Fake_glXCreateContext( Display *dpy, XVisualInfo *visinfo, in Fake_glXCreateContext() argument
1254 if (!dpy || !visinfo) in Fake_glXCreateContext()
1262 xmvis = find_glx_visual( dpy, visinfo ); in Fake_glXCreateContext()
1265 xmvis = create_glx_visual( dpy, visinfo ); in Fake_glXCreateContext()
1364 Fake_glXCreateGLXPixmap( Display *dpy, XVisualInfo *visinfo, Pixmap pixmap ) in Fake_glXCreateGLXPixmap() argument
1369 v = find_glx_visual( dpy, visinfo ); in Fake_glXCreateGLXPixmap()
1371 v = create_glx_visual( dpy, visinfo ); in Fake_glXCreateGLXPixmap()
1389 Fake_glXCreateGLXPixmapMESA( Display *dpy, XVisualInfo *visinfo, in Fake_glXCreateGLXPixmapMESA() argument
1395 v = find_glx_visual( dpy, visinfo ); in Fake_glXCreateGLXPixmapMESA()
1397 v = create_glx_visual( dpy, visinfo ); in Fake_glXCreateGLXPixmapMESA()
1545 *value = xmvis->visinfo->depth; in get_config()
1599 switch (xmvis->visinfo->CLASS) { in get_config()
1671 *value = xmvis->visinfo->screen; in get_config()
1694 *value = xmvis->visinfo->visualid; in get_config()
1700 *value = DisplayWidth(xmvis->display, xmvis->visinfo->screen); in get_config()
1705 *value = DisplayHeight(xmvis->display, xmvis->visinfo->screen); in get_config()
1710 *value = DisplayWidth(xmvis->display, xmvis->visinfo->screen) * in get_config()
1711 DisplayHeight(xmvis->display, xmvis->visinfo->screen); in get_config()
1716 *value = xmvis->visinfo->visualid; in get_config()
1746 Fake_glXGetConfig( Display *dpy, XVisualInfo *visinfo, in Fake_glXGetConfig() argument
1751 if (!dpy || !visinfo) in Fake_glXGetConfig()
1754 xmvis = find_glx_visual( dpy, visinfo ); in Fake_glXGetConfig()
1757 xmvis = create_glx_visual( dpy, visinfo ); in Fake_glXGetConfig()
1951 XVisualInfo* visinfo = malloc(sizeof(XVisualInfo)); in Fake_glXGetVisualFromFBConfig() local
1952 if (visinfo) { in Fake_glXGetVisualFromFBConfig()
1953 memcpy(visinfo, xmvis->visinfo, sizeof(XVisualInfo)); in Fake_glXGetVisualFromFBConfig()
1955 return visinfo; in Fake_glXGetVisualFromFBConfig()
2212 *value = xmbuf->xm_visual->visinfo->visualid; in Fake_glXQueryDrawable()
2262 *value = xmctx->xm_visual->visinfo->visualid; in Fake_glXQueryContext()