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