Lines Matching refs:vis
99 XVisualInfo vis; /* The TrueColor 24 bit one..
602 if ((num_vis) > 1 && (XMatchVisualInfo(dpy, screen, 24, TrueColor, &vis))) {
605 FinalImage = XCreateImage(dpy, vis.visual, vis.depth, ZPixmap, 0,
618 Colormap c = XCreateColormap(dpy, root, vis.visual, AllocNone);
625 InputOutput, vis.visual, valuemask, &attr);
635 if (mvOnes(vis.red_mask) != 8 ||
636 mvOnes(vis.blue_mask) != 8 ||
637 mvOnes(vis.green_mask) != 8) {
645 red_shift = mvShifts(vis.red_mask);
646 blue_shift = mvShifts(vis.blue_mask);
647 green_shift = mvShifts(vis.green_mask);
648 rgb_shift = 16-vis.bits_per_rgb;