deb4998ba50060c48cce222fd18a8eed053918d7vboxsync/*
deb4998ba50060c48cce222fd18a8eed053918d7vboxsync** License Applicability. Except to the extent portions of this file are
deb4998ba50060c48cce222fd18a8eed053918d7vboxsync** made subject to an alternative license as permitted in the SGI Free
deb4998ba50060c48cce222fd18a8eed053918d7vboxsync** Software License B, Version 1.1 (the "License"), the contents of this
deb4998ba50060c48cce222fd18a8eed053918d7vboxsync** file are subject only to the provisions of the License. You may not use
deb4998ba50060c48cce222fd18a8eed053918d7vboxsync** this file except in compliance with the License. You may obtain a copy
deb4998ba50060c48cce222fd18a8eed053918d7vboxsync** of the License at Silicon Graphics, Inc., attn: Legal Services, 1600
deb4998ba50060c48cce222fd18a8eed053918d7vboxsync** Amphitheatre Parkway, Mountain View, CA 94043-1351, or at:
deb4998ba50060c48cce222fd18a8eed053918d7vboxsync**
deb4998ba50060c48cce222fd18a8eed053918d7vboxsync** http://oss.sgi.com/projects/FreeB
deb4998ba50060c48cce222fd18a8eed053918d7vboxsync**
deb4998ba50060c48cce222fd18a8eed053918d7vboxsync** Note that, as provided in the License, the Software is distributed on an
deb4998ba50060c48cce222fd18a8eed053918d7vboxsync** "AS IS" basis, with ALL EXPRESS AND IMPLIED WARRANTIES AND CONDITIONS
deb4998ba50060c48cce222fd18a8eed053918d7vboxsync** DISCLAIMED, INCLUDING, WITHOUT LIMITATION, ANY IMPLIED WARRANTIES AND
deb4998ba50060c48cce222fd18a8eed053918d7vboxsync** CONDITIONS OF MERCHANTABILITY, SATISFACTORY QUALITY, FITNESS FOR A
deb4998ba50060c48cce222fd18a8eed053918d7vboxsync** PARTICULAR PURPOSE, AND NON-INFRINGEMENT.
deb4998ba50060c48cce222fd18a8eed053918d7vboxsync**
deb4998ba50060c48cce222fd18a8eed053918d7vboxsync** Original Code. The Original Code is: OpenGL Sample Implementation,
deb4998ba50060c48cce222fd18a8eed053918d7vboxsync** Version 1.2.1, released January 26, 2000, developed by Silicon Graphics,
deb4998ba50060c48cce222fd18a8eed053918d7vboxsync** Inc. The Original Code is Copyright (c) 1991-2000 Silicon Graphics, Inc.
deb4998ba50060c48cce222fd18a8eed053918d7vboxsync** Copyright in any portions created by third parties is as indicated
deb4998ba50060c48cce222fd18a8eed053918d7vboxsync** elsewhere herein. All Rights Reserved.
deb4998ba50060c48cce222fd18a8eed053918d7vboxsync**
deb4998ba50060c48cce222fd18a8eed053918d7vboxsync** Additional Notice Provisions: The application programming interfaces
deb4998ba50060c48cce222fd18a8eed053918d7vboxsync** established by SGI in conjunction with the Original Code are The
deb4998ba50060c48cce222fd18a8eed053918d7vboxsync** OpenGL(R) Graphics System: A Specification (Version 1.2.1), released
deb4998ba50060c48cce222fd18a8eed053918d7vboxsync** April 1, 1999; The OpenGL(R) Graphics System Utility Library (Version
deb4998ba50060c48cce222fd18a8eed053918d7vboxsync** 1.3), released November 4, 1998; and OpenGL(R) Graphics with the X
deb4998ba50060c48cce222fd18a8eed053918d7vboxsync** Window System(R) (Version 1.3), released October 19, 1998. This software
deb4998ba50060c48cce222fd18a8eed053918d7vboxsync** was created using the OpenGL(R) version 1.2.1 Sample Implementation
deb4998ba50060c48cce222fd18a8eed053918d7vboxsync** published by SGI, but has not been independently verified as being
deb4998ba50060c48cce222fd18a8eed053918d7vboxsync** compliant with the OpenGL(R) version 1.2.1 Specification.
deb4998ba50060c48cce222fd18a8eed053918d7vboxsync**
deb4998ba50060c48cce222fd18a8eed053918d7vboxsync*/
deb4998ba50060c48cce222fd18a8eed053918d7vboxsync
deb4998ba50060c48cce222fd18a8eed053918d7vboxsync#ifndef _GLXVISUALS_H
deb4998ba50060c48cce222fd18a8eed053918d7vboxsync#define _GLXVISUALS_H
deb4998ba50060c48cce222fd18a8eed053918d7vboxsync
deb4998ba50060c48cce222fd18a8eed053918d7vboxsync#include <GL/glxint.h>
deb4998ba50060c48cce222fd18a8eed053918d7vboxsync
deb4998ba50060c48cce222fd18a8eed053918d7vboxsync/** GLX Visual private area. */
deb4998ba50060c48cce222fd18a8eed053918d7vboxsynctypedef struct {
deb4998ba50060c48cce222fd18a8eed053918d7vboxsync int x_visual_depth;
deb4998ba50060c48cce222fd18a8eed053918d7vboxsync int x_visual_class;
deb4998ba50060c48cce222fd18a8eed053918d7vboxsync} dmxGlxVisualPrivate;
deb4998ba50060c48cce222fd18a8eed053918d7vboxsync
deb4998ba50060c48cce222fd18a8eed053918d7vboxsync__GLXvisualConfig *GetGLXVisualConfigs(Display *dpy,
deb4998ba50060c48cce222fd18a8eed053918d7vboxsync int screen,
deb4998ba50060c48cce222fd18a8eed053918d7vboxsync int *nconfigs);
deb4998ba50060c48cce222fd18a8eed053918d7vboxsync
deb4998ba50060c48cce222fd18a8eed053918d7vboxsync__GLXFBConfig *GetGLXFBConfigs(Display *dpy,
deb4998ba50060c48cce222fd18a8eed053918d7vboxsync int glxMajorOpcode,
deb4998ba50060c48cce222fd18a8eed053918d7vboxsync int *nconfigs);
deb4998ba50060c48cce222fd18a8eed053918d7vboxsync
deb4998ba50060c48cce222fd18a8eed053918d7vboxsync__GLXvisualConfig *GetGLXVisualConfigsFromFBConfigs(__GLXFBConfig *fbconfigs,
deb4998ba50060c48cce222fd18a8eed053918d7vboxsync int nfbconfigs,
deb4998ba50060c48cce222fd18a8eed053918d7vboxsync XVisualInfo *visuals,
deb4998ba50060c48cce222fd18a8eed053918d7vboxsync int nvisuals,
deb4998ba50060c48cce222fd18a8eed053918d7vboxsync __GLXvisualConfig
deb4998ba50060c48cce222fd18a8eed053918d7vboxsync *glxConfigs,
deb4998ba50060c48cce222fd18a8eed053918d7vboxsync int nGlxConfigs,
deb4998ba50060c48cce222fd18a8eed053918d7vboxsync int *nconfigs);
deb4998ba50060c48cce222fd18a8eed053918d7vboxsync
deb4998ba50060c48cce222fd18a8eed053918d7vboxsync#endif