Jamie Slowgrove - PGG Assignment 2
 All Classes Namespaces Files Functions Variables Typedefs Macros
wglew.h
Go to the documentation of this file.
1 /*
2 ** The OpenGL Extension Wrangler Library
3 ** Copyright (C) 2008-2014, Nigel Stewart <nigels[]users sourceforge net>
4 ** Copyright (C) 2002-2008, Milan Ikits <milan ikits[]ieee org>
5 ** Copyright (C) 2002-2008, Marcelo E. Magallon <mmagallo[]debian org>
6 ** Copyright (C) 2002, Lev Povalahev
7 ** All rights reserved.
8 **
9 ** Redistribution and use in source and binary forms, with or without
10 ** modification, are permitted provided that the following conditions are met:
11 **
12 ** * Redistributions of source code must retain the above copyright notice,
13 ** this list of conditions and the following disclaimer.
14 ** * Redistributions in binary form must reproduce the above copyright notice,
15 ** this list of conditions and the following disclaimer in the documentation
16 ** and/or other materials provided with the distribution.
17 ** * The name of the author may be used to endorse or promote products
18 ** derived from this software without specific prior written permission.
19 **
20 ** THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
21 ** AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
22 ** IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
23 ** ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
24 ** LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
25 ** CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
26 ** SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
27 ** INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
28 ** CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
29 ** ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
30 ** THE POSSIBILITY OF SUCH DAMAGE.
31 */
32 
33 /*
34 ** Copyright (c) 2007 The Khronos Group Inc.
35 **
36 ** Permission is hereby granted, free of charge, to any person obtaining a
37 ** copy of this software and/or associated documentation files (the
38 ** "Materials"), to deal in the Materials without restriction, including
39 ** without limitation the rights to use, copy, modify, merge, publish,
40 ** distribute, sublicense, and/or sell copies of the Materials, and to
41 ** permit persons to whom the Materials are furnished to do so, subject to
42 ** the following conditions:
43 **
44 ** The above copyright notice and this permission notice shall be included
45 ** in all copies or substantial portions of the Materials.
46 **
47 ** THE MATERIALS ARE PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
48 ** EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
49 ** MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
50 ** IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
51 ** CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
52 ** TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
53 ** MATERIALS OR THE USE OR OTHER DEALINGS IN THE MATERIALS.
54 */
55 
56 #ifndef __wglew_h__
57 #define __wglew_h__
58 #define __WGLEW_H__
59 
60 #ifdef __wglext_h_
61 #error wglext.h included before wglew.h
62 #endif
63 
64 #define __wglext_h_
65 
66 #if !defined(WINAPI)
67 # ifndef WIN32_LEAN_AND_MEAN
68 # define WIN32_LEAN_AND_MEAN 1
69 # endif
70 #include <windows.h>
71 # undef WIN32_LEAN_AND_MEAN
72 #endif
73 
74 /*
75  * GLEW_STATIC needs to be set when using the static version.
76  * GLEW_BUILD is set when building the DLL version.
77  */
78 #ifdef GLEW_STATIC
79 # define GLEWAPI extern
80 #else
81 # ifdef GLEW_BUILD
82 # define GLEWAPI extern __declspec(dllexport)
83 # else
84 # define GLEWAPI extern __declspec(dllimport)
85 # endif
86 #endif
87 
88 #ifdef __cplusplus
89 extern "C" {
90 #endif
91 
92 /* -------------------------- WGL_3DFX_multisample ------------------------- */
93 
94 #ifndef WGL_3DFX_multisample
95 #define WGL_3DFX_multisample 1
96 
97 #define WGL_SAMPLE_BUFFERS_3DFX 0x2060
98 #define WGL_SAMPLES_3DFX 0x2061
99 
100 #define WGLEW_3DFX_multisample WGLEW_GET_VAR(__WGLEW_3DFX_multisample)
101 
102 #endif /* WGL_3DFX_multisample */
103 
104 /* ------------------------- WGL_3DL_stereo_control ------------------------ */
105 
106 #ifndef WGL_3DL_stereo_control
107 #define WGL_3DL_stereo_control 1
108 
109 #define WGL_STEREO_EMITTER_ENABLE_3DL 0x2055
110 #define WGL_STEREO_EMITTER_DISABLE_3DL 0x2056
111 #define WGL_STEREO_POLARITY_NORMAL_3DL 0x2057
112 #define WGL_STEREO_POLARITY_INVERT_3DL 0x2058
113 
114 typedef BOOL (WINAPI * PFNWGLSETSTEREOEMITTERSTATE3DLPROC) (HDC hDC, UINT uState);
115 
116 #define wglSetStereoEmitterState3DL WGLEW_GET_FUN(__wglewSetStereoEmitterState3DL)
117 
118 #define WGLEW_3DL_stereo_control WGLEW_GET_VAR(__WGLEW_3DL_stereo_control)
119 
120 #endif /* WGL_3DL_stereo_control */
121 
122 /* ------------------------ WGL_AMD_gpu_association ------------------------ */
123 
124 #ifndef WGL_AMD_gpu_association
125 #define WGL_AMD_gpu_association 1
126 
127 #define WGL_GPU_VENDOR_AMD 0x1F00
128 #define WGL_GPU_RENDERER_STRING_AMD 0x1F01
129 #define WGL_GPU_OPENGL_VERSION_STRING_AMD 0x1F02
130 #define WGL_GPU_FASTEST_TARGET_GPUS_AMD 0x21A2
131 #define WGL_GPU_RAM_AMD 0x21A3
132 #define WGL_GPU_CLOCK_AMD 0x21A4
133 #define WGL_GPU_NUM_PIPES_AMD 0x21A5
134 #define WGL_GPU_NUM_SIMD_AMD 0x21A6
135 #define WGL_GPU_NUM_RB_AMD 0x21A7
136 #define WGL_GPU_NUM_SPI_AMD 0x21A8
137 
138 typedef VOID (WINAPI * PFNWGLBLITCONTEXTFRAMEBUFFERAMDPROC) (HGLRC dstCtx, GLint srcX0, GLint srcY0, GLint srcX1, GLint srcY1, GLint dstX0, GLint dstY0, GLint dstX1, GLint dstY1, GLbitfield mask, GLenum filter);
139 typedef HGLRC (WINAPI * PFNWGLCREATEASSOCIATEDCONTEXTAMDPROC) (UINT id);
140 typedef HGLRC (WINAPI * PFNWGLCREATEASSOCIATEDCONTEXTATTRIBSAMDPROC) (UINT id, HGLRC hShareContext, const int* attribList);
141 typedef BOOL (WINAPI * PFNWGLDELETEASSOCIATEDCONTEXTAMDPROC) (HGLRC hglrc);
142 typedef UINT (WINAPI * PFNWGLGETCONTEXTGPUIDAMDPROC) (HGLRC hglrc);
143 typedef HGLRC (WINAPI * PFNWGLGETCURRENTASSOCIATEDCONTEXTAMDPROC) (void);
144 typedef UINT (WINAPI * PFNWGLGETGPUIDSAMDPROC) (UINT maxCount, UINT* ids);
145 typedef INT (WINAPI * PFNWGLGETGPUINFOAMDPROC) (UINT id, INT property, GLenum dataType, UINT size, void* data);
146 typedef BOOL (WINAPI * PFNWGLMAKEASSOCIATEDCONTEXTCURRENTAMDPROC) (HGLRC hglrc);
147 
148 #define wglBlitContextFramebufferAMD WGLEW_GET_FUN(__wglewBlitContextFramebufferAMD)
149 #define wglCreateAssociatedContextAMD WGLEW_GET_FUN(__wglewCreateAssociatedContextAMD)
150 #define wglCreateAssociatedContextAttribsAMD WGLEW_GET_FUN(__wglewCreateAssociatedContextAttribsAMD)
151 #define wglDeleteAssociatedContextAMD WGLEW_GET_FUN(__wglewDeleteAssociatedContextAMD)
152 #define wglGetContextGPUIDAMD WGLEW_GET_FUN(__wglewGetContextGPUIDAMD)
153 #define wglGetCurrentAssociatedContextAMD WGLEW_GET_FUN(__wglewGetCurrentAssociatedContextAMD)
154 #define wglGetGPUIDsAMD WGLEW_GET_FUN(__wglewGetGPUIDsAMD)
155 #define wglGetGPUInfoAMD WGLEW_GET_FUN(__wglewGetGPUInfoAMD)
156 #define wglMakeAssociatedContextCurrentAMD WGLEW_GET_FUN(__wglewMakeAssociatedContextCurrentAMD)
157 
158 #define WGLEW_AMD_gpu_association WGLEW_GET_VAR(__WGLEW_AMD_gpu_association)
159 
160 #endif /* WGL_AMD_gpu_association */
161 
162 /* ------------------------- WGL_ARB_buffer_region ------------------------- */
163 
164 #ifndef WGL_ARB_buffer_region
165 #define WGL_ARB_buffer_region 1
166 
167 #define WGL_FRONT_COLOR_BUFFER_BIT_ARB 0x00000001
168 #define WGL_BACK_COLOR_BUFFER_BIT_ARB 0x00000002
169 #define WGL_DEPTH_BUFFER_BIT_ARB 0x00000004
170 #define WGL_STENCIL_BUFFER_BIT_ARB 0x00000008
171 
172 typedef HANDLE (WINAPI * PFNWGLCREATEBUFFERREGIONARBPROC) (HDC hDC, int iLayerPlane, UINT uType);
173 typedef VOID (WINAPI * PFNWGLDELETEBUFFERREGIONARBPROC) (HANDLE hRegion);
174 typedef BOOL (WINAPI * PFNWGLRESTOREBUFFERREGIONARBPROC) (HANDLE hRegion, int x, int y, int width, int height, int xSrc, int ySrc);
175 typedef BOOL (WINAPI * PFNWGLSAVEBUFFERREGIONARBPROC) (HANDLE hRegion, int x, int y, int width, int height);
176 
177 #define wglCreateBufferRegionARB WGLEW_GET_FUN(__wglewCreateBufferRegionARB)
178 #define wglDeleteBufferRegionARB WGLEW_GET_FUN(__wglewDeleteBufferRegionARB)
179 #define wglRestoreBufferRegionARB WGLEW_GET_FUN(__wglewRestoreBufferRegionARB)
180 #define wglSaveBufferRegionARB WGLEW_GET_FUN(__wglewSaveBufferRegionARB)
181 
182 #define WGLEW_ARB_buffer_region WGLEW_GET_VAR(__WGLEW_ARB_buffer_region)
183 
184 #endif /* WGL_ARB_buffer_region */
185 
186 /* --------------------- WGL_ARB_context_flush_control --------------------- */
187 
188 #ifndef WGL_ARB_context_flush_control
189 #define WGL_ARB_context_flush_control 1
190 
191 #define WGLEW_ARB_context_flush_control WGLEW_GET_VAR(__WGLEW_ARB_context_flush_control)
192 
193 #endif /* WGL_ARB_context_flush_control */
194 
195 /* ------------------------- WGL_ARB_create_context ------------------------ */
196 
197 #ifndef WGL_ARB_create_context
198 #define WGL_ARB_create_context 1
199 
200 #define WGL_CONTEXT_DEBUG_BIT_ARB 0x0001
201 #define WGL_CONTEXT_FORWARD_COMPATIBLE_BIT_ARB 0x0002
202 #define WGL_CONTEXT_MAJOR_VERSION_ARB 0x2091
203 #define WGL_CONTEXT_MINOR_VERSION_ARB 0x2092
204 #define WGL_CONTEXT_LAYER_PLANE_ARB 0x2093
205 #define WGL_CONTEXT_FLAGS_ARB 0x2094
206 #define ERROR_INVALID_VERSION_ARB 0x2095
207 #define ERROR_INVALID_PROFILE_ARB 0x2096
208 
209 typedef HGLRC (WINAPI * PFNWGLCREATECONTEXTATTRIBSARBPROC) (HDC hDC, HGLRC hShareContext, const int* attribList);
210 
211 #define wglCreateContextAttribsARB WGLEW_GET_FUN(__wglewCreateContextAttribsARB)
212 
213 #define WGLEW_ARB_create_context WGLEW_GET_VAR(__WGLEW_ARB_create_context)
214 
215 #endif /* WGL_ARB_create_context */
216 
217 /* --------------------- WGL_ARB_create_context_profile -------------------- */
218 
219 #ifndef WGL_ARB_create_context_profile
220 #define WGL_ARB_create_context_profile 1
221 
222 #define WGL_CONTEXT_CORE_PROFILE_BIT_ARB 0x00000001
223 #define WGL_CONTEXT_COMPATIBILITY_PROFILE_BIT_ARB 0x00000002
224 #define WGL_CONTEXT_PROFILE_MASK_ARB 0x9126
225 
226 #define WGLEW_ARB_create_context_profile WGLEW_GET_VAR(__WGLEW_ARB_create_context_profile)
227 
228 #endif /* WGL_ARB_create_context_profile */
229 
230 /* ------------------- WGL_ARB_create_context_robustness ------------------- */
231 
232 #ifndef WGL_ARB_create_context_robustness
233 #define WGL_ARB_create_context_robustness 1
234 
235 #define WGL_CONTEXT_ROBUST_ACCESS_BIT_ARB 0x00000004
236 #define WGL_LOSE_CONTEXT_ON_RESET_ARB 0x8252
237 #define WGL_CONTEXT_RESET_NOTIFICATION_STRATEGY_ARB 0x8256
238 #define WGL_NO_RESET_NOTIFICATION_ARB 0x8261
239 
240 #define WGLEW_ARB_create_context_robustness WGLEW_GET_VAR(__WGLEW_ARB_create_context_robustness)
241 
242 #endif /* WGL_ARB_create_context_robustness */
243 
244 /* ----------------------- WGL_ARB_extensions_string ----------------------- */
245 
246 #ifndef WGL_ARB_extensions_string
247 #define WGL_ARB_extensions_string 1
248 
249 typedef const char* (WINAPI * PFNWGLGETEXTENSIONSSTRINGARBPROC) (HDC hdc);
250 
251 #define wglGetExtensionsStringARB WGLEW_GET_FUN(__wglewGetExtensionsStringARB)
252 
253 #define WGLEW_ARB_extensions_string WGLEW_GET_VAR(__WGLEW_ARB_extensions_string)
254 
255 #endif /* WGL_ARB_extensions_string */
256 
257 /* ------------------------ WGL_ARB_framebuffer_sRGB ----------------------- */
258 
259 #ifndef WGL_ARB_framebuffer_sRGB
260 #define WGL_ARB_framebuffer_sRGB 1
261 
262 #define WGL_FRAMEBUFFER_SRGB_CAPABLE_ARB 0x20A9
263 
264 #define WGLEW_ARB_framebuffer_sRGB WGLEW_GET_VAR(__WGLEW_ARB_framebuffer_sRGB)
265 
266 #endif /* WGL_ARB_framebuffer_sRGB */
267 
268 /* ----------------------- WGL_ARB_make_current_read ----------------------- */
269 
270 #ifndef WGL_ARB_make_current_read
271 #define WGL_ARB_make_current_read 1
272 
273 #define ERROR_INVALID_PIXEL_TYPE_ARB 0x2043
274 #define ERROR_INCOMPATIBLE_DEVICE_CONTEXTS_ARB 0x2054
275 
276 typedef HDC (WINAPI * PFNWGLGETCURRENTREADDCARBPROC) (VOID);
277 typedef BOOL (WINAPI * PFNWGLMAKECONTEXTCURRENTARBPROC) (HDC hDrawDC, HDC hReadDC, HGLRC hglrc);
278 
279 #define wglGetCurrentReadDCARB WGLEW_GET_FUN(__wglewGetCurrentReadDCARB)
280 #define wglMakeContextCurrentARB WGLEW_GET_FUN(__wglewMakeContextCurrentARB)
281 
282 #define WGLEW_ARB_make_current_read WGLEW_GET_VAR(__WGLEW_ARB_make_current_read)
283 
284 #endif /* WGL_ARB_make_current_read */
285 
286 /* -------------------------- WGL_ARB_multisample -------------------------- */
287 
288 #ifndef WGL_ARB_multisample
289 #define WGL_ARB_multisample 1
290 
291 #define WGL_SAMPLE_BUFFERS_ARB 0x2041
292 #define WGL_SAMPLES_ARB 0x2042
293 
294 #define WGLEW_ARB_multisample WGLEW_GET_VAR(__WGLEW_ARB_multisample)
295 
296 #endif /* WGL_ARB_multisample */
297 
298 /* ---------------------------- WGL_ARB_pbuffer ---------------------------- */
299 
300 #ifndef WGL_ARB_pbuffer
301 #define WGL_ARB_pbuffer 1
302 
303 #define WGL_DRAW_TO_PBUFFER_ARB 0x202D
304 #define WGL_MAX_PBUFFER_PIXELS_ARB 0x202E
305 #define WGL_MAX_PBUFFER_WIDTH_ARB 0x202F
306 #define WGL_MAX_PBUFFER_HEIGHT_ARB 0x2030
307 #define WGL_PBUFFER_LARGEST_ARB 0x2033
308 #define WGL_PBUFFER_WIDTH_ARB 0x2034
309 #define WGL_PBUFFER_HEIGHT_ARB 0x2035
310 #define WGL_PBUFFER_LOST_ARB 0x2036
311 
313 
314 typedef HPBUFFERARB (WINAPI * PFNWGLCREATEPBUFFERARBPROC) (HDC hDC, int iPixelFormat, int iWidth, int iHeight, const int* piAttribList);
315 typedef BOOL (WINAPI * PFNWGLDESTROYPBUFFERARBPROC) (HPBUFFERARB hPbuffer);
316 typedef HDC (WINAPI * PFNWGLGETPBUFFERDCARBPROC) (HPBUFFERARB hPbuffer);
317 typedef BOOL (WINAPI * PFNWGLQUERYPBUFFERARBPROC) (HPBUFFERARB hPbuffer, int iAttribute, int* piValue);
318 typedef int (WINAPI * PFNWGLRELEASEPBUFFERDCARBPROC) (HPBUFFERARB hPbuffer, HDC hDC);
319 
320 #define wglCreatePbufferARB WGLEW_GET_FUN(__wglewCreatePbufferARB)
321 #define wglDestroyPbufferARB WGLEW_GET_FUN(__wglewDestroyPbufferARB)
322 #define wglGetPbufferDCARB WGLEW_GET_FUN(__wglewGetPbufferDCARB)
323 #define wglQueryPbufferARB WGLEW_GET_FUN(__wglewQueryPbufferARB)
324 #define wglReleasePbufferDCARB WGLEW_GET_FUN(__wglewReleasePbufferDCARB)
325 
326 #define WGLEW_ARB_pbuffer WGLEW_GET_VAR(__WGLEW_ARB_pbuffer)
327 
328 #endif /* WGL_ARB_pbuffer */
329 
330 /* -------------------------- WGL_ARB_pixel_format ------------------------- */
331 
332 #ifndef WGL_ARB_pixel_format
333 #define WGL_ARB_pixel_format 1
334 
335 #define WGL_NUMBER_PIXEL_FORMATS_ARB 0x2000
336 #define WGL_DRAW_TO_WINDOW_ARB 0x2001
337 #define WGL_DRAW_TO_BITMAP_ARB 0x2002
338 #define WGL_ACCELERATION_ARB 0x2003
339 #define WGL_NEED_PALETTE_ARB 0x2004
340 #define WGL_NEED_SYSTEM_PALETTE_ARB 0x2005
341 #define WGL_SWAP_LAYER_BUFFERS_ARB 0x2006
342 #define WGL_SWAP_METHOD_ARB 0x2007
343 #define WGL_NUMBER_OVERLAYS_ARB 0x2008
344 #define WGL_NUMBER_UNDERLAYS_ARB 0x2009
345 #define WGL_TRANSPARENT_ARB 0x200A
346 #define WGL_SHARE_DEPTH_ARB 0x200C
347 #define WGL_SHARE_STENCIL_ARB 0x200D
348 #define WGL_SHARE_ACCUM_ARB 0x200E
349 #define WGL_SUPPORT_GDI_ARB 0x200F
350 #define WGL_SUPPORT_OPENGL_ARB 0x2010
351 #define WGL_DOUBLE_BUFFER_ARB 0x2011
352 #define WGL_STEREO_ARB 0x2012
353 #define WGL_PIXEL_TYPE_ARB 0x2013
354 #define WGL_COLOR_BITS_ARB 0x2014
355 #define WGL_RED_BITS_ARB 0x2015
356 #define WGL_RED_SHIFT_ARB 0x2016
357 #define WGL_GREEN_BITS_ARB 0x2017
358 #define WGL_GREEN_SHIFT_ARB 0x2018
359 #define WGL_BLUE_BITS_ARB 0x2019
360 #define WGL_BLUE_SHIFT_ARB 0x201A
361 #define WGL_ALPHA_BITS_ARB 0x201B
362 #define WGL_ALPHA_SHIFT_ARB 0x201C
363 #define WGL_ACCUM_BITS_ARB 0x201D
364 #define WGL_ACCUM_RED_BITS_ARB 0x201E
365 #define WGL_ACCUM_GREEN_BITS_ARB 0x201F
366 #define WGL_ACCUM_BLUE_BITS_ARB 0x2020
367 #define WGL_ACCUM_ALPHA_BITS_ARB 0x2021
368 #define WGL_DEPTH_BITS_ARB 0x2022
369 #define WGL_STENCIL_BITS_ARB 0x2023
370 #define WGL_AUX_BUFFERS_ARB 0x2024
371 #define WGL_NO_ACCELERATION_ARB 0x2025
372 #define WGL_GENERIC_ACCELERATION_ARB 0x2026
373 #define WGL_FULL_ACCELERATION_ARB 0x2027
374 #define WGL_SWAP_EXCHANGE_ARB 0x2028
375 #define WGL_SWAP_COPY_ARB 0x2029
376 #define WGL_SWAP_UNDEFINED_ARB 0x202A
377 #define WGL_TYPE_RGBA_ARB 0x202B
378 #define WGL_TYPE_COLORINDEX_ARB 0x202C
379 #define WGL_TRANSPARENT_RED_VALUE_ARB 0x2037
380 #define WGL_TRANSPARENT_GREEN_VALUE_ARB 0x2038
381 #define WGL_TRANSPARENT_BLUE_VALUE_ARB 0x2039
382 #define WGL_TRANSPARENT_ALPHA_VALUE_ARB 0x203A
383 #define WGL_TRANSPARENT_INDEX_VALUE_ARB 0x203B
384 
385 typedef BOOL (WINAPI * PFNWGLCHOOSEPIXELFORMATARBPROC) (HDC hdc, const int* piAttribIList, const FLOAT *pfAttribFList, UINT nMaxFormats, int *piFormats, UINT *nNumFormats);
386 typedef BOOL (WINAPI * PFNWGLGETPIXELFORMATATTRIBFVARBPROC) (HDC hdc, int iPixelFormat, int iLayerPlane, UINT nAttributes, const int* piAttributes, FLOAT *pfValues);
387 typedef BOOL (WINAPI * PFNWGLGETPIXELFORMATATTRIBIVARBPROC) (HDC hdc, int iPixelFormat, int iLayerPlane, UINT nAttributes, const int* piAttributes, int *piValues);
388 
389 #define wglChoosePixelFormatARB WGLEW_GET_FUN(__wglewChoosePixelFormatARB)
390 #define wglGetPixelFormatAttribfvARB WGLEW_GET_FUN(__wglewGetPixelFormatAttribfvARB)
391 #define wglGetPixelFormatAttribivARB WGLEW_GET_FUN(__wglewGetPixelFormatAttribivARB)
392 
393 #define WGLEW_ARB_pixel_format WGLEW_GET_VAR(__WGLEW_ARB_pixel_format)
394 
395 #endif /* WGL_ARB_pixel_format */
396 
397 /* ----------------------- WGL_ARB_pixel_format_float ---------------------- */
398 
399 #ifndef WGL_ARB_pixel_format_float
400 #define WGL_ARB_pixel_format_float 1
401 
402 #define WGL_TYPE_RGBA_FLOAT_ARB 0x21A0
403 
404 #define WGLEW_ARB_pixel_format_float WGLEW_GET_VAR(__WGLEW_ARB_pixel_format_float)
405 
406 #endif /* WGL_ARB_pixel_format_float */
407 
408 /* ------------------------- WGL_ARB_render_texture ------------------------ */
409 
410 #ifndef WGL_ARB_render_texture
411 #define WGL_ARB_render_texture 1
412 
413 #define WGL_BIND_TO_TEXTURE_RGB_ARB 0x2070
414 #define WGL_BIND_TO_TEXTURE_RGBA_ARB 0x2071
415 #define WGL_TEXTURE_FORMAT_ARB 0x2072
416 #define WGL_TEXTURE_TARGET_ARB 0x2073
417 #define WGL_MIPMAP_TEXTURE_ARB 0x2074
418 #define WGL_TEXTURE_RGB_ARB 0x2075
419 #define WGL_TEXTURE_RGBA_ARB 0x2076
420 #define WGL_NO_TEXTURE_ARB 0x2077
421 #define WGL_TEXTURE_CUBE_MAP_ARB 0x2078
422 #define WGL_TEXTURE_1D_ARB 0x2079
423 #define WGL_TEXTURE_2D_ARB 0x207A
424 #define WGL_MIPMAP_LEVEL_ARB 0x207B
425 #define WGL_CUBE_MAP_FACE_ARB 0x207C
426 #define WGL_TEXTURE_CUBE_MAP_POSITIVE_X_ARB 0x207D
427 #define WGL_TEXTURE_CUBE_MAP_NEGATIVE_X_ARB 0x207E
428 #define WGL_TEXTURE_CUBE_MAP_POSITIVE_Y_ARB 0x207F
429 #define WGL_TEXTURE_CUBE_MAP_NEGATIVE_Y_ARB 0x2080
430 #define WGL_TEXTURE_CUBE_MAP_POSITIVE_Z_ARB 0x2081
431 #define WGL_TEXTURE_CUBE_MAP_NEGATIVE_Z_ARB 0x2082
432 #define WGL_FRONT_LEFT_ARB 0x2083
433 #define WGL_FRONT_RIGHT_ARB 0x2084
434 #define WGL_BACK_LEFT_ARB 0x2085
435 #define WGL_BACK_RIGHT_ARB 0x2086
436 #define WGL_AUX0_ARB 0x2087
437 #define WGL_AUX1_ARB 0x2088
438 #define WGL_AUX2_ARB 0x2089
439 #define WGL_AUX3_ARB 0x208A
440 #define WGL_AUX4_ARB 0x208B
441 #define WGL_AUX5_ARB 0x208C
442 #define WGL_AUX6_ARB 0x208D
443 #define WGL_AUX7_ARB 0x208E
444 #define WGL_AUX8_ARB 0x208F
445 #define WGL_AUX9_ARB 0x2090
446 
447 typedef BOOL (WINAPI * PFNWGLBINDTEXIMAGEARBPROC) (HPBUFFERARB hPbuffer, int iBuffer);
448 typedef BOOL (WINAPI * PFNWGLRELEASETEXIMAGEARBPROC) (HPBUFFERARB hPbuffer, int iBuffer);
449 typedef BOOL (WINAPI * PFNWGLSETPBUFFERATTRIBARBPROC) (HPBUFFERARB hPbuffer, const int* piAttribList);
450 
451 #define wglBindTexImageARB WGLEW_GET_FUN(__wglewBindTexImageARB)
452 #define wglReleaseTexImageARB WGLEW_GET_FUN(__wglewReleaseTexImageARB)
453 #define wglSetPbufferAttribARB WGLEW_GET_FUN(__wglewSetPbufferAttribARB)
454 
455 #define WGLEW_ARB_render_texture WGLEW_GET_VAR(__WGLEW_ARB_render_texture)
456 
457 #endif /* WGL_ARB_render_texture */
458 
459 /* ---------------- WGL_ARB_robustness_application_isolation --------------- */
460 
461 #ifndef WGL_ARB_robustness_application_isolation
462 #define WGL_ARB_robustness_application_isolation 1
463 
464 #define WGL_CONTEXT_RESET_ISOLATION_BIT_ARB 0x00000008
465 
466 #define WGLEW_ARB_robustness_application_isolation WGLEW_GET_VAR(__WGLEW_ARB_robustness_application_isolation)
467 
468 #endif /* WGL_ARB_robustness_application_isolation */
469 
470 /* ---------------- WGL_ARB_robustness_share_group_isolation --------------- */
471 
472 #ifndef WGL_ARB_robustness_share_group_isolation
473 #define WGL_ARB_robustness_share_group_isolation 1
474 
475 #define WGL_CONTEXT_RESET_ISOLATION_BIT_ARB 0x00000008
476 
477 #define WGLEW_ARB_robustness_share_group_isolation WGLEW_GET_VAR(__WGLEW_ARB_robustness_share_group_isolation)
478 
479 #endif /* WGL_ARB_robustness_share_group_isolation */
480 
481 /* ----------------------- WGL_ATI_pixel_format_float ---------------------- */
482 
483 #ifndef WGL_ATI_pixel_format_float
484 #define WGL_ATI_pixel_format_float 1
485 
486 #define WGL_TYPE_RGBA_FLOAT_ATI 0x21A0
487 #define GL_RGBA_FLOAT_MODE_ATI 0x8820
488 #define GL_COLOR_CLEAR_UNCLAMPED_VALUE_ATI 0x8835
489 
490 #define WGLEW_ATI_pixel_format_float WGLEW_GET_VAR(__WGLEW_ATI_pixel_format_float)
491 
492 #endif /* WGL_ATI_pixel_format_float */
493 
494 /* -------------------- WGL_ATI_render_texture_rectangle ------------------- */
495 
496 #ifndef WGL_ATI_render_texture_rectangle
497 #define WGL_ATI_render_texture_rectangle 1
498 
499 #define WGL_TEXTURE_RECTANGLE_ATI 0x21A5
500 
501 #define WGLEW_ATI_render_texture_rectangle WGLEW_GET_VAR(__WGLEW_ATI_render_texture_rectangle)
502 
503 #endif /* WGL_ATI_render_texture_rectangle */
504 
505 /* ------------------- WGL_EXT_create_context_es2_profile ------------------ */
506 
507 #ifndef WGL_EXT_create_context_es2_profile
508 #define WGL_EXT_create_context_es2_profile 1
509 
510 #define WGL_CONTEXT_ES2_PROFILE_BIT_EXT 0x00000004
511 
512 #define WGLEW_EXT_create_context_es2_profile WGLEW_GET_VAR(__WGLEW_EXT_create_context_es2_profile)
513 
514 #endif /* WGL_EXT_create_context_es2_profile */
515 
516 /* ------------------- WGL_EXT_create_context_es_profile ------------------- */
517 
518 #ifndef WGL_EXT_create_context_es_profile
519 #define WGL_EXT_create_context_es_profile 1
520 
521 #define WGL_CONTEXT_ES_PROFILE_BIT_EXT 0x00000004
522 
523 #define WGLEW_EXT_create_context_es_profile WGLEW_GET_VAR(__WGLEW_EXT_create_context_es_profile)
524 
525 #endif /* WGL_EXT_create_context_es_profile */
526 
527 /* -------------------------- WGL_EXT_depth_float -------------------------- */
528 
529 #ifndef WGL_EXT_depth_float
530 #define WGL_EXT_depth_float 1
531 
532 #define WGL_DEPTH_FLOAT_EXT 0x2040
533 
534 #define WGLEW_EXT_depth_float WGLEW_GET_VAR(__WGLEW_EXT_depth_float)
535 
536 #endif /* WGL_EXT_depth_float */
537 
538 /* ---------------------- WGL_EXT_display_color_table ---------------------- */
539 
540 #ifndef WGL_EXT_display_color_table
541 #define WGL_EXT_display_color_table 1
542 
543 typedef GLboolean (WINAPI * PFNWGLBINDDISPLAYCOLORTABLEEXTPROC) (GLushort id);
544 typedef GLboolean (WINAPI * PFNWGLCREATEDISPLAYCOLORTABLEEXTPROC) (GLushort id);
545 typedef void (WINAPI * PFNWGLDESTROYDISPLAYCOLORTABLEEXTPROC) (GLushort id);
546 typedef GLboolean (WINAPI * PFNWGLLOADDISPLAYCOLORTABLEEXTPROC) (GLushort* table, GLuint length);
547 
548 #define wglBindDisplayColorTableEXT WGLEW_GET_FUN(__wglewBindDisplayColorTableEXT)
549 #define wglCreateDisplayColorTableEXT WGLEW_GET_FUN(__wglewCreateDisplayColorTableEXT)
550 #define wglDestroyDisplayColorTableEXT WGLEW_GET_FUN(__wglewDestroyDisplayColorTableEXT)
551 #define wglLoadDisplayColorTableEXT WGLEW_GET_FUN(__wglewLoadDisplayColorTableEXT)
552 
553 #define WGLEW_EXT_display_color_table WGLEW_GET_VAR(__WGLEW_EXT_display_color_table)
554 
555 #endif /* WGL_EXT_display_color_table */
556 
557 /* ----------------------- WGL_EXT_extensions_string ----------------------- */
558 
559 #ifndef WGL_EXT_extensions_string
560 #define WGL_EXT_extensions_string 1
561 
562 typedef const char* (WINAPI * PFNWGLGETEXTENSIONSSTRINGEXTPROC) (void);
563 
564 #define wglGetExtensionsStringEXT WGLEW_GET_FUN(__wglewGetExtensionsStringEXT)
565 
566 #define WGLEW_EXT_extensions_string WGLEW_GET_VAR(__WGLEW_EXT_extensions_string)
567 
568 #endif /* WGL_EXT_extensions_string */
569 
570 /* ------------------------ WGL_EXT_framebuffer_sRGB ----------------------- */
571 
572 #ifndef WGL_EXT_framebuffer_sRGB
573 #define WGL_EXT_framebuffer_sRGB 1
574 
575 #define WGL_FRAMEBUFFER_SRGB_CAPABLE_EXT 0x20A9
576 
577 #define WGLEW_EXT_framebuffer_sRGB WGLEW_GET_VAR(__WGLEW_EXT_framebuffer_sRGB)
578 
579 #endif /* WGL_EXT_framebuffer_sRGB */
580 
581 /* ----------------------- WGL_EXT_make_current_read ----------------------- */
582 
583 #ifndef WGL_EXT_make_current_read
584 #define WGL_EXT_make_current_read 1
585 
586 #define ERROR_INVALID_PIXEL_TYPE_EXT 0x2043
587 
588 typedef HDC (WINAPI * PFNWGLGETCURRENTREADDCEXTPROC) (VOID);
589 typedef BOOL (WINAPI * PFNWGLMAKECONTEXTCURRENTEXTPROC) (HDC hDrawDC, HDC hReadDC, HGLRC hglrc);
590 
591 #define wglGetCurrentReadDCEXT WGLEW_GET_FUN(__wglewGetCurrentReadDCEXT)
592 #define wglMakeContextCurrentEXT WGLEW_GET_FUN(__wglewMakeContextCurrentEXT)
593 
594 #define WGLEW_EXT_make_current_read WGLEW_GET_VAR(__WGLEW_EXT_make_current_read)
595 
596 #endif /* WGL_EXT_make_current_read */
597 
598 /* -------------------------- WGL_EXT_multisample -------------------------- */
599 
600 #ifndef WGL_EXT_multisample
601 #define WGL_EXT_multisample 1
602 
603 #define WGL_SAMPLE_BUFFERS_EXT 0x2041
604 #define WGL_SAMPLES_EXT 0x2042
605 
606 #define WGLEW_EXT_multisample WGLEW_GET_VAR(__WGLEW_EXT_multisample)
607 
608 #endif /* WGL_EXT_multisample */
609 
610 /* ---------------------------- WGL_EXT_pbuffer ---------------------------- */
611 
612 #ifndef WGL_EXT_pbuffer
613 #define WGL_EXT_pbuffer 1
614 
615 #define WGL_DRAW_TO_PBUFFER_EXT 0x202D
616 #define WGL_MAX_PBUFFER_PIXELS_EXT 0x202E
617 #define WGL_MAX_PBUFFER_WIDTH_EXT 0x202F
618 #define WGL_MAX_PBUFFER_HEIGHT_EXT 0x2030
619 #define WGL_OPTIMAL_PBUFFER_WIDTH_EXT 0x2031
620 #define WGL_OPTIMAL_PBUFFER_HEIGHT_EXT 0x2032
621 #define WGL_PBUFFER_LARGEST_EXT 0x2033
622 #define WGL_PBUFFER_WIDTH_EXT 0x2034
623 #define WGL_PBUFFER_HEIGHT_EXT 0x2035
624 
626 
627 typedef HPBUFFEREXT (WINAPI * PFNWGLCREATEPBUFFEREXTPROC) (HDC hDC, int iPixelFormat, int iWidth, int iHeight, const int* piAttribList);
628 typedef BOOL (WINAPI * PFNWGLDESTROYPBUFFEREXTPROC) (HPBUFFEREXT hPbuffer);
629 typedef HDC (WINAPI * PFNWGLGETPBUFFERDCEXTPROC) (HPBUFFEREXT hPbuffer);
630 typedef BOOL (WINAPI * PFNWGLQUERYPBUFFEREXTPROC) (HPBUFFEREXT hPbuffer, int iAttribute, int* piValue);
631 typedef int (WINAPI * PFNWGLRELEASEPBUFFERDCEXTPROC) (HPBUFFEREXT hPbuffer, HDC hDC);
632 
633 #define wglCreatePbufferEXT WGLEW_GET_FUN(__wglewCreatePbufferEXT)
634 #define wglDestroyPbufferEXT WGLEW_GET_FUN(__wglewDestroyPbufferEXT)
635 #define wglGetPbufferDCEXT WGLEW_GET_FUN(__wglewGetPbufferDCEXT)
636 #define wglQueryPbufferEXT WGLEW_GET_FUN(__wglewQueryPbufferEXT)
637 #define wglReleasePbufferDCEXT WGLEW_GET_FUN(__wglewReleasePbufferDCEXT)
638 
639 #define WGLEW_EXT_pbuffer WGLEW_GET_VAR(__WGLEW_EXT_pbuffer)
640 
641 #endif /* WGL_EXT_pbuffer */
642 
643 /* -------------------------- WGL_EXT_pixel_format ------------------------- */
644 
645 #ifndef WGL_EXT_pixel_format
646 #define WGL_EXT_pixel_format 1
647 
648 #define WGL_NUMBER_PIXEL_FORMATS_EXT 0x2000
649 #define WGL_DRAW_TO_WINDOW_EXT 0x2001
650 #define WGL_DRAW_TO_BITMAP_EXT 0x2002
651 #define WGL_ACCELERATION_EXT 0x2003
652 #define WGL_NEED_PALETTE_EXT 0x2004
653 #define WGL_NEED_SYSTEM_PALETTE_EXT 0x2005
654 #define WGL_SWAP_LAYER_BUFFERS_EXT 0x2006
655 #define WGL_SWAP_METHOD_EXT 0x2007
656 #define WGL_NUMBER_OVERLAYS_EXT 0x2008
657 #define WGL_NUMBER_UNDERLAYS_EXT 0x2009
658 #define WGL_TRANSPARENT_EXT 0x200A
659 #define WGL_TRANSPARENT_VALUE_EXT 0x200B
660 #define WGL_SHARE_DEPTH_EXT 0x200C
661 #define WGL_SHARE_STENCIL_EXT 0x200D
662 #define WGL_SHARE_ACCUM_EXT 0x200E
663 #define WGL_SUPPORT_GDI_EXT 0x200F
664 #define WGL_SUPPORT_OPENGL_EXT 0x2010
665 #define WGL_DOUBLE_BUFFER_EXT 0x2011
666 #define WGL_STEREO_EXT 0x2012
667 #define WGL_PIXEL_TYPE_EXT 0x2013
668 #define WGL_COLOR_BITS_EXT 0x2014
669 #define WGL_RED_BITS_EXT 0x2015
670 #define WGL_RED_SHIFT_EXT 0x2016
671 #define WGL_GREEN_BITS_EXT 0x2017
672 #define WGL_GREEN_SHIFT_EXT 0x2018
673 #define WGL_BLUE_BITS_EXT 0x2019
674 #define WGL_BLUE_SHIFT_EXT 0x201A
675 #define WGL_ALPHA_BITS_EXT 0x201B
676 #define WGL_ALPHA_SHIFT_EXT 0x201C
677 #define WGL_ACCUM_BITS_EXT 0x201D
678 #define WGL_ACCUM_RED_BITS_EXT 0x201E
679 #define WGL_ACCUM_GREEN_BITS_EXT 0x201F
680 #define WGL_ACCUM_BLUE_BITS_EXT 0x2020
681 #define WGL_ACCUM_ALPHA_BITS_EXT 0x2021
682 #define WGL_DEPTH_BITS_EXT 0x2022
683 #define WGL_STENCIL_BITS_EXT 0x2023
684 #define WGL_AUX_BUFFERS_EXT 0x2024
685 #define WGL_NO_ACCELERATION_EXT 0x2025
686 #define WGL_GENERIC_ACCELERATION_EXT 0x2026
687 #define WGL_FULL_ACCELERATION_EXT 0x2027
688 #define WGL_SWAP_EXCHANGE_EXT 0x2028
689 #define WGL_SWAP_COPY_EXT 0x2029
690 #define WGL_SWAP_UNDEFINED_EXT 0x202A
691 #define WGL_TYPE_RGBA_EXT 0x202B
692 #define WGL_TYPE_COLORINDEX_EXT 0x202C
693 
694 typedef BOOL (WINAPI * PFNWGLCHOOSEPIXELFORMATEXTPROC) (HDC hdc, const int* piAttribIList, const FLOAT *pfAttribFList, UINT nMaxFormats, int *piFormats, UINT *nNumFormats);
695 typedef BOOL (WINAPI * PFNWGLGETPIXELFORMATATTRIBFVEXTPROC) (HDC hdc, int iPixelFormat, int iLayerPlane, UINT nAttributes, int* piAttributes, FLOAT *pfValues);
696 typedef BOOL (WINAPI * PFNWGLGETPIXELFORMATATTRIBIVEXTPROC) (HDC hdc, int iPixelFormat, int iLayerPlane, UINT nAttributes, int* piAttributes, int *piValues);
697 
698 #define wglChoosePixelFormatEXT WGLEW_GET_FUN(__wglewChoosePixelFormatEXT)
699 #define wglGetPixelFormatAttribfvEXT WGLEW_GET_FUN(__wglewGetPixelFormatAttribfvEXT)
700 #define wglGetPixelFormatAttribivEXT WGLEW_GET_FUN(__wglewGetPixelFormatAttribivEXT)
701 
702 #define WGLEW_EXT_pixel_format WGLEW_GET_VAR(__WGLEW_EXT_pixel_format)
703 
704 #endif /* WGL_EXT_pixel_format */
705 
706 /* ------------------- WGL_EXT_pixel_format_packed_float ------------------- */
707 
708 #ifndef WGL_EXT_pixel_format_packed_float
709 #define WGL_EXT_pixel_format_packed_float 1
710 
711 #define WGL_TYPE_RGBA_UNSIGNED_FLOAT_EXT 0x20A8
712 
713 #define WGLEW_EXT_pixel_format_packed_float WGLEW_GET_VAR(__WGLEW_EXT_pixel_format_packed_float)
714 
715 #endif /* WGL_EXT_pixel_format_packed_float */
716 
717 /* -------------------------- WGL_EXT_swap_control ------------------------- */
718 
719 #ifndef WGL_EXT_swap_control
720 #define WGL_EXT_swap_control 1
721 
722 typedef int (WINAPI * PFNWGLGETSWAPINTERVALEXTPROC) (void);
723 typedef BOOL (WINAPI * PFNWGLSWAPINTERVALEXTPROC) (int interval);
724 
725 #define wglGetSwapIntervalEXT WGLEW_GET_FUN(__wglewGetSwapIntervalEXT)
726 #define wglSwapIntervalEXT WGLEW_GET_FUN(__wglewSwapIntervalEXT)
727 
728 #define WGLEW_EXT_swap_control WGLEW_GET_VAR(__WGLEW_EXT_swap_control)
729 
730 #endif /* WGL_EXT_swap_control */
731 
732 /* ----------------------- WGL_EXT_swap_control_tear ----------------------- */
733 
734 #ifndef WGL_EXT_swap_control_tear
735 #define WGL_EXT_swap_control_tear 1
736 
737 #define WGLEW_EXT_swap_control_tear WGLEW_GET_VAR(__WGLEW_EXT_swap_control_tear)
738 
739 #endif /* WGL_EXT_swap_control_tear */
740 
741 /* --------------------- WGL_I3D_digital_video_control --------------------- */
742 
743 #ifndef WGL_I3D_digital_video_control
744 #define WGL_I3D_digital_video_control 1
745 
746 #define WGL_DIGITAL_VIDEO_CURSOR_ALPHA_FRAMEBUFFER_I3D 0x2050
747 #define WGL_DIGITAL_VIDEO_CURSOR_ALPHA_VALUE_I3D 0x2051
748 #define WGL_DIGITAL_VIDEO_CURSOR_INCLUDED_I3D 0x2052
749 #define WGL_DIGITAL_VIDEO_GAMMA_CORRECTED_I3D 0x2053
750 
751 typedef BOOL (WINAPI * PFNWGLGETDIGITALVIDEOPARAMETERSI3DPROC) (HDC hDC, int iAttribute, int* piValue);
752 typedef BOOL (WINAPI * PFNWGLSETDIGITALVIDEOPARAMETERSI3DPROC) (HDC hDC, int iAttribute, const int* piValue);
753 
754 #define wglGetDigitalVideoParametersI3D WGLEW_GET_FUN(__wglewGetDigitalVideoParametersI3D)
755 #define wglSetDigitalVideoParametersI3D WGLEW_GET_FUN(__wglewSetDigitalVideoParametersI3D)
756 
757 #define WGLEW_I3D_digital_video_control WGLEW_GET_VAR(__WGLEW_I3D_digital_video_control)
758 
759 #endif /* WGL_I3D_digital_video_control */
760 
761 /* ----------------------------- WGL_I3D_gamma ----------------------------- */
762 
763 #ifndef WGL_I3D_gamma
764 #define WGL_I3D_gamma 1
765 
766 #define WGL_GAMMA_TABLE_SIZE_I3D 0x204E
767 #define WGL_GAMMA_EXCLUDE_DESKTOP_I3D 0x204F
768 
769 typedef BOOL (WINAPI * PFNWGLGETGAMMATABLEI3DPROC) (HDC hDC, int iEntries, USHORT* puRed, USHORT *puGreen, USHORT *puBlue);
770 typedef BOOL (WINAPI * PFNWGLGETGAMMATABLEPARAMETERSI3DPROC) (HDC hDC, int iAttribute, int* piValue);
771 typedef BOOL (WINAPI * PFNWGLSETGAMMATABLEI3DPROC) (HDC hDC, int iEntries, const USHORT* puRed, const USHORT *puGreen, const USHORT *puBlue);
772 typedef BOOL (WINAPI * PFNWGLSETGAMMATABLEPARAMETERSI3DPROC) (HDC hDC, int iAttribute, const int* piValue);
773 
774 #define wglGetGammaTableI3D WGLEW_GET_FUN(__wglewGetGammaTableI3D)
775 #define wglGetGammaTableParametersI3D WGLEW_GET_FUN(__wglewGetGammaTableParametersI3D)
776 #define wglSetGammaTableI3D WGLEW_GET_FUN(__wglewSetGammaTableI3D)
777 #define wglSetGammaTableParametersI3D WGLEW_GET_FUN(__wglewSetGammaTableParametersI3D)
778 
779 #define WGLEW_I3D_gamma WGLEW_GET_VAR(__WGLEW_I3D_gamma)
780 
781 #endif /* WGL_I3D_gamma */
782 
783 /* ---------------------------- WGL_I3D_genlock ---------------------------- */
784 
785 #ifndef WGL_I3D_genlock
786 #define WGL_I3D_genlock 1
787 
788 #define WGL_GENLOCK_SOURCE_MULTIVIEW_I3D 0x2044
789 #define WGL_GENLOCK_SOURCE_EXTERNAL_SYNC_I3D 0x2045
790 #define WGL_GENLOCK_SOURCE_EXTERNAL_FIELD_I3D 0x2046
791 #define WGL_GENLOCK_SOURCE_EXTERNAL_TTL_I3D 0x2047
792 #define WGL_GENLOCK_SOURCE_DIGITAL_SYNC_I3D 0x2048
793 #define WGL_GENLOCK_SOURCE_DIGITAL_FIELD_I3D 0x2049
794 #define WGL_GENLOCK_SOURCE_EDGE_FALLING_I3D 0x204A
795 #define WGL_GENLOCK_SOURCE_EDGE_RISING_I3D 0x204B
796 #define WGL_GENLOCK_SOURCE_EDGE_BOTH_I3D 0x204C
797 
798 typedef BOOL (WINAPI * PFNWGLDISABLEGENLOCKI3DPROC) (HDC hDC);
799 typedef BOOL (WINAPI * PFNWGLENABLEGENLOCKI3DPROC) (HDC hDC);
800 typedef BOOL (WINAPI * PFNWGLGENLOCKSAMPLERATEI3DPROC) (HDC hDC, UINT uRate);
801 typedef BOOL (WINAPI * PFNWGLGENLOCKSOURCEDELAYI3DPROC) (HDC hDC, UINT uDelay);
802 typedef BOOL (WINAPI * PFNWGLGENLOCKSOURCEEDGEI3DPROC) (HDC hDC, UINT uEdge);
803 typedef BOOL (WINAPI * PFNWGLGENLOCKSOURCEI3DPROC) (HDC hDC, UINT uSource);
804 typedef BOOL (WINAPI * PFNWGLGETGENLOCKSAMPLERATEI3DPROC) (HDC hDC, UINT* uRate);
805 typedef BOOL (WINAPI * PFNWGLGETGENLOCKSOURCEDELAYI3DPROC) (HDC hDC, UINT* uDelay);
806 typedef BOOL (WINAPI * PFNWGLGETGENLOCKSOURCEEDGEI3DPROC) (HDC hDC, UINT* uEdge);
807 typedef BOOL (WINAPI * PFNWGLGETGENLOCKSOURCEI3DPROC) (HDC hDC, UINT* uSource);
808 typedef BOOL (WINAPI * PFNWGLISENABLEDGENLOCKI3DPROC) (HDC hDC, BOOL* pFlag);
809 typedef BOOL (WINAPI * PFNWGLQUERYGENLOCKMAXSOURCEDELAYI3DPROC) (HDC hDC, UINT* uMaxLineDelay, UINT *uMaxPixelDelay);
810 
811 #define wglDisableGenlockI3D WGLEW_GET_FUN(__wglewDisableGenlockI3D)
812 #define wglEnableGenlockI3D WGLEW_GET_FUN(__wglewEnableGenlockI3D)
813 #define wglGenlockSampleRateI3D WGLEW_GET_FUN(__wglewGenlockSampleRateI3D)
814 #define wglGenlockSourceDelayI3D WGLEW_GET_FUN(__wglewGenlockSourceDelayI3D)
815 #define wglGenlockSourceEdgeI3D WGLEW_GET_FUN(__wglewGenlockSourceEdgeI3D)
816 #define wglGenlockSourceI3D WGLEW_GET_FUN(__wglewGenlockSourceI3D)
817 #define wglGetGenlockSampleRateI3D WGLEW_GET_FUN(__wglewGetGenlockSampleRateI3D)
818 #define wglGetGenlockSourceDelayI3D WGLEW_GET_FUN(__wglewGetGenlockSourceDelayI3D)
819 #define wglGetGenlockSourceEdgeI3D WGLEW_GET_FUN(__wglewGetGenlockSourceEdgeI3D)
820 #define wglGetGenlockSourceI3D WGLEW_GET_FUN(__wglewGetGenlockSourceI3D)
821 #define wglIsEnabledGenlockI3D WGLEW_GET_FUN(__wglewIsEnabledGenlockI3D)
822 #define wglQueryGenlockMaxSourceDelayI3D WGLEW_GET_FUN(__wglewQueryGenlockMaxSourceDelayI3D)
823 
824 #define WGLEW_I3D_genlock WGLEW_GET_VAR(__WGLEW_I3D_genlock)
825 
826 #endif /* WGL_I3D_genlock */
827 
828 /* -------------------------- WGL_I3D_image_buffer ------------------------- */
829 
830 #ifndef WGL_I3D_image_buffer
831 #define WGL_I3D_image_buffer 1
832 
833 #define WGL_IMAGE_BUFFER_MIN_ACCESS_I3D 0x00000001
834 #define WGL_IMAGE_BUFFER_LOCK_I3D 0x00000002
835 
836 typedef BOOL (WINAPI * PFNWGLASSOCIATEIMAGEBUFFEREVENTSI3DPROC) (HDC hdc, HANDLE* pEvent, LPVOID *pAddress, DWORD *pSize, UINT count);
837 typedef LPVOID (WINAPI * PFNWGLCREATEIMAGEBUFFERI3DPROC) (HDC hDC, DWORD dwSize, UINT uFlags);
838 typedef BOOL (WINAPI * PFNWGLDESTROYIMAGEBUFFERI3DPROC) (HDC hDC, LPVOID pAddress);
839 typedef BOOL (WINAPI * PFNWGLRELEASEIMAGEBUFFEREVENTSI3DPROC) (HDC hdc, LPVOID* pAddress, UINT count);
840 
841 #define wglAssociateImageBufferEventsI3D WGLEW_GET_FUN(__wglewAssociateImageBufferEventsI3D)
842 #define wglCreateImageBufferI3D WGLEW_GET_FUN(__wglewCreateImageBufferI3D)
843 #define wglDestroyImageBufferI3D WGLEW_GET_FUN(__wglewDestroyImageBufferI3D)
844 #define wglReleaseImageBufferEventsI3D WGLEW_GET_FUN(__wglewReleaseImageBufferEventsI3D)
845 
846 #define WGLEW_I3D_image_buffer WGLEW_GET_VAR(__WGLEW_I3D_image_buffer)
847 
848 #endif /* WGL_I3D_image_buffer */
849 
850 /* ------------------------ WGL_I3D_swap_frame_lock ------------------------ */
851 
852 #ifndef WGL_I3D_swap_frame_lock
853 #define WGL_I3D_swap_frame_lock 1
854 
855 typedef BOOL (WINAPI * PFNWGLDISABLEFRAMELOCKI3DPROC) (VOID);
856 typedef BOOL (WINAPI * PFNWGLENABLEFRAMELOCKI3DPROC) (VOID);
857 typedef BOOL (WINAPI * PFNWGLISENABLEDFRAMELOCKI3DPROC) (BOOL* pFlag);
858 typedef BOOL (WINAPI * PFNWGLQUERYFRAMELOCKMASTERI3DPROC) (BOOL* pFlag);
859 
860 #define wglDisableFrameLockI3D WGLEW_GET_FUN(__wglewDisableFrameLockI3D)
861 #define wglEnableFrameLockI3D WGLEW_GET_FUN(__wglewEnableFrameLockI3D)
862 #define wglIsEnabledFrameLockI3D WGLEW_GET_FUN(__wglewIsEnabledFrameLockI3D)
863 #define wglQueryFrameLockMasterI3D WGLEW_GET_FUN(__wglewQueryFrameLockMasterI3D)
864 
865 #define WGLEW_I3D_swap_frame_lock WGLEW_GET_VAR(__WGLEW_I3D_swap_frame_lock)
866 
867 #endif /* WGL_I3D_swap_frame_lock */
868 
869 /* ------------------------ WGL_I3D_swap_frame_usage ----------------------- */
870 
871 #ifndef WGL_I3D_swap_frame_usage
872 #define WGL_I3D_swap_frame_usage 1
873 
874 typedef BOOL (WINAPI * PFNWGLBEGINFRAMETRACKINGI3DPROC) (void);
875 typedef BOOL (WINAPI * PFNWGLENDFRAMETRACKINGI3DPROC) (void);
876 typedef BOOL (WINAPI * PFNWGLGETFRAMEUSAGEI3DPROC) (float* pUsage);
877 typedef BOOL (WINAPI * PFNWGLQUERYFRAMETRACKINGI3DPROC) (DWORD* pFrameCount, DWORD *pMissedFrames, float *pLastMissedUsage);
878 
879 #define wglBeginFrameTrackingI3D WGLEW_GET_FUN(__wglewBeginFrameTrackingI3D)
880 #define wglEndFrameTrackingI3D WGLEW_GET_FUN(__wglewEndFrameTrackingI3D)
881 #define wglGetFrameUsageI3D WGLEW_GET_FUN(__wglewGetFrameUsageI3D)
882 #define wglQueryFrameTrackingI3D WGLEW_GET_FUN(__wglewQueryFrameTrackingI3D)
883 
884 #define WGLEW_I3D_swap_frame_usage WGLEW_GET_VAR(__WGLEW_I3D_swap_frame_usage)
885 
886 #endif /* WGL_I3D_swap_frame_usage */
887 
888 /* --------------------------- WGL_NV_DX_interop --------------------------- */
889 
890 #ifndef WGL_NV_DX_interop
891 #define WGL_NV_DX_interop 1
892 
893 #define WGL_ACCESS_READ_ONLY_NV 0x0000
894 #define WGL_ACCESS_READ_WRITE_NV 0x0001
895 #define WGL_ACCESS_WRITE_DISCARD_NV 0x0002
896 
897 typedef BOOL (WINAPI * PFNWGLDXCLOSEDEVICENVPROC) (HANDLE hDevice);
898 typedef BOOL (WINAPI * PFNWGLDXLOCKOBJECTSNVPROC) (HANDLE hDevice, GLint count, HANDLE* hObjects);
899 typedef BOOL (WINAPI * PFNWGLDXOBJECTACCESSNVPROC) (HANDLE hObject, GLenum access);
900 typedef HANDLE (WINAPI * PFNWGLDXOPENDEVICENVPROC) (void* dxDevice);
901 typedef HANDLE (WINAPI * PFNWGLDXREGISTEROBJECTNVPROC) (HANDLE hDevice, void* dxObject, GLuint name, GLenum type, GLenum access);
902 typedef BOOL (WINAPI * PFNWGLDXSETRESOURCESHAREHANDLENVPROC) (void* dxObject, HANDLE shareHandle);
903 typedef BOOL (WINAPI * PFNWGLDXUNLOCKOBJECTSNVPROC) (HANDLE hDevice, GLint count, HANDLE* hObjects);
904 typedef BOOL (WINAPI * PFNWGLDXUNREGISTEROBJECTNVPROC) (HANDLE hDevice, HANDLE hObject);
905 
906 #define wglDXCloseDeviceNV WGLEW_GET_FUN(__wglewDXCloseDeviceNV)
907 #define wglDXLockObjectsNV WGLEW_GET_FUN(__wglewDXLockObjectsNV)
908 #define wglDXObjectAccessNV WGLEW_GET_FUN(__wglewDXObjectAccessNV)
909 #define wglDXOpenDeviceNV WGLEW_GET_FUN(__wglewDXOpenDeviceNV)
910 #define wglDXRegisterObjectNV WGLEW_GET_FUN(__wglewDXRegisterObjectNV)
911 #define wglDXSetResourceShareHandleNV WGLEW_GET_FUN(__wglewDXSetResourceShareHandleNV)
912 #define wglDXUnlockObjectsNV WGLEW_GET_FUN(__wglewDXUnlockObjectsNV)
913 #define wglDXUnregisterObjectNV WGLEW_GET_FUN(__wglewDXUnregisterObjectNV)
914 
915 #define WGLEW_NV_DX_interop WGLEW_GET_VAR(__WGLEW_NV_DX_interop)
916 
917 #endif /* WGL_NV_DX_interop */
918 
919 /* --------------------------- WGL_NV_DX_interop2 -------------------------- */
920 
921 #ifndef WGL_NV_DX_interop2
922 #define WGL_NV_DX_interop2 1
923 
924 #define WGLEW_NV_DX_interop2 WGLEW_GET_VAR(__WGLEW_NV_DX_interop2)
925 
926 #endif /* WGL_NV_DX_interop2 */
927 
928 /* --------------------------- WGL_NV_copy_image --------------------------- */
929 
930 #ifndef WGL_NV_copy_image
931 #define WGL_NV_copy_image 1
932 
934 
935 #define wglCopyImageSubDataNV WGLEW_GET_FUN(__wglewCopyImageSubDataNV)
936 
937 #define WGLEW_NV_copy_image WGLEW_GET_VAR(__WGLEW_NV_copy_image)
938 
939 #endif /* WGL_NV_copy_image */
940 
941 /* ------------------------ WGL_NV_delay_before_swap ----------------------- */
942 
943 #ifndef WGL_NV_delay_before_swap
944 #define WGL_NV_delay_before_swap 1
945 
946 typedef BOOL (WINAPI * PFNWGLDELAYBEFORESWAPNVPROC) (HDC hDC, GLfloat seconds);
947 
948 #define wglDelayBeforeSwapNV WGLEW_GET_FUN(__wglewDelayBeforeSwapNV)
949 
950 #define WGLEW_NV_delay_before_swap WGLEW_GET_VAR(__WGLEW_NV_delay_before_swap)
951 
952 #endif /* WGL_NV_delay_before_swap */
953 
954 /* -------------------------- WGL_NV_float_buffer -------------------------- */
955 
956 #ifndef WGL_NV_float_buffer
957 #define WGL_NV_float_buffer 1
958 
959 #define WGL_FLOAT_COMPONENTS_NV 0x20B0
960 #define WGL_BIND_TO_TEXTURE_RECTANGLE_FLOAT_R_NV 0x20B1
961 #define WGL_BIND_TO_TEXTURE_RECTANGLE_FLOAT_RG_NV 0x20B2
962 #define WGL_BIND_TO_TEXTURE_RECTANGLE_FLOAT_RGB_NV 0x20B3
963 #define WGL_BIND_TO_TEXTURE_RECTANGLE_FLOAT_RGBA_NV 0x20B4
964 #define WGL_TEXTURE_FLOAT_R_NV 0x20B5
965 #define WGL_TEXTURE_FLOAT_RG_NV 0x20B6
966 #define WGL_TEXTURE_FLOAT_RGB_NV 0x20B7
967 #define WGL_TEXTURE_FLOAT_RGBA_NV 0x20B8
968 
969 #define WGLEW_NV_float_buffer WGLEW_GET_VAR(__WGLEW_NV_float_buffer)
970 
971 #endif /* WGL_NV_float_buffer */
972 
973 /* -------------------------- WGL_NV_gpu_affinity -------------------------- */
974 
975 #ifndef WGL_NV_gpu_affinity
976 #define WGL_NV_gpu_affinity 1
977 
978 #define WGL_ERROR_INCOMPATIBLE_AFFINITY_MASKS_NV 0x20D0
979 #define WGL_ERROR_MISSING_AFFINITY_MASK_NV 0x20D1
980 
981 DECLARE_HANDLE(HGPUNV);
982 typedef struct _GPU_DEVICE {
983  DWORD cb;
984  CHAR DeviceName[32];
985  CHAR DeviceString[128];
986  DWORD Flags;
989 
990 typedef HDC (WINAPI * PFNWGLCREATEAFFINITYDCNVPROC) (const HGPUNV *phGpuList);
991 typedef BOOL (WINAPI * PFNWGLDELETEDCNVPROC) (HDC hdc);
992 typedef BOOL (WINAPI * PFNWGLENUMGPUDEVICESNVPROC) (HGPUNV hGpu, UINT iDeviceIndex, PGPU_DEVICE lpGpuDevice);
993 typedef BOOL (WINAPI * PFNWGLENUMGPUSFROMAFFINITYDCNVPROC) (HDC hAffinityDC, UINT iGpuIndex, HGPUNV *hGpu);
994 typedef BOOL (WINAPI * PFNWGLENUMGPUSNVPROC) (UINT iGpuIndex, HGPUNV *phGpu);
995 
996 #define wglCreateAffinityDCNV WGLEW_GET_FUN(__wglewCreateAffinityDCNV)
997 #define wglDeleteDCNV WGLEW_GET_FUN(__wglewDeleteDCNV)
998 #define wglEnumGpuDevicesNV WGLEW_GET_FUN(__wglewEnumGpuDevicesNV)
999 #define wglEnumGpusFromAffinityDCNV WGLEW_GET_FUN(__wglewEnumGpusFromAffinityDCNV)
1000 #define wglEnumGpusNV WGLEW_GET_FUN(__wglewEnumGpusNV)
1001 
1002 #define WGLEW_NV_gpu_affinity WGLEW_GET_VAR(__WGLEW_NV_gpu_affinity)
1003 
1004 #endif /* WGL_NV_gpu_affinity */
1005 
1006 /* ---------------------- WGL_NV_multisample_coverage ---------------------- */
1007 
1008 #ifndef WGL_NV_multisample_coverage
1009 #define WGL_NV_multisample_coverage 1
1010 
1011 #define WGL_COVERAGE_SAMPLES_NV 0x2042
1012 #define WGL_COLOR_SAMPLES_NV 0x20B9
1013 
1014 #define WGLEW_NV_multisample_coverage WGLEW_GET_VAR(__WGLEW_NV_multisample_coverage)
1015 
1016 #endif /* WGL_NV_multisample_coverage */
1017 
1018 /* -------------------------- WGL_NV_present_video ------------------------- */
1019 
1020 #ifndef WGL_NV_present_video
1021 #define WGL_NV_present_video 1
1022 
1023 #define WGL_NUM_VIDEO_SLOTS_NV 0x20F0
1024 
1025 DECLARE_HANDLE(HVIDEOOUTPUTDEVICENV);
1026 
1027 typedef BOOL (WINAPI * PFNWGLBINDVIDEODEVICENVPROC) (HDC hDc, unsigned int uVideoSlot, HVIDEOOUTPUTDEVICENV hVideoDevice, const int* piAttribList);
1028 typedef int (WINAPI * PFNWGLENUMERATEVIDEODEVICESNVPROC) (HDC hDc, HVIDEOOUTPUTDEVICENV* phDeviceList);
1029 typedef BOOL (WINAPI * PFNWGLQUERYCURRENTCONTEXTNVPROC) (int iAttribute, int* piValue);
1030 
1031 #define wglBindVideoDeviceNV WGLEW_GET_FUN(__wglewBindVideoDeviceNV)
1032 #define wglEnumerateVideoDevicesNV WGLEW_GET_FUN(__wglewEnumerateVideoDevicesNV)
1033 #define wglQueryCurrentContextNV WGLEW_GET_FUN(__wglewQueryCurrentContextNV)
1034 
1035 #define WGLEW_NV_present_video WGLEW_GET_VAR(__WGLEW_NV_present_video)
1036 
1037 #endif /* WGL_NV_present_video */
1038 
1039 /* ---------------------- WGL_NV_render_depth_texture ---------------------- */
1040 
1041 #ifndef WGL_NV_render_depth_texture
1042 #define WGL_NV_render_depth_texture 1
1043 
1044 #define WGL_NO_TEXTURE_ARB 0x2077
1045 #define WGL_BIND_TO_TEXTURE_DEPTH_NV 0x20A3
1046 #define WGL_BIND_TO_TEXTURE_RECTANGLE_DEPTH_NV 0x20A4
1047 #define WGL_DEPTH_TEXTURE_FORMAT_NV 0x20A5
1048 #define WGL_TEXTURE_DEPTH_COMPONENT_NV 0x20A6
1049 #define WGL_DEPTH_COMPONENT_NV 0x20A7
1050 
1051 #define WGLEW_NV_render_depth_texture WGLEW_GET_VAR(__WGLEW_NV_render_depth_texture)
1052 
1053 #endif /* WGL_NV_render_depth_texture */
1054 
1055 /* -------------------- WGL_NV_render_texture_rectangle -------------------- */
1056 
1057 #ifndef WGL_NV_render_texture_rectangle
1058 #define WGL_NV_render_texture_rectangle 1
1059 
1060 #define WGL_BIND_TO_TEXTURE_RECTANGLE_RGB_NV 0x20A0
1061 #define WGL_BIND_TO_TEXTURE_RECTANGLE_RGBA_NV 0x20A1
1062 #define WGL_TEXTURE_RECTANGLE_NV 0x20A2
1063 
1064 #define WGLEW_NV_render_texture_rectangle WGLEW_GET_VAR(__WGLEW_NV_render_texture_rectangle)
1065 
1066 #endif /* WGL_NV_render_texture_rectangle */
1067 
1068 /* --------------------------- WGL_NV_swap_group --------------------------- */
1069 
1070 #ifndef WGL_NV_swap_group
1071 #define WGL_NV_swap_group 1
1072 
1073 typedef BOOL (WINAPI * PFNWGLBINDSWAPBARRIERNVPROC) (GLuint group, GLuint barrier);
1074 typedef BOOL (WINAPI * PFNWGLJOINSWAPGROUPNVPROC) (HDC hDC, GLuint group);
1075 typedef BOOL (WINAPI * PFNWGLQUERYFRAMECOUNTNVPROC) (HDC hDC, GLuint* count);
1076 typedef BOOL (WINAPI * PFNWGLQUERYMAXSWAPGROUPSNVPROC) (HDC hDC, GLuint* maxGroups, GLuint *maxBarriers);
1077 typedef BOOL (WINAPI * PFNWGLQUERYSWAPGROUPNVPROC) (HDC hDC, GLuint* group, GLuint *barrier);
1078 typedef BOOL (WINAPI * PFNWGLRESETFRAMECOUNTNVPROC) (HDC hDC);
1079 
1080 #define wglBindSwapBarrierNV WGLEW_GET_FUN(__wglewBindSwapBarrierNV)
1081 #define wglJoinSwapGroupNV WGLEW_GET_FUN(__wglewJoinSwapGroupNV)
1082 #define wglQueryFrameCountNV WGLEW_GET_FUN(__wglewQueryFrameCountNV)
1083 #define wglQueryMaxSwapGroupsNV WGLEW_GET_FUN(__wglewQueryMaxSwapGroupsNV)
1084 #define wglQuerySwapGroupNV WGLEW_GET_FUN(__wglewQuerySwapGroupNV)
1085 #define wglResetFrameCountNV WGLEW_GET_FUN(__wglewResetFrameCountNV)
1086 
1087 #define WGLEW_NV_swap_group WGLEW_GET_VAR(__WGLEW_NV_swap_group)
1088 
1089 #endif /* WGL_NV_swap_group */
1090 
1091 /* ----------------------- WGL_NV_vertex_array_range ----------------------- */
1092 
1093 #ifndef WGL_NV_vertex_array_range
1094 #define WGL_NV_vertex_array_range 1
1095 
1096 typedef void * (WINAPI * PFNWGLALLOCATEMEMORYNVPROC) (GLsizei size, GLfloat readFrequency, GLfloat writeFrequency, GLfloat priority);
1097 typedef void (WINAPI * PFNWGLFREEMEMORYNVPROC) (void *pointer);
1098 
1099 #define wglAllocateMemoryNV WGLEW_GET_FUN(__wglewAllocateMemoryNV)
1100 #define wglFreeMemoryNV WGLEW_GET_FUN(__wglewFreeMemoryNV)
1101 
1102 #define WGLEW_NV_vertex_array_range WGLEW_GET_VAR(__WGLEW_NV_vertex_array_range)
1103 
1104 #endif /* WGL_NV_vertex_array_range */
1105 
1106 /* -------------------------- WGL_NV_video_capture ------------------------- */
1107 
1108 #ifndef WGL_NV_video_capture
1109 #define WGL_NV_video_capture 1
1110 
1111 #define WGL_UNIQUE_ID_NV 0x20CE
1112 #define WGL_NUM_VIDEO_CAPTURE_SLOTS_NV 0x20CF
1113 
1114 DECLARE_HANDLE(HVIDEOINPUTDEVICENV);
1115 
1116 typedef BOOL (WINAPI * PFNWGLBINDVIDEOCAPTUREDEVICENVPROC) (UINT uVideoSlot, HVIDEOINPUTDEVICENV hDevice);
1117 typedef UINT (WINAPI * PFNWGLENUMERATEVIDEOCAPTUREDEVICESNVPROC) (HDC hDc, HVIDEOINPUTDEVICENV* phDeviceList);
1118 typedef BOOL (WINAPI * PFNWGLLOCKVIDEOCAPTUREDEVICENVPROC) (HDC hDc, HVIDEOINPUTDEVICENV hDevice);
1119 typedef BOOL (WINAPI * PFNWGLQUERYVIDEOCAPTUREDEVICENVPROC) (HDC hDc, HVIDEOINPUTDEVICENV hDevice, int iAttribute, int* piValue);
1120 typedef BOOL (WINAPI * PFNWGLRELEASEVIDEOCAPTUREDEVICENVPROC) (HDC hDc, HVIDEOINPUTDEVICENV hDevice);
1121 
1122 #define wglBindVideoCaptureDeviceNV WGLEW_GET_FUN(__wglewBindVideoCaptureDeviceNV)
1123 #define wglEnumerateVideoCaptureDevicesNV WGLEW_GET_FUN(__wglewEnumerateVideoCaptureDevicesNV)
1124 #define wglLockVideoCaptureDeviceNV WGLEW_GET_FUN(__wglewLockVideoCaptureDeviceNV)
1125 #define wglQueryVideoCaptureDeviceNV WGLEW_GET_FUN(__wglewQueryVideoCaptureDeviceNV)
1126 #define wglReleaseVideoCaptureDeviceNV WGLEW_GET_FUN(__wglewReleaseVideoCaptureDeviceNV)
1127 
1128 #define WGLEW_NV_video_capture WGLEW_GET_VAR(__WGLEW_NV_video_capture)
1129 
1130 #endif /* WGL_NV_video_capture */
1131 
1132 /* -------------------------- WGL_NV_video_output -------------------------- */
1133 
1134 #ifndef WGL_NV_video_output
1135 #define WGL_NV_video_output 1
1136 
1137 #define WGL_BIND_TO_VIDEO_RGB_NV 0x20C0
1138 #define WGL_BIND_TO_VIDEO_RGBA_NV 0x20C1
1139 #define WGL_BIND_TO_VIDEO_RGB_AND_DEPTH_NV 0x20C2
1140 #define WGL_VIDEO_OUT_COLOR_NV 0x20C3
1141 #define WGL_VIDEO_OUT_ALPHA_NV 0x20C4
1142 #define WGL_VIDEO_OUT_DEPTH_NV 0x20C5
1143 #define WGL_VIDEO_OUT_COLOR_AND_ALPHA_NV 0x20C6
1144 #define WGL_VIDEO_OUT_COLOR_AND_DEPTH_NV 0x20C7
1145 #define WGL_VIDEO_OUT_FRAME 0x20C8
1146 #define WGL_VIDEO_OUT_FIELD_1 0x20C9
1147 #define WGL_VIDEO_OUT_FIELD_2 0x20CA
1148 #define WGL_VIDEO_OUT_STACKED_FIELDS_1_2 0x20CB
1149 #define WGL_VIDEO_OUT_STACKED_FIELDS_2_1 0x20CC
1150 
1151 DECLARE_HANDLE(HPVIDEODEV);
1152 
1153 typedef BOOL (WINAPI * PFNWGLBINDVIDEOIMAGENVPROC) (HPVIDEODEV hVideoDevice, HPBUFFERARB hPbuffer, int iVideoBuffer);
1154 typedef BOOL (WINAPI * PFNWGLGETVIDEODEVICENVPROC) (HDC hDC, int numDevices, HPVIDEODEV* hVideoDevice);
1155 typedef BOOL (WINAPI * PFNWGLGETVIDEOINFONVPROC) (HPVIDEODEV hpVideoDevice, unsigned long* pulCounterOutputPbuffer, unsigned long *pulCounterOutputVideo);
1156 typedef BOOL (WINAPI * PFNWGLRELEASEVIDEODEVICENVPROC) (HPVIDEODEV hVideoDevice);
1157 typedef BOOL (WINAPI * PFNWGLRELEASEVIDEOIMAGENVPROC) (HPBUFFERARB hPbuffer, int iVideoBuffer);
1158 typedef BOOL (WINAPI * PFNWGLSENDPBUFFERTOVIDEONVPROC) (HPBUFFERARB hPbuffer, int iBufferType, unsigned long* pulCounterPbuffer, BOOL bBlock);
1159 
1160 #define wglBindVideoImageNV WGLEW_GET_FUN(__wglewBindVideoImageNV)
1161 #define wglGetVideoDeviceNV WGLEW_GET_FUN(__wglewGetVideoDeviceNV)
1162 #define wglGetVideoInfoNV WGLEW_GET_FUN(__wglewGetVideoInfoNV)
1163 #define wglReleaseVideoDeviceNV WGLEW_GET_FUN(__wglewReleaseVideoDeviceNV)
1164 #define wglReleaseVideoImageNV WGLEW_GET_FUN(__wglewReleaseVideoImageNV)
1165 #define wglSendPbufferToVideoNV WGLEW_GET_FUN(__wglewSendPbufferToVideoNV)
1166 
1167 #define WGLEW_NV_video_output WGLEW_GET_VAR(__WGLEW_NV_video_output)
1168 
1169 #endif /* WGL_NV_video_output */
1170 
1171 /* -------------------------- WGL_OML_sync_control ------------------------- */
1172 
1173 #ifndef WGL_OML_sync_control
1174 #define WGL_OML_sync_control 1
1175 
1176 typedef BOOL (WINAPI * PFNWGLGETMSCRATEOMLPROC) (HDC hdc, INT32* numerator, INT32 *denominator);
1177 typedef BOOL (WINAPI * PFNWGLGETSYNCVALUESOMLPROC) (HDC hdc, INT64* ust, INT64 *msc, INT64 *sbc);
1178 typedef INT64 (WINAPI * PFNWGLSWAPBUFFERSMSCOMLPROC) (HDC hdc, INT64 target_msc, INT64 divisor, INT64 remainder);
1179 typedef INT64 (WINAPI * PFNWGLSWAPLAYERBUFFERSMSCOMLPROC) (HDC hdc, INT fuPlanes, INT64 target_msc, INT64 divisor, INT64 remainder);
1180 typedef BOOL (WINAPI * PFNWGLWAITFORMSCOMLPROC) (HDC hdc, INT64 target_msc, INT64 divisor, INT64 remainder, INT64* ust, INT64 *msc, INT64 *sbc);
1181 typedef BOOL (WINAPI * PFNWGLWAITFORSBCOMLPROC) (HDC hdc, INT64 target_sbc, INT64* ust, INT64 *msc, INT64 *sbc);
1182 
1183 #define wglGetMscRateOML WGLEW_GET_FUN(__wglewGetMscRateOML)
1184 #define wglGetSyncValuesOML WGLEW_GET_FUN(__wglewGetSyncValuesOML)
1185 #define wglSwapBuffersMscOML WGLEW_GET_FUN(__wglewSwapBuffersMscOML)
1186 #define wglSwapLayerBuffersMscOML WGLEW_GET_FUN(__wglewSwapLayerBuffersMscOML)
1187 #define wglWaitForMscOML WGLEW_GET_FUN(__wglewWaitForMscOML)
1188 #define wglWaitForSbcOML WGLEW_GET_FUN(__wglewWaitForSbcOML)
1189 
1190 #define WGLEW_OML_sync_control WGLEW_GET_VAR(__WGLEW_OML_sync_control)
1191 
1192 #endif /* WGL_OML_sync_control */
1193 
1194 /* ------------------------------------------------------------------------- */
1195 
1196 #ifdef GLEW_MX
1197 #define WGLEW_FUN_EXPORT
1198 #define WGLEW_VAR_EXPORT
1199 #else
1200 #define WGLEW_FUN_EXPORT GLEW_FUN_EXPORT
1201 #define WGLEW_VAR_EXPORT GLEW_VAR_EXPORT
1202 #endif /* GLEW_MX */
1203 
1204 #ifdef GLEW_MX
1205 struct WGLEWContextStruct
1206 {
1207 #endif /* GLEW_MX */
1208 
1209 WGLEW_FUN_EXPORT PFNWGLSETSTEREOEMITTERSTATE3DLPROC __wglewSetStereoEmitterState3DL;
1210 
1211 WGLEW_FUN_EXPORT PFNWGLBLITCONTEXTFRAMEBUFFERAMDPROC __wglewBlitContextFramebufferAMD;
1212 WGLEW_FUN_EXPORT PFNWGLCREATEASSOCIATEDCONTEXTAMDPROC __wglewCreateAssociatedContextAMD;
1213 WGLEW_FUN_EXPORT PFNWGLCREATEASSOCIATEDCONTEXTATTRIBSAMDPROC __wglewCreateAssociatedContextAttribsAMD;
1214 WGLEW_FUN_EXPORT PFNWGLDELETEASSOCIATEDCONTEXTAMDPROC __wglewDeleteAssociatedContextAMD;
1215 WGLEW_FUN_EXPORT PFNWGLGETCONTEXTGPUIDAMDPROC __wglewGetContextGPUIDAMD;
1216 WGLEW_FUN_EXPORT PFNWGLGETCURRENTASSOCIATEDCONTEXTAMDPROC __wglewGetCurrentAssociatedContextAMD;
1217 WGLEW_FUN_EXPORT PFNWGLGETGPUIDSAMDPROC __wglewGetGPUIDsAMD;
1218 WGLEW_FUN_EXPORT PFNWGLGETGPUINFOAMDPROC __wglewGetGPUInfoAMD;
1219 WGLEW_FUN_EXPORT PFNWGLMAKEASSOCIATEDCONTEXTCURRENTAMDPROC __wglewMakeAssociatedContextCurrentAMD;
1220 
1221 WGLEW_FUN_EXPORT PFNWGLCREATEBUFFERREGIONARBPROC __wglewCreateBufferRegionARB;
1222 WGLEW_FUN_EXPORT PFNWGLDELETEBUFFERREGIONARBPROC __wglewDeleteBufferRegionARB;
1223 WGLEW_FUN_EXPORT PFNWGLRESTOREBUFFERREGIONARBPROC __wglewRestoreBufferRegionARB;
1224 WGLEW_FUN_EXPORT PFNWGLSAVEBUFFERREGIONARBPROC __wglewSaveBufferRegionARB;
1225 
1226 WGLEW_FUN_EXPORT PFNWGLCREATECONTEXTATTRIBSARBPROC __wglewCreateContextAttribsARB;
1227 
1229 
1230 WGLEW_FUN_EXPORT PFNWGLGETCURRENTREADDCARBPROC __wglewGetCurrentReadDCARB;
1231 WGLEW_FUN_EXPORT PFNWGLMAKECONTEXTCURRENTARBPROC __wglewMakeContextCurrentARB;
1232 
1233 WGLEW_FUN_EXPORT PFNWGLCREATEPBUFFERARBPROC __wglewCreatePbufferARB;
1234 WGLEW_FUN_EXPORT PFNWGLDESTROYPBUFFERARBPROC __wglewDestroyPbufferARB;
1235 WGLEW_FUN_EXPORT PFNWGLGETPBUFFERDCARBPROC __wglewGetPbufferDCARB;
1236 WGLEW_FUN_EXPORT PFNWGLQUERYPBUFFERARBPROC __wglewQueryPbufferARB;
1237 WGLEW_FUN_EXPORT PFNWGLRELEASEPBUFFERDCARBPROC __wglewReleasePbufferDCARB;
1238 
1239 WGLEW_FUN_EXPORT PFNWGLCHOOSEPIXELFORMATARBPROC __wglewChoosePixelFormatARB;
1240 WGLEW_FUN_EXPORT PFNWGLGETPIXELFORMATATTRIBFVARBPROC __wglewGetPixelFormatAttribfvARB;
1241 WGLEW_FUN_EXPORT PFNWGLGETPIXELFORMATATTRIBIVARBPROC __wglewGetPixelFormatAttribivARB;
1242 
1243 WGLEW_FUN_EXPORT PFNWGLBINDTEXIMAGEARBPROC __wglewBindTexImageARB;
1244 WGLEW_FUN_EXPORT PFNWGLRELEASETEXIMAGEARBPROC __wglewReleaseTexImageARB;
1245 WGLEW_FUN_EXPORT PFNWGLSETPBUFFERATTRIBARBPROC __wglewSetPbufferAttribARB;
1246 
1247 WGLEW_FUN_EXPORT PFNWGLBINDDISPLAYCOLORTABLEEXTPROC __wglewBindDisplayColorTableEXT;
1248 WGLEW_FUN_EXPORT PFNWGLCREATEDISPLAYCOLORTABLEEXTPROC __wglewCreateDisplayColorTableEXT;
1249 WGLEW_FUN_EXPORT PFNWGLDESTROYDISPLAYCOLORTABLEEXTPROC __wglewDestroyDisplayColorTableEXT;
1250 WGLEW_FUN_EXPORT PFNWGLLOADDISPLAYCOLORTABLEEXTPROC __wglewLoadDisplayColorTableEXT;
1251 
1253 
1254 WGLEW_FUN_EXPORT PFNWGLGETCURRENTREADDCEXTPROC __wglewGetCurrentReadDCEXT;
1255 WGLEW_FUN_EXPORT PFNWGLMAKECONTEXTCURRENTEXTPROC __wglewMakeContextCurrentEXT;
1256 
1257 WGLEW_FUN_EXPORT PFNWGLCREATEPBUFFEREXTPROC __wglewCreatePbufferEXT;
1258 WGLEW_FUN_EXPORT PFNWGLDESTROYPBUFFEREXTPROC __wglewDestroyPbufferEXT;
1259 WGLEW_FUN_EXPORT PFNWGLGETPBUFFERDCEXTPROC __wglewGetPbufferDCEXT;
1260 WGLEW_FUN_EXPORT PFNWGLQUERYPBUFFEREXTPROC __wglewQueryPbufferEXT;
1261 WGLEW_FUN_EXPORT PFNWGLRELEASEPBUFFERDCEXTPROC __wglewReleasePbufferDCEXT;
1262 
1263 WGLEW_FUN_EXPORT PFNWGLCHOOSEPIXELFORMATEXTPROC __wglewChoosePixelFormatEXT;
1264 WGLEW_FUN_EXPORT PFNWGLGETPIXELFORMATATTRIBFVEXTPROC __wglewGetPixelFormatAttribfvEXT;
1265 WGLEW_FUN_EXPORT PFNWGLGETPIXELFORMATATTRIBIVEXTPROC __wglewGetPixelFormatAttribivEXT;
1266 
1267 WGLEW_FUN_EXPORT PFNWGLGETSWAPINTERVALEXTPROC __wglewGetSwapIntervalEXT;
1268 WGLEW_FUN_EXPORT PFNWGLSWAPINTERVALEXTPROC __wglewSwapIntervalEXT;
1269 
1270 WGLEW_FUN_EXPORT PFNWGLGETDIGITALVIDEOPARAMETERSI3DPROC __wglewGetDigitalVideoParametersI3D;
1271 WGLEW_FUN_EXPORT PFNWGLSETDIGITALVIDEOPARAMETERSI3DPROC __wglewSetDigitalVideoParametersI3D;
1272 
1273 WGLEW_FUN_EXPORT PFNWGLGETGAMMATABLEI3DPROC __wglewGetGammaTableI3D;
1274 WGLEW_FUN_EXPORT PFNWGLGETGAMMATABLEPARAMETERSI3DPROC __wglewGetGammaTableParametersI3D;
1275 WGLEW_FUN_EXPORT PFNWGLSETGAMMATABLEI3DPROC __wglewSetGammaTableI3D;
1276 WGLEW_FUN_EXPORT PFNWGLSETGAMMATABLEPARAMETERSI3DPROC __wglewSetGammaTableParametersI3D;
1277 
1278 WGLEW_FUN_EXPORT PFNWGLDISABLEGENLOCKI3DPROC __wglewDisableGenlockI3D;
1279 WGLEW_FUN_EXPORT PFNWGLENABLEGENLOCKI3DPROC __wglewEnableGenlockI3D;
1280 WGLEW_FUN_EXPORT PFNWGLGENLOCKSAMPLERATEI3DPROC __wglewGenlockSampleRateI3D;
1281 WGLEW_FUN_EXPORT PFNWGLGENLOCKSOURCEDELAYI3DPROC __wglewGenlockSourceDelayI3D;
1282 WGLEW_FUN_EXPORT PFNWGLGENLOCKSOURCEEDGEI3DPROC __wglewGenlockSourceEdgeI3D;
1283 WGLEW_FUN_EXPORT PFNWGLGENLOCKSOURCEI3DPROC __wglewGenlockSourceI3D;
1284 WGLEW_FUN_EXPORT PFNWGLGETGENLOCKSAMPLERATEI3DPROC __wglewGetGenlockSampleRateI3D;
1285 WGLEW_FUN_EXPORT PFNWGLGETGENLOCKSOURCEDELAYI3DPROC __wglewGetGenlockSourceDelayI3D;
1286 WGLEW_FUN_EXPORT PFNWGLGETGENLOCKSOURCEEDGEI3DPROC __wglewGetGenlockSourceEdgeI3D;
1287 WGLEW_FUN_EXPORT PFNWGLGETGENLOCKSOURCEI3DPROC __wglewGetGenlockSourceI3D;
1288 WGLEW_FUN_EXPORT PFNWGLISENABLEDGENLOCKI3DPROC __wglewIsEnabledGenlockI3D;
1289 WGLEW_FUN_EXPORT PFNWGLQUERYGENLOCKMAXSOURCEDELAYI3DPROC __wglewQueryGenlockMaxSourceDelayI3D;
1290 
1291 WGLEW_FUN_EXPORT PFNWGLASSOCIATEIMAGEBUFFEREVENTSI3DPROC __wglewAssociateImageBufferEventsI3D;
1292 WGLEW_FUN_EXPORT PFNWGLCREATEIMAGEBUFFERI3DPROC __wglewCreateImageBufferI3D;
1293 WGLEW_FUN_EXPORT PFNWGLDESTROYIMAGEBUFFERI3DPROC __wglewDestroyImageBufferI3D;
1294 WGLEW_FUN_EXPORT PFNWGLRELEASEIMAGEBUFFEREVENTSI3DPROC __wglewReleaseImageBufferEventsI3D;
1295 
1296 WGLEW_FUN_EXPORT PFNWGLDISABLEFRAMELOCKI3DPROC __wglewDisableFrameLockI3D;
1297 WGLEW_FUN_EXPORT PFNWGLENABLEFRAMELOCKI3DPROC __wglewEnableFrameLockI3D;
1298 WGLEW_FUN_EXPORT PFNWGLISENABLEDFRAMELOCKI3DPROC __wglewIsEnabledFrameLockI3D;
1299 WGLEW_FUN_EXPORT PFNWGLQUERYFRAMELOCKMASTERI3DPROC __wglewQueryFrameLockMasterI3D;
1300 
1301 WGLEW_FUN_EXPORT PFNWGLBEGINFRAMETRACKINGI3DPROC __wglewBeginFrameTrackingI3D;
1302 WGLEW_FUN_EXPORT PFNWGLENDFRAMETRACKINGI3DPROC __wglewEndFrameTrackingI3D;
1303 WGLEW_FUN_EXPORT PFNWGLGETFRAMEUSAGEI3DPROC __wglewGetFrameUsageI3D;
1304 WGLEW_FUN_EXPORT PFNWGLQUERYFRAMETRACKINGI3DPROC __wglewQueryFrameTrackingI3D;
1305 
1306 WGLEW_FUN_EXPORT PFNWGLDXCLOSEDEVICENVPROC __wglewDXCloseDeviceNV;
1307 WGLEW_FUN_EXPORT PFNWGLDXLOCKOBJECTSNVPROC __wglewDXLockObjectsNV;
1308 WGLEW_FUN_EXPORT PFNWGLDXOBJECTACCESSNVPROC __wglewDXObjectAccessNV;
1309 WGLEW_FUN_EXPORT PFNWGLDXOPENDEVICENVPROC __wglewDXOpenDeviceNV;
1310 WGLEW_FUN_EXPORT PFNWGLDXREGISTEROBJECTNVPROC __wglewDXRegisterObjectNV;
1311 WGLEW_FUN_EXPORT PFNWGLDXSETRESOURCESHAREHANDLENVPROC __wglewDXSetResourceShareHandleNV;
1312 WGLEW_FUN_EXPORT PFNWGLDXUNLOCKOBJECTSNVPROC __wglewDXUnlockObjectsNV;
1313 WGLEW_FUN_EXPORT PFNWGLDXUNREGISTEROBJECTNVPROC __wglewDXUnregisterObjectNV;
1314 
1315 WGLEW_FUN_EXPORT PFNWGLCOPYIMAGESUBDATANVPROC __wglewCopyImageSubDataNV;
1316 
1317 WGLEW_FUN_EXPORT PFNWGLDELAYBEFORESWAPNVPROC __wglewDelayBeforeSwapNV;
1318 
1319 WGLEW_FUN_EXPORT PFNWGLCREATEAFFINITYDCNVPROC __wglewCreateAffinityDCNV;
1321 WGLEW_FUN_EXPORT PFNWGLENUMGPUDEVICESNVPROC __wglewEnumGpuDevicesNV;
1322 WGLEW_FUN_EXPORT PFNWGLENUMGPUSFROMAFFINITYDCNVPROC __wglewEnumGpusFromAffinityDCNV;
1324 
1325 WGLEW_FUN_EXPORT PFNWGLBINDVIDEODEVICENVPROC __wglewBindVideoDeviceNV;
1326 WGLEW_FUN_EXPORT PFNWGLENUMERATEVIDEODEVICESNVPROC __wglewEnumerateVideoDevicesNV;
1327 WGLEW_FUN_EXPORT PFNWGLQUERYCURRENTCONTEXTNVPROC __wglewQueryCurrentContextNV;
1328 
1329 WGLEW_FUN_EXPORT PFNWGLBINDSWAPBARRIERNVPROC __wglewBindSwapBarrierNV;
1330 WGLEW_FUN_EXPORT PFNWGLJOINSWAPGROUPNVPROC __wglewJoinSwapGroupNV;
1331 WGLEW_FUN_EXPORT PFNWGLQUERYFRAMECOUNTNVPROC __wglewQueryFrameCountNV;
1332 WGLEW_FUN_EXPORT PFNWGLQUERYMAXSWAPGROUPSNVPROC __wglewQueryMaxSwapGroupsNV;
1333 WGLEW_FUN_EXPORT PFNWGLQUERYSWAPGROUPNVPROC __wglewQuerySwapGroupNV;
1334 WGLEW_FUN_EXPORT PFNWGLRESETFRAMECOUNTNVPROC __wglewResetFrameCountNV;
1335 
1337 WGLEW_FUN_EXPORT PFNWGLFREEMEMORYNVPROC __wglewFreeMemoryNV;
1338 
1339 WGLEW_FUN_EXPORT PFNWGLBINDVIDEOCAPTUREDEVICENVPROC __wglewBindVideoCaptureDeviceNV;
1340 WGLEW_FUN_EXPORT PFNWGLENUMERATEVIDEOCAPTUREDEVICESNVPROC __wglewEnumerateVideoCaptureDevicesNV;
1341 WGLEW_FUN_EXPORT PFNWGLLOCKVIDEOCAPTUREDEVICENVPROC __wglewLockVideoCaptureDeviceNV;
1342 WGLEW_FUN_EXPORT PFNWGLQUERYVIDEOCAPTUREDEVICENVPROC __wglewQueryVideoCaptureDeviceNV;
1343 WGLEW_FUN_EXPORT PFNWGLRELEASEVIDEOCAPTUREDEVICENVPROC __wglewReleaseVideoCaptureDeviceNV;
1344 
1345 WGLEW_FUN_EXPORT PFNWGLBINDVIDEOIMAGENVPROC __wglewBindVideoImageNV;
1346 WGLEW_FUN_EXPORT PFNWGLGETVIDEODEVICENVPROC __wglewGetVideoDeviceNV;
1347 WGLEW_FUN_EXPORT PFNWGLGETVIDEOINFONVPROC __wglewGetVideoInfoNV;
1348 WGLEW_FUN_EXPORT PFNWGLRELEASEVIDEODEVICENVPROC __wglewReleaseVideoDeviceNV;
1349 WGLEW_FUN_EXPORT PFNWGLRELEASEVIDEOIMAGENVPROC __wglewReleaseVideoImageNV;
1350 WGLEW_FUN_EXPORT PFNWGLSENDPBUFFERTOVIDEONVPROC __wglewSendPbufferToVideoNV;
1351 
1352 WGLEW_FUN_EXPORT PFNWGLGETMSCRATEOMLPROC __wglewGetMscRateOML;
1353 WGLEW_FUN_EXPORT PFNWGLGETSYNCVALUESOMLPROC __wglewGetSyncValuesOML;
1354 WGLEW_FUN_EXPORT PFNWGLSWAPBUFFERSMSCOMLPROC __wglewSwapBuffersMscOML;
1355 WGLEW_FUN_EXPORT PFNWGLSWAPLAYERBUFFERSMSCOMLPROC __wglewSwapLayerBuffersMscOML;
1356 WGLEW_FUN_EXPORT PFNWGLWAITFORMSCOMLPROC __wglewWaitForMscOML;
1357 WGLEW_FUN_EXPORT PFNWGLWAITFORSBCOMLPROC __wglewWaitForSbcOML;
1412 
1413 #ifdef GLEW_MX
1414 }; /* WGLEWContextStruct */
1415 #endif /* GLEW_MX */
1416 
1417 /* ------------------------------------------------------------------------- */
1418 
1419 #ifdef GLEW_MX
1420 
1421 typedef struct WGLEWContextStruct WGLEWContext;
1422 GLEWAPI GLenum GLEWAPIENTRY wglewContextInit (WGLEWContext *ctx);
1423 GLEWAPI GLboolean GLEWAPIENTRY wglewContextIsSupported (const WGLEWContext *ctx, const char *name);
1424 
1425 #define wglewInit() wglewContextInit(wglewGetContext())
1426 #define wglewIsSupported(x) wglewContextIsSupported(wglewGetContext(), x)
1427 
1428 #define WGLEW_GET_VAR(x) (*(const GLboolean*)&(wglewGetContext()->x))
1429 #define WGLEW_GET_FUN(x) wglewGetContext()->x
1430 
1431 #else /* GLEW_MX */
1432 
1433 #define WGLEW_GET_VAR(x) (*(const GLboolean*)&x)
1434 #define WGLEW_GET_FUN(x) x
1435 
1436 GLEWAPI GLboolean GLEWAPIENTRY wglewIsSupported (const char *name);
1437 
1438 #endif /* GLEW_MX */
1439 
1440 GLEWAPI GLboolean GLEWAPIENTRY wglewGetExtension (const char *name);
1441 
1442 #ifdef __cplusplus
1443 }
1444 #endif
1445 
1446 #undef GLEWAPI
1447 
1448 #endif /* __wglew_h__ */
WGLEW_FUN_EXPORT PFNWGLDXUNREGISTEROBJECTNVPROC __wglewDXUnregisterObjectNV
Definition: wglew.h:1313
HANDLE * pEvent
Definition: wglew.h:836
DECLARE_HANDLE(HPBUFFERARB)
DWORD dwSize
Definition: wglew.h:837
WGLEW_FUN_EXPORT PFNWGLCREATEPBUFFEREXTPROC __wglewCreatePbufferEXT
Definition: wglew.h:1257
typedef HPBUFFEREXT(WINAPI *PFNWGLCREATEPBUFFEREXTPROC)(HDC hDC
WGLEW_FUN_EXPORT PFNWGLBINDVIDEOIMAGENVPROC __wglewBindVideoImageNV
Definition: wglew.h:1345
WGLEW_FUN_EXPORT PFNWGLWAITFORSBCOMLPROC __wglewWaitForSbcOML
Definition: wglew.h:1357
WGLEW_FUN_EXPORT PFNWGLGETMSCRATEOMLPROC __wglewGetMscRateOML
Definition: wglew.h:1352
WGLEW_VAR_EXPORT GLboolean __WGLEW_NV_render_texture_rectangle
Definition: wglew.h:1406
WGLEW_FUN_EXPORT PFNWGLGETGPUIDSAMDPROC __wglewGetGPUIDsAMD
Definition: wglew.h:1217
GLuint GLenum GLint GLint GLint GLint HGLRC hDstRC
Definition: wglew.h:933
unsigned int GLuint
Definition: glew.h:276
const int const FLOAT UINT int UINT * nNumFormats
Definition: wglew.h:385
WGLEW_FUN_EXPORT PFNWGLGENLOCKSOURCEDELAYI3DPROC __wglewGenlockSourceDelayI3D
Definition: wglew.h:1281
WGLEW_FUN_EXPORT PFNWGLQUERYPBUFFERARBPROC __wglewQueryPbufferARB
Definition: wglew.h:1236
WGLEW_FUN_EXPORT PFNWGLDELAYBEFORESWAPNVPROC __wglewDelayBeforeSwapNV
Definition: wglew.h:1317
WGLEW_FUN_EXPORT PFNWGLGETSYNCVALUESOMLPROC __wglewGetSyncValuesOML
Definition: wglew.h:1353
GLuint GLenum GLint GLint GLint GLint HGLRC GLuint GLenum dstTarget
Definition: wglew.h:933
WGLEW_VAR_EXPORT GLboolean __WGLEW_NV_multisample_coverage
Definition: wglew.h:1403
#define GLEWAPIENTRY
Definition: glew.h:262
int iAttribute
Definition: wglew.h:317
int int iWidth
Definition: wglew.h:314
WGLEW_FUN_EXPORT PFNWGLCREATEASSOCIATEDCONTEXTAMDPROC __wglewCreateAssociatedContextAMD
Definition: wglew.h:1212
WGLEW_FUN_EXPORT PFNWGLQUERYGENLOCKMAXSOURCEDELAYI3DPROC __wglewQueryGenlockMaxSourceDelayI3D
Definition: wglew.h:1289
WGLEW_FUN_EXPORT PFNWGLQUERYFRAMETRACKINGI3DPROC __wglewQueryFrameTrackingI3D
Definition: wglew.h:1304
WGLEW_FUN_EXPORT PFNWGLCREATECONTEXTATTRIBSARBPROC __wglewCreateContextAttribsARB
Definition: wglew.h:1226
HANDLE LPVOID DWORD * pSize
Definition: wglew.h:836
GLint GLint GLint GLint GLint GLint dstY0
Definition: wglew.h:138
typedef VOID(WINAPI *PFNWGLBLITCONTEXTFRAMEBUFFERAMDPROC)(HGLRC dstCtx
GLint GLint GLint GLint GLint GLint GLint GLint GLbitfield GLenum filter
Definition: wglew.h:138
WGLEW_FUN_EXPORT PFNWGLISENABLEDGENLOCKI3DPROC __wglewIsEnabledGenlockI3D
Definition: wglew.h:1288
WGLEW_FUN_EXPORT PFNWGLWAITFORMSCOMLPROC __wglewWaitForMscOML
Definition: wglew.h:1356
WGLEW_FUN_EXPORT PFNWGLDXLOCKOBJECTSNVPROC __wglewDXLockObjectsNV
Definition: wglew.h:1307
GLuint GLenum GLint GLint GLint GLint HGLRC GLuint GLenum GLint dstLevel
Definition: wglew.h:933
GLint GLint GLint GLint srcY1
Definition: wglew.h:138
WGLEW_FUN_EXPORT PFNWGLGETEXTENSIONSSTRINGEXTPROC __wglewGetExtensionsStringEXT
Definition: wglew.h:1252
WGLEW_FUN_EXPORT PFNWGLCREATEASSOCIATEDCONTEXTATTRIBSAMDPROC __wglewCreateAssociatedContextAttribsAMD
Definition: wglew.h:1213
WGLEW_FUN_EXPORT PFNWGLGETGAMMATABLEI3DPROC __wglewGetGammaTableI3D
Definition: wglew.h:1273
HDC HGLRC hglrc
Definition: wglew.h:277
WGLEW_FUN_EXPORT PFNWGLBINDSWAPBARRIERNVPROC __wglewBindSwapBarrierNV
Definition: wglew.h:1329
WGLEW_VAR_EXPORT GLboolean __WGLEW_EXT_extensions_string
Definition: wglew.h:1382
WGLEW_FUN_EXPORT PFNWGLCREATEBUFFERREGIONARBPROC __wglewCreateBufferRegionARB
Definition: wglew.h:1221
WGLEW_VAR_EXPORT GLboolean __WGLEW_EXT_pixel_format
Definition: wglew.h:1387
HVIDEOINPUTDEVICENV hDevice
Definition: wglew.h:1116
WGLEW_VAR_EXPORT GLboolean __WGLEW_ARB_buffer_region
Definition: wglew.h:1361
WGLEW_FUN_EXPORT PFNWGLDISABLEGENLOCKI3DPROC __wglewDisableGenlockI3D
Definition: wglew.h:1278
WGLEW_VAR_EXPORT GLboolean __WGLEW_NV_DX_interop
Definition: wglew.h:1397
WGLEW_FUN_EXPORT PFNWGLDESTROYDISPLAYCOLORTABLEEXTPROC __wglewDestroyDisplayColorTableEXT
Definition: wglew.h:1249
GLuint GLenum GLint GLint GLint GLint srcZ
Definition: wglew.h:933
GLint HANDLE * hObjects
Definition: wglew.h:898
typedef HDC(WINAPI *PFNWGLGETCURRENTREADDCARBPROC)(VOID)
GLuint GLenum srcTarget
Definition: wglew.h:933
WGLEW_FUN_EXPORT PFNWGLBLITCONTEXTFRAMEBUFFERAMDPROC __wglewBlitContextFramebufferAMD
Definition: wglew.h:1211
WGLEW_VAR_EXPORT GLboolean __WGLEW_3DL_stereo_control
Definition: wglew.h:1359
unsigned int HVIDEOOUTPUTDEVICENV hVideoDevice
Definition: wglew.h:1027
WGLEW_VAR_EXPORT GLboolean __WGLEW_NV_vertex_array_range
Definition: wglew.h:1408
HANDLE LPVOID * pAddress
Definition: wglew.h:836
unsigned short GLushort
Definition: glew.h:283
WGLEW_VAR_EXPORT GLboolean __WGLEW_NV_gpu_affinity
Definition: wglew.h:1402
unsigned long unsigned long * pulCounterOutputVideo
Definition: wglew.h:1155
unsigned long * pulCounterOutputPbuffer
Definition: wglew.h:1155
GLuint group
Definition: wglew.h:1074
#define GLEWAPI
Definition: wglew.h:84
WGLEW_FUN_EXPORT PFNWGLGETGENLOCKSOURCEI3DPROC __wglewGetGenlockSourceI3D
Definition: wglew.h:1287
WGLEW_VAR_EXPORT GLboolean __WGLEW_NV_render_depth_texture
Definition: wglew.h:1405
WGLEW_FUN_EXPORT PFNWGLDELETEASSOCIATEDCONTEXTAMDPROC __wglewDeleteAssociatedContextAMD
Definition: wglew.h:1214
WGLEW_FUN_EXPORT PFNWGLASSOCIATEIMAGEBUFFEREVENTSI3DPROC __wglewAssociateImageBufferEventsI3D
Definition: wglew.h:1291
WGLEW_FUN_EXPORT PFNWGLSWAPLAYERBUFFERSMSCOMLPROC __wglewSwapLayerBuffersMscOML
Definition: wglew.h:1355
WGLEW_FUN_EXPORT PFNWGLLOCKVIDEOCAPTUREDEVICENVPROC __wglewLockVideoCaptureDeviceNV
Definition: wglew.h:1341
WGLEW_FUN_EXPORT PFNWGLLOADDISPLAYCOLORTABLEEXTPROC __wglewLoadDisplayColorTableEXT
Definition: wglew.h:1250
INT GLenum UINT void * data
Definition: wglew.h:145
GLint srcX0
Definition: wglew.h:138
WGLEW_FUN_EXPORT PFNWGLBINDDISPLAYCOLORTABLEEXTPROC __wglewBindDisplayColorTableEXT
Definition: wglew.h:1247
WGLEW_VAR_EXPORT GLboolean __WGLEW_I3D_digital_video_control
Definition: wglew.h:1391
WGLEW_FUN_EXPORT PFNWGLGETVIDEODEVICENVPROC __wglewGetVideoDeviceNV
Definition: wglew.h:1346
UINT iGpuIndex
Definition: wglew.h:993
const int const FLOAT UINT int * piFormats
Definition: wglew.h:385
typedef LPVOID(WINAPI *PFNWGLCREATEIMAGEBUFFERI3DPROC)(HDC hDC
UINT HGPUNV * hGpu
Definition: wglew.h:993
WGLEW_VAR_EXPORT GLboolean __WGLEW_EXT_pixel_format_packed_float
Definition: wglew.h:1388
WGLEW_FUN_EXPORT PFNWGLQUERYSWAPGROUPNVPROC __wglewQuerySwapGroupNV
Definition: wglew.h:1333
int int int iHeight
Definition: wglew.h:314
WGLEW_VAR_EXPORT GLboolean __WGLEW_EXT_multisample
Definition: wglew.h:1385
INT64 target_msc
Definition: wglew.h:1178
WGLEW_FUN_EXPORT PFNWGLGETPIXELFORMATATTRIBIVEXTPROC __wglewGetPixelFormatAttribivEXT
Definition: wglew.h:1265
WGLEW_VAR_EXPORT GLboolean __WGLEW_ARB_robustness_share_group_isolation
Definition: wglew.h:1375
WGLEW_FUN_EXPORT PFNWGLGETFRAMEUSAGEI3DPROC __wglewGetFrameUsageI3D
Definition: wglew.h:1303
int UINT uType
Definition: wglew.h:172
WGLEW_VAR_EXPORT GLboolean __WGLEW_NV_delay_before_swap
Definition: wglew.h:1400
WGLEW_FUN_EXPORT PFNWGLSETGAMMATABLEPARAMETERSI3DPROC __wglewSetGammaTableParametersI3D
Definition: wglew.h:1276
INT64 target_sbc
Definition: wglew.h:1181
WGLEW_VAR_EXPORT GLboolean __WGLEW_I3D_image_buffer
Definition: wglew.h:1394
unsigned int GLenum
Definition: glew.h:274
WGLEW_FUN_EXPORT PFNWGLGETCURRENTASSOCIATEDCONTEXTAMDPROC __wglewGetCurrentAssociatedContextAMD
Definition: wglew.h:1216
CHAR DeviceName[32]
Definition: wglew.h:984
GLuint srcName
Definition: wglew.h:933
UINT uSource
Definition: wglew.h:803
void GLuint name
Definition: wglew.h:901
WGLEW_FUN_EXPORT PFNWGLSETSTEREOEMITTERSTATE3DLPROC __wglewSetStereoEmitterState3DL
Definition: wglew.h:1209
WGLEW_FUN_EXPORT PFNWGLJOINSWAPGROUPNVPROC __wglewJoinSwapGroupNV
Definition: wglew.h:1330
GLint GLint GLint srcX1
Definition: wglew.h:138
RECT rcVirtualScreen
Definition: wglew.h:987
WGLEW_FUN_EXPORT PFNWGLCREATEPBUFFERARBPROC __wglewCreatePbufferARB
Definition: wglew.h:1233
float GLfloat
Definition: glew.h:285
int int int const int * piAttribList
Definition: wglew.h:314
int int y
Definition: wglew.h:174
WGLEW_FUN_EXPORT PFNWGLSWAPINTERVALEXTPROC __wglewSwapIntervalEXT
Definition: wglew.h:1268
HPBUFFERARB int iVideoBuffer
Definition: wglew.h:1153
WGLEW_FUN_EXPORT PFNWGLDXREGISTEROBJECTNVPROC __wglewDXRegisterObjectNV
Definition: wglew.h:1310
const char *WINAPI * PFNWGLGETEXTENSIONSSTRINGEXTPROC(void)
Definition: wglew.h:562
WGLEW_FUN_EXPORT PFNWGLENUMGPUSFROMAFFINITYDCNVPROC __wglewEnumGpusFromAffinityDCNV
Definition: wglew.h:1322
WGLEW_FUN_EXPORT PFNWGLSWAPBUFFERSMSCOMLPROC __wglewSwapBuffersMscOML
Definition: wglew.h:1354
GLuint GLenum GLint GLint GLint GLint HGLRC GLuint GLenum GLint GLint GLint GLint dstZ
Definition: wglew.h:933
WGLEW_VAR_EXPORT GLboolean __WGLEW_3DFX_multisample
Definition: wglew.h:1358
WGLEW_FUN_EXPORT PFNWGLGETCURRENTREADDCEXTPROC __wglewGetCurrentReadDCEXT
Definition: wglew.h:1254
WGLEW_FUN_EXPORT PFNWGLQUERYFRAMECOUNTNVPROC __wglewQueryFrameCountNV
Definition: wglew.h:1331
WGLEW_FUN_EXPORT PFNWGLGETDIGITALVIDEOPARAMETERSI3DPROC __wglewGetDigitalVideoParametersI3D
Definition: wglew.h:1270
GLuint length
Definition: wglew.h:546
INT32 * numerator
Definition: wglew.h:1176
WGLEW_FUN_EXPORT PFNWGLCHOOSEPIXELFORMATEXTPROC __wglewChoosePixelFormatEXT
Definition: wglew.h:1263
INT64 INT64 * msc
Definition: wglew.h:1177
WGLEW_VAR_EXPORT GLboolean __WGLEW_NV_swap_group
Definition: wglew.h:1407
typedef BOOL(WINAPI *PFNWGLSETSTEREOEMITTERSTATE3DLPROC)(HDC hDC
GLuint GLuint * maxBarriers
Definition: wglew.h:1076
WGLEW_FUN_EXPORT PFNWGLENABLEFRAMELOCKI3DPROC __wglewEnableFrameLockI3D
Definition: wglew.h:1297
typedef INT(WINAPI *PFNWGLGETGPUINFOAMDPROC)(UINT id
INT64 INT64 divisor
Definition: wglew.h:1178
GLuint id
Definition: glew.h:1678
GLint GLint GLint GLint GLint GLint GLint GLint dstY1
Definition: wglew.h:138
WGLEW_VAR_EXPORT GLboolean __WGLEW_EXT_swap_control_tear
Definition: wglew.h:1390
const int const FLOAT * pfAttribFList
Definition: wglew.h:385
GLuint GLenum GLint GLint GLint GLint HGLRC GLuint GLenum GLint GLint GLint GLint GLsizei GLsizei GLsizei depth
Definition: wglew.h:933
WGLEW_VAR_EXPORT GLboolean __WGLEW_ARB_make_current_read
Definition: wglew.h:1368
WGLEW_FUN_EXPORT PFNWGLGETPIXELFORMATATTRIBFVARBPROC __wglewGetPixelFormatAttribfvARB
Definition: wglew.h:1240
WGLEW_FUN_EXPORT PFNWGLDESTROYPBUFFERARBPROC __wglewDestroyPbufferARB
Definition: wglew.h:1234
int int int int int xSrc
Definition: wglew.h:174
const int const FLOAT UINT nMaxFormats
Definition: wglew.h:385
WGLEW_VAR_EXPORT GLboolean __WGLEW_ATI_pixel_format_float
Definition: wglew.h:1376
WGLEW_VAR_EXPORT GLboolean __WGLEW_ARB_create_context
Definition: wglew.h:1363
WGLEW_FUN_EXPORT PFNWGLDESTROYPBUFFEREXTPROC __wglewDestroyPbufferEXT
Definition: wglew.h:1258
INT32 INT32 * denominator
Definition: wglew.h:1176
WGLEW_FUN_EXPORT PFNWGLGETCONTEXTGPUIDAMDPROC __wglewGetContextGPUIDAMD
Definition: wglew.h:1215
UINT PGPU_DEVICE lpGpuDevice
Definition: wglew.h:992
WGLEW_VAR_EXPORT GLboolean __WGLEW_ARB_pbuffer
Definition: wglew.h:1370
int int int int height
Definition: wglew.h:174
HANDLE shareHandle
Definition: wglew.h:902
#define WGLEW_FUN_EXPORT
Definition: wglew.h:1200
DWORD UINT uFlags
Definition: wglew.h:837
WGLEW_FUN_EXPORT PFNWGLGETVIDEOINFONVPROC __wglewGetVideoInfoNV
Definition: wglew.h:1347
HVIDEOOUTPUTDEVICENV * phDeviceList
Definition: wglew.h:1028
WGLEW_FUN_EXPORT PFNWGLSETGAMMATABLEI3DPROC __wglewSetGammaTableI3D
Definition: wglew.h:1275
WGLEW_FUN_EXPORT PFNWGLMAKECONTEXTCURRENTARBPROC __wglewMakeContextCurrentARB
Definition: wglew.h:1231
WGLEW_FUN_EXPORT PFNWGLBINDTEXIMAGEARBPROC __wglewBindTexImageARB
Definition: wglew.h:1243
WGLEW_FUN_EXPORT PFNWGLDELETEDCNVPROC __wglewDeleteDCNV
Definition: wglew.h:1320
int iLayerPlane
Definition: wglew.h:172
unsigned int uVideoSlot
Definition: wglew.h:1027
WGLEW_VAR_EXPORT GLboolean __WGLEW_I3D_gamma
Definition: wglew.h:1392
WGLEW_FUN_EXPORT PFNWGLENUMGPUDEVICESNVPROC __wglewEnumGpuDevicesNV
Definition: wglew.h:1321
INT property
Definition: wglew.h:145
WGLEW_FUN_EXPORT PFNWGLGETGENLOCKSAMPLERATEI3DPROC __wglewGetGenlockSampleRateI3D
Definition: wglew.h:1284
WGLEW_VAR_EXPORT GLboolean __WGLEW_EXT_framebuffer_sRGB
Definition: wglew.h:1383
WGLEW_FUN_EXPORT PFNWGLGETGENLOCKSOURCEDELAYI3DPROC __wglewGetGenlockSourceDelayI3D
Definition: wglew.h:1285
GLsizei maxCount
Definition: glew.h:1826
HGLRC const int * attribList
Definition: wglew.h:140
WGLEW_FUN_EXPORT PFNWGLGETGAMMATABLEPARAMETERSI3DPROC __wglewGetGammaTableParametersI3D
Definition: wglew.h:1274
int int * piValue
Definition: wglew.h:317
WGLEW_VAR_EXPORT GLboolean __WGLEW_ARB_multisample
Definition: wglew.h:1369
void GLuint GLenum type
Definition: wglew.h:901
WGLEW_VAR_EXPORT GLboolean __WGLEW_EXT_depth_float
Definition: wglew.h:1380
int USHORT USHORT * puGreen
Definition: wglew.h:769
WGLEW_FUN_EXPORT PFNWGLENABLEGENLOCKI3DPROC __wglewEnableGenlockI3D
Definition: wglew.h:1279
WGLEW_FUN_EXPORT PFNWGLQUERYCURRENTCONTEXTNVPROC __wglewQueryCurrentContextNV
Definition: wglew.h:1327
UINT UINT * uMaxPixelDelay
Definition: wglew.h:809
WGLEW_FUN_EXPORT PFNWGLRELEASEVIDEOIMAGENVPROC __wglewReleaseVideoImageNV
Definition: wglew.h:1349
void * dxObject
Definition: wglew.h:901
WGLEW_FUN_EXPORT PFNWGLGENLOCKSAMPLERATEI3DPROC __wglewGenlockSampleRateI3D
Definition: wglew.h:1280
typedef int(WINAPI *PFNWGLRELEASEPBUFFERDCARBPROC)(HPBUFFERARB hPbuffer
GLuint GLenum GLint GLint srcX
Definition: wglew.h:933
CHAR DeviceString[128]
Definition: wglew.h:985
WGLEW_FUN_EXPORT PFNWGLGENLOCKSOURCEEDGEI3DPROC __wglewGenlockSourceEdgeI3D
Definition: wglew.h:1282
GLsizei const void * pointer
Definition: glew.h:1522
GLint GLint srcY0
Definition: wglew.h:138
GLint GLint GLint GLint GLint dstX0
Definition: wglew.h:138
WGLEW_FUN_EXPORT PFNWGLRESETFRAMECOUNTNVPROC __wglewResetFrameCountNV
Definition: wglew.h:1334
GLuint GLenum GLint srcLevel
Definition: wglew.h:933
WGLEW_FUN_EXPORT PFNWGLGETPIXELFORMATATTRIBIVARBPROC __wglewGetPixelFormatAttribivARB
Definition: wglew.h:1241
WGLEW_FUN_EXPORT PFNWGLRELEASEPBUFFERDCARBPROC __wglewReleasePbufferDCARB
Definition: wglew.h:1237
WGLEW_VAR_EXPORT GLboolean __WGLEW_NV_DX_interop2
Definition: wglew.h:1398
#define WGLEW_VAR_EXPORT
Definition: wglew.h:1201
WGLEW_FUN_EXPORT PFNWGLRELEASEVIDEOCAPTUREDEVICENVPROC __wglewReleaseVideoCaptureDeviceNV
Definition: wglew.h:1343
INT GLenum dataType
Definition: wglew.h:145
WGLEW_FUN_EXPORT PFNWGLGETEXTENSIONSSTRINGARBPROC __wglewGetExtensionsStringARB
Definition: wglew.h:1228
WGLEW_VAR_EXPORT GLboolean __WGLEW_ARB_extensions_string
Definition: wglew.h:1366
HGLRC hShareContext
Definition: wglew.h:140
WGLEW_FUN_EXPORT PFNWGLGETPBUFFERDCARBPROC __wglewGetPbufferDCARB
Definition: wglew.h:1235
WGLEW_VAR_EXPORT GLboolean __WGLEW_ARB_context_flush_control
Definition: wglew.h:1362
WGLEW_FUN_EXPORT PFNWGLQUERYVIDEOCAPTUREDEVICENVPROC __wglewQueryVideoCaptureDeviceNV
Definition: wglew.h:1342
GLEWAPI GLboolean GLEWAPIENTRY wglewIsSupported(const char *name)
int USHORT * puRed
Definition: wglew.h:769
HANDLE hObject
Definition: wglew.h:904
GLuint * maxGroups
Definition: wglew.h:1076
HDC hDC
Definition: wglew.h:318
WGLEW_VAR_EXPORT GLboolean __WGLEW_ATI_render_texture_rectangle
Definition: wglew.h:1377
DWORD cb
Definition: wglew.h:983
WGLEW_VAR_EXPORT GLboolean __WGLEW_NV_copy_image
Definition: wglew.h:1399
int iPixelFormat
Definition: wglew.h:314
WGLEW_VAR_EXPORT GLboolean __WGLEW_NV_float_buffer
Definition: wglew.h:1401
WGLEW_FUN_EXPORT PFNWGLQUERYPBUFFEREXTPROC __wglewQueryPbufferEXT
Definition: wglew.h:1260
int USHORT USHORT USHORT * puBlue
Definition: wglew.h:769
int unsigned long * pulCounterPbuffer
Definition: wglew.h:1158
WGLEW_FUN_EXPORT PFNWGLGETSWAPINTERVALEXTPROC __wglewGetSwapIntervalEXT
Definition: wglew.h:1267
struct _GPU_DEVICE GPU_DEVICE
int int UINT const int * piAttributes
Definition: wglew.h:386
WGLEW_FUN_EXPORT PFNWGLISENABLEDFRAMELOCKI3DPROC __wglewIsEnabledFrameLockI3D
Definition: wglew.h:1298
typedef HPBUFFERARB(WINAPI *PFNWGLCREATEPBUFFERARBPROC)(HDC hDC
WGLEW_FUN_EXPORT PFNWGLGETGENLOCKSOURCEEDGEI3DPROC __wglewGetGenlockSourceEdgeI3D
Definition: wglew.h:1286
INT64 * ust
Definition: wglew.h:1177
WGLEW_VAR_EXPORT GLboolean __WGLEW_EXT_display_color_table
Definition: wglew.h:1381
WGLEW_FUN_EXPORT PFNWGLRESTOREBUFFERREGIONARBPROC __wglewRestoreBufferRegionARB
Definition: wglew.h:1223
WGLEW_VAR_EXPORT GLboolean __WGLEW_ARB_framebuffer_sRGB
Definition: wglew.h:1367
WGLEW_FUN_EXPORT PFNWGLCOPYIMAGESUBDATANVPROC __wglewCopyImageSubDataNV
Definition: wglew.h:1315
WGLEW_VAR_EXPORT GLboolean __WGLEW_EXT_swap_control
Definition: wglew.h:1389
WGLEW_FUN_EXPORT PFNWGLCHOOSEPIXELFORMATARBPROC __wglewChoosePixelFormatARB
Definition: wglew.h:1239
WGLEW_FUN_EXPORT PFNWGLDXOBJECTACCESSNVPROC __wglewDXObjectAccessNV
Definition: wglew.h:1308
WGLEW_FUN_EXPORT PFNWGLGETCURRENTREADDCARBPROC __wglewGetCurrentReadDCARB
Definition: wglew.h:1230
int int UINT nAttributes
Definition: wglew.h:386
WGLEW_VAR_EXPORT GLboolean __WGLEW_I3D_genlock
Definition: wglew.h:1393
HANDLE LPVOID DWORD UINT count
Definition: wglew.h:836
WGLEW_FUN_EXPORT PFNWGLBINDVIDEODEVICENVPROC __wglewBindVideoDeviceNV
Definition: wglew.h:1325
WGLEW_FUN_EXPORT PFNWGLMAKEASSOCIATEDCONTEXTCURRENTAMDPROC __wglewMakeAssociatedContextCurrentAMD
Definition: wglew.h:1219
HDC hReadDC
Definition: wglew.h:277
DWORD Flags
Definition: wglew.h:986
INT GLenum UINT size
Definition: wglew.h:145
WGLEW_FUN_EXPORT PFNWGLQUERYFRAMELOCKMASTERI3DPROC __wglewQueryFrameLockMasterI3D
Definition: wglew.h:1299
int iBufferType
Definition: wglew.h:1158
WGLEW_FUN_EXPORT PFNWGLSETPBUFFERATTRIBARBPROC __wglewSetPbufferAttribARB
Definition: wglew.h:1245
WGLEW_FUN_EXPORT PFNWGLENUMERATEVIDEOCAPTUREDEVICESNVPROC __wglewEnumerateVideoCaptureDevicesNV
Definition: wglew.h:1340
WGLEW_FUN_EXPORT PFNWGLGETGPUINFOAMDPROC __wglewGetGPUInfoAMD
Definition: wglew.h:1218
const char *WINAPI * PFNWGLGETEXTENSIONSSTRINGARBPROC(HDC hdc)
Definition: wglew.h:249
WGLEW_FUN_EXPORT PFNWGLMAKECONTEXTCURRENTEXTPROC __wglewMakeContextCurrentEXT
Definition: wglew.h:1255
unsigned int GLbitfield
Definition: glew.h:275
WGLEW_FUN_EXPORT PFNWGLDXSETRESOURCESHAREHANDLENVPROC __wglewDXSetResourceShareHandleNV
Definition: wglew.h:1311
GLuint GLenum GLint GLint GLint GLint HGLRC GLuint dstName
Definition: wglew.h:933
WGLEW_FUN_EXPORT PFNWGLGENLOCKSOURCEI3DPROC __wglewGenlockSourceI3D
Definition: wglew.h:1283
GLenum access
Definition: wglew.h:899
Definition: wglew.h:982
WGLEW_FUN_EXPORT PFNWGLENUMGPUSNVPROC __wglewEnumGpusNV
Definition: wglew.h:1323
WGLEW_FUN_EXPORT PFNWGLSETDIGITALVIDEOPARAMETERSI3DPROC __wglewSetDigitalVideoParametersI3D
Definition: wglew.h:1271
WGLEW_FUN_EXPORT PFNWGLFREEMEMORYNVPROC __wglewFreeMemoryNV
Definition: wglew.h:1337
WGLEW_FUN_EXPORT PFNWGLRELEASEPBUFFERDCEXTPROC __wglewReleasePbufferDCEXT
Definition: wglew.h:1261
int numDevices
Definition: wglew.h:1154
DWORD float * pLastMissedUsage
Definition: wglew.h:877
GLuint GLenum GLint GLint GLint GLint HGLRC GLuint GLenum GLint GLint dstX
Definition: wglew.h:933
WGLEW_FUN_EXPORT PFNWGLDXOPENDEVICENVPROC __wglewDXOpenDeviceNV
Definition: wglew.h:1309
WGLEW_VAR_EXPORT GLboolean __WGLEW_NV_present_video
Definition: wglew.h:1404
typedef UINT(WINAPI *PFNWGLGETCONTEXTGPUIDAMDPROC)(HGLRC hglrc)
WGLEW_FUN_EXPORT PFNWGLRELEASEVIDEODEVICENVPROC __wglewReleaseVideoDeviceNV
Definition: wglew.h:1348
typedef GLboolean(WINAPI *PFNWGLBINDDISPLAYCOLORTABLEEXTPROC)(GLushort id)
GLuint barrier
Definition: wglew.h:1073
WGLEW_FUN_EXPORT PFNWGLRELEASETEXIMAGEARBPROC __wglewReleaseTexImageARB
Definition: wglew.h:1244
typedef INT64(WINAPI *PFNWGLSWAPBUFFERSMSCOMLPROC)(HDC hdc
WGLEW_VAR_EXPORT GLboolean __WGLEW_NV_video_capture
Definition: wglew.h:1409
int int int int int int ySrc
Definition: wglew.h:174
struct _GPU_DEVICE * PGPU_DEVICE
WGLEW_VAR_EXPORT GLboolean __WGLEW_ARB_create_context_robustness
Definition: wglew.h:1365
INT fuPlanes
Definition: wglew.h:1179
WGLEW_VAR_EXPORT GLboolean __WGLEW_OML_sync_control
Definition: wglew.h:1411
WGLEW_VAR_EXPORT GLboolean __WGLEW_EXT_create_context_es_profile
Definition: wglew.h:1379
WGLEW_FUN_EXPORT PFNWGLBEGINFRAMETRACKINGI3DPROC __wglewBeginFrameTrackingI3D
Definition: wglew.h:1301
int GLint
Definition: glew.h:277
WGLEW_FUN_EXPORT PFNWGLALLOCATEMEMORYNVPROC __wglewAllocateMemoryNV
Definition: wglew.h:1336
WGLEW_FUN_EXPORT PFNWGLDISABLEFRAMELOCKI3DPROC __wglewDisableFrameLockI3D
Definition: wglew.h:1296
INT64 INT64 INT64 remainder
Definition: wglew.h:1178
UINT uRate
Definition: wglew.h:800
GLuint GLenum GLint GLint GLint GLint HGLRC GLuint GLenum GLint GLint GLint dstY
Definition: wglew.h:933
GLuint GLenum GLint GLint GLint srcY
Definition: wglew.h:933
WGLEW_FUN_EXPORT PFNWGLSENDPBUFFERTOVIDEONVPROC __wglewSendPbufferToVideoNV
Definition: wglew.h:1350
UINT * uMaxLineDelay
Definition: wglew.h:809
WGLEW_VAR_EXPORT GLboolean __WGLEW_EXT_make_current_read
Definition: wglew.h:1384
WGLEW_VAR_EXPORT GLboolean __WGLEW_AMD_gpu_association
Definition: wglew.h:1360
int int int width
Definition: wglew.h:174
WGLEW_VAR_EXPORT GLboolean __WGLEW_ARB_create_context_profile
Definition: wglew.h:1364
DWORD * pMissedFrames
Definition: wglew.h:877
WGLEW_FUN_EXPORT PFNWGLCREATEAFFINITYDCNVPROC __wglewCreateAffinityDCNV
Definition: wglew.h:1319
WGLEW_FUN_EXPORT PFNWGLGETPBUFFERDCEXTPROC __wglewGetPbufferDCEXT
Definition: wglew.h:1259
int int UINT const int FLOAT * pfValues
Definition: wglew.h:386
GLint GLint GLint GLint GLint GLint GLint dstX1
Definition: wglew.h:138
GLfloat seconds
Definition: wglew.h:946
WGLEW_FUN_EXPORT PFNWGLCREATEDISPLAYCOLORTABLEEXTPROC __wglewCreateDisplayColorTableEXT
Definition: wglew.h:1248
UINT * ids
Definition: wglew.h:144
int unsigned long BOOL bBlock
Definition: wglew.h:1158
WGLEW_FUN_EXPORT PFNWGLBINDVIDEOCAPTUREDEVICENVPROC __wglewBindVideoCaptureDeviceNV
Definition: wglew.h:1339
WGLEW_FUN_EXPORT PFNWGLSAVEBUFFERREGIONARBPROC __wglewSaveBufferRegionARB
Definition: wglew.h:1224
HPBUFFERARB hPbuffer
Definition: wglew.h:1153
int x
Definition: wglew.h:174
INT64 INT64 INT64 * sbc
Definition: wglew.h:1177
WGLEW_FUN_EXPORT PFNWGLENUMERATEVIDEODEVICESNVPROC __wglewEnumerateVideoDevicesNV
Definition: wglew.h:1326
WGLEW_FUN_EXPORT PFNWGLDESTROYIMAGEBUFFERI3DPROC __wglewDestroyImageBufferI3D
Definition: wglew.h:1293
unsigned char GLboolean
Definition: glew.h:279
HGPUNV * phGpu
Definition: wglew.h:994
WGLEW_FUN_EXPORT PFNWGLENDFRAMETRACKINGI3DPROC __wglewEndFrameTrackingI3D
Definition: wglew.h:1302
UINT uDelay
Definition: wglew.h:801
WGLEW_VAR_EXPORT GLboolean __WGLEW_ARB_render_texture
Definition: wglew.h:1373
WGLEW_VAR_EXPORT GLboolean __WGLEW_ARB_robustness_application_isolation
Definition: wglew.h:1374
GLEWAPI GLboolean GLEWAPIENTRY wglewGetExtension(const char *name)
WGLEW_VAR_EXPORT GLboolean __WGLEW_ARB_pixel_format_float
Definition: wglew.h:1372
WGLEW_VAR_EXPORT GLboolean __WGLEW_I3D_swap_frame_usage
Definition: wglew.h:1396
const int * piAttribIList
Definition: wglew.h:385
typedef HGLRC(WINAPI *PFNWGLCREATEASSOCIATEDCONTEXTAMDPROC)(UINT id)
WGLEW_FUN_EXPORT PFNWGLDXUNLOCKOBJECTSNVPROC __wglewDXUnlockObjectsNV
Definition: wglew.h:1312
int GLsizei
Definition: glew.h:278
GLenum GLsizei GLenum GLenum const void * table
Definition: glew.h:4798
UINT uEdge
Definition: wglew.h:802
WGLEW_FUN_EXPORT PFNWGLGETPIXELFORMATATTRIBFVEXTPROC __wglewGetPixelFormatAttribfvEXT
Definition: wglew.h:1264
int iBuffer
Definition: wglew.h:447
WGLEW_FUN_EXPORT PFNWGLDELETEBUFFERREGIONARBPROC __wglewDeleteBufferRegionARB
Definition: wglew.h:1222
WGLEW_FUN_EXPORT PFNWGLQUERYMAXSWAPGROUPSNVPROC __wglewQueryMaxSwapGroupsNV
Definition: wglew.h:1332
typedef void(WINAPI *PFNWGLDESTROYDISPLAYCOLORTABLEEXTPROC)(GLushort id)
WGLEW_FUN_EXPORT PFNWGLRELEASEIMAGEBUFFEREVENTSI3DPROC __wglewReleaseImageBufferEventsI3D
Definition: wglew.h:1294
WGLEW_VAR_EXPORT GLboolean __WGLEW_ARB_pixel_format
Definition: wglew.h:1371
WGLEW_VAR_EXPORT GLboolean __WGLEW_EXT_pbuffer
Definition: wglew.h:1386
BOOL * pFlag
Definition: wglew.h:808
int iEntries
Definition: wglew.h:769
WGLEW_VAR_EXPORT GLboolean __WGLEW_I3D_swap_frame_lock
Definition: wglew.h:1395
WGLEW_FUN_EXPORT PFNWGLCREATEIMAGEBUFFERI3DPROC __wglewCreateImageBufferI3D
Definition: wglew.h:1292
WGLEW_FUN_EXPORT PFNWGLDXCLOSEDEVICENVPROC __wglewDXCloseDeviceNV
Definition: wglew.h:1306
void *WINAPI * PFNWGLALLOCATEMEMORYNVPROC(GLsizei size, GLfloat readFrequency, GLfloat writeFrequency, GLfloat priority)
Definition: wglew.h:1096
UINT uState
Definition: wglew.h:114
UINT iDeviceIndex
Definition: wglew.h:992
WGLEW_VAR_EXPORT GLboolean __WGLEW_EXT_create_context_es2_profile
Definition: wglew.h:1378
int int UINT const int int * piValues
Definition: wglew.h:387
WGLEW_VAR_EXPORT GLboolean __WGLEW_NV_video_output
Definition: wglew.h:1410
typedef HANDLE(WINAPI *PFNWGLCREATEBUFFERREGIONARBPROC)(HDC hDC
GLint GLint GLint GLint GLint GLint GLint GLint GLbitfield mask
Definition: wglew.h:138