int PEXDBTestVisual ( Display *display, Drawable drawable, VisualID visualid )
True if the specified visual supports double buffering. False if the specified visual does not support double buffering.
Invoke PEXDBTestVisual to determine if a window created with the given visual supports double buffering through the use of the PEXlib double buffering functions described in PEXlib Access and Information Functions.
You use this function to "pre-screen" a visual prior to specifying it in a PEXMatchRenderingTargets invocation, or you use this function to test visuals returned by PEXMatchRenderingTargets to determine if they can be used for creating windows that are double buffered.
For an overview, see PEXlib Access and Information Functions.