Lines Matching refs:vis
633 struct visual_attribs vis;
635 get_visual_attribs(hdc, &visuals[i], &vis);
638 if (vis.visualCaveat != GLX_NONE_EXT)
641 /* see if this vis is better than bestVis */
642 if ((!bestVis.supportsGL && vis.supportsGL) ||
644 (bestVis.iPixelType != vis.iPixelType) ||
645 (!bestVis.doubleBuffer && vis.doubleBuffer) ||
646 (bestVis.cRedBits < vis.cRedBits) ||
647 (bestVis.cGreenBits < vis.cGreenBits) ||
648 (bestVis.cBlueBits < vis.cBlueBits) ||
649 (bestVis.cAlphaBits < vis.cAlphaBits) ||
650 (bestVis.cDepthBits < vis.cDepthBits) ||
651 (bestVis.cStencilBits < vis.cStencilBits) ||
652 (bestVis.cAccumRedBits < vis.cAccumRedBits)) {
654 bestVis = vis;