45e9809aff7304721fddb95654901b32195c9c7avboxsync/*
45e9809aff7304721fddb95654901b32195c9c7avboxsync** License Applicability. Except to the extent portions of this file are
45e9809aff7304721fddb95654901b32195c9c7avboxsync** made subject to an alternative license as permitted in the SGI Free
45e9809aff7304721fddb95654901b32195c9c7avboxsync** Software License B, Version 1.1 (the "License"), the contents of this
45e9809aff7304721fddb95654901b32195c9c7avboxsync** file are subject only to the provisions of the License. You may not use
45e9809aff7304721fddb95654901b32195c9c7avboxsync** this file except in compliance with the License. You may obtain a copy
45e9809aff7304721fddb95654901b32195c9c7avboxsync** of the License at Silicon Graphics, Inc., attn: Legal Services, 1600
45e9809aff7304721fddb95654901b32195c9c7avboxsync** Amphitheatre Parkway, Mountain View, CA 94043-1351, or at:
45e9809aff7304721fddb95654901b32195c9c7avboxsync**
45e9809aff7304721fddb95654901b32195c9c7avboxsync** http://oss.sgi.com/projects/FreeB
45e9809aff7304721fddb95654901b32195c9c7avboxsync**
45e9809aff7304721fddb95654901b32195c9c7avboxsync** Note that, as provided in the License, the Software is distributed on an
45e9809aff7304721fddb95654901b32195c9c7avboxsync** "AS IS" basis, with ALL EXPRESS AND IMPLIED WARRANTIES AND CONDITIONS
45e9809aff7304721fddb95654901b32195c9c7avboxsync** DISCLAIMED, INCLUDING, WITHOUT LIMITATION, ANY IMPLIED WARRANTIES AND
45e9809aff7304721fddb95654901b32195c9c7avboxsync** CONDITIONS OF MERCHANTABILITY, SATISFACTORY QUALITY, FITNESS FOR A
45e9809aff7304721fddb95654901b32195c9c7avboxsync** PARTICULAR PURPOSE, AND NON-INFRINGEMENT.
45e9809aff7304721fddb95654901b32195c9c7avboxsync**
45e9809aff7304721fddb95654901b32195c9c7avboxsync** Original Code. The Original Code is: OpenGL Sample Implementation,
45e9809aff7304721fddb95654901b32195c9c7avboxsync** Version 1.2.1, released January 26, 2000, developed by Silicon Graphics,
45e9809aff7304721fddb95654901b32195c9c7avboxsync** Inc. The Original Code is Copyright (c) 1991-2000 Silicon Graphics, Inc.
45e9809aff7304721fddb95654901b32195c9c7avboxsync** Copyright in any portions created by third parties is as indicated
45e9809aff7304721fddb95654901b32195c9c7avboxsync** elsewhere herein. All Rights Reserved.
45e9809aff7304721fddb95654901b32195c9c7avboxsync**
45e9809aff7304721fddb95654901b32195c9c7avboxsync** Additional Notice Provisions: The application programming interfaces
45e9809aff7304721fddb95654901b32195c9c7avboxsync** established by SGI in conjunction with the Original Code are The
45e9809aff7304721fddb95654901b32195c9c7avboxsync** OpenGL(R) Graphics System: A Specification (Version 1.2.1), released
45e9809aff7304721fddb95654901b32195c9c7avboxsync** April 1, 1999; The OpenGL(R) Graphics System Utility Library (Version
45e9809aff7304721fddb95654901b32195c9c7avboxsync** 1.3), released November 4, 1998; and OpenGL(R) Graphics with the X
45e9809aff7304721fddb95654901b32195c9c7avboxsync** Window System(R) (Version 1.3), released October 19, 1998. This software
45e9809aff7304721fddb95654901b32195c9c7avboxsync** was created using the OpenGL(R) version 1.2.1 Sample Implementation
45e9809aff7304721fddb95654901b32195c9c7avboxsync** published by SGI, but has not been independently verified as being
45e9809aff7304721fddb95654901b32195c9c7avboxsync** compliant with the OpenGL(R) version 1.2.1 Specification.
45e9809aff7304721fddb95654901b32195c9c7avboxsync**
45e9809aff7304721fddb95654901b32195c9c7avboxsync*/
45e9809aff7304721fddb95654901b32195c9c7avboxsync
45e9809aff7304721fddb95654901b32195c9c7avboxsync#ifndef _GLX_VISUALS_H
45e9809aff7304721fddb95654901b32195c9c7avboxsync#define _GLX_VISUALS_H
45e9809aff7304721fddb95654901b32195c9c7avboxsync
45e9809aff7304721fddb95654901b32195c9c7avboxsyncint glxVisualsMatch( __GLXvisualConfig *v1, __GLXvisualConfig *v2 );
45e9809aff7304721fddb95654901b32195c9c7avboxsync
45e9809aff7304721fddb95654901b32195c9c7avboxsyncVisualID glxMatchGLXVisualInConfigList( __GLXvisualConfig *pGlxVisual, __GLXvisualConfig *configs, int nconfigs );
45e9809aff7304721fddb95654901b32195c9c7avboxsync
45e9809aff7304721fddb95654901b32195c9c7avboxsyncVisualID glxMatchVisualInConfigList( ScreenPtr pScreen, VisualPtr pVisual, __GLXvisualConfig *configs, int nconfigs );
45e9809aff7304721fddb95654901b32195c9c7avboxsync
45e9809aff7304721fddb95654901b32195c9c7avboxsyncVisualPtr glxMatchVisual( ScreenPtr pScreen, VisualPtr pVisual, ScreenPtr pMatchScreen );
45e9809aff7304721fddb95654901b32195c9c7avboxsync
45e9809aff7304721fddb95654901b32195c9c7avboxsyncvoid glxSetVisualConfigs(int nconfigs, __GLXvisualConfig *configs,
45e9809aff7304721fddb95654901b32195c9c7avboxsync void **privates);
45e9809aff7304721fddb95654901b32195c9c7avboxsync
45e9809aff7304721fddb95654901b32195c9c7avboxsyncBool glxInitVisuals(int *nvisualp, VisualPtr *visualp,
45e9809aff7304721fddb95654901b32195c9c7avboxsync VisualID *defaultVisp,
45e9809aff7304721fddb95654901b32195c9c7avboxsync int ndepth, DepthPtr pdepth,
45e9809aff7304721fddb95654901b32195c9c7avboxsync int rootDepth);
45e9809aff7304721fddb95654901b32195c9c7avboxsync
45e9809aff7304721fddb95654901b32195c9c7avboxsync#endif