1 | #ifndef _GLX_drawable_h_
|
---|
2 | #define _GLX_drawable_h_
|
---|
3 |
|
---|
4 | /*
|
---|
5 | ** License Applicability. Except to the extent portions of this file are
|
---|
6 | ** made subject to an alternative license as permitted in the SGI Free
|
---|
7 | ** Software License B, Version 1.1 (the "License"), the contents of this
|
---|
8 | ** file are subject only to the provisions of the License. You may not use
|
---|
9 | ** this file except in compliance with the License. You may obtain a copy
|
---|
10 | ** of the License at Silicon Graphics, Inc., attn: Legal Services, 1600
|
---|
11 | ** Amphitheatre Parkway, Mountain View, CA 94043-1351, or at:
|
---|
12 | **
|
---|
13 | ** http://oss.sgi.com/projects/FreeB
|
---|
14 | **
|
---|
15 | ** Note that, as provided in the License, the Software is distributed on an
|
---|
16 | ** "AS IS" basis, with ALL EXPRESS AND IMPLIED WARRANTIES AND CONDITIONS
|
---|
17 | ** DISCLAIMED, INCLUDING, WITHOUT LIMITATION, ANY IMPLIED WARRANTIES AND
|
---|
18 | ** CONDITIONS OF MERCHANTABILITY, SATISFACTORY QUALITY, FITNESS FOR A
|
---|
19 | ** PARTICULAR PURPOSE, AND NON-INFRINGEMENT.
|
---|
20 | **
|
---|
21 | ** Original Code. The Original Code is: OpenGL Sample Implementation,
|
---|
22 | ** Version 1.2.1, released January 26, 2000, developed by Silicon Graphics,
|
---|
23 | ** Inc. The Original Code is Copyright (c) 1991-2000 Silicon Graphics, Inc.
|
---|
24 | ** Copyright in any portions created by third parties is as indicated
|
---|
25 | ** elsewhere herein. All Rights Reserved.
|
---|
26 | **
|
---|
27 | ** Additional Notice Provisions: The application programming interfaces
|
---|
28 | ** established by SGI in conjunction with the Original Code are The
|
---|
29 | ** OpenGL(R) Graphics System: A Specification (Version 1.2.1), released
|
---|
30 | ** April 1, 1999; The OpenGL(R) Graphics System Utility Library (Version
|
---|
31 | ** 1.3), released November 4, 1998; and OpenGL(R) Graphics with the X
|
---|
32 | ** Window System(R) (Version 1.3), released October 19, 1998. This software
|
---|
33 | ** was created using the OpenGL(R) version 1.2.1 Sample Implementation
|
---|
34 | ** published by SGI, but has not been independently verified as being
|
---|
35 | ** compliant with the OpenGL(R) version 1.2.1 Specification.
|
---|
36 | **
|
---|
37 | */
|
---|
38 |
|
---|
39 | typedef struct {
|
---|
40 |
|
---|
41 | DrawablePtr pDraw;
|
---|
42 | __GLXvisualConfig *pGlxVisual;
|
---|
43 | __GLXscreenInfo *pGlxScreen;
|
---|
44 | __GLXFBConfig *pFBConfig;
|
---|
45 | ScreenPtr pScreen;
|
---|
46 | Bool idExists;
|
---|
47 | int refcnt;
|
---|
48 | XID *be_xids;
|
---|
49 |
|
---|
50 | } __GLXpixmap;
|
---|
51 |
|
---|
52 | typedef struct {
|
---|
53 | DrawablePtr pDraw;
|
---|
54 | int type;
|
---|
55 | Bool idExists;
|
---|
56 | int refcnt; /* contexts bound */
|
---|
57 | __GLXFBConfig *pGlxFBConfig;
|
---|
58 | ScreenPtr pScreen;
|
---|
59 | } __glXWindow;
|
---|
60 |
|
---|
61 |
|
---|
62 | typedef struct {
|
---|
63 | __GLXscreenInfo *pGlxScreen;
|
---|
64 | __GLXFBConfig *pFBConfig;
|
---|
65 | ScreenPtr pScreen;
|
---|
66 | Bool idExists;
|
---|
67 | int refcnt;
|
---|
68 | XID *be_xids;
|
---|
69 | } __glXPbuffer;
|
---|
70 |
|
---|
71 | #endif /* !__GLX_drawable_h__ */
|
---|