38 #error wglext.h included before wglew.h
43 #if !defined(APIENTRY) && !defined(__CYGWIN__)
44 # ifndef WIN32_LEAN_AND_MEAN
45 # define WIN32_LEAN_AND_MEAN 1
55 # define GLEWAPI extern
58 # define GLEWAPI extern __declspec(dllexport)
60 # define GLEWAPI extern __declspec(dllimport)
70 #ifndef WGL_3DFX_multisample
71 #define WGL_3DFX_multisample 1
73 #define WGL_SAMPLE_BUFFERS_3DFX 0x2060
74 #define WGL_SAMPLES_3DFX 0x2061
76 #define WGLEW_3DFX_multisample WGLEW_GET_VAR(__WGLEW_3DFX_multisample)
82 #ifndef WGL_3DL_stereo_control
83 #define WGL_3DL_stereo_control 1
85 #define WGL_STEREO_EMITTER_ENABLE_3DL 0x2055
86 #define WGL_STEREO_EMITTER_DISABLE_3DL 0x2056
87 #define WGL_STEREO_POLARITY_NORMAL_3DL 0x2057
88 #define WGL_STEREO_POLARITY_INVERT_3DL 0x2058
92 #define wglSetStereoEmitterState3DL WGLEW_GET_FUN(__wglewSetStereoEmitterState3DL)
94 #define WGLEW_3DL_stereo_control WGLEW_GET_VAR(__WGLEW_3DL_stereo_control)
100 #ifndef WGL_ARB_buffer_region
101 #define WGL_ARB_buffer_region 1
103 #define WGL_FRONT_COLOR_BUFFER_BIT_ARB 0x00000001
104 #define WGL_BACK_COLOR_BUFFER_BIT_ARB 0x00000002
105 #define WGL_DEPTH_BUFFER_BIT_ARB 0x00000004
106 #define WGL_STENCIL_BUFFER_BIT_ARB 0x00000008
113 #define wglCreateBufferRegionARB WGLEW_GET_FUN(__wglewCreateBufferRegionARB)
114 #define wglDeleteBufferRegionARB WGLEW_GET_FUN(__wglewDeleteBufferRegionARB)
115 #define wglRestoreBufferRegionARB WGLEW_GET_FUN(__wglewRestoreBufferRegionARB)
116 #define wglSaveBufferRegionARB WGLEW_GET_FUN(__wglewSaveBufferRegionARB)
118 #define WGLEW_ARB_buffer_region WGLEW_GET_VAR(__WGLEW_ARB_buffer_region)
124 #ifndef WGL_ARB_create_context
125 #define WGL_ARB_create_context 1
127 #define WGL_CONTEXT_DEBUG_BIT_ARB 0x0001
128 #define WGL_CONTEXT_FORWARD_COMPATIBLE_BIT_ARB 0x0002
129 #define WGL_CONTEXT_MAJOR_VERSION_ARB 0x2091
130 #define WGL_CONTEXT_MINOR_VERSION_ARB 0x2092
131 #define WGL_CONTEXT_LAYER_PLANE_ARB 0x2093
132 #define WGL_CONTEXT_FLAGS_ARB 0x2094
136 #define wglCreateContextAttribsARB WGLEW_GET_FUN(__wglewCreateContextAttribsARB)
138 #define WGLEW_ARB_create_context WGLEW_GET_VAR(__WGLEW_ARB_create_context)
144 #ifndef WGL_ARB_extensions_string
145 #define WGL_ARB_extensions_string 1
149 #define wglGetExtensionsStringARB WGLEW_GET_FUN(__wglewGetExtensionsStringARB)
151 #define WGLEW_ARB_extensions_string WGLEW_GET_VAR(__WGLEW_ARB_extensions_string)
157 #ifndef WGL_ARB_framebuffer_sRGB
158 #define WGL_ARB_framebuffer_sRGB 1
160 #define WGL_FRAMEBUFFER_SRGB_CAPABLE_ARB 0x20A9
162 #define WGLEW_ARB_framebuffer_sRGB WGLEW_GET_VAR(__WGLEW_ARB_framebuffer_sRGB)
168 #ifndef WGL_ARB_make_current_read
169 #define WGL_ARB_make_current_read 1
171 #define ERROR_INVALID_PIXEL_TYPE_ARB 0x2043
172 #define ERROR_INCOMPATIBLE_DEVICE_CONTEXTS_ARB 0x2054
177 #define wglGetCurrentReadDCARB WGLEW_GET_FUN(__wglewGetCurrentReadDCARB)
178 #define wglMakeContextCurrentARB WGLEW_GET_FUN(__wglewMakeContextCurrentARB)
180 #define WGLEW_ARB_make_current_read WGLEW_GET_VAR(__WGLEW_ARB_make_current_read)
186 #ifndef WGL_ARB_multisample
187 #define WGL_ARB_multisample 1
189 #define WGL_SAMPLE_BUFFERS_ARB 0x2041
190 #define WGL_SAMPLES_ARB 0x2042
192 #define WGLEW_ARB_multisample WGLEW_GET_VAR(__WGLEW_ARB_multisample)
198 #ifndef WGL_ARB_pbuffer
199 #define WGL_ARB_pbuffer 1
201 #define WGL_DRAW_TO_PBUFFER_ARB 0x202D
202 #define WGL_MAX_PBUFFER_PIXELS_ARB 0x202E
203 #define WGL_MAX_PBUFFER_WIDTH_ARB 0x202F
204 #define WGL_MAX_PBUFFER_HEIGHT_ARB 0x2030
205 #define WGL_PBUFFER_LARGEST_ARB 0x2033
206 #define WGL_PBUFFER_WIDTH_ARB 0x2034
207 #define WGL_PBUFFER_HEIGHT_ARB 0x2035
208 #define WGL_PBUFFER_LOST_ARB 0x2036
218 #define wglCreatePbufferARB WGLEW_GET_FUN(__wglewCreatePbufferARB)
219 #define wglDestroyPbufferARB WGLEW_GET_FUN(__wglewDestroyPbufferARB)
220 #define wglGetPbufferDCARB WGLEW_GET_FUN(__wglewGetPbufferDCARB)
221 #define wglQueryPbufferARB WGLEW_GET_FUN(__wglewQueryPbufferARB)
222 #define wglReleasePbufferDCARB WGLEW_GET_FUN(__wglewReleasePbufferDCARB)
224 #define WGLEW_ARB_pbuffer WGLEW_GET_VAR(__WGLEW_ARB_pbuffer)
230 #ifndef WGL_ARB_pixel_format
231 #define WGL_ARB_pixel_format 1
233 #define WGL_NUMBER_PIXEL_FORMATS_ARB 0x2000
234 #define WGL_DRAW_TO_WINDOW_ARB 0x2001
235 #define WGL_DRAW_TO_BITMAP_ARB 0x2002
236 #define WGL_ACCELERATION_ARB 0x2003
237 #define WGL_NEED_PALETTE_ARB 0x2004
238 #define WGL_NEED_SYSTEM_PALETTE_ARB 0x2005
239 #define WGL_SWAP_LAYER_BUFFERS_ARB 0x2006
240 #define WGL_SWAP_METHOD_ARB 0x2007
241 #define WGL_NUMBER_OVERLAYS_ARB 0x2008
242 #define WGL_NUMBER_UNDERLAYS_ARB 0x2009
243 #define WGL_TRANSPARENT_ARB 0x200A
244 #define WGL_SHARE_DEPTH_ARB 0x200C
245 #define WGL_SHARE_STENCIL_ARB 0x200D
246 #define WGL_SHARE_ACCUM_ARB 0x200E
247 #define WGL_SUPPORT_GDI_ARB 0x200F
248 #define WGL_SUPPORT_OPENGL_ARB 0x2010
249 #define WGL_DOUBLE_BUFFER_ARB 0x2011
250 #define WGL_STEREO_ARB 0x2012
251 #define WGL_PIXEL_TYPE_ARB 0x2013
252 #define WGL_COLOR_BITS_ARB 0x2014
253 #define WGL_RED_BITS_ARB 0x2015
254 #define WGL_RED_SHIFT_ARB 0x2016
255 #define WGL_GREEN_BITS_ARB 0x2017
256 #define WGL_GREEN_SHIFT_ARB 0x2018
257 #define WGL_BLUE_BITS_ARB 0x2019
258 #define WGL_BLUE_SHIFT_ARB 0x201A
259 #define WGL_ALPHA_BITS_ARB 0x201B
260 #define WGL_ALPHA_SHIFT_ARB 0x201C
261 #define WGL_ACCUM_BITS_ARB 0x201D
262 #define WGL_ACCUM_RED_BITS_ARB 0x201E
263 #define WGL_ACCUM_GREEN_BITS_ARB 0x201F
264 #define WGL_ACCUM_BLUE_BITS_ARB 0x2020
265 #define WGL_ACCUM_ALPHA_BITS_ARB 0x2021
266 #define WGL_DEPTH_BITS_ARB 0x2022
267 #define WGL_STENCIL_BITS_ARB 0x2023
268 #define WGL_AUX_BUFFERS_ARB 0x2024
269 #define WGL_NO_ACCELERATION_ARB 0x2025
270 #define WGL_GENERIC_ACCELERATION_ARB 0x2026
271 #define WGL_FULL_ACCELERATION_ARB 0x2027
272 #define WGL_SWAP_EXCHANGE_ARB 0x2028
273 #define WGL_SWAP_COPY_ARB 0x2029
274 #define WGL_SWAP_UNDEFINED_ARB 0x202A
275 #define WGL_TYPE_RGBA_ARB 0x202B
276 #define WGL_TYPE_COLORINDEX_ARB 0x202C
277 #define WGL_TRANSPARENT_RED_VALUE_ARB 0x2037
278 #define WGL_TRANSPARENT_GREEN_VALUE_ARB 0x2038
279 #define WGL_TRANSPARENT_BLUE_VALUE_ARB 0x2039
280 #define WGL_TRANSPARENT_ALPHA_VALUE_ARB 0x203A
281 #define WGL_TRANSPARENT_INDEX_VALUE_ARB 0x203B
287 #define wglChoosePixelFormatARB WGLEW_GET_FUN(__wglewChoosePixelFormatARB)
288 #define wglGetPixelFormatAttribfvARB WGLEW_GET_FUN(__wglewGetPixelFormatAttribfvARB)
289 #define wglGetPixelFormatAttribivARB WGLEW_GET_FUN(__wglewGetPixelFormatAttribivARB)
291 #define WGLEW_ARB_pixel_format WGLEW_GET_VAR(__WGLEW_ARB_pixel_format)
297 #ifndef WGL_ARB_pixel_format_float
298 #define WGL_ARB_pixel_format_float 1
300 #define WGL_TYPE_RGBA_FLOAT_ARB 0x21A0
302 #define WGLEW_ARB_pixel_format_float WGLEW_GET_VAR(__WGLEW_ARB_pixel_format_float)
308 #ifndef WGL_ARB_render_texture
309 #define WGL_ARB_render_texture 1
311 #define WGL_BIND_TO_TEXTURE_RGB_ARB 0x2070
312 #define WGL_BIND_TO_TEXTURE_RGBA_ARB 0x2071
313 #define WGL_TEXTURE_FORMAT_ARB 0x2072
314 #define WGL_TEXTURE_TARGET_ARB 0x2073
315 #define WGL_MIPMAP_TEXTURE_ARB 0x2074
316 #define WGL_TEXTURE_RGB_ARB 0x2075
317 #define WGL_TEXTURE_RGBA_ARB 0x2076
318 #define WGL_NO_TEXTURE_ARB 0x2077
319 #define WGL_TEXTURE_CUBE_MAP_ARB 0x2078
320 #define WGL_TEXTURE_1D_ARB 0x2079
321 #define WGL_TEXTURE_2D_ARB 0x207A
322 #define WGL_MIPMAP_LEVEL_ARB 0x207B
323 #define WGL_CUBE_MAP_FACE_ARB 0x207C
324 #define WGL_TEXTURE_CUBE_MAP_POSITIVE_X_ARB 0x207D
325 #define WGL_TEXTURE_CUBE_MAP_NEGATIVE_X_ARB 0x207E
326 #define WGL_TEXTURE_CUBE_MAP_POSITIVE_Y_ARB 0x207F
327 #define WGL_TEXTURE_CUBE_MAP_NEGATIVE_Y_ARB 0x2080
328 #define WGL_TEXTURE_CUBE_MAP_POSITIVE_Z_ARB 0x2081
329 #define WGL_TEXTURE_CUBE_MAP_NEGATIVE_Z_ARB 0x2082
330 #define WGL_FRONT_LEFT_ARB 0x2083
331 #define WGL_FRONT_RIGHT_ARB 0x2084
332 #define WGL_BACK_LEFT_ARB 0x2085
333 #define WGL_BACK_RIGHT_ARB 0x2086
334 #define WGL_AUX0_ARB 0x2087
335 #define WGL_AUX1_ARB 0x2088
336 #define WGL_AUX2_ARB 0x2089
337 #define WGL_AUX3_ARB 0x208A
338 #define WGL_AUX4_ARB 0x208B
339 #define WGL_AUX5_ARB 0x208C
340 #define WGL_AUX6_ARB 0x208D
341 #define WGL_AUX7_ARB 0x208E
342 #define WGL_AUX8_ARB 0x208F
343 #define WGL_AUX9_ARB 0x2090
349 #define wglBindTexImageARB WGLEW_GET_FUN(__wglewBindTexImageARB)
350 #define wglReleaseTexImageARB WGLEW_GET_FUN(__wglewReleaseTexImageARB)
351 #define wglSetPbufferAttribARB WGLEW_GET_FUN(__wglewSetPbufferAttribARB)
353 #define WGLEW_ARB_render_texture WGLEW_GET_VAR(__WGLEW_ARB_render_texture)
359 #ifndef WGL_ATI_pixel_format_float
360 #define WGL_ATI_pixel_format_float 1
362 #define WGL_TYPE_RGBA_FLOAT_ATI 0x21A0
363 #define GL_RGBA_FLOAT_MODE_ATI 0x8820
364 #define GL_COLOR_CLEAR_UNCLAMPED_VALUE_ATI 0x8835
366 #define WGLEW_ATI_pixel_format_float WGLEW_GET_VAR(__WGLEW_ATI_pixel_format_float)
372 #ifndef WGL_ATI_render_texture_rectangle
373 #define WGL_ATI_render_texture_rectangle 1
375 #define WGL_TEXTURE_RECTANGLE_ATI 0x21A5
377 #define WGLEW_ATI_render_texture_rectangle WGLEW_GET_VAR(__WGLEW_ATI_render_texture_rectangle)
383 #ifndef WGL_EXT_depth_float
384 #define WGL_EXT_depth_float 1
386 #define WGL_DEPTH_FLOAT_EXT 0x2040
388 #define WGLEW_EXT_depth_float WGLEW_GET_VAR(__WGLEW_EXT_depth_float)
394 #ifndef WGL_EXT_display_color_table
395 #define WGL_EXT_display_color_table 1
402 #define wglBindDisplayColorTableEXT WGLEW_GET_FUN(__wglewBindDisplayColorTableEXT)
403 #define wglCreateDisplayColorTableEXT WGLEW_GET_FUN(__wglewCreateDisplayColorTableEXT)
404 #define wglDestroyDisplayColorTableEXT WGLEW_GET_FUN(__wglewDestroyDisplayColorTableEXT)
405 #define wglLoadDisplayColorTableEXT WGLEW_GET_FUN(__wglewLoadDisplayColorTableEXT)
407 #define WGLEW_EXT_display_color_table WGLEW_GET_VAR(__WGLEW_EXT_display_color_table)
413 #ifndef WGL_EXT_extensions_string
414 #define WGL_EXT_extensions_string 1
418 #define wglGetExtensionsStringEXT WGLEW_GET_FUN(__wglewGetExtensionsStringEXT)
420 #define WGLEW_EXT_extensions_string WGLEW_GET_VAR(__WGLEW_EXT_extensions_string)
426 #ifndef WGL_EXT_framebuffer_sRGB
427 #define WGL_EXT_framebuffer_sRGB 1
429 #define WGL_FRAMEBUFFER_SRGB_CAPABLE_EXT 0x20A9
431 #define WGLEW_EXT_framebuffer_sRGB WGLEW_GET_VAR(__WGLEW_EXT_framebuffer_sRGB)
437 #ifndef WGL_EXT_make_current_read
438 #define WGL_EXT_make_current_read 1
440 #define ERROR_INVALID_PIXEL_TYPE_EXT 0x2043
445 #define wglGetCurrentReadDCEXT WGLEW_GET_FUN(__wglewGetCurrentReadDCEXT)
446 #define wglMakeContextCurrentEXT WGLEW_GET_FUN(__wglewMakeContextCurrentEXT)
448 #define WGLEW_EXT_make_current_read WGLEW_GET_VAR(__WGLEW_EXT_make_current_read)
454 #ifndef WGL_EXT_multisample
455 #define WGL_EXT_multisample 1
457 #define WGL_SAMPLE_BUFFERS_EXT 0x2041
458 #define WGL_SAMPLES_EXT 0x2042
460 #define WGLEW_EXT_multisample WGLEW_GET_VAR(__WGLEW_EXT_multisample)
466 #ifndef WGL_EXT_pbuffer
467 #define WGL_EXT_pbuffer 1
469 #define WGL_DRAW_TO_PBUFFER_EXT 0x202D
470 #define WGL_MAX_PBUFFER_PIXELS_EXT 0x202E
471 #define WGL_MAX_PBUFFER_WIDTH_EXT 0x202F
472 #define WGL_MAX_PBUFFER_HEIGHT_EXT 0x2030
473 #define WGL_OPTIMAL_PBUFFER_WIDTH_EXT 0x2031
474 #define WGL_OPTIMAL_PBUFFER_HEIGHT_EXT 0x2032
475 #define WGL_PBUFFER_LARGEST_EXT 0x2033
476 #define WGL_PBUFFER_WIDTH_EXT 0x2034
477 #define WGL_PBUFFER_HEIGHT_EXT 0x2035
487 #define wglCreatePbufferEXT WGLEW_GET_FUN(__wglewCreatePbufferEXT)
488 #define wglDestroyPbufferEXT WGLEW_GET_FUN(__wglewDestroyPbufferEXT)
489 #define wglGetPbufferDCEXT WGLEW_GET_FUN(__wglewGetPbufferDCEXT)
490 #define wglQueryPbufferEXT WGLEW_GET_FUN(__wglewQueryPbufferEXT)
491 #define wglReleasePbufferDCEXT WGLEW_GET_FUN(__wglewReleasePbufferDCEXT)
493 #define WGLEW_EXT_pbuffer WGLEW_GET_VAR(__WGLEW_EXT_pbuffer)
499 #ifndef WGL_EXT_pixel_format
500 #define WGL_EXT_pixel_format 1
502 #define WGL_NUMBER_PIXEL_FORMATS_EXT 0x2000
503 #define WGL_DRAW_TO_WINDOW_EXT 0x2001
504 #define WGL_DRAW_TO_BITMAP_EXT 0x2002
505 #define WGL_ACCELERATION_EXT 0x2003
506 #define WGL_NEED_PALETTE_EXT 0x2004
507 #define WGL_NEED_SYSTEM_PALETTE_EXT 0x2005
508 #define WGL_SWAP_LAYER_BUFFERS_EXT 0x2006
509 #define WGL_SWAP_METHOD_EXT 0x2007
510 #define WGL_NUMBER_OVERLAYS_EXT 0x2008
511 #define WGL_NUMBER_UNDERLAYS_EXT 0x2009
512 #define WGL_TRANSPARENT_EXT 0x200A
513 #define WGL_TRANSPARENT_VALUE_EXT 0x200B
514 #define WGL_SHARE_DEPTH_EXT 0x200C
515 #define WGL_SHARE_STENCIL_EXT 0x200D
516 #define WGL_SHARE_ACCUM_EXT 0x200E
517 #define WGL_SUPPORT_GDI_EXT 0x200F
518 #define WGL_SUPPORT_OPENGL_EXT 0x2010
519 #define WGL_DOUBLE_BUFFER_EXT 0x2011
520 #define WGL_STEREO_EXT 0x2012
521 #define WGL_PIXEL_TYPE_EXT 0x2013
522 #define WGL_COLOR_BITS_EXT 0x2014
523 #define WGL_RED_BITS_EXT 0x2015
524 #define WGL_RED_SHIFT_EXT 0x2016
525 #define WGL_GREEN_BITS_EXT 0x2017
526 #define WGL_GREEN_SHIFT_EXT 0x2018
527 #define WGL_BLUE_BITS_EXT 0x2019
528 #define WGL_BLUE_SHIFT_EXT 0x201A
529 #define WGL_ALPHA_BITS_EXT 0x201B
530 #define WGL_ALPHA_SHIFT_EXT 0x201C
531 #define WGL_ACCUM_BITS_EXT 0x201D
532 #define WGL_ACCUM_RED_BITS_EXT 0x201E
533 #define WGL_ACCUM_GREEN_BITS_EXT 0x201F
534 #define WGL_ACCUM_BLUE_BITS_EXT 0x2020
535 #define WGL_ACCUM_ALPHA_BITS_EXT 0x2021
536 #define WGL_DEPTH_BITS_EXT 0x2022
537 #define WGL_STENCIL_BITS_EXT 0x2023
538 #define WGL_AUX_BUFFERS_EXT 0x2024
539 #define WGL_NO_ACCELERATION_EXT 0x2025
540 #define WGL_GENERIC_ACCELERATION_EXT 0x2026
541 #define WGL_FULL_ACCELERATION_EXT 0x2027
542 #define WGL_SWAP_EXCHANGE_EXT 0x2028
543 #define WGL_SWAP_COPY_EXT 0x2029
544 #define WGL_SWAP_UNDEFINED_EXT 0x202A
545 #define WGL_TYPE_RGBA_EXT 0x202B
546 #define WGL_TYPE_COLORINDEX_EXT 0x202C
552 #define wglChoosePixelFormatEXT WGLEW_GET_FUN(__wglewChoosePixelFormatEXT)
553 #define wglGetPixelFormatAttribfvEXT WGLEW_GET_FUN(__wglewGetPixelFormatAttribfvEXT)
554 #define wglGetPixelFormatAttribivEXT WGLEW_GET_FUN(__wglewGetPixelFormatAttribivEXT)
556 #define WGLEW_EXT_pixel_format WGLEW_GET_VAR(__WGLEW_EXT_pixel_format)
562 #ifndef WGL_EXT_pixel_format_packed_float
563 #define WGL_EXT_pixel_format_packed_float 1
565 #define WGL_TYPE_RGBA_UNSIGNED_FLOAT_EXT 0x20A8
567 #define WGLEW_EXT_pixel_format_packed_float WGLEW_GET_VAR(__WGLEW_EXT_pixel_format_packed_float)
573 #ifndef WGL_EXT_swap_control
574 #define WGL_EXT_swap_control 1
579 #define wglGetSwapIntervalEXT WGLEW_GET_FUN(__wglewGetSwapIntervalEXT)
580 #define wglSwapIntervalEXT WGLEW_GET_FUN(__wglewSwapIntervalEXT)
582 #define WGLEW_EXT_swap_control WGLEW_GET_VAR(__WGLEW_EXT_swap_control)
588 #ifndef WGL_I3D_digital_video_control
589 #define WGL_I3D_digital_video_control 1
591 #define WGL_DIGITAL_VIDEO_CURSOR_ALPHA_FRAMEBUFFER_I3D 0x2050
592 #define WGL_DIGITAL_VIDEO_CURSOR_ALPHA_VALUE_I3D 0x2051
593 #define WGL_DIGITAL_VIDEO_CURSOR_INCLUDED_I3D 0x2052
594 #define WGL_DIGITAL_VIDEO_GAMMA_CORRECTED_I3D 0x2053
599 #define wglGetDigitalVideoParametersI3D WGLEW_GET_FUN(__wglewGetDigitalVideoParametersI3D)
600 #define wglSetDigitalVideoParametersI3D WGLEW_GET_FUN(__wglewSetDigitalVideoParametersI3D)
602 #define WGLEW_I3D_digital_video_control WGLEW_GET_VAR(__WGLEW_I3D_digital_video_control)
608 #ifndef WGL_I3D_gamma
609 #define WGL_I3D_gamma 1
611 #define WGL_GAMMA_TABLE_SIZE_I3D 0x204E
612 #define WGL_GAMMA_EXCLUDE_DESKTOP_I3D 0x204F
619 #define wglGetGammaTableI3D WGLEW_GET_FUN(__wglewGetGammaTableI3D)
620 #define wglGetGammaTableParametersI3D WGLEW_GET_FUN(__wglewGetGammaTableParametersI3D)
621 #define wglSetGammaTableI3D WGLEW_GET_FUN(__wglewSetGammaTableI3D)
622 #define wglSetGammaTableParametersI3D WGLEW_GET_FUN(__wglewSetGammaTableParametersI3D)
624 #define WGLEW_I3D_gamma WGLEW_GET_VAR(__WGLEW_I3D_gamma)
630 #ifndef WGL_I3D_genlock
631 #define WGL_I3D_genlock 1
633 #define WGL_GENLOCK_SOURCE_MULTIVIEW_I3D 0x2044
634 #define WGL_GENLOCK_SOURCE_EXTERNAL_SYNC_I3D 0x2045
635 #define WGL_GENLOCK_SOURCE_EXTERNAL_FIELD_I3D 0x2046
636 #define WGL_GENLOCK_SOURCE_EXTERNAL_TTL_I3D 0x2047
637 #define WGL_GENLOCK_SOURCE_DIGITAL_SYNC_I3D 0x2048
638 #define WGL_GENLOCK_SOURCE_DIGITAL_FIELD_I3D 0x2049
639 #define WGL_GENLOCK_SOURCE_EDGE_FALLING_I3D 0x204A
640 #define WGL_GENLOCK_SOURCE_EDGE_RISING_I3D 0x204B
641 #define WGL_GENLOCK_SOURCE_EDGE_BOTH_I3D 0x204C
656 #define wglDisableGenlockI3D WGLEW_GET_FUN(__wglewDisableGenlockI3D)
657 #define wglEnableGenlockI3D WGLEW_GET_FUN(__wglewEnableGenlockI3D)
658 #define wglGenlockSampleRateI3D WGLEW_GET_FUN(__wglewGenlockSampleRateI3D)
659 #define wglGenlockSourceDelayI3D WGLEW_GET_FUN(__wglewGenlockSourceDelayI3D)
660 #define wglGenlockSourceEdgeI3D WGLEW_GET_FUN(__wglewGenlockSourceEdgeI3D)
661 #define wglGenlockSourceI3D WGLEW_GET_FUN(__wglewGenlockSourceI3D)
662 #define wglGetGenlockSampleRateI3D WGLEW_GET_FUN(__wglewGetGenlockSampleRateI3D)
663 #define wglGetGenlockSourceDelayI3D WGLEW_GET_FUN(__wglewGetGenlockSourceDelayI3D)
664 #define wglGetGenlockSourceEdgeI3D WGLEW_GET_FUN(__wglewGetGenlockSourceEdgeI3D)
665 #define wglGetGenlockSourceI3D WGLEW_GET_FUN(__wglewGetGenlockSourceI3D)
666 #define wglIsEnabledGenlockI3D WGLEW_GET_FUN(__wglewIsEnabledGenlockI3D)
667 #define wglQueryGenlockMaxSourceDelayI3D WGLEW_GET_FUN(__wglewQueryGenlockMaxSourceDelayI3D)
669 #define WGLEW_I3D_genlock WGLEW_GET_VAR(__WGLEW_I3D_genlock)
675 #ifndef WGL_I3D_image_buffer
676 #define WGL_I3D_image_buffer 1
678 #define WGL_IMAGE_BUFFER_MIN_ACCESS_I3D 0x00000001
679 #define WGL_IMAGE_BUFFER_LOCK_I3D 0x00000002
686 #define wglAssociateImageBufferEventsI3D WGLEW_GET_FUN(__wglewAssociateImageBufferEventsI3D)
687 #define wglCreateImageBufferI3D WGLEW_GET_FUN(__wglewCreateImageBufferI3D)
688 #define wglDestroyImageBufferI3D WGLEW_GET_FUN(__wglewDestroyImageBufferI3D)
689 #define wglReleaseImageBufferEventsI3D WGLEW_GET_FUN(__wglewReleaseImageBufferEventsI3D)
691 #define WGLEW_I3D_image_buffer WGLEW_GET_VAR(__WGLEW_I3D_image_buffer)
697 #ifndef WGL_I3D_swap_frame_lock
698 #define WGL_I3D_swap_frame_lock 1
705 #define wglDisableFrameLockI3D WGLEW_GET_FUN(__wglewDisableFrameLockI3D)
706 #define wglEnableFrameLockI3D WGLEW_GET_FUN(__wglewEnableFrameLockI3D)
707 #define wglIsEnabledFrameLockI3D WGLEW_GET_FUN(__wglewIsEnabledFrameLockI3D)
708 #define wglQueryFrameLockMasterI3D WGLEW_GET_FUN(__wglewQueryFrameLockMasterI3D)
710 #define WGLEW_I3D_swap_frame_lock WGLEW_GET_VAR(__WGLEW_I3D_swap_frame_lock)
716 #ifndef WGL_I3D_swap_frame_usage
717 #define WGL_I3D_swap_frame_usage 1
724 #define wglBeginFrameTrackingI3D WGLEW_GET_FUN(__wglewBeginFrameTrackingI3D)
725 #define wglEndFrameTrackingI3D WGLEW_GET_FUN(__wglewEndFrameTrackingI3D)
726 #define wglGetFrameUsageI3D WGLEW_GET_FUN(__wglewGetFrameUsageI3D)
727 #define wglQueryFrameTrackingI3D WGLEW_GET_FUN(__wglewQueryFrameTrackingI3D)
729 #define WGLEW_I3D_swap_frame_usage WGLEW_GET_VAR(__WGLEW_I3D_swap_frame_usage)
735 #ifndef WGL_NV_float_buffer
736 #define WGL_NV_float_buffer 1
738 #define WGL_FLOAT_COMPONENTS_NV 0x20B0
739 #define WGL_BIND_TO_TEXTURE_RECTANGLE_FLOAT_R_NV 0x20B1
740 #define WGL_BIND_TO_TEXTURE_RECTANGLE_FLOAT_RG_NV 0x20B2
741 #define WGL_BIND_TO_TEXTURE_RECTANGLE_FLOAT_RGB_NV 0x20B3
742 #define WGL_BIND_TO_TEXTURE_RECTANGLE_FLOAT_RGBA_NV 0x20B4
743 #define WGL_TEXTURE_FLOAT_R_NV 0x20B5
744 #define WGL_TEXTURE_FLOAT_RG_NV 0x20B6
745 #define WGL_TEXTURE_FLOAT_RGB_NV 0x20B7
746 #define WGL_TEXTURE_FLOAT_RGBA_NV 0x20B8
748 #define WGLEW_NV_float_buffer WGLEW_GET_VAR(__WGLEW_NV_float_buffer)
754 #ifndef WGL_NV_gpu_affinity
755 #define WGL_NV_gpu_affinity 1
757 #define WGL_ERROR_INCOMPATIBLE_AFFINITY_MASKS_NV 0x20D0
758 #define WGL_ERROR_MISSING_AFFINITY_MASK_NV 0x20D1
775 #define wglCreateAffinityDCNV WGLEW_GET_FUN(__wglewCreateAffinityDCNV)
776 #define wglDeleteDCNV WGLEW_GET_FUN(__wglewDeleteDCNV)
777 #define wglEnumGpuDevicesNV WGLEW_GET_FUN(__wglewEnumGpuDevicesNV)
778 #define wglEnumGpusFromAffinityDCNV WGLEW_GET_FUN(__wglewEnumGpusFromAffinityDCNV)
779 #define wglEnumGpusNV WGLEW_GET_FUN(__wglewEnumGpusNV)
781 #define WGLEW_NV_gpu_affinity WGLEW_GET_VAR(__WGLEW_NV_gpu_affinity)
787 #ifndef WGL_NV_present_video
788 #define WGL_NV_present_video 1
790 #define WGL_NUM_VIDEO_SLOTS_NV 0x20F0
798 #define wglBindVideoDeviceNV WGLEW_GET_FUN(__wglewBindVideoDeviceNV)
799 #define wglEnumerateVideoDevicesNV WGLEW_GET_FUN(__wglewEnumerateVideoDevicesNV)
800 #define wglQueryCurrentContextNV WGLEW_GET_FUN(__wglewQueryCurrentContextNV)
802 #define WGLEW_NV_present_video WGLEW_GET_VAR(__WGLEW_NV_present_video)
808 #ifndef WGL_NV_render_depth_texture
809 #define WGL_NV_render_depth_texture 1
811 #define WGL_NO_TEXTURE_ARB 0x2077
812 #define WGL_BIND_TO_TEXTURE_DEPTH_NV 0x20A3
813 #define WGL_BIND_TO_TEXTURE_RECTANGLE_DEPTH_NV 0x20A4
814 #define WGL_DEPTH_TEXTURE_FORMAT_NV 0x20A5
815 #define WGL_TEXTURE_DEPTH_COMPONENT_NV 0x20A6
816 #define WGL_DEPTH_COMPONENT_NV 0x20A7
818 #define WGLEW_NV_render_depth_texture WGLEW_GET_VAR(__WGLEW_NV_render_depth_texture)
824 #ifndef WGL_NV_render_texture_rectangle
825 #define WGL_NV_render_texture_rectangle 1
827 #define WGL_BIND_TO_TEXTURE_RECTANGLE_RGB_NV 0x20A0
828 #define WGL_BIND_TO_TEXTURE_RECTANGLE_RGBA_NV 0x20A1
829 #define WGL_TEXTURE_RECTANGLE_NV 0x20A2
831 #define WGLEW_NV_render_texture_rectangle WGLEW_GET_VAR(__WGLEW_NV_render_texture_rectangle)
837 #ifndef WGL_NV_swap_group
838 #define WGL_NV_swap_group 1
847 #define wglBindSwapBarrierNV WGLEW_GET_FUN(__wglewBindSwapBarrierNV)
848 #define wglJoinSwapGroupNV WGLEW_GET_FUN(__wglewJoinSwapGroupNV)
849 #define wglQueryFrameCountNV WGLEW_GET_FUN(__wglewQueryFrameCountNV)
850 #define wglQueryMaxSwapGroupsNV WGLEW_GET_FUN(__wglewQueryMaxSwapGroupsNV)
851 #define wglQuerySwapGroupNV WGLEW_GET_FUN(__wglewQuerySwapGroupNV)
852 #define wglResetFrameCountNV WGLEW_GET_FUN(__wglewResetFrameCountNV)
854 #define WGLEW_NV_swap_group WGLEW_GET_VAR(__WGLEW_NV_swap_group)
860 #ifndef WGL_NV_vertex_array_range
861 #define WGL_NV_vertex_array_range 1
866 #define wglAllocateMemoryNV WGLEW_GET_FUN(__wglewAllocateMemoryNV)
867 #define wglFreeMemoryNV WGLEW_GET_FUN(__wglewFreeMemoryNV)
869 #define WGLEW_NV_vertex_array_range WGLEW_GET_VAR(__WGLEW_NV_vertex_array_range)
875 #ifndef WGL_NV_video_output
876 #define WGL_NV_video_output 1
878 #define WGL_BIND_TO_VIDEO_RGB_NV 0x20C0
879 #define WGL_BIND_TO_VIDEO_RGBA_NV 0x20C1
880 #define WGL_BIND_TO_VIDEO_RGB_AND_DEPTH_NV 0x20C2
881 #define WGL_VIDEO_OUT_COLOR_NV 0x20C3
882 #define WGL_VIDEO_OUT_ALPHA_NV 0x20C4
883 #define WGL_VIDEO_OUT_DEPTH_NV 0x20C5
884 #define WGL_VIDEO_OUT_COLOR_AND_ALPHA_NV 0x20C6
885 #define WGL_VIDEO_OUT_COLOR_AND_DEPTH_NV 0x20C7
886 #define WGL_VIDEO_OUT_FRAME 0x20C8
887 #define WGL_VIDEO_OUT_FIELD_1 0x20C9
888 #define WGL_VIDEO_OUT_FIELD_2 0x20CA
889 #define WGL_VIDEO_OUT_STACKED_FIELDS_1_2 0x20CB
890 #define WGL_VIDEO_OUT_STACKED_FIELDS_2_1 0x20CC
896 typedef BOOL (WINAPI *
PFNWGLGETVIDEOINFONVPROC) (HPVIDEODEV hpVideoDevice,
unsigned long* pulCounterOutputPbuffer,
unsigned long *pulCounterOutputVideo);
901 #define wglBindVideoImageNV WGLEW_GET_FUN(__wglewBindVideoImageNV)
902 #define wglGetVideoDeviceNV WGLEW_GET_FUN(__wglewGetVideoDeviceNV)
903 #define wglGetVideoInfoNV WGLEW_GET_FUN(__wglewGetVideoInfoNV)
904 #define wglReleaseVideoDeviceNV WGLEW_GET_FUN(__wglewReleaseVideoDeviceNV)
905 #define wglReleaseVideoImageNV WGLEW_GET_FUN(__wglewReleaseVideoImageNV)
906 #define wglSendPbufferToVideoNV WGLEW_GET_FUN(__wglewSendPbufferToVideoNV)
908 #define WGLEW_NV_video_output WGLEW_GET_VAR(__WGLEW_NV_video_output)
914 #ifndef WGL_OML_sync_control
915 #define WGL_OML_sync_control 1
924 #define wglGetMscRateOML WGLEW_GET_FUN(__wglewGetMscRateOML)
925 #define wglGetSyncValuesOML WGLEW_GET_FUN(__wglewGetSyncValuesOML)
926 #define wglSwapBuffersMscOML WGLEW_GET_FUN(__wglewSwapBuffersMscOML)
927 #define wglSwapLayerBuffersMscOML WGLEW_GET_FUN(__wglewSwapLayerBuffersMscOML)
928 #define wglWaitForMscOML WGLEW_GET_FUN(__wglewWaitForMscOML)
929 #define wglWaitForSbcOML WGLEW_GET_FUN(__wglewWaitForSbcOML)
931 #define WGLEW_OML_sync_control WGLEW_GET_VAR(__WGLEW_OML_sync_control)
940 #define WGLEW_EXPORT GLEWAPI
944 struct WGLEWContextStruct
1116 typedef struct WGLEWContextStruct WGLEWContext;
1120 #define wglewInit() wglewContextInit(wglewGetContext())
1121 #define wglewIsSupported(x) wglewContextIsSupported(wglewGetContext(), x)
1123 #define WGLEW_GET_VAR(x) (*(const GLboolean*)&(wglewGetContext()->x))
1124 #define WGLEW_GET_FUN(x) wglewGetContext()->x
1128 #define WGLEW_GET_VAR(x) (*(const GLboolean*)&x)
1129 #define WGLEW_GET_FUN(x) x
GLuint GLsizei GLsizei * length
typedef void(APIENTRYP PFNGLBLENDCOLORPROC)(GLclampf red
GLsizei const GLvoid * pointer
GLuint GLuint GLsizei count
GLenum GLsizei GLenum GLenum const GLvoid * table
GLuint const GLchar * name
GLenum GLsizei GLsizei height
BOOL(WINAPI * PFNWGLWAITFORMSCOMLPROC)(HDC hdc, INT64 target_msc, INT64 divisor, INT64 remainder, INT64 *ust, INT64 *msc, INT64 *sbc)
WGLEW_EXPORT PFNWGLMAKECONTEXTCURRENTARBPROC __wglewMakeContextCurrentARB
WGLEW_EXPORT PFNWGLQUERYPBUFFEREXTPROC __wglewQueryPbufferEXT
WGLEW_EXPORT PFNWGLCREATECONTEXTATTRIBSARBPROC __wglewCreateContextAttribsARB
WGLEW_EXPORT PFNWGLSAVEBUFFERREGIONARBPROC __wglewSaveBufferRegionARB
BOOL(WINAPI * PFNWGLSAVEBUFFERREGIONARBPROC)(HANDLE hRegion, int x, int y, int width, int height)
WGLEW_EXPORT PFNWGLGETFRAMEUSAGEI3DPROC __wglewGetFrameUsageI3D
BOOL(WINAPI * PFNWGLENABLEFRAMELOCKI3DPROC)(VOID)
WGLEW_EXPORT PFNWGLGETEXTENSIONSSTRINGARBPROC __wglewGetExtensionsStringARB
WGLEW_EXPORT PFNWGLFREEMEMORYNVPROC __wglewFreeMemoryNV
WGLEW_EXPORT GLboolean __WGLEW_ARB_make_current_read
WGLEW_EXPORT PFNWGLGETSWAPINTERVALEXTPROC __wglewGetSwapIntervalEXT
GLboolean(WINAPI * PFNWGLLOADDISPLAYCOLORTABLEEXTPROC)(GLushort *table, GLuint length)
WGLEW_EXPORT GLboolean __WGLEW_ARB_create_context
WGLEW_EXPORT GLboolean __WGLEW_EXT_multisample
WGLEW_EXPORT GLboolean __WGLEW_3DL_stereo_control
const char *(WINAPI * PFNWGLGETEXTENSIONSSTRINGEXTPROC)(void)
WGLEW_EXPORT PFNWGLGETGENLOCKSAMPLERATEI3DPROC __wglewGetGenlockSampleRateI3D
WGLEW_EXPORT PFNWGLGETPIXELFORMATATTRIBFVEXTPROC __wglewGetPixelFormatAttribfvEXT
BOOL(WINAPI * PFNWGLDELETEDCNVPROC)(HDC hdc)
WGLEW_EXPORT PFNWGLSETGAMMATABLEPARAMETERSI3DPROC __wglewSetGammaTableParametersI3D
BOOL(WINAPI * PFNWGLGENLOCKSOURCEEDGEI3DPROC)(HDC hDC, UINT uEdge)
WGLEW_EXPORT PFNWGLGETPIXELFORMATATTRIBIVEXTPROC __wglewGetPixelFormatAttribivEXT
BOOL(WINAPI * PFNWGLGETFRAMEUSAGEI3DPROC)(float *pUsage)
WGLEW_EXPORT PFNWGLGETPIXELFORMATATTRIBIVARBPROC __wglewGetPixelFormatAttribivARB
WGLEW_EXPORT PFNWGLQUERYFRAMECOUNTNVPROC __wglewQueryFrameCountNV
WGLEW_EXPORT PFNWGLQUERYGENLOCKMAXSOURCEDELAYI3DPROC __wglewQueryGenlockMaxSourceDelayI3D
WGLEW_EXPORT PFNWGLRELEASEPBUFFERDCEXTPROC __wglewReleasePbufferDCEXT
WGLEW_EXPORT PFNWGLGETDIGITALVIDEOPARAMETERSI3DPROC __wglewGetDigitalVideoParametersI3D
HANDLE(WINAPI * PFNWGLCREATEBUFFERREGIONARBPROC)(HDC hDC, int iLayerPlane, UINT uType)
WGLEW_EXPORT PFNWGLENABLEGENLOCKI3DPROC __wglewEnableGenlockI3D
WGLEW_EXPORT GLboolean __WGLEW_EXT_pixel_format_packed_float
GLEWAPI GLboolean wglewGetExtension(const char *name)
WGLEW_EXPORT PFNWGLENUMGPUDEVICESNVPROC __wglewEnumGpuDevicesNV
BOOL(WINAPI * PFNWGLQUERYFRAMECOUNTNVPROC)(HDC hDC, GLuint *count)
BOOL(WINAPI * PFNWGLQUERYSWAPGROUPNVPROC)(HDC hDC, GLuint *group)
WGLEW_EXPORT PFNWGLRELEASEVIDEOIMAGENVPROC __wglewReleaseVideoImageNV
BOOL(WINAPI * PFNWGLBINDVIDEODEVICENVPROC)(HDC hDc, unsigned int uVideoSlot, HVIDEOOUTPUTDEVICENV hVideoDevice, const int *piAttribList)
WGLEW_EXPORT PFNWGLRELEASEVIDEODEVICENVPROC __wglewReleaseVideoDeviceNV
WGLEW_EXPORT PFNWGLGENLOCKSOURCEI3DPROC __wglewGenlockSourceI3D
BOOL(WINAPI * PFNWGLRESTOREBUFFERREGIONARBPROC)(HANDLE hRegion, int x, int y, int width, int height, int xSrc, int ySrc)
BOOL(WINAPI * PFNWGLJOINSWAPGROUPNVPROC)(HDC hDC, GLuint group)
DECLARE_HANDLE(HPBUFFERARB)
INT64(WINAPI * PFNWGLSWAPBUFFERSMSCOMLPROC)(HDC hdc, INT64 target_msc, INT64 divisor, INT64 remainder)
BOOL(WINAPI * PFNWGLBINDVIDEOIMAGENVPROC)(HPVIDEODEV hVideoDevice, HPBUFFERARB hPbuffer, int iVideoBuffer)
void *(WINAPI * PFNWGLALLOCATEMEMORYNVPROC)(GLsizei size, GLfloat readFrequency, GLfloat writeFrequency, GLfloat priority)
WGLEW_EXPORT PFNWGLISENABLEDGENLOCKI3DPROC __wglewIsEnabledGenlockI3D
WGLEW_EXPORT GLboolean __WGLEW_ARB_buffer_region
WGLEW_EXPORT PFNWGLCHOOSEPIXELFORMATEXTPROC __wglewChoosePixelFormatEXT
BOOL(WINAPI * PFNWGLDESTROYPBUFFEREXTPROC)(HPBUFFEREXT hPbuffer)
HDC(WINAPI * PFNWGLGETPBUFFERDCARBPROC)(HPBUFFERARB hPbuffer)
WGLEW_EXPORT PFNWGLENUMERATEVIDEODEVICESNVPROC __wglewEnumerateVideoDevicesNV
WGLEW_EXPORT PFNWGLDELETEBUFFERREGIONARBPROC __wglewDeleteBufferRegionARB
WGLEW_EXPORT PFNWGLBINDTEXIMAGEARBPROC __wglewBindTexImageARB
BOOL(WINAPI * PFNWGLSWAPINTERVALEXTPROC)(int interval)
WGLEW_EXPORT PFNWGLRELEASETEXIMAGEARBPROC __wglewReleaseTexImageARB
WGLEW_EXPORT GLboolean __WGLEW_NV_video_output
BOOL(WINAPI * PFNWGLWAITFORSBCOMLPROC)(HDC hdc, INT64 target_sbc, INT64 *ust, INT64 *msc, INT64 *sbc)
BOOL(WINAPI * PFNWGLCHOOSEPIXELFORMATEXTPROC)(HDC hdc, const int *piAttribIList, const FLOAT *pfAttribFList, UINT nMaxFormats, int *piFormats, UINT *nNumFormats)
BOOL(WINAPI * PFNWGLQUERYFRAMETRACKINGI3DPROC)(DWORD *pFrameCount, DWORD *pMissedFrames, float *pLastMissedUsage)
WGLEW_EXPORT PFNWGLCREATEAFFINITYDCNVPROC __wglewCreateAffinityDCNV
BOOL(WINAPI * PFNWGLQUERYCURRENTCONTEXTNVPROC)(int iAttribute, int *piValue)
LPVOID(WINAPI * PFNWGLCREATEIMAGEBUFFERI3DPROC)(HDC hDC, DWORD dwSize, UINT uFlags)
WGLEW_EXPORT PFNWGLQUERYFRAMETRACKINGI3DPROC __wglewQueryFrameTrackingI3D
BOOL(WINAPI * PFNWGLENABLEGENLOCKI3DPROC)(HDC hDC)
WGLEW_EXPORT GLboolean __WGLEW_ATI_render_texture_rectangle
WGLEW_EXPORT PFNWGLQUERYCURRENTCONTEXTNVPROC __wglewQueryCurrentContextNV
WGLEW_EXPORT PFNWGLDELETEDCNVPROC __wglewDeleteDCNV
void(WINAPI * PFNWGLFREEMEMORYNVPROC)(void *pointer)
WGLEW_EXPORT PFNWGLISENABLEDFRAMELOCKI3DPROC __wglewIsEnabledFrameLockI3D
HGLRC(WINAPI * PFNWGLCREATECONTEXTATTRIBSARBPROC)(HDC hDC, HGLRC hShareContext, const int *attribList)
GLboolean(WINAPI * PFNWGLCREATEDISPLAYCOLORTABLEEXTPROC)(GLushort id)
WGLEW_EXPORT GLboolean __WGLEW_EXT_display_color_table
BOOL(WINAPI * PFNWGLCHOOSEPIXELFORMATARBPROC)(HDC hdc, const int *piAttribIList, const FLOAT *pfAttribFList, UINT nMaxFormats, int *piFormats, UINT *nNumFormats)
WGLEW_EXPORT GLboolean __WGLEW_OML_sync_control
BOOL(WINAPI * PFNWGLGETPIXELFORMATATTRIBIVEXTPROC)(HDC hdc, int iPixelFormat, int iLayerPlane, UINT nAttributes, int *piAttributes, int *piValues)
BOOL(WINAPI * PFNWGLGETVIDEODEVICENVPROC)(HDC hDC, int numDevices, HPVIDEODEV *hVideoDevice)
int(WINAPI * PFNWGLGETSWAPINTERVALEXTPROC)(void)
WGLEW_EXPORT PFNWGLGETEXTENSIONSSTRINGEXTPROC __wglewGetExtensionsStringEXT
WGLEW_EXPORT PFNWGLWAITFORSBCOMLPROC __wglewWaitForSbcOML
BOOL(WINAPI * PFNWGLDISABLEGENLOCKI3DPROC)(HDC hDC)
WGLEW_EXPORT PFNWGLALLOCATEMEMORYNVPROC __wglewAllocateMemoryNV
WGLEW_EXPORT GLboolean __WGLEW_ARB_render_texture
WGLEW_EXPORT PFNWGLGETVIDEODEVICENVPROC __wglewGetVideoDeviceNV
BOOL(WINAPI * PFNWGLQUERYGENLOCKMAXSOURCEDELAYI3DPROC)(HDC hDC, UINT *uMaxLineDelay, UINT *uMaxPixelDelay)
WGLEW_EXPORT PFNWGLSETSTEREOEMITTERSTATE3DLPROC __wglewSetStereoEmitterState3DL
WGLEW_EXPORT GLboolean __WGLEW_I3D_gamma
const char *(WINAPI * PFNWGLGETEXTENSIONSSTRINGARBPROC)(HDC hdc)
WGLEW_EXPORT PFNWGLGETGENLOCKSOURCEEDGEI3DPROC __wglewGetGenlockSourceEdgeI3D
WGLEW_EXPORT PFNWGLSENDPBUFFERTOVIDEONVPROC __wglewSendPbufferToVideoNV
WGLEW_EXPORT PFNWGLQUERYSWAPGROUPNVPROC __wglewQuerySwapGroupNV
BOOL(WINAPI * PFNWGLGETPIXELFORMATATTRIBIVARBPROC)(HDC hdc, int iPixelFormat, int iLayerPlane, UINT nAttributes, const int *piAttributes, int *piValues)
BOOL(WINAPI * PFNWGLISENABLEDFRAMELOCKI3DPROC)(BOOL *pFlag)
BOOL(WINAPI * PFNWGLGETPIXELFORMATATTRIBFVEXTPROC)(HDC hdc, int iPixelFormat, int iLayerPlane, UINT nAttributes, int *piAttributes, FLOAT *pfValues)
WGLEW_EXPORT PFNWGLGETGAMMATABLEPARAMETERSI3DPROC __wglewGetGammaTableParametersI3D
WGLEW_EXPORT GLboolean __WGLEW_I3D_genlock
WGLEW_EXPORT PFNWGLGETCURRENTREADDCEXTPROC __wglewGetCurrentReadDCEXT
WGLEW_EXPORT PFNWGLCREATEBUFFERREGIONARBPROC __wglewCreateBufferRegionARB
BOOL(WINAPI * PFNWGLDESTROYIMAGEBUFFERI3DPROC)(HDC hDC, LPVOID pAddress)
WGLEW_EXPORT GLboolean __WGLEW_ARB_pbuffer
WGLEW_EXPORT GLboolean __WGLEW_3DFX_multisample
WGLEW_EXPORT PFNWGLBINDDISPLAYCOLORTABLEEXTPROC __wglewBindDisplayColorTableEXT
WGLEW_EXPORT PFNWGLRESTOREBUFFERREGIONARBPROC __wglewRestoreBufferRegionARB
BOOL(WINAPI * PFNWGLASSOCIATEIMAGEBUFFEREVENTSI3DPROC)(HDC hdc, HANDLE *pEvent, LPVOID *pAddress, DWORD *pSize, UINT count)
BOOL(WINAPI * PFNWGLENUMGPUSNVPROC)(UINT iGpuIndex, HGPUNV *phGpu)
WGLEW_EXPORT GLboolean __WGLEW_ARB_pixel_format_float
BOOL(WINAPI * PFNWGLGETPIXELFORMATATTRIBFVARBPROC)(HDC hdc, int iPixelFormat, int iLayerPlane, UINT nAttributes, const int *piAttributes, FLOAT *pfValues)
WGLEW_EXPORT PFNWGLGENLOCKSOURCEEDGEI3DPROC __wglewGenlockSourceEdgeI3D
WGLEW_EXPORT GLboolean __WGLEW_I3D_image_buffer
WGLEW_EXPORT PFNWGLGENLOCKSOURCEDELAYI3DPROC __wglewGenlockSourceDelayI3D
WGLEW_EXPORT PFNWGLBINDSWAPBARRIERNVPROC __wglewBindSwapBarrierNV
BOOL(WINAPI * PFNWGLBINDTEXIMAGEARBPROC)(HPBUFFERARB hPbuffer, int iBuffer)
WGLEW_EXPORT PFNWGLSETPBUFFERATTRIBARBPROC __wglewSetPbufferAttribARB
BOOL(WINAPI * PFNWGLMAKECONTEXTCURRENTEXTPROC)(HDC hDrawDC, HDC hReadDC, HGLRC hglrc)
WGLEW_EXPORT PFNWGLMAKECONTEXTCURRENTEXTPROC __wglewMakeContextCurrentEXT
WGLEW_EXPORT GLboolean __WGLEW_I3D_swap_frame_lock
BOOL(WINAPI * PFNWGLISENABLEDGENLOCKI3DPROC)(HDC hDC, BOOL *pFlag)
struct _GPU_DEVICE * PGPU_DEVICE
WGLEW_EXPORT PFNWGLLOADDISPLAYCOLORTABLEEXTPROC __wglewLoadDisplayColorTableEXT
WGLEW_EXPORT GLboolean __WGLEW_EXT_make_current_read
WGLEW_EXPORT GLboolean __WGLEW_ARB_extensions_string
WGLEW_EXPORT GLboolean __WGLEW_ARB_framebuffer_sRGB
WGLEW_EXPORT PFNWGLQUERYFRAMELOCKMASTERI3DPROC __wglewQueryFrameLockMasterI3D
BOOL(WINAPI * PFNWGLQUERYPBUFFERARBPROC)(HPBUFFERARB hPbuffer, int iAttribute, int *piValue)
BOOL(WINAPI * PFNWGLRELEASEVIDEOIMAGENVPROC)(HPBUFFERARB hPbuffer, int iVideoBuffer)
BOOL(WINAPI * PFNWGLENDFRAMETRACKINGI3DPROC)(void)
BOOL(WINAPI * PFNWGLDESTROYPBUFFERARBPROC)(HPBUFFERARB hPbuffer)
WGLEW_EXPORT GLboolean __WGLEW_EXT_pbuffer
WGLEW_EXPORT GLboolean __WGLEW_NV_vertex_array_range
WGLEW_EXPORT GLboolean __WGLEW_NV_render_depth_texture
WGLEW_EXPORT PFNWGLSWAPLAYERBUFFERSMSCOMLPROC __wglewSwapLayerBuffersMscOML
WGLEW_EXPORT PFNWGLDESTROYPBUFFERARBPROC __wglewDestroyPbufferARB
WGLEW_EXPORT GLboolean __WGLEW_ARB_pixel_format
WGLEW_EXPORT PFNWGLSETGAMMATABLEI3DPROC __wglewSetGammaTableI3D
WGLEW_EXPORT PFNWGLBEGINFRAMETRACKINGI3DPROC __wglewBeginFrameTrackingI3D
WGLEW_EXPORT PFNWGLASSOCIATEIMAGEBUFFEREVENTSI3DPROC __wglewAssociateImageBufferEventsI3D
WGLEW_EXPORT PFNWGLSWAPINTERVALEXTPROC __wglewSwapIntervalEXT
WGLEW_EXPORT PFNWGLSETDIGITALVIDEOPARAMETERSI3DPROC __wglewSetDigitalVideoParametersI3D
BOOL(WINAPI * PFNWGLRELEASEVIDEODEVICENVPROC)(HPVIDEODEV hVideoDevice)
void(WINAPI * PFNWGLDESTROYDISPLAYCOLORTABLEEXTPROC)(GLushort id)
WGLEW_EXPORT PFNWGLGETCURRENTREADDCARBPROC __wglewGetCurrentReadDCARB
WGLEW_EXPORT PFNWGLGETVIDEOINFONVPROC __wglewGetVideoInfoNV
BOOL(WINAPI * PFNWGLGETMSCRATEOMLPROC)(HDC hdc, INT32 *numerator, INT32 *denominator)
int(WINAPI * PFNWGLENUMERATEVIDEODEVICESNVPROC)(HDC hDc, HVIDEOOUTPUTDEVICENV *phDeviceList)
WGLEW_EXPORT PFNWGLGETGAMMATABLEI3DPROC __wglewGetGammaTableI3D
BOOL(WINAPI * PFNWGLBINDSWAPBARRIERNVPROC)(GLuint group, GLuint barrier)
VOID(WINAPI * PFNWGLDELETEBUFFERREGIONARBPROC)(HANDLE hRegion)
WGLEW_EXPORT PFNWGLBINDVIDEOIMAGENVPROC __wglewBindVideoImageNV
WGLEW_EXPORT PFNWGLENDFRAMETRACKINGI3DPROC __wglewEndFrameTrackingI3D
WGLEW_EXPORT PFNWGLENUMGPUSFROMAFFINITYDCNVPROC __wglewEnumGpusFromAffinityDCNV
BOOL(WINAPI * PFNWGLRELEASETEXIMAGEARBPROC)(HPBUFFERARB hPbuffer, int iBuffer)
HDC(WINAPI * PFNWGLGETCURRENTREADDCARBPROC)(VOID)
WGLEW_EXPORT GLboolean __WGLEW_EXT_pixel_format
BOOL(WINAPI * PFNWGLQUERYMAXSWAPGROUPSNVPROC)(HDC hDC, GLuint *maxGroups, GLuint *maxBarriers)
WGLEW_EXPORT GLboolean __WGLEW_ARB_multisample
HPBUFFERARB(WINAPI * PFNWGLCREATEPBUFFERARBPROC)(HDC hDC, int iPixelFormat, int iWidth, int iHeight, const int *piAttribList)
struct _GPU_DEVICE GPU_DEVICE
BOOL(WINAPI * PFNWGLSETGAMMATABLEPARAMETERSI3DPROC)(HDC hDC, int iAttribute, const int *piValue)
WGLEW_EXPORT GLboolean __WGLEW_EXT_swap_control
WGLEW_EXPORT PFNWGLJOINSWAPGROUPNVPROC __wglewJoinSwapGroupNV
BOOL(WINAPI * PFNWGLENUMGPUDEVICESNVPROC)(HGPUNV hGpu, UINT iDeviceIndex, PGPU_DEVICE lpGpuDevice)
WGLEW_EXPORT PFNWGLCREATEIMAGEBUFFERI3DPROC __wglewCreateImageBufferI3D
BOOL(WINAPI * PFNWGLBEGINFRAMETRACKINGI3DPROC)(void)
WGLEW_EXPORT PFNWGLENUMGPUSNVPROC __wglewEnumGpusNV
WGLEW_EXPORT GLboolean __WGLEW_NV_render_texture_rectangle
BOOL(WINAPI * PFNWGLGETDIGITALVIDEOPARAMETERSI3DPROC)(HDC hDC, int iAttribute, int *piValue)
HDC(WINAPI * PFNWGLCREATEAFFINITYDCNVPROC)(const HGPUNV *phGpuList)
BOOL(WINAPI * PFNWGLGETVIDEOINFONVPROC)(HPVIDEODEV hpVideoDevice, unsigned long *pulCounterOutputPbuffer, unsigned long *pulCounterOutputVideo)
WGLEW_EXPORT PFNWGLENABLEFRAMELOCKI3DPROC __wglewEnableFrameLockI3D
BOOL(WINAPI * PFNWGLGETGAMMATABLEI3DPROC)(HDC hDC, int iEntries, USHORT *puRed, USHORT *puGreen, USHORT *puBlue)
WGLEW_EXPORT PFNWGLGETSYNCVALUESOMLPROC __wglewGetSyncValuesOML
WGLEW_EXPORT GLboolean __WGLEW_NV_float_buffer
GLboolean(WINAPI * PFNWGLBINDDISPLAYCOLORTABLEEXTPROC)(GLushort id)
WGLEW_EXPORT GLboolean __WGLEW_NV_gpu_affinity
BOOL(WINAPI * PFNWGLMAKECONTEXTCURRENTARBPROC)(HDC hDrawDC, HDC hReadDC, HGLRC hglrc)
WGLEW_EXPORT PFNWGLCHOOSEPIXELFORMATARBPROC __wglewChoosePixelFormatARB
WGLEW_EXPORT PFNWGLQUERYPBUFFERARBPROC __wglewQueryPbufferARB
BOOL(WINAPI * PFNWGLSETGAMMATABLEI3DPROC)(HDC hDC, int iEntries, const USHORT *puRed, const USHORT *puGreen, const USHORT *puBlue)
BOOL(WINAPI * PFNWGLGENLOCKSOURCEDELAYI3DPROC)(HDC hDC, UINT uDelay)
WGLEW_EXPORT PFNWGLBINDVIDEODEVICENVPROC __wglewBindVideoDeviceNV
WGLEW_EXPORT PFNWGLGETPBUFFERDCARBPROC __wglewGetPbufferDCARB
WGLEW_EXPORT PFNWGLRESETFRAMECOUNTNVPROC __wglewResetFrameCountNV
WGLEW_EXPORT PFNWGLSWAPBUFFERSMSCOMLPROC __wglewSwapBuffersMscOML
WGLEW_EXPORT PFNWGLGETPIXELFORMATATTRIBFVARBPROC __wglewGetPixelFormatAttribfvARB
BOOL(WINAPI * PFNWGLSETDIGITALVIDEOPARAMETERSI3DPROC)(HDC hDC, int iAttribute, const int *piValue)
WGLEW_EXPORT PFNWGLRELEASEPBUFFERDCARBPROC __wglewReleasePbufferDCARB
HPBUFFEREXT(WINAPI * PFNWGLCREATEPBUFFEREXTPROC)(HDC hDC, int iPixelFormat, int iWidth, int iHeight, const int *piAttribList)
WGLEW_EXPORT PFNWGLDISABLEFRAMELOCKI3DPROC __wglewDisableFrameLockI3D
WGLEW_EXPORT PFNWGLGENLOCKSAMPLERATEI3DPROC __wglewGenlockSampleRateI3D
BOOL(WINAPI * PFNWGLGETGENLOCKSOURCEI3DPROC)(HDC hDC, UINT *uSource)
WGLEW_EXPORT PFNWGLDESTROYPBUFFEREXTPROC __wglewDestroyPbufferEXT
WGLEW_EXPORT PFNWGLQUERYMAXSWAPGROUPSNVPROC __wglewQueryMaxSwapGroupsNV
BOOL(WINAPI * PFNWGLRESETFRAMECOUNTNVPROC)(HDC hDC)
BOOL(WINAPI * PFNWGLGENLOCKSAMPLERATEI3DPROC)(HDC hDC, UINT uRate)
BOOL(WINAPI * PFNWGLSENDPBUFFERTOVIDEONVPROC)(HPBUFFERARB hPbuffer, int iBufferType, unsigned long *pulCounterPbuffer, BOOL bBlock)
WGLEW_EXPORT PFNWGLCREATEPBUFFERARBPROC __wglewCreatePbufferARB
WGLEW_EXPORT PFNWGLDESTROYDISPLAYCOLORTABLEEXTPROC __wglewDestroyDisplayColorTableEXT
INT64(WINAPI * PFNWGLSWAPLAYERBUFFERSMSCOMLPROC)(HDC hdc, INT fuPlanes, INT64 target_msc, INT64 divisor, INT64 remainder)
BOOL(WINAPI * PFNWGLRELEASEIMAGEBUFFEREVENTSI3DPROC)(HDC hdc, LPVOID *pAddress, UINT count)
WGLEW_EXPORT PFNWGLGETGENLOCKSOURCEI3DPROC __wglewGetGenlockSourceI3D
WGLEW_EXPORT PFNWGLGETPBUFFERDCEXTPROC __wglewGetPbufferDCEXT
BOOL(WINAPI * PFNWGLGETGENLOCKSAMPLERATEI3DPROC)(HDC hDC, UINT *uRate)
int(WINAPI * PFNWGLRELEASEPBUFFERDCARBPROC)(HPBUFFERARB hPbuffer, HDC hDC)
BOOL(WINAPI * PFNWGLGETGENLOCKSOURCEDELAYI3DPROC)(HDC hDC, UINT *uDelay)
WGLEW_EXPORT GLboolean __WGLEW_EXT_extensions_string
WGLEW_EXPORT GLboolean __WGLEW_NV_present_video
WGLEW_EXPORT GLboolean __WGLEW_EXT_depth_float
WGLEW_EXPORT PFNWGLGETGENLOCKSOURCEDELAYI3DPROC __wglewGetGenlockSourceDelayI3D
WGLEW_EXPORT PFNWGLRELEASEIMAGEBUFFEREVENTSI3DPROC __wglewReleaseImageBufferEventsI3D
GLEWAPI GLboolean wglewIsSupported(const char *name)
WGLEW_EXPORT GLboolean __WGLEW_I3D_digital_video_control
WGLEW_EXPORT GLboolean __WGLEW_EXT_framebuffer_sRGB
BOOL(WINAPI * PFNWGLENUMGPUSFROMAFFINITYDCNVPROC)(HDC hAffinityDC, UINT iGpuIndex, HGPUNV *hGpu)
BOOL(WINAPI * PFNWGLGETSYNCVALUESOMLPROC)(HDC hdc, INT64 *ust, INT64 *msc, INT64 *sbc)
WGLEW_EXPORT PFNWGLWAITFORMSCOMLPROC __wglewWaitForMscOML
WGLEW_EXPORT GLboolean __WGLEW_ATI_pixel_format_float
HDC(WINAPI * PFNWGLGETCURRENTREADDCEXTPROC)(VOID)
BOOL(WINAPI * PFNWGLGETGENLOCKSOURCEEDGEI3DPROC)(HDC hDC, UINT *uEdge)
WGLEW_EXPORT PFNWGLDESTROYIMAGEBUFFERI3DPROC __wglewDestroyImageBufferI3D
BOOL(WINAPI * PFNWGLGETGAMMATABLEPARAMETERSI3DPROC)(HDC hDC, int iAttribute, int *piValue)
BOOL(WINAPI * PFNWGLSETPBUFFERATTRIBARBPROC)(HPBUFFERARB hPbuffer, const int *piAttribList)
WGLEW_EXPORT PFNWGLCREATEPBUFFEREXTPROC __wglewCreatePbufferEXT
BOOL(WINAPI * PFNWGLDISABLEFRAMELOCKI3DPROC)(VOID)
BOOL(WINAPI * PFNWGLQUERYFRAMELOCKMASTERI3DPROC)(BOOL *pFlag)
WGLEW_EXPORT GLboolean __WGLEW_I3D_swap_frame_usage
HDC(WINAPI * PFNWGLGETPBUFFERDCEXTPROC)(HPBUFFEREXT hPbuffer)
BOOL(WINAPI * PFNWGLSETSTEREOEMITTERSTATE3DLPROC)(HDC hDC, UINT uState)
WGLEW_EXPORT GLboolean __WGLEW_NV_swap_group
BOOL(WINAPI * PFNWGLQUERYPBUFFEREXTPROC)(HPBUFFEREXT hPbuffer, int iAttribute, int *piValue)
WGLEW_EXPORT PFNWGLCREATEDISPLAYCOLORTABLEEXTPROC __wglewCreateDisplayColorTableEXT
int(WINAPI * PFNWGLRELEASEPBUFFERDCEXTPROC)(HPBUFFEREXT hPbuffer, HDC hDC)
BOOL(WINAPI * PFNWGLGENLOCKSOURCEI3DPROC)(HDC hDC, UINT uSource)
WGLEW_EXPORT PFNWGLDISABLEGENLOCKI3DPROC __wglewDisableGenlockI3D
WGLEW_EXPORT PFNWGLGETMSCRATEOMLPROC __wglewGetMscRateOML