Lines Matching defs:xmvis
274 XMesaVisual xmvis;
336 xmvis = XMesaCreateVisual( dpy, vinfo, GL_TRUE, alphaFlag, dbFlag,
342 if (xmvis) {
346 xmvis->vishandle = vinfo;
351 /* add xmvis to the list */
352 VisualTable[NumVisuals] = xmvis;
357 xmvis->mesa_visual.numAuxBuffers = numAuxBuffers;
359 return xmvis;
912 XMesaVisual xmvis = NULL;
1242 xmvis = save_glx_visual( dpy, vis, alpha_flag, double_flag,
1248 return xmvis;
1255 XMesaVisual xmvis;
1260 xmvis = choose_visual(dpy, screen, list, GL_FALSE);
1261 if (xmvis) {
1263 return xmvis->vishandle;
1266 xmvis->vishandle = (XVisualInfo *) malloc(sizeof(XVisualInfo));
1267 if (xmvis->vishandle) {
1268 memcpy(xmvis->vishandle, xmvis->visinfo, sizeof(XVisualInfo));
1270 return xmvis->vishandle;
1301 XMesaVisual xmvis;
1317 xmvis = find_glx_visual( dpy, visinfo );
1318 if (!xmvis) {
1320 xmvis = create_glx_visual( dpy, visinfo );
1321 if (!xmvis) {
1328 glxCtx->xmesaContext = XMesaCreateContext(xmvis,
1612 get_config( XMesaVisual xmvis, int attrib, int *value, GLboolean fbconfig )
1614 ASSERT(xmvis);
1622 *value = xmvis->visinfo->depth;
1625 *value = xmvis->mesa_visual.level;
1630 if (xmvis->mesa_visual.rgbMode) {
1638 *value = (int) xmvis->mesa_visual.doubleBufferMode;
1641 *value = (int) xmvis->mesa_visual.stereoMode;
1644 *value = xmvis->mesa_visual.numAuxBuffers;
1647 *value = xmvis->mesa_visual.redBits;
1650 *value = xmvis->mesa_visual.greenBits;
1653 *value = xmvis->mesa_visual.blueBits;
1656 *value = xmvis->mesa_visual.alphaBits;
1659 *value = xmvis->mesa_visual.depthBits;
1662 *value = xmvis->mesa_visual.stencilBits;
1665 *value = xmvis->mesa_visual.accumRedBits;
1668 *value = xmvis->mesa_visual.accumGreenBits;
1671 *value = xmvis->mesa_visual.accumBlueBits;
1674 *value = xmvis->mesa_visual.accumAlphaBits;
1681 switch (xmvis->visinfo->CLASS) {
1691 if (xmvis->mesa_visual.level==0) {
1695 else if (xmvis->mesa_visual.level>0) {
1697 if (xmvis->mesa_visual.rgbMode) {
1704 else if (xmvis->mesa_visual.level<0) {
1711 int pixel = transparent_pixel( xmvis );
1736 if (xmvis->mesa_visual.visualRating > 0)
1737 *value = xmvis->mesa_visual.visualRating;
1758 *value = xmvis->visinfo->screen;
1768 if (xmvis->mesa_visual.rgbMode)
1781 *value = xmvis->visinfo->visualid;
1787 *value = DisplayWidth(xmvis->display, xmvis->visinfo->screen);
1792 *value = DisplayHeight(xmvis->display, xmvis->visinfo->screen);
1797 *value = DisplayWidth(xmvis->display, xmvis->visinfo->screen) *
1798 DisplayHeight(xmvis->display, xmvis->visinfo->screen);
1803 *value = xmvis->visinfo->visualid;
1812 *value = xmvis->mesa_visual.alphaBits > 0 ? True : False;
1838 XMesaVisual xmvis;
1843 xmvis = find_glx_visual( dpy, visinfo );
1844 if (!xmvis) {
1846 xmvis = create_glx_visual( dpy, visinfo );
1847 if (!xmvis) {
1859 k = get_config(xmvis, attrib, value, GL_FALSE);
1999 XMesaVisual xmvis;
2009 xmvis = choose_visual(dpy, screen, attribList, GL_TRUE);
2010 if (xmvis) {
2017 config[0] = (GLXFBConfig) xmvis;
2031 XMesaVisual xmvis = (XMesaVisual) config;
2033 return xmvis->vishandle;
2036 xmvis->vishandle = (XVisualInfo *) malloc(sizeof(XVisualInfo));
2037 if (xmvis->vishandle) {
2038 memcpy(xmvis->vishandle, xmvis->visinfo, sizeof(XVisualInfo));
2040 return xmvis->vishandle;
2053 XMesaVisual xmvis = (XMesaVisual) config;
2055 if (!xmvis)
2058 xmbuf = XMesaCreateWindowBuffer(xmvis, win);
2204 XMesaVisual xmvis = (XMesaVisual) config;
2248 xmbuf = XMesaCreatePBuffer( xmvis, 0, width, height);
2324 XMesaVisual xmvis = (XMesaVisual) config;
2337 glxCtx->xmesaContext = XMesaCreateContext(xmvis,
2532 XMesaVisual xmvis = (XMesaVisual) config;
2533 XMesaBuffer xmbuf = XMesaCreatePixmapBuffer(xmvis, pixmap, 0);
2541 XMesaVisual xmvis = (XMesaVisual) config;
2552 glxCtx->xmesaContext = XMesaCreateContext(xmvis,
2575 XMesaVisual xmvis = find_glx_visual(dpy, vis);
2576 if (!xmvis) {
2578 xmvis = create_glx_visual(dpy, vis);
2581 return (GLXFBConfigSGIX) xmvis;
2593 XMesaVisual xmvis = (XMesaVisual) config;
2619 xmbuf = XMesaCreatePBuffer( xmvis, 0, width, height);