VirtualBox

source: vbox/trunk/src/VBox/Additions/x11/x11include/xorg-server-1.8.0/glxext.h@ 62425

最後變更 在這個檔案從62425是 28062,由 vboxsync 提交於 15 年 前

Additions/x11/x11include: header files for building X.Org server 1.8 drivers

  • 屬性 svn:eol-style 設為 native
檔案大小: 3.2 KB
 
1#ifndef _glxext_h_
2#define _glxext_h_
3
4/*
5 * SGI FREE SOFTWARE LICENSE B (Version 2.0, Sept. 18, 2008)
6 * Copyright (C) 1991-2000 Silicon Graphics, Inc. All Rights Reserved.
7 *
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:
14 *
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.
19 *
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
26 * SOFTWARE.
27 *
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.
32 */
33
34/*
35 * Added by VA Linux for XFree86 4.0.x
36 */
37typedef struct {
38 int type;
39 void (*resetExtension)(void);
40 Bool (*initVisuals)(
41 VisualPtr * visualp,
42 DepthPtr * depthp,
43 int * nvisualp,
44 int * ndepthp,
45 int * rootDepthp,
46 VisualID * defaultVisp,
47 unsigned long sizes,
48 int bitsPerRGB
49 );
50 void (*setVisualConfigs)(
51 int nconfigs,
52 __GLXvisualConfig *configs,
53 void **privates
54 );
55} __GLXextensionInfo;
56
57extern GLboolean __glXFreeContext(__GLXcontext *glxc);
58extern void __glXFlushContextCache(void);
59
60extern void __glXFreeGLXWindow(__glXWindow *pGlxWindow);
61extern void __glXFreeGLXPixmap( __GLXpixmap *pGlxPixmap );
62
63extern void __glXNoSuchRenderOpcode(GLbyte*);
64extern int __glXNoSuchSingleOpcode(__GLXclientState*, GLbyte*);
65extern void __glXErrorCallBack(GLenum code);
66extern void __glXClearErrorOccured(void);
67extern GLboolean __glXErrorOccured(void);
68extern void __glXResetLargeCommandStatus(__GLXclientState*);
69
70extern int __glXQueryContextInfoEXT(__GLXclientState *cl, GLbyte *pc);
71extern int __glXSwapQueryContextInfoEXT(__GLXclientState *cl, char *pc);
72
73extern void GlxExtensionInit(void);
74
75extern Bool __glXCoreType(void);
76
77extern int GlxInitVisuals(
78#if NeedFunctionPrototypes
79 VisualPtr * visualp,
80 DepthPtr * depthp,
81 int * nvisualp,
82 int * ndepthp,
83 int * rootDepthp,
84 VisualID * defaultVisp,
85 unsigned long sizes,
86 int bitsPerRGB,
87 int preferredVis
88#endif
89);
90
91#endif /* _glxext_h_ */
92
注意: 瀏覽 TracBrowser 來幫助您使用儲存庫瀏覽器

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette