VirtualBox

source: vbox/trunk/src/VBox/Additions/x11/x11include/xorg-server-1.9.0/glxdrawable.h@ 77938

Last change on this file since 77938 was 32163, checked in by vboxsync, 14 years ago

Additions/x11/x11include: additional headers for building drivers for X.Org Server 1.9

  • Property svn:eol-style set to native
File size: 2.2 KB
Line 
1#ifndef _GLX_drawable_h_
2#define _GLX_drawable_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
34typedef struct {
35
36 DrawablePtr pDraw;
37 __GLXvisualConfig *pGlxVisual;
38 __GLXscreenInfo *pGlxScreen;
39 __GLXFBConfig *pFBConfig;
40 ScreenPtr pScreen;
41 Bool idExists;
42 int refcnt;
43 XID *be_xids;
44
45} __GLXpixmap;
46
47typedef struct {
48 DrawablePtr pDraw;
49 int type;
50 Bool idExists;
51 int refcnt; /* contexts bound */
52 __GLXFBConfig *pGlxFBConfig;
53 ScreenPtr pScreen;
54} __glXWindow;
55
56
57typedef struct {
58 __GLXscreenInfo *pGlxScreen;
59 __GLXFBConfig *pFBConfig;
60 ScreenPtr pScreen;
61 Bool idExists;
62 int refcnt;
63 XID *be_xids;
64} __glXPbuffer;
65
66#endif /* !__GLX_drawable_h__ */
Note: See TracBrowser for help on using the repository browser.

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