Lines Matching refs:vinfo
432 XVisualInfo vinfo; in set_visual()
492 if (XMatchVisualInfo(dpy, scr, visual_depth, vis, &vinfo)) { in set_visual()
494 } else if (XMatchVisualInfo(dpy, scr, defdepth, vis, &vinfo)) { in set_visual()
505 visual_id = vinfo.visualid; in set_visual()
2593 XVisualInfo vinfo_tmpl, *vinfo; in initialize_xdisplay_fb()
2601 vinfo = XGetVisualInfo(dpy, VisualIDMask, &vinfo_tmpl, &n); in initialize_xdisplay_fb()
2602 if (vinfo == NULL || n == 0) { in initialize_xdisplay_fb()
2609 default_visual = vinfo->visual; in initialize_xdisplay_fb()
2610 depth = vinfo->depth; in initialize_xdisplay_fb()
2618 (void *) vinfo->visual); in initialize_xdisplay_fb()
2620 (int) vinfo->visualid); in initialize_xdisplay_fb()
2621 fprintf(stderr, " screen: %d\n", vinfo->screen); in initialize_xdisplay_fb()
2622 fprintf(stderr, " depth: %d\n", vinfo->depth); in initialize_xdisplay_fb()
2623 fprintf(stderr, " class: %d\n", vinfo->class); in initialize_xdisplay_fb()
2625 vinfo->red_mask, bitprint(vinfo->red_mask, 32)); in initialize_xdisplay_fb()
2627 vinfo->green_mask, bitprint(vinfo->green_mask, 32)); in initialize_xdisplay_fb()
2629 vinfo->blue_mask, bitprint(vinfo->blue_mask, 32)); in initialize_xdisplay_fb()
2631 vinfo->colormap_size); in initialize_xdisplay_fb()
2633 vinfo->bits_per_rgb); in initialize_xdisplay_fb()
2636 XFree_wr(vinfo); in initialize_xdisplay_fb()
3291 XVisualInfo vinfo; local
3292 vinfo.red_mask = 0;
3293 vinfo.green_mask = 0;
3294 vinfo.blue_mask = 0;
3301 && XMatchVisualInfo(dpy, scr, 24, TrueColor, &vinfo)
3304 main_red_mask = vinfo.red_mask;
3305 main_green_mask = vinfo.green_mask;
3306 main_blue_mask = vinfo.blue_mask;