VirtualBox

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

最後變更 在這個檔案從67129是 51223,由 vboxsync 提交於 11 年 前

Additions/x11/x11include: added header files for X.Org Server 1.0 and 1.1.

  • 屬性 svn:eol-style 設為 native
檔案大小: 3.6 KB
 
1/* $XFree86: xc/programs/Xserver/GL/glx/glxext.h,v 1.4 2001/03/21 16:29:36 dawes Exp $ */
2#ifndef _glxext_h_
3#define _glxext_h_
4
5/*
6** License Applicability. Except to the extent portions of this file are
7** made subject to an alternative license as permitted in the SGI Free
8** Software License B, Version 1.1 (the "License"), the contents of this
9** file are subject only to the provisions of the License. You may not use
10** this file except in compliance with the License. You may obtain a copy
11** of the License at Silicon Graphics, Inc., attn: Legal Services, 1600
12** Amphitheatre Parkway, Mountain View, CA 94043-1351, or at:
13**
14** http://oss.sgi.com/projects/FreeB
15**
16** Note that, as provided in the License, the Software is distributed on an
17** "AS IS" basis, with ALL EXPRESS AND IMPLIED WARRANTIES AND CONDITIONS
18** DISCLAIMED, INCLUDING, WITHOUT LIMITATION, ANY IMPLIED WARRANTIES AND
19** CONDITIONS OF MERCHANTABILITY, SATISFACTORY QUALITY, FITNESS FOR A
20** PARTICULAR PURPOSE, AND NON-INFRINGEMENT.
21**
22** Original Code. The Original Code is: OpenGL Sample Implementation,
23** Version 1.2.1, released January 26, 2000, developed by Silicon Graphics,
24** Inc. The Original Code is Copyright (c) 1991-2000 Silicon Graphics, Inc.
25** Copyright in any portions created by third parties is as indicated
26** elsewhere herein. All Rights Reserved.
27**
28** Additional Notice Provisions: The application programming interfaces
29** established by SGI in conjunction with the Original Code are The
30** OpenGL(R) Graphics System: A Specification (Version 1.2.1), released
31** April 1, 1999; The OpenGL(R) Graphics System Utility Library (Version
32** 1.3), released November 4, 1998; and OpenGL(R) Graphics with the X
33** Window System(R) (Version 1.3), released October 19, 1998. This software
34** was created using the OpenGL(R) version 1.2.1 Sample Implementation
35** published by SGI, but has not been independently verified as being
36** compliant with the OpenGL(R) version 1.2.1 Specification.
37**
38*/
39
40/*
41 * Added by VA Linux for XFree86 4.0.x
42 */
43typedef struct {
44 int type;
45 void (*resetExtension)(void);
46 Bool (*initVisuals)(
47 VisualPtr * visualp,
48 DepthPtr * depthp,
49 int * nvisualp,
50 int * ndepthp,
51 int * rootDepthp,
52 VisualID * defaultVisp,
53 unsigned long sizes,
54 int bitsPerRGB
55 );
56 void (*setVisualConfigs)(
57 int nconfigs,
58 __GLXvisualConfig *configs,
59 void **privates
60 );
61} __GLXextensionInfo;
62
63extern GLboolean __glXFreeContext(__GLXcontext *glxc);
64extern void __glXFlushContextCache(void);
65
66extern void __glXFreeGLXWindow(__glXWindow *pGlxWindow);
67extern void __glXFreeGLXPixmap( __GLXpixmap *pGlxPixmap );
68
69extern void __glXNoSuchRenderOpcode(GLbyte*);
70extern int __glXNoSuchSingleOpcode(__GLXclientState*, GLbyte*);
71extern void __glXErrorCallBack(__GLinterface *gc, GLenum code);
72extern void __glXClearErrorOccured(void);
73extern GLboolean __glXErrorOccured(void);
74extern void __glXResetLargeCommandStatus(__GLXclientState*);
75
76extern int __glXQueryContextInfoEXT(__GLXclientState *cl, GLbyte *pc);
77extern int __glXSwapQueryContextInfoEXT(__GLXclientState *cl, char *pc);
78
79extern void GlxExtensionInit(void);
80
81extern Bool __glXCoreType(void);
82
83extern int GlxInitVisuals(
84#if NeedFunctionPrototypes
85 VisualPtr * visualp,
86 DepthPtr * depthp,
87 int * nvisualp,
88 int * ndepthp,
89 int * rootDepthp,
90 VisualID * defaultVisp,
91 unsigned long sizes,
92 int bitsPerRGB,
93 int preferredVis
94#endif
95);
96
97#endif /* _glxext_h_ */
98
注意: 瀏覽 TracBrowser 來幫助您使用儲存庫瀏覽器

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