5 * SGI FREE SOFTWARE LICENSE B (Version 2.0, Sept. 18, 2008)
6 * Copyright (C) 1991-2000 Silicon Graphics, Inc. All Rights Reserved.
8 * Permission is hereby granted, free of charge, to any person obtaining a
9 * copy of this software and associated documentation files (the "Software"),
10 * to deal in the Software without restriction, including without limitation
11 * the rights to use, copy, modify, merge, publish, distribute, sublicense,
12 * and/or sell copies of the Software, and to permit persons to whom the
13 * Software is furnished to do so, subject to the following conditions:
15 * The above copyright notice including the dates of first publication and
16 * either this permission notice or a reference to
17 * http://oss.sgi.com/projects/FreeB/
18 * shall be included in all copies or substantial portions of the Software.
20 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
21 * OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
22 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
23 * SILICON GRAPHICS, INC. BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
24 * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF
25 * OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
28 * Except as contained in this notice, the name of Silicon Graphics, Inc.
29 * shall not be used in advertising or otherwise to promote the sale, use or
30 * other dealings in this Software without prior written authorization from
31 * Silicon Graphics, Inc.
35 * Added by VA Linux for XFree86 4.0.x
39 void (*resetExtension)(void);
46 VisualID * defaultVisp,
50 void (*setVisualConfigs)(
52 __GLXvisualConfig *configs,
57 extern GLboolean __glXFreeContext(__GLXcontext *glxc);
58 extern void __glXFlushContextCache(void);
60 extern void __glXFreeGLXWindow(__glXWindow *pGlxWindow);
61 extern void __glXFreeGLXPixmap( __GLXpixmap *pGlxPixmap );
63 extern void __glXNoSuchRenderOpcode(GLbyte*);
64 extern int __glXNoSuchSingleOpcode(__GLXclientState*, GLbyte*);
65 extern void __glXErrorCallBack(GLenum code);
66 extern void __glXClearErrorOccured(void);
67 extern GLboolean __glXErrorOccured(void);
68 extern void __glXResetLargeCommandStatus(__GLXclientState*);
70 extern int __glXQueryContextInfoEXT(__GLXclientState *cl, GLbyte *pc);
71 extern int __glXSwapQueryContextInfoEXT(__GLXclientState *cl, char *pc);
73 extern void GlxExtensionInit(void);
75 extern Bool __glXCoreType(void);
77 extern int GlxInitVisuals(
78 #if NeedFunctionPrototypes
84 VisualID * defaultVisp,
91 #endif /* _glxext_h_ */