1 | #ifndef __wglext_h_
|
---|
2 | #define __wglext_h_
|
---|
3 |
|
---|
4 | #ifdef __cplusplus
|
---|
5 | extern "C" {
|
---|
6 | #endif
|
---|
7 |
|
---|
8 | /*
|
---|
9 | ** License Applicability. Except to the extent portions of this file are
|
---|
10 | ** made subject to an alternative license as permitted in the SGI Free
|
---|
11 | ** Software License B, Version 1.1 (the "License"), the contents of this
|
---|
12 | ** file are subject only to the provisions of the License. You may not use
|
---|
13 | ** this file except in compliance with the License. You may obtain a copy
|
---|
14 | ** of the License at Silicon Graphics, Inc., attn: Legal Services, 1600
|
---|
15 | ** Amphitheatre Parkway, Mountain View, CA 94043-1351, or at:
|
---|
16 | **
|
---|
17 | ** http://oss.sgi.com/projects/FreeB
|
---|
18 | **
|
---|
19 | ** Note that, as provided in the License, the Software is distributed on an
|
---|
20 | ** "AS IS" basis, with ALL EXPRESS AND IMPLIED WARRANTIES AND CONDITIONS
|
---|
21 | ** DISCLAIMED, INCLUDING, WITHOUT LIMITATION, ANY IMPLIED WARRANTIES AND
|
---|
22 | ** CONDITIONS OF MERCHANTABILITY, SATISFACTORY QUALITY, FITNESS FOR A
|
---|
23 | ** PARTICULAR PURPOSE, AND NON-INFRINGEMENT.
|
---|
24 | **
|
---|
25 | ** Original Code. The Original Code is: OpenGL Sample Implementation,
|
---|
26 | ** Version 1.2.1, released January 26, 2000, developed by Silicon Graphics,
|
---|
27 | ** Inc. The Original Code is Copyright (c) 1991-2004 Silicon Graphics, Inc.
|
---|
28 | ** Copyright in any portions created by third parties is as indicated
|
---|
29 | ** elsewhere herein. All Rights Reserved.
|
---|
30 | **
|
---|
31 | ** Additional Notice Provisions: This software was created using the
|
---|
32 | ** OpenGL(R) version 1.2.1 Sample Implementation published by SGI, but has
|
---|
33 | ** not been independently verified as being compliant with the OpenGL(R)
|
---|
34 | ** version 1.2.1 Specification.
|
---|
35 | */
|
---|
36 |
|
---|
37 | #if defined(_WIN32) && !defined(APIENTRY) && !defined(__CYGWIN__) && !defined(__SCITECH_SNAP__)
|
---|
38 | #define WIN32_LEAN_AND_MEAN 1
|
---|
39 | #include <windows.h>
|
---|
40 | #endif
|
---|
41 |
|
---|
42 | #ifndef APIENTRY
|
---|
43 | #define APIENTRY
|
---|
44 | #endif
|
---|
45 | #ifndef APIENTRYP
|
---|
46 | #define APIENTRYP APIENTRY *
|
---|
47 | #endif
|
---|
48 | #ifndef GLAPI
|
---|
49 | #define GLAPI extern
|
---|
50 | #endif
|
---|
51 |
|
---|
52 | /*************************************************************/
|
---|
53 |
|
---|
54 | /* Header file version number */
|
---|
55 | /* wglext.h last updated 2005/01/07 */
|
---|
56 | /* Current version at http://oss.sgi.com/projects/ogl-sample/registry/ */
|
---|
57 | #define WGL_WGLEXT_VERSION 6
|
---|
58 |
|
---|
59 | #ifndef WGL_ARB_buffer_region
|
---|
60 | #define WGL_FRONT_COLOR_BUFFER_BIT_ARB 0x00000001
|
---|
61 | #define WGL_BACK_COLOR_BUFFER_BIT_ARB 0x00000002
|
---|
62 | #define WGL_DEPTH_BUFFER_BIT_ARB 0x00000004
|
---|
63 | #define WGL_STENCIL_BUFFER_BIT_ARB 0x00000008
|
---|
64 | #endif
|
---|
65 |
|
---|
66 | #ifndef WGL_ARB_multisample
|
---|
67 | #define WGL_SAMPLE_BUFFERS_ARB 0x2041
|
---|
68 | #define WGL_SAMPLES_ARB 0x2042
|
---|
69 | #endif
|
---|
70 |
|
---|
71 | #ifndef WGL_ARB_extensions_string
|
---|
72 | #endif
|
---|
73 |
|
---|
74 | #ifndef WGL_ARB_pixel_format
|
---|
75 | #define WGL_NUMBER_PIXEL_FORMATS_ARB 0x2000
|
---|
76 | #define WGL_DRAW_TO_WINDOW_ARB 0x2001
|
---|
77 | #define WGL_DRAW_TO_BITMAP_ARB 0x2002
|
---|
78 | #define WGL_ACCELERATION_ARB 0x2003
|
---|
79 | #define WGL_NEED_PALETTE_ARB 0x2004
|
---|
80 | #define WGL_NEED_SYSTEM_PALETTE_ARB 0x2005
|
---|
81 | #define WGL_SWAP_LAYER_BUFFERS_ARB 0x2006
|
---|
82 | #define WGL_SWAP_METHOD_ARB 0x2007
|
---|
83 | #define WGL_NUMBER_OVERLAYS_ARB 0x2008
|
---|
84 | #define WGL_NUMBER_UNDERLAYS_ARB 0x2009
|
---|
85 | #define WGL_TRANSPARENT_ARB 0x200A
|
---|
86 | #define WGL_TRANSPARENT_RED_VALUE_ARB 0x2037
|
---|
87 | #define WGL_TRANSPARENT_GREEN_VALUE_ARB 0x2038
|
---|
88 | #define WGL_TRANSPARENT_BLUE_VALUE_ARB 0x2039
|
---|
89 | #define WGL_TRANSPARENT_ALPHA_VALUE_ARB 0x203A
|
---|
90 | #define WGL_TRANSPARENT_INDEX_VALUE_ARB 0x203B
|
---|
91 | #define WGL_SHARE_DEPTH_ARB 0x200C
|
---|
92 | #define WGL_SHARE_STENCIL_ARB 0x200D
|
---|
93 | #define WGL_SHARE_ACCUM_ARB 0x200E
|
---|
94 | #define WGL_SUPPORT_GDI_ARB 0x200F
|
---|
95 | #define WGL_SUPPORT_OPENGL_ARB 0x2010
|
---|
96 | #define WGL_DOUBLE_BUFFER_ARB 0x2011
|
---|
97 | #define WGL_STEREO_ARB 0x2012
|
---|
98 | #define WGL_PIXEL_TYPE_ARB 0x2013
|
---|
99 | #define WGL_COLOR_BITS_ARB 0x2014
|
---|
100 | #define WGL_RED_BITS_ARB 0x2015
|
---|
101 | #define WGL_RED_SHIFT_ARB 0x2016
|
---|
102 | #define WGL_GREEN_BITS_ARB 0x2017
|
---|
103 | #define WGL_GREEN_SHIFT_ARB 0x2018
|
---|
104 | #define WGL_BLUE_BITS_ARB 0x2019
|
---|
105 | #define WGL_BLUE_SHIFT_ARB 0x201A
|
---|
106 | #define WGL_ALPHA_BITS_ARB 0x201B
|
---|
107 | #define WGL_ALPHA_SHIFT_ARB 0x201C
|
---|
108 | #define WGL_ACCUM_BITS_ARB 0x201D
|
---|
109 | #define WGL_ACCUM_RED_BITS_ARB 0x201E
|
---|
110 | #define WGL_ACCUM_GREEN_BITS_ARB 0x201F
|
---|
111 | #define WGL_ACCUM_BLUE_BITS_ARB 0x2020
|
---|
112 | #define WGL_ACCUM_ALPHA_BITS_ARB 0x2021
|
---|
113 | #define WGL_DEPTH_BITS_ARB 0x2022
|
---|
114 | #define WGL_STENCIL_BITS_ARB 0x2023
|
---|
115 | #define WGL_AUX_BUFFERS_ARB 0x2024
|
---|
116 | #define WGL_NO_ACCELERATION_ARB 0x2025
|
---|
117 | #define WGL_GENERIC_ACCELERATION_ARB 0x2026
|
---|
118 | #define WGL_FULL_ACCELERATION_ARB 0x2027
|
---|
119 | #define WGL_SWAP_EXCHANGE_ARB 0x2028
|
---|
120 | #define WGL_SWAP_COPY_ARB 0x2029
|
---|
121 | #define WGL_SWAP_UNDEFINED_ARB 0x202A
|
---|
122 | #define WGL_TYPE_RGBA_ARB 0x202B
|
---|
123 | #define WGL_TYPE_COLORINDEX_ARB 0x202C
|
---|
124 | #endif
|
---|
125 |
|
---|
126 | #ifndef WGL_ARB_make_current_read
|
---|
127 | #define ERROR_INVALID_PIXEL_TYPE_ARB 0x2043
|
---|
128 | #define ERROR_INCOMPATIBLE_DEVICE_CONTEXTS_ARB 0x2054
|
---|
129 | #endif
|
---|
130 |
|
---|
131 | #ifndef WGL_ARB_pbuffer
|
---|
132 | #define WGL_DRAW_TO_PBUFFER_ARB 0x202D
|
---|
133 | #define WGL_MAX_PBUFFER_PIXELS_ARB 0x202E
|
---|
134 | #define WGL_MAX_PBUFFER_WIDTH_ARB 0x202F
|
---|
135 | #define WGL_MAX_PBUFFER_HEIGHT_ARB 0x2030
|
---|
136 | #define WGL_PBUFFER_LARGEST_ARB 0x2033
|
---|
137 | #define WGL_PBUFFER_WIDTH_ARB 0x2034
|
---|
138 | #define WGL_PBUFFER_HEIGHT_ARB 0x2035
|
---|
139 | #define WGL_PBUFFER_LOST_ARB 0x2036
|
---|
140 | #endif
|
---|
141 |
|
---|
142 | #ifndef WGL_ARB_render_texture
|
---|
143 | #define WGL_BIND_TO_TEXTURE_RGB_ARB 0x2070
|
---|
144 | #define WGL_BIND_TO_TEXTURE_RGBA_ARB 0x2071
|
---|
145 | #define WGL_TEXTURE_FORMAT_ARB 0x2072
|
---|
146 | #define WGL_TEXTURE_TARGET_ARB 0x2073
|
---|
147 | #define WGL_MIPMAP_TEXTURE_ARB 0x2074
|
---|
148 | #define WGL_TEXTURE_RGB_ARB 0x2075
|
---|
149 | #define WGL_TEXTURE_RGBA_ARB 0x2076
|
---|
150 | #define WGL_NO_TEXTURE_ARB 0x2077
|
---|
151 | #define WGL_TEXTURE_CUBE_MAP_ARB 0x2078
|
---|
152 | #define WGL_TEXTURE_1D_ARB 0x2079
|
---|
153 | #define WGL_TEXTURE_2D_ARB 0x207A
|
---|
154 | #define WGL_MIPMAP_LEVEL_ARB 0x207B
|
---|
155 | #define WGL_CUBE_MAP_FACE_ARB 0x207C
|
---|
156 | #define WGL_TEXTURE_CUBE_MAP_POSITIVE_X_ARB 0x207D
|
---|
157 | #define WGL_TEXTURE_CUBE_MAP_NEGATIVE_X_ARB 0x207E
|
---|
158 | #define WGL_TEXTURE_CUBE_MAP_POSITIVE_Y_ARB 0x207F
|
---|
159 | #define WGL_TEXTURE_CUBE_MAP_NEGATIVE_Y_ARB 0x2080
|
---|
160 | #define WGL_TEXTURE_CUBE_MAP_POSITIVE_Z_ARB 0x2081
|
---|
161 | #define WGL_TEXTURE_CUBE_MAP_NEGATIVE_Z_ARB 0x2082
|
---|
162 | #define WGL_FRONT_LEFT_ARB 0x2083
|
---|
163 | #define WGL_FRONT_RIGHT_ARB 0x2084
|
---|
164 | #define WGL_BACK_LEFT_ARB 0x2085
|
---|
165 | #define WGL_BACK_RIGHT_ARB 0x2086
|
---|
166 | #define WGL_AUX0_ARB 0x2087
|
---|
167 | #define WGL_AUX1_ARB 0x2088
|
---|
168 | #define WGL_AUX2_ARB 0x2089
|
---|
169 | #define WGL_AUX3_ARB 0x208A
|
---|
170 | #define WGL_AUX4_ARB 0x208B
|
---|
171 | #define WGL_AUX5_ARB 0x208C
|
---|
172 | #define WGL_AUX6_ARB 0x208D
|
---|
173 | #define WGL_AUX7_ARB 0x208E
|
---|
174 | #define WGL_AUX8_ARB 0x208F
|
---|
175 | #define WGL_AUX9_ARB 0x2090
|
---|
176 | #endif
|
---|
177 |
|
---|
178 | #ifndef WGL_ARB_pixel_format_float
|
---|
179 | #define WGL_TYPE_RGBA_FLOAT_ARB 0x21A0
|
---|
180 | #endif
|
---|
181 |
|
---|
182 | #ifndef WGL_EXT_make_current_read
|
---|
183 | #define ERROR_INVALID_PIXEL_TYPE_EXT 0x2043
|
---|
184 | #endif
|
---|
185 |
|
---|
186 | #ifndef WGL_EXT_pixel_format
|
---|
187 | #define WGL_NUMBER_PIXEL_FORMATS_EXT 0x2000
|
---|
188 | #define WGL_DRAW_TO_WINDOW_EXT 0x2001
|
---|
189 | #define WGL_DRAW_TO_BITMAP_EXT 0x2002
|
---|
190 | #define WGL_ACCELERATION_EXT 0x2003
|
---|
191 | #define WGL_NEED_PALETTE_EXT 0x2004
|
---|
192 | #define WGL_NEED_SYSTEM_PALETTE_EXT 0x2005
|
---|
193 | #define WGL_SWAP_LAYER_BUFFERS_EXT 0x2006
|
---|
194 | #define WGL_SWAP_METHOD_EXT 0x2007
|
---|
195 | #define WGL_NUMBER_OVERLAYS_EXT 0x2008
|
---|
196 | #define WGL_NUMBER_UNDERLAYS_EXT 0x2009
|
---|
197 | #define WGL_TRANSPARENT_EXT 0x200A
|
---|
198 | #define WGL_TRANSPARENT_VALUE_EXT 0x200B
|
---|
199 | #define WGL_SHARE_DEPTH_EXT 0x200C
|
---|
200 | #define WGL_SHARE_STENCIL_EXT 0x200D
|
---|
201 | #define WGL_SHARE_ACCUM_EXT 0x200E
|
---|
202 | #define WGL_SUPPORT_GDI_EXT 0x200F
|
---|
203 | #define WGL_SUPPORT_OPENGL_EXT 0x2010
|
---|
204 | #define WGL_DOUBLE_BUFFER_EXT 0x2011
|
---|
205 | #define WGL_STEREO_EXT 0x2012
|
---|
206 | #define WGL_PIXEL_TYPE_EXT 0x2013
|
---|
207 | #define WGL_COLOR_BITS_EXT 0x2014
|
---|
208 | #define WGL_RED_BITS_EXT 0x2015
|
---|
209 | #define WGL_RED_SHIFT_EXT 0x2016
|
---|
210 | #define WGL_GREEN_BITS_EXT 0x2017
|
---|
211 | #define WGL_GREEN_SHIFT_EXT 0x2018
|
---|
212 | #define WGL_BLUE_BITS_EXT 0x2019
|
---|
213 | #define WGL_BLUE_SHIFT_EXT 0x201A
|
---|
214 | #define WGL_ALPHA_BITS_EXT 0x201B
|
---|
215 | #define WGL_ALPHA_SHIFT_EXT 0x201C
|
---|
216 | #define WGL_ACCUM_BITS_EXT 0x201D
|
---|
217 | #define WGL_ACCUM_RED_BITS_EXT 0x201E
|
---|
218 | #define WGL_ACCUM_GREEN_BITS_EXT 0x201F
|
---|
219 | #define WGL_ACCUM_BLUE_BITS_EXT 0x2020
|
---|
220 | #define WGL_ACCUM_ALPHA_BITS_EXT 0x2021
|
---|
221 | #define WGL_DEPTH_BITS_EXT 0x2022
|
---|
222 | #define WGL_STENCIL_BITS_EXT 0x2023
|
---|
223 | #define WGL_AUX_BUFFERS_EXT 0x2024
|
---|
224 | #define WGL_NO_ACCELERATION_EXT 0x2025
|
---|
225 | #define WGL_GENERIC_ACCELERATION_EXT 0x2026
|
---|
226 | #define WGL_FULL_ACCELERATION_EXT 0x2027
|
---|
227 | #define WGL_SWAP_EXCHANGE_EXT 0x2028
|
---|
228 | #define WGL_SWAP_COPY_EXT 0x2029
|
---|
229 | #define WGL_SWAP_UNDEFINED_EXT 0x202A
|
---|
230 | #define WGL_TYPE_RGBA_EXT 0x202B
|
---|
231 | #define WGL_TYPE_COLORINDEX_EXT 0x202C
|
---|
232 | #endif
|
---|
233 |
|
---|
234 | #ifndef WGL_EXT_pbuffer
|
---|
235 | #define WGL_DRAW_TO_PBUFFER_EXT 0x202D
|
---|
236 | #define WGL_MAX_PBUFFER_PIXELS_EXT 0x202E
|
---|
237 | #define WGL_MAX_PBUFFER_WIDTH_EXT 0x202F
|
---|
238 | #define WGL_MAX_PBUFFER_HEIGHT_EXT 0x2030
|
---|
239 | #define WGL_OPTIMAL_PBUFFER_WIDTH_EXT 0x2031
|
---|
240 | #define WGL_OPTIMAL_PBUFFER_HEIGHT_EXT 0x2032
|
---|
241 | #define WGL_PBUFFER_LARGEST_EXT 0x2033
|
---|
242 | #define WGL_PBUFFER_WIDTH_EXT 0x2034
|
---|
243 | #define WGL_PBUFFER_HEIGHT_EXT 0x2035
|
---|
244 | #endif
|
---|
245 |
|
---|
246 | #ifndef WGL_EXT_depth_float
|
---|
247 | #define WGL_DEPTH_FLOAT_EXT 0x2040
|
---|
248 | #endif
|
---|
249 |
|
---|
250 | #ifndef WGL_3DFX_multisample
|
---|
251 | #define WGL_SAMPLE_BUFFERS_3DFX 0x2060
|
---|
252 | #define WGL_SAMPLES_3DFX 0x2061
|
---|
253 | #endif
|
---|
254 |
|
---|
255 | #ifndef WGL_EXT_multisample
|
---|
256 | #define WGL_SAMPLE_BUFFERS_EXT 0x2041
|
---|
257 | #define WGL_SAMPLES_EXT 0x2042
|
---|
258 | #endif
|
---|
259 |
|
---|
260 | #ifndef WGL_I3D_digital_video_control
|
---|
261 | #define WGL_DIGITAL_VIDEO_CURSOR_ALPHA_FRAMEBUFFER_I3D 0x2050
|
---|
262 | #define WGL_DIGITAL_VIDEO_CURSOR_ALPHA_VALUE_I3D 0x2051
|
---|
263 | #define WGL_DIGITAL_VIDEO_CURSOR_INCLUDED_I3D 0x2052
|
---|
264 | #define WGL_DIGITAL_VIDEO_GAMMA_CORRECTED_I3D 0x2053
|
---|
265 | #endif
|
---|
266 |
|
---|
267 | #ifndef WGL_I3D_gamma
|
---|
268 | #define WGL_GAMMA_TABLE_SIZE_I3D 0x204E
|
---|
269 | #define WGL_GAMMA_EXCLUDE_DESKTOP_I3D 0x204F
|
---|
270 | #endif
|
---|
271 |
|
---|
272 | #ifndef WGL_I3D_genlock
|
---|
273 | #define WGL_GENLOCK_SOURCE_MULTIVIEW_I3D 0x2044
|
---|
274 | #define WGL_GENLOCK_SOURCE_EXTENAL_SYNC_I3D 0x2045
|
---|
275 | #define WGL_GENLOCK_SOURCE_EXTENAL_FIELD_I3D 0x2046
|
---|
276 | #define WGL_GENLOCK_SOURCE_EXTENAL_TTL_I3D 0x2047
|
---|
277 | #define WGL_GENLOCK_SOURCE_DIGITAL_SYNC_I3D 0x2048
|
---|
278 | #define WGL_GENLOCK_SOURCE_DIGITAL_FIELD_I3D 0x2049
|
---|
279 | #define WGL_GENLOCK_SOURCE_EDGE_FALLING_I3D 0x204A
|
---|
280 | #define WGL_GENLOCK_SOURCE_EDGE_RISING_I3D 0x204B
|
---|
281 | #define WGL_GENLOCK_SOURCE_EDGE_BOTH_I3D 0x204C
|
---|
282 | #endif
|
---|
283 |
|
---|
284 | #ifndef WGL_I3D_image_buffer
|
---|
285 | #define WGL_IMAGE_BUFFER_MIN_ACCESS_I3D 0x00000001
|
---|
286 | #define WGL_IMAGE_BUFFER_LOCK_I3D 0x00000002
|
---|
287 | #endif
|
---|
288 |
|
---|
289 | #ifndef WGL_I3D_swap_frame_lock
|
---|
290 | #endif
|
---|
291 |
|
---|
292 | #ifndef WGL_NV_render_depth_texture
|
---|
293 | #define WGL_BIND_TO_TEXTURE_DEPTH_NV 0x20A3
|
---|
294 | #define WGL_BIND_TO_TEXTURE_RECTANGLE_DEPTH_NV 0x20A4
|
---|
295 | #define WGL_DEPTH_TEXTURE_FORMAT_NV 0x20A5
|
---|
296 | #define WGL_TEXTURE_DEPTH_COMPONENT_NV 0x20A6
|
---|
297 | #define WGL_DEPTH_COMPONENT_NV 0x20A7
|
---|
298 | #endif
|
---|
299 |
|
---|
300 | #ifndef WGL_NV_render_texture_rectangle
|
---|
301 | #define WGL_BIND_TO_TEXTURE_RECTANGLE_RGB_NV 0x20A0
|
---|
302 | #define WGL_BIND_TO_TEXTURE_RECTANGLE_RGBA_NV 0x20A1
|
---|
303 | #define WGL_TEXTURE_RECTANGLE_NV 0x20A2
|
---|
304 | #endif
|
---|
305 |
|
---|
306 | #ifndef WGL_ATI_pixel_format_float
|
---|
307 | #define WGL_TYPE_RGBA_FLOAT_ATI 0x21A0
|
---|
308 | #endif
|
---|
309 |
|
---|
310 | #ifndef WGL_NV_float_buffer
|
---|
311 | #define WGL_FLOAT_COMPONENTS_NV 0x20B0
|
---|
312 | #define WGL_BIND_TO_TEXTURE_RECTANGLE_FLOAT_R_NV 0x20B1
|
---|
313 | #define WGL_BIND_TO_TEXTURE_RECTANGLE_FLOAT_RG_NV 0x20B2
|
---|
314 | #define WGL_BIND_TO_TEXTURE_RECTANGLE_FLOAT_RGB_NV 0x20B3
|
---|
315 | #define WGL_BIND_TO_TEXTURE_RECTANGLE_FLOAT_RGBA_NV 0x20B4
|
---|
316 | #define WGL_TEXTURE_FLOAT_R_NV 0x20B5
|
---|
317 | #define WGL_TEXTURE_FLOAT_RG_NV 0x20B6
|
---|
318 | #define WGL_TEXTURE_FLOAT_RGB_NV 0x20B7
|
---|
319 | #define WGL_TEXTURE_FLOAT_RGBA_NV 0x20B8
|
---|
320 | #endif
|
---|
321 |
|
---|
322 |
|
---|
323 | /*************************************************************/
|
---|
324 |
|
---|
325 | #ifndef WGL_ARB_pbuffer
|
---|
326 | DECLARE_HANDLE(HPBUFFERARB);
|
---|
327 | #endif
|
---|
328 | #ifndef WGL_EXT_pbuffer
|
---|
329 | DECLARE_HANDLE(HPBUFFEREXT);
|
---|
330 | #endif
|
---|
331 |
|
---|
332 | #ifndef WGL_ARB_buffer_region
|
---|
333 | #define WGL_ARB_buffer_region 1
|
---|
334 | #ifdef WGL_WGLEXT_PROTOTYPES
|
---|
335 | extern HANDLE WINAPI wglCreateBufferRegionARB (HDC, int, UINT);
|
---|
336 | extern VOID WINAPI wglDeleteBufferRegionARB (HANDLE);
|
---|
337 | extern BOOL WINAPI wglSaveBufferRegionARB (HANDLE, int, int, int, int);
|
---|
338 | extern BOOL WINAPI wglRestoreBufferRegionARB (HANDLE, int, int, int, int, int, int);
|
---|
339 | #endif /* WGL_WGLEXT_PROTOTYPES */
|
---|
340 | typedef HANDLE (WINAPI * PFNWGLCREATEBUFFERREGIONARBPROC) (HDC hDC, int iLayerPlane, UINT uType);
|
---|
341 | typedef VOID (WINAPI * PFNWGLDELETEBUFFERREGIONARBPROC) (HANDLE hRegion);
|
---|
342 | typedef BOOL (WINAPI * PFNWGLSAVEBUFFERREGIONARBPROC) (HANDLE hRegion, int x, int y, int width, int height);
|
---|
343 | typedef BOOL (WINAPI * PFNWGLRESTOREBUFFERREGIONARBPROC) (HANDLE hRegion, int x, int y, int width, int height, int xSrc, int ySrc);
|
---|
344 | #endif
|
---|
345 |
|
---|
346 | #ifndef WGL_ARB_multisample
|
---|
347 | #define WGL_ARB_multisample 1
|
---|
348 | #endif
|
---|
349 |
|
---|
350 | #ifndef WGL_ARB_extensions_string
|
---|
351 | #define WGL_ARB_extensions_string 1
|
---|
352 | #ifdef WGL_WGLEXT_PROTOTYPES
|
---|
353 | extern const char * WINAPI wglGetExtensionsStringARB (HDC);
|
---|
354 | #endif /* WGL_WGLEXT_PROTOTYPES */
|
---|
355 | typedef const char * (WINAPI * PFNWGLGETEXTENSIONSSTRINGARBPROC) (HDC hdc);
|
---|
356 | #endif
|
---|
357 |
|
---|
358 | #ifndef WGL_ARB_pixel_format
|
---|
359 | #define WGL_ARB_pixel_format 1
|
---|
360 | #ifdef WGL_WGLEXT_PROTOTYPES
|
---|
361 | extern BOOL WINAPI wglGetPixelFormatAttribivARB (HDC, int, int, UINT, const int *, int *);
|
---|
362 | extern BOOL WINAPI wglGetPixelFormatAttribfvARB (HDC, int, int, UINT, const int *, FLOAT *);
|
---|
363 | extern BOOL WINAPI wglChoosePixelFormatARB (HDC, const int *, const FLOAT *, UINT, int *, UINT *);
|
---|
364 | #endif /* WGL_WGLEXT_PROTOTYPES */
|
---|
365 | typedef BOOL (WINAPI * PFNWGLGETPIXELFORMATATTRIBIVARBPROC) (HDC hdc, int iPixelFormat, int iLayerPlane, UINT nAttributes, const int *piAttributes, int *piValues);
|
---|
366 | typedef BOOL (WINAPI * PFNWGLGETPIXELFORMATATTRIBFVARBPROC) (HDC hdc, int iPixelFormat, int iLayerPlane, UINT nAttributes, const int *piAttributes, FLOAT *pfValues);
|
---|
367 | typedef BOOL (WINAPI * PFNWGLCHOOSEPIXELFORMATARBPROC) (HDC hdc, const int *piAttribIList, const FLOAT *pfAttribFList, UINT nMaxFormats, int *piFormats, UINT *nNumFormats);
|
---|
368 | #endif
|
---|
369 |
|
---|
370 | #ifndef WGL_ARB_make_current_read
|
---|
371 | #define WGL_ARB_make_current_read 1
|
---|
372 | #ifdef WGL_WGLEXT_PROTOTYPES
|
---|
373 | extern BOOL WINAPI wglMakeContextCurrentARB (HDC, HDC, HGLRC);
|
---|
374 | extern HDC WINAPI wglGetCurrentReadDCARB (void);
|
---|
375 | #endif /* WGL_WGLEXT_PROTOTYPES */
|
---|
376 | typedef BOOL (WINAPI * PFNWGLMAKECONTEXTCURRENTARBPROC) (HDC hDrawDC, HDC hReadDC, HGLRC hglrc);
|
---|
377 | typedef HDC (WINAPI * PFNWGLGETCURRENTREADDCARBPROC) (void);
|
---|
378 | #endif
|
---|
379 |
|
---|
380 | #ifndef WGL_ARB_pbuffer
|
---|
381 | #define WGL_ARB_pbuffer 1
|
---|
382 | #ifdef WGL_WGLEXT_PROTOTYPES
|
---|
383 | extern HPBUFFERARB WINAPI wglCreatePbufferARB (HDC, int, int, int, const int *);
|
---|
384 | extern HDC WINAPI wglGetPbufferDCARB (HPBUFFERARB);
|
---|
385 | extern int WINAPI wglReleasePbufferDCARB (HPBUFFERARB, HDC);
|
---|
386 | extern BOOL WINAPI wglDestroyPbufferARB (HPBUFFERARB);
|
---|
387 | extern BOOL WINAPI wglQueryPbufferARB (HPBUFFERARB, int, int *);
|
---|
388 | #endif /* WGL_WGLEXT_PROTOTYPES */
|
---|
389 | typedef HPBUFFERARB (WINAPI * PFNWGLCREATEPBUFFERARBPROC) (HDC hDC, int iPixelFormat, int iWidth, int iHeight, const int *piAttribList);
|
---|
390 | typedef HDC (WINAPI * PFNWGLGETPBUFFERDCARBPROC) (HPBUFFERARB hPbuffer);
|
---|
391 | typedef int (WINAPI * PFNWGLRELEASEPBUFFERDCARBPROC) (HPBUFFERARB hPbuffer, HDC hDC);
|
---|
392 | typedef BOOL (WINAPI * PFNWGLDESTROYPBUFFERARBPROC) (HPBUFFERARB hPbuffer);
|
---|
393 | typedef BOOL (WINAPI * PFNWGLQUERYPBUFFERARBPROC) (HPBUFFERARB hPbuffer, int iAttribute, int *piValue);
|
---|
394 | #endif
|
---|
395 |
|
---|
396 | #ifndef WGL_ARB_render_texture
|
---|
397 | #define WGL_ARB_render_texture 1
|
---|
398 | #ifdef WGL_WGLEXT_PROTOTYPES
|
---|
399 | extern BOOL WINAPI wglBindTexImageARB (HPBUFFERARB, int);
|
---|
400 | extern BOOL WINAPI wglReleaseTexImageARB (HPBUFFERARB, int);
|
---|
401 | extern BOOL WINAPI wglSetPbufferAttribARB (HPBUFFERARB, const int *);
|
---|
402 | #endif /* WGL_WGLEXT_PROTOTYPES */
|
---|
403 | typedef BOOL (WINAPI * PFNWGLBINDTEXIMAGEARBPROC) (HPBUFFERARB hPbuffer, int iBuffer);
|
---|
404 | typedef BOOL (WINAPI * PFNWGLRELEASETEXIMAGEARBPROC) (HPBUFFERARB hPbuffer, int iBuffer);
|
---|
405 | typedef BOOL (WINAPI * PFNWGLSETPBUFFERATTRIBARBPROC) (HPBUFFERARB hPbuffer, const int *piAttribList);
|
---|
406 | #endif
|
---|
407 |
|
---|
408 | #ifndef WGL_ARB_pixel_format_float
|
---|
409 | #define WGL_ARB_pixel_format_float 1
|
---|
410 | #endif
|
---|
411 |
|
---|
412 | #ifndef WGL_EXT_display_color_table
|
---|
413 | #define WGL_EXT_display_color_table 1
|
---|
414 | #ifdef WGL_WGLEXT_PROTOTYPES
|
---|
415 | extern GLboolean WINAPI wglCreateDisplayColorTableEXT (GLushort);
|
---|
416 | extern GLboolean WINAPI wglLoadDisplayColorTableEXT (const GLushort *, GLuint);
|
---|
417 | extern GLboolean WINAPI wglBindDisplayColorTableEXT (GLushort);
|
---|
418 | extern VOID WINAPI wglDestroyDisplayColorTableEXT (GLushort);
|
---|
419 | #endif /* WGL_WGLEXT_PROTOTYPES */
|
---|
420 | typedef GLboolean (WINAPI * PFNWGLCREATEDISPLAYCOLORTABLEEXTPROC) (GLushort id);
|
---|
421 | typedef GLboolean (WINAPI * PFNWGLLOADDISPLAYCOLORTABLEEXTPROC) (const GLushort *table, GLuint length);
|
---|
422 | typedef GLboolean (WINAPI * PFNWGLBINDDISPLAYCOLORTABLEEXTPROC) (GLushort id);
|
---|
423 | typedef VOID (WINAPI * PFNWGLDESTROYDISPLAYCOLORTABLEEXTPROC) (GLushort id);
|
---|
424 | #endif
|
---|
425 |
|
---|
426 | #ifndef WGL_EXT_extensions_string
|
---|
427 | #define WGL_EXT_extensions_string 1
|
---|
428 | #ifdef WGL_WGLEXT_PROTOTYPES
|
---|
429 | extern const char * WINAPI wglGetExtensionsStringEXT (void);
|
---|
430 | #endif /* WGL_WGLEXT_PROTOTYPES */
|
---|
431 | typedef const char * (WINAPI * PFNWGLGETEXTENSIONSSTRINGEXTPROC) (void);
|
---|
432 | #endif
|
---|
433 |
|
---|
434 | #ifndef WGL_EXT_make_current_read
|
---|
435 | #define WGL_EXT_make_current_read 1
|
---|
436 | #ifdef WGL_WGLEXT_PROTOTYPES
|
---|
437 | extern BOOL WINAPI wglMakeContextCurrentEXT (HDC, HDC, HGLRC);
|
---|
438 | extern HDC WINAPI wglGetCurrentReadDCEXT (void);
|
---|
439 | #endif /* WGL_WGLEXT_PROTOTYPES */
|
---|
440 | typedef BOOL (WINAPI * PFNWGLMAKECONTEXTCURRENTEXTPROC) (HDC hDrawDC, HDC hReadDC, HGLRC hglrc);
|
---|
441 | typedef HDC (WINAPI * PFNWGLGETCURRENTREADDCEXTPROC) (void);
|
---|
442 | #endif
|
---|
443 |
|
---|
444 | #ifndef WGL_EXT_pbuffer
|
---|
445 | #define WGL_EXT_pbuffer 1
|
---|
446 | #ifdef WGL_WGLEXT_PROTOTYPES
|
---|
447 | extern HPBUFFEREXT WINAPI wglCreatePbufferEXT (HDC, int, int, int, const int *);
|
---|
448 | extern HDC WINAPI wglGetPbufferDCEXT (HPBUFFEREXT);
|
---|
449 | extern int WINAPI wglReleasePbufferDCEXT (HPBUFFEREXT, HDC);
|
---|
450 | extern BOOL WINAPI wglDestroyPbufferEXT (HPBUFFEREXT);
|
---|
451 | extern BOOL WINAPI wglQueryPbufferEXT (HPBUFFEREXT, int, int *);
|
---|
452 | #endif /* WGL_WGLEXT_PROTOTYPES */
|
---|
453 | typedef HPBUFFEREXT (WINAPI * PFNWGLCREATEPBUFFEREXTPROC) (HDC hDC, int iPixelFormat, int iWidth, int iHeight, const int *piAttribList);
|
---|
454 | typedef HDC (WINAPI * PFNWGLGETPBUFFERDCEXTPROC) (HPBUFFEREXT hPbuffer);
|
---|
455 | typedef int (WINAPI * PFNWGLRELEASEPBUFFERDCEXTPROC) (HPBUFFEREXT hPbuffer, HDC hDC);
|
---|
456 | typedef BOOL (WINAPI * PFNWGLDESTROYPBUFFEREXTPROC) (HPBUFFEREXT hPbuffer);
|
---|
457 | typedef BOOL (WINAPI * PFNWGLQUERYPBUFFEREXTPROC) (HPBUFFEREXT hPbuffer, int iAttribute, int *piValue);
|
---|
458 | #endif
|
---|
459 |
|
---|
460 | #ifndef WGL_EXT_pixel_format
|
---|
461 | #define WGL_EXT_pixel_format 1
|
---|
462 | #ifdef WGL_WGLEXT_PROTOTYPES
|
---|
463 | extern BOOL WINAPI wglGetPixelFormatAttribivEXT (HDC, int, int, UINT, int *, int *);
|
---|
464 | extern BOOL WINAPI wglGetPixelFormatAttribfvEXT (HDC, int, int, UINT, int *, FLOAT *);
|
---|
465 | extern BOOL WINAPI wglChoosePixelFormatEXT (HDC, const int *, const FLOAT *, UINT, int *, UINT *);
|
---|
466 | #endif /* WGL_WGLEXT_PROTOTYPES */
|
---|
467 | typedef BOOL (WINAPI * PFNWGLGETPIXELFORMATATTRIBIVEXTPROC) (HDC hdc, int iPixelFormat, int iLayerPlane, UINT nAttributes, int *piAttributes, int *piValues);
|
---|
468 | typedef BOOL (WINAPI * PFNWGLGETPIXELFORMATATTRIBFVEXTPROC) (HDC hdc, int iPixelFormat, int iLayerPlane, UINT nAttributes, int *piAttributes, FLOAT *pfValues);
|
---|
469 | typedef BOOL (WINAPI * PFNWGLCHOOSEPIXELFORMATEXTPROC) (HDC hdc, const int *piAttribIList, const FLOAT *pfAttribFList, UINT nMaxFormats, int *piFormats, UINT *nNumFormats);
|
---|
470 | #endif
|
---|
471 |
|
---|
472 | #ifndef WGL_EXT_swap_control
|
---|
473 | #define WGL_EXT_swap_control 1
|
---|
474 | #ifdef WGL_WGLEXT_PROTOTYPES
|
---|
475 | extern BOOL WINAPI wglSwapIntervalEXT (int);
|
---|
476 | extern int WINAPI wglGetSwapIntervalEXT (void);
|
---|
477 | #endif /* WGL_WGLEXT_PROTOTYPES */
|
---|
478 | typedef BOOL (WINAPI * PFNWGLSWAPINTERVALEXTPROC) (int interval);
|
---|
479 | typedef int (WINAPI * PFNWGLGETSWAPINTERVALEXTPROC) (void);
|
---|
480 | #endif
|
---|
481 |
|
---|
482 | #ifndef WGL_EXT_depth_float
|
---|
483 | #define WGL_EXT_depth_float 1
|
---|
484 | #endif
|
---|
485 |
|
---|
486 | #ifndef WGL_NV_vertex_array_range
|
---|
487 | #define WGL_NV_vertex_array_range 1
|
---|
488 | #ifdef WGL_WGLEXT_PROTOTYPES
|
---|
489 | extern void* WINAPI wglAllocateMemoryNV (GLsizei, GLfloat, GLfloat, GLfloat);
|
---|
490 | extern void WINAPI wglFreeMemoryNV (void *);
|
---|
491 | #endif /* WGL_WGLEXT_PROTOTYPES */
|
---|
492 | typedef void* (WINAPI * PFNWGLALLOCATEMEMORYNVPROC) (GLsizei size, GLfloat readfreq, GLfloat writefreq, GLfloat priority);
|
---|
493 | typedef void (WINAPI * PFNWGLFREEMEMORYNVPROC) (void *pointer);
|
---|
494 | #endif
|
---|
495 |
|
---|
496 | #ifndef WGL_3DFX_multisample
|
---|
497 | #define WGL_3DFX_multisample 1
|
---|
498 | #endif
|
---|
499 |
|
---|
500 | #ifndef WGL_EXT_multisample
|
---|
501 | #define WGL_EXT_multisample 1
|
---|
502 | #endif
|
---|
503 |
|
---|
504 | #ifndef WGL_OML_sync_control
|
---|
505 | #define WGL_OML_sync_control 1
|
---|
506 | #ifdef WGL_WGLEXT_PROTOTYPES
|
---|
507 | extern BOOL WINAPI wglGetSyncValuesOML (HDC, INT64 *, INT64 *, INT64 *);
|
---|
508 | extern BOOL WINAPI wglGetMscRateOML (HDC, INT32 *, INT32 *);
|
---|
509 | extern INT64 WINAPI wglSwapBuffersMscOML (HDC, INT64, INT64, INT64);
|
---|
510 | extern INT64 WINAPI wglSwapLayerBuffersMscOML (HDC, int, INT64, INT64, INT64);
|
---|
511 | extern BOOL WINAPI wglWaitForMscOML (HDC, INT64, INT64, INT64, INT64 *, INT64 *, INT64 *);
|
---|
512 | extern BOOL WINAPI wglWaitForSbcOML (HDC, INT64, INT64 *, INT64 *, INT64 *);
|
---|
513 | #endif /* WGL_WGLEXT_PROTOTYPES */
|
---|
514 | typedef BOOL (WINAPI * PFNWGLGETSYNCVALUESOMLPROC) (HDC hdc, INT64 *ust, INT64 *msc, INT64 *sbc);
|
---|
515 | typedef BOOL (WINAPI * PFNWGLGETMSCRATEOMLPROC) (HDC hdc, INT32 *numerator, INT32 *denominator);
|
---|
516 | typedef INT64 (WINAPI * PFNWGLSWAPBUFFERSMSCOMLPROC) (HDC hdc, INT64 target_msc, INT64 divisor, INT64 remainder);
|
---|
517 | typedef INT64 (WINAPI * PFNWGLSWAPLAYERBUFFERSMSCOMLPROC) (HDC hdc, int fuPlanes, INT64 target_msc, INT64 divisor, INT64 remainder);
|
---|
518 | typedef BOOL (WINAPI * PFNWGLWAITFORMSCOMLPROC) (HDC hdc, INT64 target_msc, INT64 divisor, INT64 remainder, INT64 *ust, INT64 *msc, INT64 *sbc);
|
---|
519 | typedef BOOL (WINAPI * PFNWGLWAITFORSBCOMLPROC) (HDC hdc, INT64 target_sbc, INT64 *ust, INT64 *msc, INT64 *sbc);
|
---|
520 | #endif
|
---|
521 |
|
---|
522 | #ifndef WGL_I3D_digital_video_control
|
---|
523 | #define WGL_I3D_digital_video_control 1
|
---|
524 | #ifdef WGL_WGLEXT_PROTOTYPES
|
---|
525 | extern BOOL WINAPI wglGetDigitalVideoParametersI3D (HDC, int, int *);
|
---|
526 | extern BOOL WINAPI wglSetDigitalVideoParametersI3D (HDC, int, const int *);
|
---|
527 | #endif /* WGL_WGLEXT_PROTOTYPES */
|
---|
528 | typedef BOOL (WINAPI * PFNWGLGETDIGITALVIDEOPARAMETERSI3DPROC) (HDC hDC, int iAttribute, int *piValue);
|
---|
529 | typedef BOOL (WINAPI * PFNWGLSETDIGITALVIDEOPARAMETERSI3DPROC) (HDC hDC, int iAttribute, const int *piValue);
|
---|
530 | #endif
|
---|
531 |
|
---|
532 | #ifndef WGL_I3D_gamma
|
---|
533 | #define WGL_I3D_gamma 1
|
---|
534 | #ifdef WGL_WGLEXT_PROTOTYPES
|
---|
535 | extern BOOL WINAPI wglGetGammaTableParametersI3D (HDC, int, int *);
|
---|
536 | extern BOOL WINAPI wglSetGammaTableParametersI3D (HDC, int, const int *);
|
---|
537 | extern BOOL WINAPI wglGetGammaTableI3D (HDC, int, USHORT *, USHORT *, USHORT *);
|
---|
538 | extern BOOL WINAPI wglSetGammaTableI3D (HDC, int, const USHORT *, const USHORT *, const USHORT *);
|
---|
539 | #endif /* WGL_WGLEXT_PROTOTYPES */
|
---|
540 | typedef BOOL (WINAPI * PFNWGLGETGAMMATABLEPARAMETERSI3DPROC) (HDC hDC, int iAttribute, int *piValue);
|
---|
541 | typedef BOOL (WINAPI * PFNWGLSETGAMMATABLEPARAMETERSI3DPROC) (HDC hDC, int iAttribute, const int *piValue);
|
---|
542 | typedef BOOL (WINAPI * PFNWGLGETGAMMATABLEI3DPROC) (HDC hDC, int iEntries, USHORT *puRed, USHORT *puGreen, USHORT *puBlue);
|
---|
543 | typedef BOOL (WINAPI * PFNWGLSETGAMMATABLEI3DPROC) (HDC hDC, int iEntries, const USHORT *puRed, const USHORT *puGreen, const USHORT *puBlue);
|
---|
544 | #endif
|
---|
545 |
|
---|
546 | #ifndef WGL_I3D_genlock
|
---|
547 | #define WGL_I3D_genlock 1
|
---|
548 | #ifdef WGL_WGLEXT_PROTOTYPES
|
---|
549 | extern BOOL WINAPI wglEnableGenlockI3D (HDC);
|
---|
550 | extern BOOL WINAPI wglDisableGenlockI3D (HDC);
|
---|
551 | extern BOOL WINAPI wglIsEnabledGenlockI3D (HDC, BOOL *);
|
---|
552 | extern BOOL WINAPI wglGenlockSourceI3D (HDC, UINT);
|
---|
553 | extern BOOL WINAPI wglGetGenlockSourceI3D (HDC, UINT *);
|
---|
554 | extern BOOL WINAPI wglGenlockSourceEdgeI3D (HDC, UINT);
|
---|
555 | extern BOOL WINAPI wglGetGenlockSourceEdgeI3D (HDC, UINT *);
|
---|
556 | extern BOOL WINAPI wglGenlockSampleRateI3D (HDC, UINT);
|
---|
557 | extern BOOL WINAPI wglGetGenlockSampleRateI3D (HDC, UINT *);
|
---|
558 | extern BOOL WINAPI wglGenlockSourceDelayI3D (HDC, UINT);
|
---|
559 | extern BOOL WINAPI wglGetGenlockSourceDelayI3D (HDC, UINT *);
|
---|
560 | extern BOOL WINAPI wglQueryGenlockMaxSourceDelayI3D (HDC, UINT *, UINT *);
|
---|
561 | #endif /* WGL_WGLEXT_PROTOTYPES */
|
---|
562 | typedef BOOL (WINAPI * PFNWGLENABLEGENLOCKI3DPROC) (HDC hDC);
|
---|
563 | typedef BOOL (WINAPI * PFNWGLDISABLEGENLOCKI3DPROC) (HDC hDC);
|
---|
564 | typedef BOOL (WINAPI * PFNWGLISENABLEDGENLOCKI3DPROC) (HDC hDC, BOOL *pFlag);
|
---|
565 | typedef BOOL (WINAPI * PFNWGLGENLOCKSOURCEI3DPROC) (HDC hDC, UINT uSource);
|
---|
566 | typedef BOOL (WINAPI * PFNWGLGETGENLOCKSOURCEI3DPROC) (HDC hDC, UINT *uSource);
|
---|
567 | typedef BOOL (WINAPI * PFNWGLGENLOCKSOURCEEDGEI3DPROC) (HDC hDC, UINT uEdge);
|
---|
568 | typedef BOOL (WINAPI * PFNWGLGETGENLOCKSOURCEEDGEI3DPROC) (HDC hDC, UINT *uEdge);
|
---|
569 | typedef BOOL (WINAPI * PFNWGLGENLOCKSAMPLERATEI3DPROC) (HDC hDC, UINT uRate);
|
---|
570 | typedef BOOL (WINAPI * PFNWGLGETGENLOCKSAMPLERATEI3DPROC) (HDC hDC, UINT *uRate);
|
---|
571 | typedef BOOL (WINAPI * PFNWGLGENLOCKSOURCEDELAYI3DPROC) (HDC hDC, UINT uDelay);
|
---|
572 | typedef BOOL (WINAPI * PFNWGLGETGENLOCKSOURCEDELAYI3DPROC) (HDC hDC, UINT *uDelay);
|
---|
573 | typedef BOOL (WINAPI * PFNWGLQUERYGENLOCKMAXSOURCEDELAYI3DPROC) (HDC hDC, UINT *uMaxLineDelay, UINT *uMaxPixelDelay);
|
---|
574 | #endif
|
---|
575 |
|
---|
576 | #ifndef WGL_I3D_image_buffer
|
---|
577 | #define WGL_I3D_image_buffer 1
|
---|
578 | #ifdef WGL_WGLEXT_PROTOTYPES
|
---|
579 | extern LPVOID WINAPI wglCreateImageBufferI3D (HDC, DWORD, UINT);
|
---|
580 | extern BOOL WINAPI wglDestroyImageBufferI3D (HDC, LPVOID);
|
---|
581 | extern BOOL WINAPI wglAssociateImageBufferEventsI3D (HDC, const HANDLE *, const LPVOID *, const DWORD *, UINT);
|
---|
582 | extern BOOL WINAPI wglReleaseImageBufferEventsI3D (HDC, const LPVOID *, UINT);
|
---|
583 | #endif /* WGL_WGLEXT_PROTOTYPES */
|
---|
584 | typedef LPVOID (WINAPI * PFNWGLCREATEIMAGEBUFFERI3DPROC) (HDC hDC, DWORD dwSize, UINT uFlags);
|
---|
585 | typedef BOOL (WINAPI * PFNWGLDESTROYIMAGEBUFFERI3DPROC) (HDC hDC, LPVOID pAddress);
|
---|
586 | typedef BOOL (WINAPI * PFNWGLASSOCIATEIMAGEBUFFEREVENTSI3DPROC) (HDC hDC, const HANDLE *pEvent, const LPVOID *pAddress, const DWORD *pSize, UINT count);
|
---|
587 | typedef BOOL (WINAPI * PFNWGLRELEASEIMAGEBUFFEREVENTSI3DPROC) (HDC hDC, const LPVOID *pAddress, UINT count);
|
---|
588 | #endif
|
---|
589 |
|
---|
590 | #ifndef WGL_I3D_swap_frame_lock
|
---|
591 | #define WGL_I3D_swap_frame_lock 1
|
---|
592 | #ifdef WGL_WGLEXT_PROTOTYPES
|
---|
593 | extern BOOL WINAPI wglEnableFrameLockI3D (void);
|
---|
594 | extern BOOL WINAPI wglDisableFrameLockI3D (void);
|
---|
595 | extern BOOL WINAPI wglIsEnabledFrameLockI3D (BOOL *);
|
---|
596 | extern BOOL WINAPI wglQueryFrameLockMasterI3D (BOOL *);
|
---|
597 | #endif /* WGL_WGLEXT_PROTOTYPES */
|
---|
598 | typedef BOOL (WINAPI * PFNWGLENABLEFRAMELOCKI3DPROC) (void);
|
---|
599 | typedef BOOL (WINAPI * PFNWGLDISABLEFRAMELOCKI3DPROC) (void);
|
---|
600 | typedef BOOL (WINAPI * PFNWGLISENABLEDFRAMELOCKI3DPROC) (BOOL *pFlag);
|
---|
601 | typedef BOOL (WINAPI * PFNWGLQUERYFRAMELOCKMASTERI3DPROC) (BOOL *pFlag);
|
---|
602 | #endif
|
---|
603 |
|
---|
604 | #ifndef WGL_I3D_swap_frame_usage
|
---|
605 | #define WGL_I3D_swap_frame_usage 1
|
---|
606 | #ifdef WGL_WGLEXT_PROTOTYPES
|
---|
607 | extern BOOL WINAPI wglGetFrameUsageI3D (float *);
|
---|
608 | extern BOOL WINAPI wglBeginFrameTrackingI3D (void);
|
---|
609 | extern BOOL WINAPI wglEndFrameTrackingI3D (void);
|
---|
610 | extern BOOL WINAPI wglQueryFrameTrackingI3D (DWORD *, DWORD *, float *);
|
---|
611 | #endif /* WGL_WGLEXT_PROTOTYPES */
|
---|
612 | typedef BOOL (WINAPI * PFNWGLGETFRAMEUSAGEI3DPROC) (float *pUsage);
|
---|
613 | typedef BOOL (WINAPI * PFNWGLBEGINFRAMETRACKINGI3DPROC) (void);
|
---|
614 | typedef BOOL (WINAPI * PFNWGLENDFRAMETRACKINGI3DPROC) (void);
|
---|
615 | typedef BOOL (WINAPI * PFNWGLQUERYFRAMETRACKINGI3DPROC) (DWORD *pFrameCount, DWORD *pMissedFrames, float *pLastMissedUsage);
|
---|
616 | #endif
|
---|
617 |
|
---|
618 | #ifndef WGL_ATI_pixel_format_float
|
---|
619 | #define WGL_ATI_pixel_format_float 1
|
---|
620 | #endif
|
---|
621 |
|
---|
622 | #ifndef WGL_NV_float_buffer
|
---|
623 | #define WGL_NV_float_buffer 1
|
---|
624 | #endif
|
---|
625 |
|
---|
626 |
|
---|
627 | #ifdef __cplusplus
|
---|
628 | }
|
---|
629 | #endif
|
---|
630 |
|
---|
631 | #endif
|
---|