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