VirtualBox

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

最後變更 在這個檔案從54853是 52145,由 vboxsync 提交於 10 年 前

Additions/x11/x11include: add header files for X.Org Server 1.16.

  • 屬性 svn:eol-style 設為 native
檔案大小: 2.6 KB
 
1#ifdef HAVE_DIX_CONFIG_H
2#include <dix-config.h>
3#endif
4
5#ifndef _glxext_h_
6#define _glxext_h_
7
8/*
9 * SGI FREE SOFTWARE LICENSE B (Version 2.0, Sept. 18, 2008)
10 * Copyright (C) 1991-2000 Silicon Graphics, Inc. All Rights Reserved.
11 *
12 * Permission is hereby granted, free of charge, to any person obtaining a
13 * copy of this software and associated documentation files (the "Software"),
14 * to deal in the Software without restriction, including without limitation
15 * the rights to use, copy, modify, merge, publish, distribute, sublicense,
16 * and/or sell copies of the Software, and to permit persons to whom the
17 * Software is furnished to do so, subject to the following conditions:
18 *
19 * The above copyright notice including the dates of first publication and
20 * either this permission notice or a reference to
21 * http://oss.sgi.com/projects/FreeB/
22 * shall be included in all copies or substantial portions of the Software.
23 *
24 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
25 * OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
26 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
27 * SILICON GRAPHICS, INC. BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
28 * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF
29 * OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
30 * SOFTWARE.
31 *
32 * Except as contained in this notice, the name of Silicon Graphics, Inc.
33 * shall not be used in advertising or otherwise to promote the sale, use or
34 * other dealings in this Software without prior written authorization from
35 * Silicon Graphics, Inc.
36 */
37
38/* doing #include <GL/glx.h> & #include <GL/glxext.h> could cause problems
39 * with overlapping definitions, so let's use the easy way
40 */
41#ifndef GLX_RGBA_FLOAT_BIT_ARB
42#define GLX_RGBA_FLOAT_BIT_ARB 0x00000004
43#endif
44#ifndef GLX_RGBA_FLOAT_TYPE_ARB
45#define GLX_RGBA_FLOAT_TYPE_ARB 0x20B9
46#endif
47#ifndef GLX_RGBA_UNSIGNED_FLOAT_BIT_EXT
48#define GLX_RGBA_UNSIGNED_FLOAT_BIT_EXT 0x00000008
49#endif
50#ifndef GLX_RGBA_UNSIGNED_FLOAT_TYPE_EXT
51#define GLX_RGBA_UNSIGNED_FLOAT_TYPE_EXT 0x20B1
52#endif
53
54extern GLboolean __glXFreeContext(__GLXcontext * glxc);
55extern void __glXFlushContextCache(void);
56
57extern Bool __glXAddContext(__GLXcontext * cx);
58extern void __glXErrorCallBack(GLenum code);
59extern void __glXClearErrorOccured(void);
60extern GLboolean __glXErrorOccured(void);
61extern void __glXResetLargeCommandStatus(__GLXclientState *);
62
63extern const char GLServerVersion[];
64extern int DoGetString(__GLXclientState * cl, GLbyte * pc, GLboolean need_swap);
65
66#endif /* _glxext_h_ */
注意: 瀏覽 TracBrowser 來幫助您使用儲存庫瀏覽器

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