Lines Matching refs:vinfo
211 XVisualInfo *vinfo, /* specifies all visuals for a screen */
217 for (int i = 0; i < nvisuals; i++, vinfo++) {
218 if (vinfo->class == visual_class && vinfo->depth > maxdepth)
220 maxdepth = vinfo->depth;
221 v = vinfo;
232 XVisualInfo *vinfo, /* specifies all visuals of the screen */
237 if (vinfo == NULL) /* unexpected: a screen with no visuals */
239 v1 = getDeepestVisual(DirectColor, vinfo, nvisuals);
240 v2 = getDeepestVisual(PseudoColor, vinfo, nvisuals);
247 if (((v1 = getDeepestVisual(TrueColor, vinfo, nvisuals)) != NULL) ||
248 ((v1 = getDeepestVisual(StaticColor, vinfo, nvisuals)) != NULL))
251 if (((v1 = getDeepestVisual(GrayScale, vinfo, nvisuals)) != NULL) ||
252 ((v1 = getDeepestVisual(StaticGray, vinfo, nvisuals)) != NULL))
255 for (v1 = vinfo; v1->visual != DefaultVisual(dpy, v1->screen); v1++)
280 XVisualInfo *vinfo, *v = NULL, template;
284 vinfo = XGetVisualInfo(dpy, VisualScreenMask, &template, &nvisuals);
300 v = getBestVisual(propertyTable[i].property, vinfo, nvisuals);
329 XFree(vinfo);