Lines Matching refs:xmvis
257 XMesaVisual xmvis; in save_glx_visual() local
311 xmvis = XMesaCreateVisual( dpy, vinfo, GL_TRUE, alphaFlag, dbFlag, in save_glx_visual()
317 if (xmvis) { in save_glx_visual()
321 VisualTable[NumVisuals] = xmvis; in save_glx_visual()
326 xmvis->mesa_visual.numAuxBuffers = numAuxBuffers; in save_glx_visual()
328 return xmvis; in save_glx_visual()
884 XMesaVisual xmvis = NULL; in choose_visual() local
1215 xmvis = save_glx_visual( dpy, vis, alpha_flag, double_flag, in choose_visual()
1222 return xmvis; in choose_visual()
1229 XMesaVisual xmvis; in Fake_glXChooseVisual() local
1234 xmvis = choose_visual(dpy, screen, list, GL_FALSE); in Fake_glXChooseVisual()
1235 if (xmvis) { in Fake_glXChooseVisual()
1238 memcpy(visinfo, xmvis->visinfo, sizeof(XVisualInfo)); in Fake_glXChooseVisual()
1251 XMesaVisual xmvis; in Fake_glXCreateContext() local
1262 xmvis = find_glx_visual( dpy, visinfo ); in Fake_glXCreateContext()
1263 if (!xmvis) { in Fake_glXCreateContext()
1265 xmvis = create_glx_visual( dpy, visinfo ); in Fake_glXCreateContext()
1266 if (!xmvis) { in Fake_glXCreateContext()
1271 xmesaCtx = XMesaCreateContext(xmvis, (XMesaContext) share_list); in Fake_glXCreateContext()
1535 get_config( XMesaVisual xmvis, int attrib, int *value, GLboolean fbconfig ) in get_config() argument
1537 assert(xmvis); in get_config()
1545 *value = xmvis->visinfo->depth; in get_config()
1548 *value = xmvis->mesa_visual.level; in get_config()
1556 *value = (int) xmvis->mesa_visual.doubleBufferMode; in get_config()
1559 *value = (int) xmvis->mesa_visual.stereoMode; in get_config()
1562 *value = xmvis->mesa_visual.numAuxBuffers; in get_config()
1565 *value = xmvis->mesa_visual.redBits; in get_config()
1568 *value = xmvis->mesa_visual.greenBits; in get_config()
1571 *value = xmvis->mesa_visual.blueBits; in get_config()
1574 *value = xmvis->mesa_visual.alphaBits; in get_config()
1577 *value = xmvis->mesa_visual.depthBits; in get_config()
1580 *value = xmvis->mesa_visual.stencilBits; in get_config()
1583 *value = xmvis->mesa_visual.accumRedBits; in get_config()
1586 *value = xmvis->mesa_visual.accumGreenBits; in get_config()
1589 *value = xmvis->mesa_visual.accumBlueBits; in get_config()
1592 *value = xmvis->mesa_visual.accumAlphaBits; in get_config()
1599 switch (xmvis->visinfo->CLASS) { in get_config()
1609 if (xmvis->mesa_visual.level==0) { in get_config()
1613 else if (xmvis->mesa_visual.level>0) { in get_config()
1617 else if (xmvis->mesa_visual.level<0) { in get_config()
1624 int pixel = transparent_pixel( xmvis ); in get_config()
1649 if (xmvis->mesa_visual.visualRating > 0) in get_config()
1650 *value = xmvis->mesa_visual.visualRating; in get_config()
1671 *value = xmvis->visinfo->screen; in get_config()
1681 if (xmvis->mesa_visual.floatMode) 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()
1724 *value = xmvis->mesa_visual.alphaBits > 0 ? True : False; in get_config()
1749 XMesaVisual xmvis; in Fake_glXGetConfig() local
1754 xmvis = find_glx_visual( dpy, visinfo ); in Fake_glXGetConfig()
1755 if (!xmvis) { in Fake_glXGetConfig()
1757 xmvis = create_glx_visual( dpy, visinfo ); in Fake_glXGetConfig()
1758 if (!xmvis) { in Fake_glXGetConfig()
1770 k = get_config(xmvis, attrib, value, GL_FALSE); in Fake_glXGetConfig()
1918 XMesaVisual xmvis; in Fake_glXChooseFBConfig() local
1928 xmvis = choose_visual(dpy, screen, attribList, GL_TRUE); in Fake_glXChooseFBConfig()
1929 if (xmvis) { in Fake_glXChooseFBConfig()
1936 config[0] = (GLXFBConfig) xmvis; in Fake_glXChooseFBConfig()
1950 XMesaVisual xmvis = (XMesaVisual) config; in Fake_glXGetVisualFromFBConfig() local
1953 memcpy(visinfo, xmvis->visinfo, sizeof(XVisualInfo)); in Fake_glXGetVisualFromFBConfig()
1967 XMesaVisual xmvis = (XMesaVisual) config; in Fake_glXCreateWindow() local
1969 if (!xmvis) in Fake_glXCreateWindow()
1972 xmbuf = XMesaCreateWindowBuffer(xmvis, win); in Fake_glXCreateWindow()
2118 XMesaVisual xmvis = (XMesaVisual) config; in Fake_glXCreatePbuffer() local
2162 xmbuf = XMesaCreatePBuffer( xmvis, 0, width, height); in Fake_glXCreatePbuffer()
2235 XMesaVisual xmvis = (XMesaVisual) config; in Fake_glXCreateNewContext() local
2247 xmCtx = XMesaCreateContext(xmvis, (XMesaContext) shareList); in Fake_glXCreateNewContext()
2433 XMesaVisual xmvis = (XMesaVisual) config; in Fake_glXCreateGLXPixmapWithConfigSGIX() local
2434 XMesaBuffer xmbuf = XMesaCreatePixmapBuffer(xmvis, pixmap, 0); in Fake_glXCreateGLXPixmapWithConfigSGIX()
2443 XMesaVisual xmvis = (XMesaVisual) config; in Fake_glXCreateContextWithConfigSGIX() local
2448 xmCtx = XMesaCreateContext(xmvis, (XMesaContext) share_list); in Fake_glXCreateContextWithConfigSGIX()
2464 XMesaVisual xmvis = find_glx_visual(dpy, vis); in Fake_glXGetFBConfigFromVisualSGIX() local
2465 if (!xmvis) { in Fake_glXGetFBConfigFromVisualSGIX()
2467 xmvis = create_glx_visual(dpy, vis); in Fake_glXGetFBConfigFromVisualSGIX()
2470 return (GLXFBConfigSGIX) xmvis; in Fake_glXGetFBConfigFromVisualSGIX()
2482 XMesaVisual xmvis = (XMesaVisual) config; in Fake_glXCreateGLXPbufferSGIX() local
2508 xmbuf = XMesaCreatePBuffer( xmvis, 0, width, height); in Fake_glXCreateGLXPbufferSGIX()
2732 XMesaVisual xmvis = (XMesaVisual) config; in Fake_glXCreateContextAttribs() local
2771 xmCtx = XMesaCreateContext(xmvis, (XMesaContext) share_context); in Fake_glXCreateContextAttribs()