Lines Matching refs:visinfo
57 XVisualInfo templat, *visinfo = NULL; in graw_create_window_and_screen() local
83 visinfo = XGetVisualInfo(graw.display, mask, &templat, &n); in graw_create_window_and_screen()
84 if (!visinfo) { in graw_create_window_and_screen()
90 if (visinfo->red_mask == 0xff0000 && in graw_create_window_and_screen()
91 visinfo->green_mask == 0xff00 && in graw_create_window_and_screen()
92 visinfo->blue_mask == 0xff) { in graw_create_window_and_screen()
96 else if (visinfo->red_mask == 0xff && in graw_create_window_and_screen()
97 visinfo->green_mask == 0xff00 && in graw_create_window_and_screen()
98 visinfo->blue_mask == 0xff0000) { in graw_create_window_and_screen()
109 attr.colormap = XCreateColormap( graw.display, root, visinfo->visual, AllocNone); in graw_create_window_and_screen()
115 0, visinfo->depth, InputOutput, in graw_create_window_and_screen()
116 visinfo->visual, mask, &attr ); in graw_create_window_and_screen()
142 xlib_handle->visual = visinfo->visual; in graw_create_window_and_screen()
144 xlib_handle->depth = visinfo->depth; in graw_create_window_and_screen()
151 free(visinfo); in graw_create_window_and_screen()
160 free(visinfo); in graw_create_window_and_screen()