Commit | Line | Data |
---|---|---|
c7b31271 DH |
1 | # THIS FILE IS OBSOLETE. Please migrate away from using the |
2 | # ".spec" files to the XML Registry. See | |
3 | # http://www.opengl.org/registry/api/README.txt | |
4 | # for more information. | |
5 | # | |
6 | ||
5dfc6dda | 7 | # Copyright (c) 1991-2002 Silicon Graphics, Inc. All Rights Reserved. |
c7b31271 | 8 | # Copyright (c) 2006-2013 The Khronos Group, Inc. |
5dfc6dda AW |
9 | # |
10 | # This document is licensed under the SGI Free Software B License Version | |
11 | # 2.0. For details, see http://oss.sgi.com/projects/FreeB/ . | |
12 | # | |
c7b31271 | 13 | # $Revision: 21963 $ on $Date: 2013-06-13 02:52:31 -0700 (Thu, 13 Jun 2013) $ |
5dfc6dda AW |
14 | |
15 | required-props: | |
16 | param: retval retained | |
17 | dlflags: notlistable handcode nop | |
18 | wglflags: client-handcode server-handcode non-dispatch | |
19 | vectorequiv: * | |
20 | category: wgl | |
21 | ||
22 | CreateContext( hDc ) | |
23 | return HGLRC | |
24 | param hDc HDC in value | |
25 | category wgl | |
26 | dlflags notlistable handcode | |
27 | wglflags non-dispatch | |
28 | ||
29 | DeleteContext( oldContext ) | |
30 | return BOOL | |
31 | param oldContext HGLRC in value | |
32 | category wgl | |
33 | dlflags notlistable handcode | |
34 | wglflags non-dispatch | |
35 | ||
36 | GetCurrentContext( ) | |
37 | return HGLRC | |
38 | category wgl | |
39 | dlflags notlistable handcode | |
40 | wglflags non-dispatch | |
41 | ||
42 | MakeCurrent( hDc, newContext ) | |
43 | return BOOL | |
44 | param hDc HDC in value | |
45 | param newContext HGLRC in value | |
46 | category wgl | |
47 | dlflags notlistable | |
48 | wglflags non-dispatch | |
49 | ||
50 | CopyContext( hglrcSrc, hglrcDst, mask ) | |
51 | return BOOL | |
52 | param hglrcSrc HGLRC in value | |
53 | param hglrcDst HGLRC in value | |
54 | param mask UINT in value | |
55 | category wgl | |
56 | dlflags notlistable | |
57 | wglflags non-dispatch | |
58 | ||
59 | ChoosePixelFormat( hDc, pPfd ) | |
60 | return int | |
61 | param hDc HDC in value | |
62 | param pPfd PIXELFORMATDESCRIPTOR in reference | |
63 | category wgl | |
64 | dlflags notlistable | |
65 | wglflags non-dispatch | |
66 | ||
67 | DescribePixelFormat( hdc, ipfd, cjpfd, ppfd ) | |
68 | return int | |
69 | param hdc HDC in value | |
70 | param ipfd int in value | |
71 | param cjpfd UINT in value | |
72 | param ppfd PIXELFORMATDESCRIPTOR in reference | |
c7b31271 | 73 | category wgl |
5dfc6dda AW |
74 | |
75 | GetCurrentDC( ) | |
76 | return HDC | |
77 | category wgl | |
78 | ||
79 | GetDefaultProcAddress( lpszProc) | |
80 | return PROC | |
81 | param lpszProc LPCSTR in value | |
82 | category wgl | |
83 | ||
84 | GetProcAddress( lpszProc) | |
85 | return PROC | |
86 | param lpszProc LPCSTR in value | |
87 | category wgl | |
88 | ||
89 | GetPixelFormat( hdc ) | |
90 | return int | |
91 | param hdc HDC in value | |
92 | category wgl | |
93 | ||
94 | SetPixelFormat( hdc, ipfd, ppfd ) | |
95 | return BOOL | |
96 | param hdc HDC in value | |
97 | param ipfd int in value | |
98 | param ppfd PIXELFORMATDESCRIPTOR in reference | |
99 | category wgl | |
100 | ||
101 | SwapBuffers( hdc ) | |
102 | return BOOL | |
103 | param hdc HDC in value | |
104 | category wgl | |
105 | ||
106 | ShareLists( hrcSrvShare, hrcSrvSource) | |
107 | return BOOL | |
108 | param hrcSrvShare HGLRC in value | |
109 | param hrcSrvSource HGLRC in value | |
110 | category wgl | |
111 | ||
112 | CreateLayerContext( hDc, level ) | |
113 | return HGLRC | |
114 | param hDc HDC in value | |
115 | param level int in value | |
116 | category wgl | |
117 | ||
118 | DescribeLayerPlane( hDc, pixelFormat, layerPlane, nBytes, plpd ) | |
119 | return BOOL | |
120 | param hDc HDC in value | |
121 | param pixelFormat int in value | |
122 | param layerPlane int in value | |
123 | param nBytes UINT in value | |
124 | param plpd LAYERPLANEDESCRIPTOR in reference | |
125 | category wgl | |
126 | ||
127 | SetLayerPaletteEntries( hdc, iLayerPlane, iStart, cEntries, pcr ) | |
128 | return int | |
129 | param hdc HDC in value | |
130 | param iLayerPlane int in value | |
131 | param iStart int in value | |
132 | param cEntries int in value | |
133 | param pcr COLORREF in reference | |
134 | category wgl | |
135 | ||
136 | GetLayerPaletteEntries( hdc, iLayerPlane, iStart, cEntries, pcr ) | |
137 | return int | |
138 | param hdc HDC in value | |
139 | param iLayerPlane int in value | |
140 | param iStart int in value | |
141 | param cEntries int in value | |
142 | param pcr COLORREF in reference | |
143 | category wgl | |
144 | ||
145 | RealizeLayerPalette( hdc, iLayerPlane, bRealize ) | |
146 | return BOOL | |
147 | param hdc HDC in value | |
148 | param iLayerPlane int in value | |
149 | param bRealize BOOL in value | |
150 | category wgl | |
151 | ||
152 | SwapLayerBuffers( hdc, fuFlags ) | |
153 | return BOOL | |
154 | param hdc HDC in value | |
155 | param fuFlags UINT in value | |
156 | category wgl | |
157 | ||
158 | UseFontBitmapsA( hDC, first, count, listBase ) | |
159 | return BOOL | |
160 | param hDC HDC in value | |
161 | param first DWORD in value | |
162 | param count DWORD in value | |
163 | param listBase DWORD in value | |
164 | category wgl | |
165 | dlflags notlistable | |
166 | ||
167 | UseFontBitmapsW( hDC, first, count, listBase ) | |
168 | return BOOL | |
169 | param hDC HDC in value | |
170 | param first DWORD in value | |
171 | param count DWORD in value | |
172 | param listBase DWORD in value | |
173 | category wgl | |
174 | dlflags notlistable | |
175 |