glxvisuals.h revision 8ebece18c53100fbff1bc6e36f037c24a083ca48
1043N/A/*
1043N/A * SGI FREE SOFTWARE LICENSE B (Version 2.0, Sept. 18, 2008)
1043N/A * Copyright (C) 1991-2000 Silicon Graphics, Inc. All Rights Reserved.
1043N/A *
1043N/A * Permission is hereby granted, free of charge, to any person obtaining a
1043N/A * copy of this software and associated documentation files (the "Software"),
1043N/A * to deal in the Software without restriction, including without limitation
1112N/A * the rights to use, copy, modify, merge, publish, distribute, sublicense,
1112N/A * and/or sell copies of the Software, and to permit persons to whom the
1043N/A * Software is furnished to do so, subject to the following conditions:
1043N/A *
1112N/A * The above copyright notice including the dates of first publication and
1043N/A * either this permission notice or a reference to
1043N/A * http://oss.sgi.com/projects/FreeB/
1043N/A * shall be included in all copies or substantial portions of the Software.
1043N/A *
1043N/A * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
1043N/A * OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
1043N/A * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
1043N/A * SILICON GRAPHICS, INC. BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
1043N/A * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF
1043N/A * OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
1043N/A * SOFTWARE.
1043N/A *
1043N/A * Except as contained in this notice, the name of Silicon Graphics, Inc.
1043N/A * shall not be used in advertising or otherwise to promote the sale, use or
1043N/A * other dealings in this Software without prior written authorization from
1043N/A * Silicon Graphics, Inc.
1043N/A */
1043N/A
1043N/A#ifndef _GLX_VISUALS_H
1043N/A#define _GLX_VISUALS_H
1043N/A
1043N/Aint glxVisualsMatch( __GLXvisualConfig *v1, __GLXvisualConfig *v2 );
1043N/A
1043N/AVisualID glxMatchGLXVisualInConfigList( __GLXvisualConfig *pGlxVisual, __GLXvisualConfig *configs, int nconfigs );
1043N/A
1043N/AVisualID glxMatchVisualInConfigList( ScreenPtr pScreen, VisualPtr pVisual, __GLXvisualConfig *configs, int nconfigs );
1238N/A
1043N/AVisualPtr glxMatchVisual( ScreenPtr pScreen, VisualPtr pVisual, ScreenPtr pMatchScreen );
1043N/A
1043N/Avoid glxSetVisualConfigs(int nconfigs, __GLXvisualConfig *configs,
1043N/A void **privates);
1043N/A
1043N/ABool glxInitVisuals(int *nvisualp, VisualPtr *visualp,
1043N/A VisualID *defaultVisp,
1043N/A int ndepth, DepthPtr pdepth,
1043N/A int rootDepth);
1043N/A
1043N/A#endif
1043N/A