f78b12e570284aa8291f4ca1add24937fd107403vboxsync#ifndef _glxext_h_
f78b12e570284aa8291f4ca1add24937fd107403vboxsync#define _glxext_h_
f78b12e570284aa8291f4ca1add24937fd107403vboxsync
f78b12e570284aa8291f4ca1add24937fd107403vboxsync/*
f78b12e570284aa8291f4ca1add24937fd107403vboxsync * SGI FREE SOFTWARE LICENSE B (Version 2.0, Sept. 18, 2008)
f78b12e570284aa8291f4ca1add24937fd107403vboxsync * Copyright (C) 1991-2000 Silicon Graphics, Inc. All Rights Reserved.
f78b12e570284aa8291f4ca1add24937fd107403vboxsync *
f78b12e570284aa8291f4ca1add24937fd107403vboxsync * Permission is hereby granted, free of charge, to any person obtaining a
f78b12e570284aa8291f4ca1add24937fd107403vboxsync * copy of this software and associated documentation files (the "Software"),
f78b12e570284aa8291f4ca1add24937fd107403vboxsync * to deal in the Software without restriction, including without limitation
f78b12e570284aa8291f4ca1add24937fd107403vboxsync * the rights to use, copy, modify, merge, publish, distribute, sublicense,
f78b12e570284aa8291f4ca1add24937fd107403vboxsync * and/or sell copies of the Software, and to permit persons to whom the
f78b12e570284aa8291f4ca1add24937fd107403vboxsync * Software is furnished to do so, subject to the following conditions:
f78b12e570284aa8291f4ca1add24937fd107403vboxsync *
f78b12e570284aa8291f4ca1add24937fd107403vboxsync * The above copyright notice including the dates of first publication and
f78b12e570284aa8291f4ca1add24937fd107403vboxsync * either this permission notice or a reference to
f78b12e570284aa8291f4ca1add24937fd107403vboxsync * http://oss.sgi.com/projects/FreeB/
f78b12e570284aa8291f4ca1add24937fd107403vboxsync * shall be included in all copies or substantial portions of the Software.
f78b12e570284aa8291f4ca1add24937fd107403vboxsync *
f78b12e570284aa8291f4ca1add24937fd107403vboxsync * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
f78b12e570284aa8291f4ca1add24937fd107403vboxsync * OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
f78b12e570284aa8291f4ca1add24937fd107403vboxsync * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
f78b12e570284aa8291f4ca1add24937fd107403vboxsync * SILICON GRAPHICS, INC. BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
f78b12e570284aa8291f4ca1add24937fd107403vboxsync * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF
f78b12e570284aa8291f4ca1add24937fd107403vboxsync * OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
f78b12e570284aa8291f4ca1add24937fd107403vboxsync * SOFTWARE.
f78b12e570284aa8291f4ca1add24937fd107403vboxsync *
f78b12e570284aa8291f4ca1add24937fd107403vboxsync * Except as contained in this notice, the name of Silicon Graphics, Inc.
f78b12e570284aa8291f4ca1add24937fd107403vboxsync * shall not be used in advertising or otherwise to promote the sale, use or
f78b12e570284aa8291f4ca1add24937fd107403vboxsync * other dealings in this Software without prior written authorization from
f78b12e570284aa8291f4ca1add24937fd107403vboxsync * Silicon Graphics, Inc.
f78b12e570284aa8291f4ca1add24937fd107403vboxsync */
f78b12e570284aa8291f4ca1add24937fd107403vboxsync
f78b12e570284aa8291f4ca1add24937fd107403vboxsync/*
f78b12e570284aa8291f4ca1add24937fd107403vboxsync * Added by VA Linux for XFree86 4.0.x
f78b12e570284aa8291f4ca1add24937fd107403vboxsync */
f78b12e570284aa8291f4ca1add24937fd107403vboxsynctypedef struct {
f78b12e570284aa8291f4ca1add24937fd107403vboxsync int type;
f78b12e570284aa8291f4ca1add24937fd107403vboxsync void (*resetExtension)(void);
f78b12e570284aa8291f4ca1add24937fd107403vboxsync Bool (*initVisuals)(
f78b12e570284aa8291f4ca1add24937fd107403vboxsync VisualPtr * visualp,
f78b12e570284aa8291f4ca1add24937fd107403vboxsync DepthPtr * depthp,
f78b12e570284aa8291f4ca1add24937fd107403vboxsync int * nvisualp,
f78b12e570284aa8291f4ca1add24937fd107403vboxsync int * ndepthp,
f78b12e570284aa8291f4ca1add24937fd107403vboxsync int * rootDepthp,
f78b12e570284aa8291f4ca1add24937fd107403vboxsync VisualID * defaultVisp,
f78b12e570284aa8291f4ca1add24937fd107403vboxsync unsigned long sizes,
f78b12e570284aa8291f4ca1add24937fd107403vboxsync int bitsPerRGB
f78b12e570284aa8291f4ca1add24937fd107403vboxsync );
f78b12e570284aa8291f4ca1add24937fd107403vboxsync void (*setVisualConfigs)(
f78b12e570284aa8291f4ca1add24937fd107403vboxsync int nconfigs,
f78b12e570284aa8291f4ca1add24937fd107403vboxsync __GLXvisualConfig *configs,
f78b12e570284aa8291f4ca1add24937fd107403vboxsync void **privates
f78b12e570284aa8291f4ca1add24937fd107403vboxsync );
f78b12e570284aa8291f4ca1add24937fd107403vboxsync} __GLXextensionInfo;
f78b12e570284aa8291f4ca1add24937fd107403vboxsync
f78b12e570284aa8291f4ca1add24937fd107403vboxsyncextern GLboolean __glXFreeContext(__GLXcontext *glxc);
f78b12e570284aa8291f4ca1add24937fd107403vboxsyncextern void __glXFlushContextCache(void);
f78b12e570284aa8291f4ca1add24937fd107403vboxsync
f78b12e570284aa8291f4ca1add24937fd107403vboxsyncextern void __glXFreeGLXWindow(__glXWindow *pGlxWindow);
f78b12e570284aa8291f4ca1add24937fd107403vboxsyncextern void __glXFreeGLXPixmap( __GLXpixmap *pGlxPixmap );
f78b12e570284aa8291f4ca1add24937fd107403vboxsync
f78b12e570284aa8291f4ca1add24937fd107403vboxsyncextern void __glXNoSuchRenderOpcode(GLbyte*);
f78b12e570284aa8291f4ca1add24937fd107403vboxsyncextern int __glXNoSuchSingleOpcode(__GLXclientState*, GLbyte*);
f78b12e570284aa8291f4ca1add24937fd107403vboxsyncextern void __glXErrorCallBack(GLenum code);
f78b12e570284aa8291f4ca1add24937fd107403vboxsyncextern void __glXClearErrorOccured(void);
f78b12e570284aa8291f4ca1add24937fd107403vboxsyncextern GLboolean __glXErrorOccured(void);
f78b12e570284aa8291f4ca1add24937fd107403vboxsyncextern void __glXResetLargeCommandStatus(__GLXclientState*);
f78b12e570284aa8291f4ca1add24937fd107403vboxsync
f78b12e570284aa8291f4ca1add24937fd107403vboxsyncextern int __glXQueryContextInfoEXT(__GLXclientState *cl, GLbyte *pc);
f78b12e570284aa8291f4ca1add24937fd107403vboxsyncextern int __glXSwapQueryContextInfoEXT(__GLXclientState *cl, char *pc);
f78b12e570284aa8291f4ca1add24937fd107403vboxsync
f78b12e570284aa8291f4ca1add24937fd107403vboxsyncextern void GlxExtensionInit(void);
f78b12e570284aa8291f4ca1add24937fd107403vboxsync
f78b12e570284aa8291f4ca1add24937fd107403vboxsyncextern Bool __glXCoreType(void);
f78b12e570284aa8291f4ca1add24937fd107403vboxsync
f78b12e570284aa8291f4ca1add24937fd107403vboxsync#endif /* _glxext_h_ */
f78b12e570284aa8291f4ca1add24937fd107403vboxsync