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