• Home
  • Raw
  • Download

Lines Matching refs:vis

524    XVisualInfo temp, *vis;  in get_visual()  local
544 vis = XGetVisualInfo( dpy, mask, &temp, &n ); in get_visual()
550 if (vis && depth > 24 && (xclass==TrueColor || xclass==DirectColor)) { in get_visual()
551 if (_mesa_bitcount((GLuint) vis->red_mask ) <= 8 && in get_visual()
552 _mesa_bitcount((GLuint) vis->green_mask) <= 8 && in get_visual()
553 _mesa_bitcount((GLuint) vis->blue_mask ) <= 8) { in get_visual()
554 return vis; in get_visual()
557 XFree((void *) vis); in get_visual()
562 return vis; in get_visual()
580 XVisualInfo *vis; in get_env_visual() local
597 vis = get_visual( dpy, scr, depth, xclass ); in get_env_visual()
598 if (vis) { in get_env_visual()
599 return vis; in get_env_visual()
621 XVisualInfo *vis; in choose_x_visual() local
626 vis = get_env_visual( dpy, screen, "MESA_RGB_VISUAL" ); in choose_x_visual()
627 if (vis) { in choose_x_visual()
628 return vis; in choose_x_visual()
642 vis = get_visual( dpy, screen, depth, visclass ); in choose_x_visual()
643 if (vis) { in choose_x_visual()
644 return vis; in choose_x_visual()
651 vis = get_visual( dpy, screen, depth, visclass ); in choose_x_visual()
652 if (vis) { in choose_x_visual()
653 return vis; in choose_x_visual()
673 vis = get_visual( dpy, screen, depth, visclass ); in choose_x_visual()
674 if (vis) { in choose_x_visual()
675 return vis; in choose_x_visual()
682 vis = get_visual( dpy, screen, depth, visclass ); in choose_x_visual()
683 if (vis) { in choose_x_visual()
684 return vis; in choose_x_visual()
894 XVisualInfo *vis; in choose_visual() local
1185 vis = XGetVisualInfo(dpy, VisualIDMask | VisualScreenMask, &temp, &n); in choose_visual()
1186 if (vis) { in choose_visual()
1189 if (vis->depth <= 8) in choose_visual()
1205 vis = choose_x_visual(dpy, screen, min_rgb, visual_type); in choose_visual()
1208 vis = choose_x_overlay_visual(dpy, screen, level, in choose_visual()
1213 if (vis) { in choose_visual()
1242 xmvis = save_glx_visual( dpy, vis, alpha_flag, double_flag, in choose_visual()
2573 Fake_glXGetFBConfigFromVisualSGIX(Display *dpy, XVisualInfo *vis) in Fake_glXGetFBConfigFromVisualSGIX() argument
2575 XMesaVisual xmvis = find_glx_visual(dpy, vis); in Fake_glXGetFBConfigFromVisualSGIX()
2578 xmvis = create_glx_visual(dpy, vis); in Fake_glXGetFBConfigFromVisualSGIX()