Lines Matching refs:visinfo
45 XVisualInfo *visinfo; in get_glx_visual() local
56 visinfo = glXChooseVisual(dpy, screen, attrib); in get_glx_visual()
57 if (visinfo == NULL) { in get_glx_visual()
62 return visinfo; in get_glx_visual()
66 get_glx_window(Display *dpy, XVisualInfo *visinfo, bool map) in get_glx_window() argument
77 visinfo->visual, AllocNone); in get_glx_window()
83 0, visinfo->depth, InputOutput, in get_glx_window()
84 visinfo->visual, mask, &window_attr); in get_glx_window()
93 XVisualInfo *visinfo = get_glx_visual(dpy); in make_glx_context_current_or_skip() local
94 Window win = get_glx_window(dpy, visinfo, false); in make_glx_context_current_or_skip()
96 ctx = glXCreateContext(dpy, visinfo, False, True); in make_glx_context_current_or_skip()
106 get_fbconfig_for_visinfo(Display *dpy, XVisualInfo *visinfo) in get_fbconfig_for_visinfo() argument
111 configs = glXGetFBConfigs(dpy, visinfo->screen, &nconfigs); in get_fbconfig_for_visinfo()
121 if (v == visinfo->visualid) { in get_fbconfig_for_visinfo()