Lines Matching refs:preferred_class
619 choose_x_visual(Display *dpy, int screen, int min_depth, int preferred_class) in choose_x_visual() argument
631 if (preferred_class==DONT_CARE) { in choose_x_visual()
661 switch (preferred_class) { in choose_x_visual()
711 int min_depth, int preferred_class ) in choose_x_overlay_visual() argument
721 switch (preferred_class) { in choose_x_overlay_visual()
722 case GLX_TRUE_COLOR_EXT: preferred_class = TrueColor; break; in choose_x_overlay_visual()
723 case GLX_DIRECT_COLOR_EXT: preferred_class = DirectColor; break; in choose_x_overlay_visual()
724 case GLX_PSEUDO_COLOR_EXT: preferred_class = PseudoColor; break; in choose_x_overlay_visual()
725 case GLX_STATIC_COLOR_EXT: preferred_class = StaticColor; break; in choose_x_overlay_visual()
726 case GLX_GRAY_SCALE_EXT: preferred_class = GrayScale; break; in choose_x_overlay_visual()
727 case GLX_STATIC_GRAY_EXT: preferred_class = StaticGray; break; in choose_x_overlay_visual()
728 default: preferred_class = DONT_CARE; in choose_x_overlay_visual()
771 if (preferred_class!=DONT_CARE && preferred_class!=vislist->CLASS) { in choose_x_overlay_visual()