Home | History | Annotate | Download | only in dmx

Lines Matching defs:visual

55 static Visual *dmxLookupGLXVisual(ScreenPtr pScreen, VisualPtr pVisual)
65 /* Find the X visual of the matching GLX visual */
68 return dmxScreen->beVisuals[j].visual;
71 /* No matching visual found */
76 /** Return the visual that matched \a pVisual. */
77 Visual *dmxLookupVisual(ScreenPtr pScreen, VisualPtr pVisual)
82 Visual *retval;
101 return dmxScreen->beVisuals[i].visual;
108 /** Return the visual that matched the \a vid. */
109 Visual *dmxLookupVisualFromID(ScreenPtr pScreen, VisualID vid)
111 Visual *visual;
119 visual = dmxLookupVisual(pScreen, &pScreen->visuals[i]);
120 if (visual) return visual;
127 /** Return the colormap for the \a visual. */
128 Colormap dmxColormapFromDefaultVisual(ScreenPtr pScreen, Visual *visual)
135 if (visual == dmxScreen->beVisuals[i].visual)