Lines Matching defs:vi
39 XVisualInfo *vi;
68 vi = glXChooseVisual(dpy, DefaultScreen(dpy), AttributeList);
69 if (vi == 0) {
75 ctx1 = glXCreateContext(dpy, vi, 0, True);
76 ctx2 = glXCreateContext(dpy, vi, ctx1, True);
79 swa.colormap = XCreateColormap(dpy, RootWindow(dpy, vi->screen),
80 vi->visual, AllocNone);
84 win1 = XCreateWindow(dpy, RootWindow(dpy, vi->screen),
86 0, vi->depth, InputOutput, vi->visual,
105 win2 = XCreateWindow(dpy, RootWindow(dpy, vi->screen),
107 0, vi->depth, InputOutput, vi->visual,