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 \ 93 WGLEW_GET_FUN(__wglewSetStereoEmitterState3DL) 95 #define WGLEW_3DL_stereo_control WGLEW_GET_VAR(__WGLEW_3DL_stereo_control) 101 #ifndef WGL_ARB_buffer_region 102 #define WGL_ARB_buffer_region 1 104 #define WGL_FRONT_COLOR_BUFFER_BIT_ARB 0x00000001 105 #define WGL_BACK_COLOR_BUFFER_BIT_ARB 0x00000002 106 #define WGL_DEPTH_BUFFER_BIT_ARB 0x00000004 107 #define WGL_STENCIL_BUFFER_BIT_ARB 0x00000008 110 HDC hDC,
int iLayerPlane, UINT uType);
113 HANDLE hRegion,
int x,
int y,
int width,
int height,
int xSrc,
int ySrc);
117 #define wglCreateBufferRegionARB WGLEW_GET_FUN(__wglewCreateBufferRegionARB) 118 #define wglDeleteBufferRegionARB WGLEW_GET_FUN(__wglewDeleteBufferRegionARB) 119 #define wglRestoreBufferRegionARB WGLEW_GET_FUN(__wglewRestoreBufferRegionARB) 120 #define wglSaveBufferRegionARB WGLEW_GET_FUN(__wglewSaveBufferRegionARB) 122 #define WGLEW_ARB_buffer_region WGLEW_GET_VAR(__WGLEW_ARB_buffer_region) 128 #ifndef WGL_ARB_create_context 129 #define WGL_ARB_create_context 1 131 #define WGL_CONTEXT_DEBUG_BIT_ARB 0x0001 132 #define WGL_CONTEXT_FORWARD_COMPATIBLE_BIT_ARB 0x0002 133 #define WGL_CONTEXT_MAJOR_VERSION_ARB 0x2091 134 #define WGL_CONTEXT_MINOR_VERSION_ARB 0x2092 135 #define WGL_CONTEXT_LAYER_PLANE_ARB 0x2093 136 #define WGL_CONTEXT_FLAGS_ARB 0x2094 139 HDC hDC, HGLRC hShareContext,
const int* attribList);
141 #define wglCreateContextAttribsARB WGLEW_GET_FUN(__wglewCreateContextAttribsARB) 143 #define WGLEW_ARB_create_context WGLEW_GET_VAR(__WGLEW_ARB_create_context) 149 #ifndef WGL_ARB_extensions_string 150 #define WGL_ARB_extensions_string 1 154 #define wglGetExtensionsStringARB WGLEW_GET_FUN(__wglewGetExtensionsStringARB) 156 #define WGLEW_ARB_extensions_string WGLEW_GET_VAR(__WGLEW_ARB_extensions_string) 162 #ifndef WGL_ARB_framebuffer_sRGB 163 #define WGL_ARB_framebuffer_sRGB 1 165 #define WGL_FRAMEBUFFER_SRGB_CAPABLE_ARB 0x20A9 167 #define WGLEW_ARB_framebuffer_sRGB WGLEW_GET_VAR(__WGLEW_ARB_framebuffer_sRGB) 173 #ifndef WGL_ARB_make_current_read 174 #define WGL_ARB_make_current_read 1 176 #define ERROR_INVALID_PIXEL_TYPE_ARB 0x2043 177 #define ERROR_INCOMPATIBLE_DEVICE_CONTEXTS_ARB 0x2054 181 HDC hDrawDC, HDC hReadDC, HGLRC hglrc);
183 #define wglGetCurrentReadDCARB WGLEW_GET_FUN(__wglewGetCurrentReadDCARB) 184 #define wglMakeContextCurrentARB WGLEW_GET_FUN(__wglewMakeContextCurrentARB) 186 #define WGLEW_ARB_make_current_read WGLEW_GET_VAR(__WGLEW_ARB_make_current_read) 192 #ifndef WGL_ARB_multisample 193 #define WGL_ARB_multisample 1 195 #define WGL_SAMPLE_BUFFERS_ARB 0x2041 196 #define WGL_SAMPLES_ARB 0x2042 198 #define WGLEW_ARB_multisample WGLEW_GET_VAR(__WGLEW_ARB_multisample) 204 #ifndef WGL_ARB_pbuffer 205 #define WGL_ARB_pbuffer 1 207 #define WGL_DRAW_TO_PBUFFER_ARB 0x202D 208 #define WGL_MAX_PBUFFER_PIXELS_ARB 0x202E 209 #define WGL_MAX_PBUFFER_WIDTH_ARB 0x202F 210 #define WGL_MAX_PBUFFER_HEIGHT_ARB 0x2030 211 #define WGL_PBUFFER_LARGEST_ARB 0x2033 212 #define WGL_PBUFFER_WIDTH_ARB 0x2034 213 #define WGL_PBUFFER_HEIGHT_ARB 0x2035 214 #define WGL_PBUFFER_LOST_ARB 0x2036 219 HDC hDC,
int iPixelFormat,
int iWidth,
int iHeight,
220 const int* piAttribList);
224 HPBUFFERARB hPbuffer,
int iAttribute,
int* piValue);
226 HPBUFFERARB hPbuffer, HDC hDC);
228 #define wglCreatePbufferARB WGLEW_GET_FUN(__wglewCreatePbufferARB) 229 #define wglDestroyPbufferARB WGLEW_GET_FUN(__wglewDestroyPbufferARB) 230 #define wglGetPbufferDCARB WGLEW_GET_FUN(__wglewGetPbufferDCARB) 231 #define wglQueryPbufferARB WGLEW_GET_FUN(__wglewQueryPbufferARB) 232 #define wglReleasePbufferDCARB WGLEW_GET_FUN(__wglewReleasePbufferDCARB) 234 #define WGLEW_ARB_pbuffer WGLEW_GET_VAR(__WGLEW_ARB_pbuffer) 240 #ifndef WGL_ARB_pixel_format 241 #define WGL_ARB_pixel_format 1 243 #define WGL_NUMBER_PIXEL_FORMATS_ARB 0x2000 244 #define WGL_DRAW_TO_WINDOW_ARB 0x2001 245 #define WGL_DRAW_TO_BITMAP_ARB 0x2002 246 #define WGL_ACCELERATION_ARB 0x2003 247 #define WGL_NEED_PALETTE_ARB 0x2004 248 #define WGL_NEED_SYSTEM_PALETTE_ARB 0x2005 249 #define WGL_SWAP_LAYER_BUFFERS_ARB 0x2006 250 #define WGL_SWAP_METHOD_ARB 0x2007 251 #define WGL_NUMBER_OVERLAYS_ARB 0x2008 252 #define WGL_NUMBER_UNDERLAYS_ARB 0x2009 253 #define WGL_TRANSPARENT_ARB 0x200A 254 #define WGL_SHARE_DEPTH_ARB 0x200C 255 #define WGL_SHARE_STENCIL_ARB 0x200D 256 #define WGL_SHARE_ACCUM_ARB 0x200E 257 #define WGL_SUPPORT_GDI_ARB 0x200F 258 #define WGL_SUPPORT_OPENGL_ARB 0x2010 259 #define WGL_DOUBLE_BUFFER_ARB 0x2011 260 #define WGL_STEREO_ARB 0x2012 261 #define WGL_PIXEL_TYPE_ARB 0x2013 262 #define WGL_COLOR_BITS_ARB 0x2014 263 #define WGL_RED_BITS_ARB 0x2015 264 #define WGL_RED_SHIFT_ARB 0x2016 265 #define WGL_GREEN_BITS_ARB 0x2017 266 #define WGL_GREEN_SHIFT_ARB 0x2018 267 #define WGL_BLUE_BITS_ARB 0x2019 268 #define WGL_BLUE_SHIFT_ARB 0x201A 269 #define WGL_ALPHA_BITS_ARB 0x201B 270 #define WGL_ALPHA_SHIFT_ARB 0x201C 271 #define WGL_ACCUM_BITS_ARB 0x201D 272 #define WGL_ACCUM_RED_BITS_ARB 0x201E 273 #define WGL_ACCUM_GREEN_BITS_ARB 0x201F 274 #define WGL_ACCUM_BLUE_BITS_ARB 0x2020 275 #define WGL_ACCUM_ALPHA_BITS_ARB 0x2021 276 #define WGL_DEPTH_BITS_ARB 0x2022 277 #define WGL_STENCIL_BITS_ARB 0x2023 278 #define WGL_AUX_BUFFERS_ARB 0x2024 279 #define WGL_NO_ACCELERATION_ARB 0x2025 280 #define WGL_GENERIC_ACCELERATION_ARB 0x2026 281 #define WGL_FULL_ACCELERATION_ARB 0x2027 282 #define WGL_SWAP_EXCHANGE_ARB 0x2028 283 #define WGL_SWAP_COPY_ARB 0x2029 284 #define WGL_SWAP_UNDEFINED_ARB 0x202A 285 #define WGL_TYPE_RGBA_ARB 0x202B 286 #define WGL_TYPE_COLORINDEX_ARB 0x202C 287 #define WGL_TRANSPARENT_RED_VALUE_ARB 0x2037 288 #define WGL_TRANSPARENT_GREEN_VALUE_ARB 0x2038 289 #define WGL_TRANSPARENT_BLUE_VALUE_ARB 0x2039 290 #define WGL_TRANSPARENT_ALPHA_VALUE_ARB 0x203A 291 #define WGL_TRANSPARENT_INDEX_VALUE_ARB 0x203B 294 HDC hdc,
const int* piAttribIList,
const FLOAT* pfAttribFList,
295 UINT nMaxFormats,
int* piFormats, UINT* nNumFormats);
297 HDC hdc,
int iPixelFormat,
int iLayerPlane, UINT nAttributes,
298 const int* piAttributes, FLOAT* pfValues);
300 HDC hdc,
int iPixelFormat,
int iLayerPlane, UINT nAttributes,
301 const int* piAttributes,
int* piValues);
303 #define wglChoosePixelFormatARB WGLEW_GET_FUN(__wglewChoosePixelFormatARB) 304 #define wglGetPixelFormatAttribfvARB \ 305 WGLEW_GET_FUN(__wglewGetPixelFormatAttribfvARB) 306 #define wglGetPixelFormatAttribivARB \ 307 WGLEW_GET_FUN(__wglewGetPixelFormatAttribivARB) 309 #define WGLEW_ARB_pixel_format WGLEW_GET_VAR(__WGLEW_ARB_pixel_format) 315 #ifndef WGL_ARB_pixel_format_float 316 #define WGL_ARB_pixel_format_float 1 318 #define WGL_TYPE_RGBA_FLOAT_ARB 0x21A0 320 #define WGLEW_ARB_pixel_format_float \ 321 WGLEW_GET_VAR(__WGLEW_ARB_pixel_format_float) 327 #ifndef WGL_ARB_render_texture 328 #define WGL_ARB_render_texture 1 330 #define WGL_BIND_TO_TEXTURE_RGB_ARB 0x2070 331 #define WGL_BIND_TO_TEXTURE_RGBA_ARB 0x2071 332 #define WGL_TEXTURE_FORMAT_ARB 0x2072 333 #define WGL_TEXTURE_TARGET_ARB 0x2073 334 #define WGL_MIPMAP_TEXTURE_ARB 0x2074 335 #define WGL_TEXTURE_RGB_ARB 0x2075 336 #define WGL_TEXTURE_RGBA_ARB 0x2076 337 #define WGL_NO_TEXTURE_ARB 0x2077 338 #define WGL_TEXTURE_CUBE_MAP_ARB 0x2078 339 #define WGL_TEXTURE_1D_ARB 0x2079 340 #define WGL_TEXTURE_2D_ARB 0x207A 341 #define WGL_MIPMAP_LEVEL_ARB 0x207B 342 #define WGL_CUBE_MAP_FACE_ARB 0x207C 343 #define WGL_TEXTURE_CUBE_MAP_POSITIVE_X_ARB 0x207D 344 #define WGL_TEXTURE_CUBE_MAP_NEGATIVE_X_ARB 0x207E 345 #define WGL_TEXTURE_CUBE_MAP_POSITIVE_Y_ARB 0x207F 346 #define WGL_TEXTURE_CUBE_MAP_NEGATIVE_Y_ARB 0x2080 347 #define WGL_TEXTURE_CUBE_MAP_POSITIVE_Z_ARB 0x2081 348 #define WGL_TEXTURE_CUBE_MAP_NEGATIVE_Z_ARB 0x2082 349 #define WGL_FRONT_LEFT_ARB 0x2083 350 #define WGL_FRONT_RIGHT_ARB 0x2084 351 #define WGL_BACK_LEFT_ARB 0x2085 352 #define WGL_BACK_RIGHT_ARB 0x2086 353 #define WGL_AUX0_ARB 0x2087 354 #define WGL_AUX1_ARB 0x2088 355 #define WGL_AUX2_ARB 0x2089 356 #define WGL_AUX3_ARB 0x208A 357 #define WGL_AUX4_ARB 0x208B 358 #define WGL_AUX5_ARB 0x208C 359 #define WGL_AUX6_ARB 0x208D 360 #define WGL_AUX7_ARB 0x208E 361 #define WGL_AUX8_ARB 0x208F 362 #define WGL_AUX9_ARB 0x2090 365 HPBUFFERARB hPbuffer,
int iBuffer);
367 HPBUFFERARB hPbuffer,
int iBuffer);
369 HPBUFFERARB hPbuffer,
const int* piAttribList);
371 #define wglBindTexImageARB WGLEW_GET_FUN(__wglewBindTexImageARB) 372 #define wglReleaseTexImageARB WGLEW_GET_FUN(__wglewReleaseTexImageARB) 373 #define wglSetPbufferAttribARB WGLEW_GET_FUN(__wglewSetPbufferAttribARB) 375 #define WGLEW_ARB_render_texture WGLEW_GET_VAR(__WGLEW_ARB_render_texture) 381 #ifndef WGL_ATI_pixel_format_float 382 #define WGL_ATI_pixel_format_float 1 384 #define WGL_TYPE_RGBA_FLOAT_ATI 0x21A0 385 #define GL_RGBA_FLOAT_MODE_ATI 0x8820 386 #define GL_COLOR_CLEAR_UNCLAMPED_VALUE_ATI 0x8835 388 #define WGLEW_ATI_pixel_format_float \ 389 WGLEW_GET_VAR(__WGLEW_ATI_pixel_format_float) 395 #ifndef WGL_ATI_render_texture_rectangle 396 #define WGL_ATI_render_texture_rectangle 1 398 #define WGL_TEXTURE_RECTANGLE_ATI 0x21A5 400 #define WGLEW_ATI_render_texture_rectangle \ 401 WGLEW_GET_VAR(__WGLEW_ATI_render_texture_rectangle) 407 #ifndef WGL_EXT_depth_float 408 #define WGL_EXT_depth_float 1 410 #define WGL_DEPTH_FLOAT_EXT 0x2040 412 #define WGLEW_EXT_depth_float WGLEW_GET_VAR(__WGLEW_EXT_depth_float) 418 #ifndef WGL_EXT_display_color_table 419 #define WGL_EXT_display_color_table 1 427 #define wglBindDisplayColorTableEXT \ 428 WGLEW_GET_FUN(__wglewBindDisplayColorTableEXT) 429 #define wglCreateDisplayColorTableEXT \ 430 WGLEW_GET_FUN(__wglewCreateDisplayColorTableEXT) 431 #define wglDestroyDisplayColorTableEXT \ 432 WGLEW_GET_FUN(__wglewDestroyDisplayColorTableEXT) 433 #define wglLoadDisplayColorTableEXT \ 434 WGLEW_GET_FUN(__wglewLoadDisplayColorTableEXT) 436 #define WGLEW_EXT_display_color_table \ 437 WGLEW_GET_VAR(__WGLEW_EXT_display_color_table) 443 #ifndef WGL_EXT_extensions_string 444 #define WGL_EXT_extensions_string 1 448 #define wglGetExtensionsStringEXT WGLEW_GET_FUN(__wglewGetExtensionsStringEXT) 450 #define WGLEW_EXT_extensions_string WGLEW_GET_VAR(__WGLEW_EXT_extensions_string) 456 #ifndef WGL_EXT_framebuffer_sRGB 457 #define WGL_EXT_framebuffer_sRGB 1 459 #define WGL_FRAMEBUFFER_SRGB_CAPABLE_EXT 0x20A9 461 #define WGLEW_EXT_framebuffer_sRGB WGLEW_GET_VAR(__WGLEW_EXT_framebuffer_sRGB) 467 #ifndef WGL_EXT_make_current_read 468 #define WGL_EXT_make_current_read 1 470 #define ERROR_INVALID_PIXEL_TYPE_EXT 0x2043 474 HDC hDrawDC, HDC hReadDC, HGLRC hglrc);
476 #define wglGetCurrentReadDCEXT WGLEW_GET_FUN(__wglewGetCurrentReadDCEXT) 477 #define wglMakeContextCurrentEXT WGLEW_GET_FUN(__wglewMakeContextCurrentEXT) 479 #define WGLEW_EXT_make_current_read WGLEW_GET_VAR(__WGLEW_EXT_make_current_read) 485 #ifndef WGL_EXT_multisample 486 #define WGL_EXT_multisample 1 488 #define WGL_SAMPLE_BUFFERS_EXT 0x2041 489 #define WGL_SAMPLES_EXT 0x2042 491 #define WGLEW_EXT_multisample WGLEW_GET_VAR(__WGLEW_EXT_multisample) 497 #ifndef WGL_EXT_pbuffer 498 #define WGL_EXT_pbuffer 1 500 #define WGL_DRAW_TO_PBUFFER_EXT 0x202D 501 #define WGL_MAX_PBUFFER_PIXELS_EXT 0x202E 502 #define WGL_MAX_PBUFFER_WIDTH_EXT 0x202F 503 #define WGL_MAX_PBUFFER_HEIGHT_EXT 0x2030 504 #define WGL_OPTIMAL_PBUFFER_WIDTH_EXT 0x2031 505 #define WGL_OPTIMAL_PBUFFER_HEIGHT_EXT 0x2032 506 #define WGL_PBUFFER_LARGEST_EXT 0x2033 507 #define WGL_PBUFFER_WIDTH_EXT 0x2034 508 #define WGL_PBUFFER_HEIGHT_EXT 0x2035 513 HDC hDC,
int iPixelFormat,
int iWidth,
int iHeight,
514 const int* piAttribList);
518 HPBUFFEREXT hPbuffer,
int iAttribute,
int* piValue);
520 HPBUFFEREXT hPbuffer, HDC hDC);
522 #define wglCreatePbufferEXT WGLEW_GET_FUN(__wglewCreatePbufferEXT) 523 #define wglDestroyPbufferEXT WGLEW_GET_FUN(__wglewDestroyPbufferEXT) 524 #define wglGetPbufferDCEXT WGLEW_GET_FUN(__wglewGetPbufferDCEXT) 525 #define wglQueryPbufferEXT WGLEW_GET_FUN(__wglewQueryPbufferEXT) 526 #define wglReleasePbufferDCEXT WGLEW_GET_FUN(__wglewReleasePbufferDCEXT) 528 #define WGLEW_EXT_pbuffer WGLEW_GET_VAR(__WGLEW_EXT_pbuffer) 534 #ifndef WGL_EXT_pixel_format 535 #define WGL_EXT_pixel_format 1 537 #define WGL_NUMBER_PIXEL_FORMATS_EXT 0x2000 538 #define WGL_DRAW_TO_WINDOW_EXT 0x2001 539 #define WGL_DRAW_TO_BITMAP_EXT 0x2002 540 #define WGL_ACCELERATION_EXT 0x2003 541 #define WGL_NEED_PALETTE_EXT 0x2004 542 #define WGL_NEED_SYSTEM_PALETTE_EXT 0x2005 543 #define WGL_SWAP_LAYER_BUFFERS_EXT 0x2006 544 #define WGL_SWAP_METHOD_EXT 0x2007 545 #define WGL_NUMBER_OVERLAYS_EXT 0x2008 546 #define WGL_NUMBER_UNDERLAYS_EXT 0x2009 547 #define WGL_TRANSPARENT_EXT 0x200A 548 #define WGL_TRANSPARENT_VALUE_EXT 0x200B 549 #define WGL_SHARE_DEPTH_EXT 0x200C 550 #define WGL_SHARE_STENCIL_EXT 0x200D 551 #define WGL_SHARE_ACCUM_EXT 0x200E 552 #define WGL_SUPPORT_GDI_EXT 0x200F 553 #define WGL_SUPPORT_OPENGL_EXT 0x2010 554 #define WGL_DOUBLE_BUFFER_EXT 0x2011 555 #define WGL_STEREO_EXT 0x2012 556 #define WGL_PIXEL_TYPE_EXT 0x2013 557 #define WGL_COLOR_BITS_EXT 0x2014 558 #define WGL_RED_BITS_EXT 0x2015 559 #define WGL_RED_SHIFT_EXT 0x2016 560 #define WGL_GREEN_BITS_EXT 0x2017 561 #define WGL_GREEN_SHIFT_EXT 0x2018 562 #define WGL_BLUE_BITS_EXT 0x2019 563 #define WGL_BLUE_SHIFT_EXT 0x201A 564 #define WGL_ALPHA_BITS_EXT 0x201B 565 #define WGL_ALPHA_SHIFT_EXT 0x201C 566 #define WGL_ACCUM_BITS_EXT 0x201D 567 #define WGL_ACCUM_RED_BITS_EXT 0x201E 568 #define WGL_ACCUM_GREEN_BITS_EXT 0x201F 569 #define WGL_ACCUM_BLUE_BITS_EXT 0x2020 570 #define WGL_ACCUM_ALPHA_BITS_EXT 0x2021 571 #define WGL_DEPTH_BITS_EXT 0x2022 572 #define WGL_STENCIL_BITS_EXT 0x2023 573 #define WGL_AUX_BUFFERS_EXT 0x2024 574 #define WGL_NO_ACCELERATION_EXT 0x2025 575 #define WGL_GENERIC_ACCELERATION_EXT 0x2026 576 #define WGL_FULL_ACCELERATION_EXT 0x2027 577 #define WGL_SWAP_EXCHANGE_EXT 0x2028 578 #define WGL_SWAP_COPY_EXT 0x2029 579 #define WGL_SWAP_UNDEFINED_EXT 0x202A 580 #define WGL_TYPE_RGBA_EXT 0x202B 581 #define WGL_TYPE_COLORINDEX_EXT 0x202C 584 HDC hdc,
const int* piAttribIList,
const FLOAT* pfAttribFList,
585 UINT nMaxFormats,
int* piFormats, UINT* nNumFormats);
587 HDC hdc,
int iPixelFormat,
int iLayerPlane, UINT nAttributes,
588 int* piAttributes, FLOAT* pfValues);
590 HDC hdc,
int iPixelFormat,
int iLayerPlane, UINT nAttributes,
591 int* piAttributes,
int* piValues);
593 #define wglChoosePixelFormatEXT WGLEW_GET_FUN(__wglewChoosePixelFormatEXT) 594 #define wglGetPixelFormatAttribfvEXT \ 595 WGLEW_GET_FUN(__wglewGetPixelFormatAttribfvEXT) 596 #define wglGetPixelFormatAttribivEXT \ 597 WGLEW_GET_FUN(__wglewGetPixelFormatAttribivEXT) 599 #define WGLEW_EXT_pixel_format WGLEW_GET_VAR(__WGLEW_EXT_pixel_format) 605 #ifndef WGL_EXT_pixel_format_packed_float 606 #define WGL_EXT_pixel_format_packed_float 1 608 #define WGL_TYPE_RGBA_UNSIGNED_FLOAT_EXT 0x20A8 610 #define WGLEW_EXT_pixel_format_packed_float \ 611 WGLEW_GET_VAR(__WGLEW_EXT_pixel_format_packed_float) 617 #ifndef WGL_EXT_swap_control 618 #define WGL_EXT_swap_control 1 623 #define wglGetSwapIntervalEXT WGLEW_GET_FUN(__wglewGetSwapIntervalEXT) 624 #define wglSwapIntervalEXT WGLEW_GET_FUN(__wglewSwapIntervalEXT) 626 #define WGLEW_EXT_swap_control WGLEW_GET_VAR(__WGLEW_EXT_swap_control) 632 #ifndef WGL_I3D_digital_video_control 633 #define WGL_I3D_digital_video_control 1 635 #define WGL_DIGITAL_VIDEO_CURSOR_ALPHA_FRAMEBUFFER_I3D 0x2050 636 #define WGL_DIGITAL_VIDEO_CURSOR_ALPHA_VALUE_I3D 0x2051 637 #define WGL_DIGITAL_VIDEO_CURSOR_INCLUDED_I3D 0x2052 638 #define WGL_DIGITAL_VIDEO_GAMMA_CORRECTED_I3D 0x2053 641 HDC hDC,
int iAttribute,
int* piValue);
643 HDC hDC,
int iAttribute,
const int* piValue);
645 #define wglGetDigitalVideoParametersI3D \ 646 WGLEW_GET_FUN(__wglewGetDigitalVideoParametersI3D) 647 #define wglSetDigitalVideoParametersI3D \ 648 WGLEW_GET_FUN(__wglewSetDigitalVideoParametersI3D) 650 #define WGLEW_I3D_digital_video_control \ 651 WGLEW_GET_VAR(__WGLEW_I3D_digital_video_control) 657 #ifndef WGL_I3D_gamma 658 #define WGL_I3D_gamma 1 660 #define WGL_GAMMA_TABLE_SIZE_I3D 0x204E 661 #define WGL_GAMMA_EXCLUDE_DESKTOP_I3D 0x204F 664 HDC hDC,
int iEntries, USHORT* puRed, USHORT* puGreen, USHORT* puBlue);
666 HDC hDC,
int iAttribute,
int* piValue);
668 HDC hDC,
int iEntries,
const USHORT* puRed,
const USHORT* puGreen,
669 const USHORT* puBlue);
671 HDC hDC,
int iAttribute,
const int* piValue);
673 #define wglGetGammaTableI3D WGLEW_GET_FUN(__wglewGetGammaTableI3D) 674 #define wglGetGammaTableParametersI3D \ 675 WGLEW_GET_FUN(__wglewGetGammaTableParametersI3D) 676 #define wglSetGammaTableI3D WGLEW_GET_FUN(__wglewSetGammaTableI3D) 677 #define wglSetGammaTableParametersI3D \ 678 WGLEW_GET_FUN(__wglewSetGammaTableParametersI3D) 680 #define WGLEW_I3D_gamma WGLEW_GET_VAR(__WGLEW_I3D_gamma) 686 #ifndef WGL_I3D_genlock 687 #define WGL_I3D_genlock 1 689 #define WGL_GENLOCK_SOURCE_MULTIVIEW_I3D 0x2044 690 #define WGL_GENLOCK_SOURCE_EXTERNAL_SYNC_I3D 0x2045 691 #define WGL_GENLOCK_SOURCE_EXTERNAL_FIELD_I3D 0x2046 692 #define WGL_GENLOCK_SOURCE_EXTERNAL_TTL_I3D 0x2047 693 #define WGL_GENLOCK_SOURCE_DIGITAL_SYNC_I3D 0x2048 694 #define WGL_GENLOCK_SOURCE_DIGITAL_FIELD_I3D 0x2049 695 #define WGL_GENLOCK_SOURCE_EDGE_FALLING_I3D 0x204A 696 #define WGL_GENLOCK_SOURCE_EDGE_RISING_I3D 0x204B 697 #define WGL_GENLOCK_SOURCE_EDGE_BOTH_I3D 0x204C 711 HDC hDC, UINT* uMaxLineDelay, UINT* uMaxPixelDelay);
713 #define wglDisableGenlockI3D WGLEW_GET_FUN(__wglewDisableGenlockI3D) 714 #define wglEnableGenlockI3D WGLEW_GET_FUN(__wglewEnableGenlockI3D) 715 #define wglGenlockSampleRateI3D WGLEW_GET_FUN(__wglewGenlockSampleRateI3D) 716 #define wglGenlockSourceDelayI3D WGLEW_GET_FUN(__wglewGenlockSourceDelayI3D) 717 #define wglGenlockSourceEdgeI3D WGLEW_GET_FUN(__wglewGenlockSourceEdgeI3D) 718 #define wglGenlockSourceI3D WGLEW_GET_FUN(__wglewGenlockSourceI3D) 719 #define wglGetGenlockSampleRateI3D WGLEW_GET_FUN(__wglewGetGenlockSampleRateI3D) 720 #define wglGetGenlockSourceDelayI3D \ 721 WGLEW_GET_FUN(__wglewGetGenlockSourceDelayI3D) 722 #define wglGetGenlockSourceEdgeI3D WGLEW_GET_FUN(__wglewGetGenlockSourceEdgeI3D) 723 #define wglGetGenlockSourceI3D WGLEW_GET_FUN(__wglewGetGenlockSourceI3D) 724 #define wglIsEnabledGenlockI3D WGLEW_GET_FUN(__wglewIsEnabledGenlockI3D) 725 #define wglQueryGenlockMaxSourceDelayI3D \ 726 WGLEW_GET_FUN(__wglewQueryGenlockMaxSourceDelayI3D) 728 #define WGLEW_I3D_genlock WGLEW_GET_VAR(__WGLEW_I3D_genlock) 734 #ifndef WGL_I3D_image_buffer 735 #define WGL_I3D_image_buffer 1 737 #define WGL_IMAGE_BUFFER_MIN_ACCESS_I3D 0x00000001 738 #define WGL_IMAGE_BUFFER_LOCK_I3D 0x00000002 741 HDC hdc, HANDLE* pEvent, LPVOID* pAddress, DWORD* pSize, UINT
count);
743 HDC hDC, DWORD dwSize, UINT uFlags);
746 HDC hdc, LPVOID* pAddress, UINT
count);
748 #define wglAssociateImageBufferEventsI3D \ 749 WGLEW_GET_FUN(__wglewAssociateImageBufferEventsI3D) 750 #define wglCreateImageBufferI3D WGLEW_GET_FUN(__wglewCreateImageBufferI3D) 751 #define wglDestroyImageBufferI3D WGLEW_GET_FUN(__wglewDestroyImageBufferI3D) 752 #define wglReleaseImageBufferEventsI3D \ 753 WGLEW_GET_FUN(__wglewReleaseImageBufferEventsI3D) 755 #define WGLEW_I3D_image_buffer WGLEW_GET_VAR(__WGLEW_I3D_image_buffer) 761 #ifndef WGL_I3D_swap_frame_lock 762 #define WGL_I3D_swap_frame_lock 1 769 #define wglDisableFrameLockI3D WGLEW_GET_FUN(__wglewDisableFrameLockI3D) 770 #define wglEnableFrameLockI3D WGLEW_GET_FUN(__wglewEnableFrameLockI3D) 771 #define wglIsEnabledFrameLockI3D WGLEW_GET_FUN(__wglewIsEnabledFrameLockI3D) 772 #define wglQueryFrameLockMasterI3D WGLEW_GET_FUN(__wglewQueryFrameLockMasterI3D) 774 #define WGLEW_I3D_swap_frame_lock WGLEW_GET_VAR(__WGLEW_I3D_swap_frame_lock) 780 #ifndef WGL_I3D_swap_frame_usage 781 #define WGL_I3D_swap_frame_usage 1 787 DWORD* pFrameCount, DWORD* pMissedFrames,
float* pLastMissedUsage);
789 #define wglBeginFrameTrackingI3D WGLEW_GET_FUN(__wglewBeginFrameTrackingI3D) 790 #define wglEndFrameTrackingI3D WGLEW_GET_FUN(__wglewEndFrameTrackingI3D) 791 #define wglGetFrameUsageI3D WGLEW_GET_FUN(__wglewGetFrameUsageI3D) 792 #define wglQueryFrameTrackingI3D WGLEW_GET_FUN(__wglewQueryFrameTrackingI3D) 794 #define WGLEW_I3D_swap_frame_usage WGLEW_GET_VAR(__WGLEW_I3D_swap_frame_usage) 800 #ifndef WGL_NV_float_buffer 801 #define WGL_NV_float_buffer 1 803 #define WGL_FLOAT_COMPONENTS_NV 0x20B0 804 #define WGL_BIND_TO_TEXTURE_RECTANGLE_FLOAT_R_NV 0x20B1 805 #define WGL_BIND_TO_TEXTURE_RECTANGLE_FLOAT_RG_NV 0x20B2 806 #define WGL_BIND_TO_TEXTURE_RECTANGLE_FLOAT_RGB_NV 0x20B3 807 #define WGL_BIND_TO_TEXTURE_RECTANGLE_FLOAT_RGBA_NV 0x20B4 808 #define WGL_TEXTURE_FLOAT_R_NV 0x20B5 809 #define WGL_TEXTURE_FLOAT_RG_NV 0x20B6 810 #define WGL_TEXTURE_FLOAT_RGB_NV 0x20B7 811 #define WGL_TEXTURE_FLOAT_RGBA_NV 0x20B8 813 #define WGLEW_NV_float_buffer WGLEW_GET_VAR(__WGLEW_NV_float_buffer) 819 #ifndef WGL_NV_gpu_affinity 820 #define WGL_NV_gpu_affinity 1 822 #define WGL_ERROR_INCOMPATIBLE_AFFINITY_MASKS_NV 0x20D0 823 #define WGL_ERROR_MISSING_AFFINITY_MASK_NV 0x20D1 838 HGPUNV hGpu, UINT iDeviceIndex,
PGPU_DEVICE lpGpuDevice);
840 HDC hAffinityDC, UINT iGpuIndex, HGPUNV* hGpu);
843 #define wglCreateAffinityDCNV WGLEW_GET_FUN(__wglewCreateAffinityDCNV) 844 #define wglDeleteDCNV WGLEW_GET_FUN(__wglewDeleteDCNV) 845 #define wglEnumGpuDevicesNV WGLEW_GET_FUN(__wglewEnumGpuDevicesNV) 846 #define wglEnumGpusFromAffinityDCNV \ 847 WGLEW_GET_FUN(__wglewEnumGpusFromAffinityDCNV) 848 #define wglEnumGpusNV WGLEW_GET_FUN(__wglewEnumGpusNV) 850 #define WGLEW_NV_gpu_affinity WGLEW_GET_VAR(__WGLEW_NV_gpu_affinity) 856 #ifndef WGL_NV_present_video 857 #define WGL_NV_present_video 1 859 #define WGL_NUM_VIDEO_SLOTS_NV 0x20F0 864 HDC hDc,
unsigned int uVideoSlot, HVIDEOOUTPUTDEVICENV hVideoDevice,
865 const int* piAttribList);
867 HDC hDc, HVIDEOOUTPUTDEVICENV* phDeviceList);
869 int iAttribute,
int* piValue);
871 #define wglBindVideoDeviceNV WGLEW_GET_FUN(__wglewBindVideoDeviceNV) 872 #define wglEnumerateVideoDevicesNV WGLEW_GET_FUN(__wglewEnumerateVideoDevicesNV) 873 #define wglQueryCurrentContextNV WGLEW_GET_FUN(__wglewQueryCurrentContextNV) 875 #define WGLEW_NV_present_video WGLEW_GET_VAR(__WGLEW_NV_present_video) 881 #ifndef WGL_NV_render_depth_texture 882 #define WGL_NV_render_depth_texture 1 884 #define WGL_NO_TEXTURE_ARB 0x2077 885 #define WGL_BIND_TO_TEXTURE_DEPTH_NV 0x20A3 886 #define WGL_BIND_TO_TEXTURE_RECTANGLE_DEPTH_NV 0x20A4 887 #define WGL_DEPTH_TEXTURE_FORMAT_NV 0x20A5 888 #define WGL_TEXTURE_DEPTH_COMPONENT_NV 0x20A6 889 #define WGL_DEPTH_COMPONENT_NV 0x20A7 891 #define WGLEW_NV_render_depth_texture \ 892 WGLEW_GET_VAR(__WGLEW_NV_render_depth_texture) 898 #ifndef WGL_NV_render_texture_rectangle 899 #define WGL_NV_render_texture_rectangle 1 901 #define WGL_BIND_TO_TEXTURE_RECTANGLE_RGB_NV 0x20A0 902 #define WGL_BIND_TO_TEXTURE_RECTANGLE_RGBA_NV 0x20A1 903 #define WGL_TEXTURE_RECTANGLE_NV 0x20A2 905 #define WGLEW_NV_render_texture_rectangle \ 906 WGLEW_GET_VAR(__WGLEW_NV_render_texture_rectangle) 912 #ifndef WGL_NV_swap_group 913 #define WGL_NV_swap_group 1 923 #define wglBindSwapBarrierNV WGLEW_GET_FUN(__wglewBindSwapBarrierNV) 924 #define wglJoinSwapGroupNV WGLEW_GET_FUN(__wglewJoinSwapGroupNV) 925 #define wglQueryFrameCountNV WGLEW_GET_FUN(__wglewQueryFrameCountNV) 926 #define wglQueryMaxSwapGroupsNV WGLEW_GET_FUN(__wglewQueryMaxSwapGroupsNV) 927 #define wglQuerySwapGroupNV WGLEW_GET_FUN(__wglewQuerySwapGroupNV) 928 #define wglResetFrameCountNV WGLEW_GET_FUN(__wglewResetFrameCountNV) 930 #define WGLEW_NV_swap_group WGLEW_GET_VAR(__WGLEW_NV_swap_group) 936 #ifndef WGL_NV_vertex_array_range 937 #define WGL_NV_vertex_array_range 1 944 #define wglAllocateMemoryNV WGLEW_GET_FUN(__wglewAllocateMemoryNV) 945 #define wglFreeMemoryNV WGLEW_GET_FUN(__wglewFreeMemoryNV) 947 #define WGLEW_NV_vertex_array_range WGLEW_GET_VAR(__WGLEW_NV_vertex_array_range) 953 #ifndef WGL_NV_video_output 954 #define WGL_NV_video_output 1 956 #define WGL_BIND_TO_VIDEO_RGB_NV 0x20C0 957 #define WGL_BIND_TO_VIDEO_RGBA_NV 0x20C1 958 #define WGL_BIND_TO_VIDEO_RGB_AND_DEPTH_NV 0x20C2 959 #define WGL_VIDEO_OUT_COLOR_NV 0x20C3 960 #define WGL_VIDEO_OUT_ALPHA_NV 0x20C4 961 #define WGL_VIDEO_OUT_DEPTH_NV 0x20C5 962 #define WGL_VIDEO_OUT_COLOR_AND_ALPHA_NV 0x20C6 963 #define WGL_VIDEO_OUT_COLOR_AND_DEPTH_NV 0x20C7 964 #define WGL_VIDEO_OUT_FRAME 0x20C8 965 #define WGL_VIDEO_OUT_FIELD_1 0x20C9 966 #define WGL_VIDEO_OUT_FIELD_2 0x20CA 967 #define WGL_VIDEO_OUT_STACKED_FIELDS_1_2 0x20CB 968 #define WGL_VIDEO_OUT_STACKED_FIELDS_2_1 0x20CC 973 HPVIDEODEV hVideoDevice, HPBUFFERARB hPbuffer,
int iVideoBuffer);
975 HDC hDC,
int numDevices, HPVIDEODEV* hVideoDevice);
977 HPVIDEODEV hpVideoDevice,
unsigned long* pulCounterOutputPbuffer,
978 unsigned long* pulCounterOutputVideo);
981 HPBUFFERARB hPbuffer,
int iVideoBuffer);
983 HPBUFFERARB hPbuffer,
int iBufferType,
unsigned long* pulCounterPbuffer,
986 #define wglBindVideoImageNV WGLEW_GET_FUN(__wglewBindVideoImageNV) 987 #define wglGetVideoDeviceNV WGLEW_GET_FUN(__wglewGetVideoDeviceNV) 988 #define wglGetVideoInfoNV WGLEW_GET_FUN(__wglewGetVideoInfoNV) 989 #define wglReleaseVideoDeviceNV WGLEW_GET_FUN(__wglewReleaseVideoDeviceNV) 990 #define wglReleaseVideoImageNV WGLEW_GET_FUN(__wglewReleaseVideoImageNV) 991 #define wglSendPbufferToVideoNV WGLEW_GET_FUN(__wglewSendPbufferToVideoNV) 993 #define WGLEW_NV_video_output WGLEW_GET_VAR(__WGLEW_NV_video_output) 999 #ifndef WGL_OML_sync_control 1000 #define WGL_OML_sync_control 1 1003 HDC hdc,
INT32* numerator,
INT32* denominator);
1005 HDC hdc, INT64* ust, INT64* msc, INT64* sbc);
1007 HDC hdc, INT64 target_msc, INT64 divisor, INT64 remainder);
1009 HDC hdc, INT fuPlanes, INT64 target_msc, INT64 divisor, INT64 remainder);
1011 HDC hdc, INT64 target_msc, INT64 divisor, INT64 remainder, INT64* ust,
1012 INT64* msc, INT64* sbc);
1014 HDC hdc, INT64 target_sbc, INT64* ust, INT64* msc, INT64* sbc);
1016 #define wglGetMscRateOML WGLEW_GET_FUN(__wglewGetMscRateOML) 1017 #define wglGetSyncValuesOML WGLEW_GET_FUN(__wglewGetSyncValuesOML) 1018 #define wglSwapBuffersMscOML WGLEW_GET_FUN(__wglewSwapBuffersMscOML) 1019 #define wglSwapLayerBuffersMscOML WGLEW_GET_FUN(__wglewSwapLayerBuffersMscOML) 1020 #define wglWaitForMscOML WGLEW_GET_FUN(__wglewWaitForMscOML) 1021 #define wglWaitForSbcOML WGLEW_GET_FUN(__wglewWaitForSbcOML) 1023 #define WGLEW_OML_sync_control WGLEW_GET_VAR(__WGLEW_OML_sync_control) 1030 #define WGLEW_EXPORT 1032 #define WGLEW_EXPORT GLEWAPI 1036 struct WGLEWContextStruct
1231 typedef struct WGLEWContextStruct WGLEWContext;
1235 #define wglewInit() wglewContextInit(wglewGetContext()) 1236 #define wglewIsSupported(x) wglewContextIsSupported(wglewGetContext(), x) 1238 #define WGLEW_GET_VAR(x) (*(const GLboolean*)&(wglewGetContext()->x)) 1239 #define WGLEW_GET_FUN(x) wglewGetContext()->x 1243 #define WGLEW_GET_VAR(x) (*(const GLboolean*)&x) 1244 #define WGLEW_GET_FUN(x) x BOOL(WINAPI * PFNWGLDISABLEGENLOCKI3DPROC)(HDC hDC)
DECLARE_HANDLE(HPBUFFERARB)
BOOL(WINAPI * PFNWGLGETPIXELFORMATATTRIBFVEXTPROC)(HDC hdc, int iPixelFormat, int iLayerPlane, UINT nAttributes, int *piAttributes, FLOAT *pfValues)
WGLEW_EXPORT GLboolean __WGLEW_NV_float_buffer
BOOL(WINAPI * PFNWGLGETSYNCVALUESOMLPROC)(HDC hdc, INT64 *ust, INT64 *msc, INT64 *sbc)
WGLEW_EXPORT PFNWGLWAITFORMSCOMLPROC __wglewWaitForMscOML
BOOL(WINAPI * PFNWGLASSOCIATEIMAGEBUFFEREVENTSI3DPROC)(HDC hdc, HANDLE *pEvent, LPVOID *pAddress, DWORD *pSize, UINT count)
BOOL(WINAPI * PFNWGLENABLEGENLOCKI3DPROC)(HDC hDC)
GLuint GLuint GLsizei count
const char *(WINAPI * PFNWGLGETEXTENSIONSSTRINGARBPROC)(HDC hdc)
WGLEW_EXPORT GLboolean __WGLEW_EXT_framebuffer_sRGB
BOOL(WINAPI * PFNWGLRELEASEVIDEOIMAGENVPROC)(HPBUFFERARB hPbuffer, int iVideoBuffer)
WGLEW_EXPORT GLboolean __WGLEW_NV_video_output
BOOL(WINAPI * PFNWGLENUMGPUSNVPROC)(UINT iGpuIndex, HGPUNV *phGpu)
WGLEW_EXPORT PFNWGLGETGENLOCKSOURCEDELAYI3DPROC __wglewGetGenlockSourceDelayI3D
WGLEW_EXPORT PFNWGLGENLOCKSOURCEDELAYI3DPROC __wglewGenlockSourceDelayI3D
WGLEW_EXPORT PFNWGLGETPIXELFORMATATTRIBFVEXTPROC __wglewGetPixelFormatAttribfvEXT
WGLEW_EXPORT PFNWGLGETPIXELFORMATATTRIBIVEXTPROC __wglewGetPixelFormatAttribivEXT
WGLEW_EXPORT PFNWGLISENABLEDGENLOCKI3DPROC __wglewIsEnabledGenlockI3D
HDC(WINAPI * PFNWGLCREATEAFFINITYDCNVPROC)(const HGPUNV *phGpuList)
WGLEW_EXPORT GLboolean __WGLEW_3DFX_multisample
int(WINAPI * PFNWGLRELEASEPBUFFERDCEXTPROC)(HPBUFFEREXT hPbuffer, HDC hDC)
WGLEW_EXPORT GLboolean __WGLEW_ARB_pixel_format
BOOL(WINAPI * PFNWGLRESTOREBUFFERREGIONARBPROC)(HANDLE hRegion, int x, int y, int width, int height, int xSrc, int ySrc)
BOOL(WINAPI * PFNWGLQUERYGENLOCKMAXSOURCEDELAYI3DPROC)(HDC hDC, UINT *uMaxLineDelay, UINT *uMaxPixelDelay)
const char *(WINAPI * PFNWGLGETEXTENSIONSSTRINGEXTPROC)(void)
BOOL(WINAPI * PFNWGLQUERYFRAMECOUNTNVPROC)(HDC hDC, GLuint *count)
WGLEW_EXPORT PFNWGLENUMERATEVIDEODEVICESNVPROC __wglewEnumerateVideoDevicesNV
WGLEW_EXPORT GLboolean __WGLEW_NV_vertex_array_range
HDC(WINAPI * PFNWGLGETCURRENTREADDCARBPROC)(VOID)
BOOL(WINAPI * PFNWGLGETGENLOCKSOURCEEDGEI3DPROC)(HDC hDC, UINT *uEdge)
WGLEW_EXPORT GLboolean __WGLEW_ARB_multisample
WGLEW_EXPORT PFNWGLENUMGPUSNVPROC __wglewEnumGpusNV
GLsizei const GLvoid * pointer
WGLEW_EXPORT PFNWGLRESETFRAMECOUNTNVPROC __wglewResetFrameCountNV
BOOL(WINAPI * PFNWGLQUERYPBUFFEREXTPROC)(HPBUFFEREXT hPbuffer, int iAttribute, int *piValue)
BOOL(WINAPI * PFNWGLISENABLEDFRAMELOCKI3DPROC)(BOOL *pFlag)
WGLEW_EXPORT PFNWGLCREATEIMAGEBUFFERI3DPROC __wglewCreateImageBufferI3D
GLboolean(WINAPI * PFNWGLBINDDISPLAYCOLORTABLEEXTPROC)(GLushort id)
BOOL(WINAPI * PFNWGLRELEASETEXIMAGEARBPROC)(HPBUFFERARB hPbuffer, int iBuffer)
BOOL(WINAPI * PFNWGLDESTROYIMAGEBUFFERI3DPROC)(HDC hDC, LPVOID pAddress)
WGLEW_EXPORT PFNWGLRELEASEVIDEOIMAGENVPROC __wglewReleaseVideoImageNV
WGLEW_EXPORT PFNWGLRELEASEIMAGEBUFFEREVENTSI3DPROC __wglewReleaseImageBufferEventsI3D
WGLEW_EXPORT PFNWGLQUERYMAXSWAPGROUPSNVPROC __wglewQueryMaxSwapGroupsNV
GLEWAPI GLboolean wglewGetExtension(const char *name)
WGLEW_EXPORT PFNWGLDESTROYPBUFFERARBPROC __wglewDestroyPbufferARB
BOOL(WINAPI * PFNWGLQUERYCURRENTCONTEXTNVPROC)(int iAttribute, int *piValue)
WGLEW_EXPORT PFNWGLGETFRAMEUSAGEI3DPROC __wglewGetFrameUsageI3D
WGLEW_EXPORT GLboolean __WGLEW_EXT_extensions_string
WGLEW_EXPORT PFNWGLENDFRAMETRACKINGI3DPROC __wglewEndFrameTrackingI3D
BOOL(WINAPI * PFNWGLBINDSWAPBARRIERNVPROC)(GLuint group, GLuint barrier)
WGLEW_EXPORT GLboolean __WGLEW_NV_gpu_affinity
WGLEW_EXPORT PFNWGLGENLOCKSAMPLERATEI3DPROC __wglewGenlockSampleRateI3D
HPBUFFERARB(WINAPI * PFNWGLCREATEPBUFFERARBPROC)(HDC hDC, int iPixelFormat, int iWidth, int iHeight, const int *piAttribList)
WGLEW_EXPORT PFNWGLISENABLEDFRAMELOCKI3DPROC __wglewIsEnabledFrameLockI3D
WGLEW_EXPORT PFNWGLASSOCIATEIMAGEBUFFEREVENTSI3DPROC __wglewAssociateImageBufferEventsI3D
WGLEW_EXPORT PFNWGLGETVIDEOINFONVPROC __wglewGetVideoInfoNV
HDC(WINAPI * PFNWGLGETCURRENTREADDCEXTPROC)(VOID)
GLenum GLsizei GLenum GLenum const GLvoid * table
WGLEW_EXPORT PFNWGLENUMGPUSFROMAFFINITYDCNVPROC __wglewEnumGpusFromAffinityDCNV
VOID(WINAPI * PFNWGLDELETEBUFFERREGIONARBPROC)(HANDLE hRegion)
WGLEW_EXPORT PFNWGLQUERYFRAMECOUNTNVPROC __wglewQueryFrameCountNV
BOOL(WINAPI * PFNWGLGETGENLOCKSAMPLERATEI3DPROC)(HDC hDC, UINT *uRate)
WGLEW_EXPORT PFNWGLSETDIGITALVIDEOPARAMETERSI3DPROC __wglewSetDigitalVideoParametersI3D
BOOL(WINAPI * PFNWGLISENABLEDGENLOCKI3DPROC)(HDC hDC, BOOL *pFlag)
WGLEW_EXPORT PFNWGLSAVEBUFFERREGIONARBPROC __wglewSaveBufferRegionARB
WGLEW_EXPORT PFNWGLSWAPLAYERBUFFERSMSCOMLPROC __wglewSwapLayerBuffersMscOML
BOOL(WINAPI * PFNWGLENABLEFRAMELOCKI3DPROC)(VOID)
BOOL(WINAPI * PFNWGLRELEASEVIDEODEVICENVPROC)(HPVIDEODEV hVideoDevice)
WGLEW_EXPORT PFNWGLBEGINFRAMETRACKINGI3DPROC __wglewBeginFrameTrackingI3D
GLboolean(WINAPI * PFNWGLCREATEDISPLAYCOLORTABLEEXTPROC)(GLushort id)
WGLEW_EXPORT PFNWGLGETVIDEODEVICENVPROC __wglewGetVideoDeviceNV
WGLEW_EXPORT PFNWGLDESTROYDISPLAYCOLORTABLEEXTPROC __wglewDestroyDisplayColorTableEXT
WGLEW_EXPORT GLboolean __WGLEW_EXT_pixel_format
WGLEW_EXPORT PFNWGLGETMSCRATEOMLPROC __wglewGetMscRateOML
WGLEW_EXPORT GLboolean __WGLEW_EXT_pixel_format_packed_float
WGLEW_EXPORT PFNWGLENABLEFRAMELOCKI3DPROC __wglewEnableFrameLockI3D
WGLEW_EXPORT GLboolean __WGLEW_OML_sync_control
HPBUFFEREXT(WINAPI * PFNWGLCREATEPBUFFEREXTPROC)(HDC hDC, int iPixelFormat, int iWidth, int iHeight, const int *piAttribList)
BOOL(WINAPI * PFNWGLSWAPINTERVALEXTPROC)(int interval)
WGLEW_EXPORT PFNWGLQUERYSWAPGROUPNVPROC __wglewQuerySwapGroupNV
BOOL(WINAPI * PFNWGLGENLOCKSOURCEEDGEI3DPROC)(HDC hDC, UINT uEdge)
int(WINAPI * PFNWGLENUMERATEVIDEODEVICESNVPROC)(HDC hDc, HVIDEOOUTPUTDEVICENV *phDeviceList)
BOOL(WINAPI * PFNWGLENUMGPUDEVICESNVPROC)(HGPUNV hGpu, UINT iDeviceIndex, PGPU_DEVICE lpGpuDevice)
WGLEW_EXPORT PFNWGLGETGENLOCKSOURCEI3DPROC __wglewGetGenlockSourceI3D
int(WINAPI * PFNWGLRELEASEPBUFFERDCARBPROC)(HPBUFFERARB hPbuffer, HDC hDC)
WGLEW_EXPORT PFNWGLRESTOREBUFFERREGIONARBPROC __wglewRestoreBufferRegionARB
WGLEW_EXPORT GLboolean __WGLEW_I3D_swap_frame_lock
BOOL(WINAPI * PFNWGLGETGAMMATABLEI3DPROC)(HDC hDC, int iEntries, USHORT *puRed, USHORT *puGreen, USHORT *puBlue)
WGLEW_EXPORT PFNWGLGETCURRENTREADDCARBPROC __wglewGetCurrentReadDCARB
WGLEW_EXPORT PFNWGLQUERYCURRENTCONTEXTNVPROC __wglewQueryCurrentContextNV
WGLEW_EXPORT GLboolean __WGLEW_ARB_buffer_region
BOOL(WINAPI * PFNWGLDELETEDCNVPROC)(HDC hdc)
BOOL(WINAPI * PFNWGLDESTROYPBUFFEREXTPROC)(HPBUFFEREXT hPbuffer)
void(WINAPI * PFNWGLFREEMEMORYNVPROC)(void *pointer)
BOOL(WINAPI * PFNWGLGETPIXELFORMATATTRIBIVEXTPROC)(HDC hdc, int iPixelFormat, int iLayerPlane, UINT nAttributes, int *piAttributes, int *piValues)
WGLEW_EXPORT GLboolean __WGLEW_EXT_depth_float
BOOL(WINAPI * PFNWGLGETPIXELFORMATATTRIBFVARBPROC)(HDC hdc, int iPixelFormat, int iLayerPlane, UINT nAttributes, const int *piAttributes, FLOAT *pfValues)
BOOL(WINAPI * PFNWGLCHOOSEPIXELFORMATARBPROC)(HDC hdc, const int *piAttribIList, const FLOAT *pfAttribFList, UINT nMaxFormats, int *piFormats, UINT *nNumFormats)
WGLEW_EXPORT PFNWGLGETEXTENSIONSSTRINGARBPROC __wglewGetExtensionsStringARB
WGLEW_EXPORT PFNWGLALLOCATEMEMORYNVPROC __wglewAllocateMemoryNV
int(WINAPI * PFNWGLGETSWAPINTERVALEXTPROC)(void)
BOOL(WINAPI * PFNWGLSETPBUFFERATTRIBARBPROC)(HPBUFFERARB hPbuffer, const int *piAttribList)
WGLEW_EXPORT PFNWGLFREEMEMORYNVPROC __wglewFreeMemoryNV
WGLEW_EXPORT PFNWGLDISABLEFRAMELOCKI3DPROC __wglewDisableFrameLockI3D
WGLEW_EXPORT PFNWGLCHOOSEPIXELFORMATEXTPROC __wglewChoosePixelFormatEXT
WGLEW_EXPORT PFNWGLGETPBUFFERDCEXTPROC __wglewGetPbufferDCEXT
WGLEW_EXPORT GLboolean __WGLEW_EXT_make_current_read
WGLEW_EXPORT PFNWGLBINDSWAPBARRIERNVPROC __wglewBindSwapBarrierNV
WGLEW_EXPORT PFNWGLQUERYPBUFFEREXTPROC __wglewQueryPbufferEXT
INT64(WINAPI * PFNWGLSWAPBUFFERSMSCOMLPROC)(HDC hdc, INT64 target_msc, INT64 divisor, INT64 remainder)
WGLEW_EXPORT GLboolean __WGLEW_I3D_swap_frame_usage
WGLEW_EXPORT PFNWGLCREATECONTEXTATTRIBSARBPROC __wglewCreateContextAttribsARB
WGLEW_EXPORT GLboolean __WGLEW_EXT_multisample
HANDLE(WINAPI * PFNWGLCREATEBUFFERREGIONARBPROC)(HDC hDC, int iLayerPlane, UINT uType)
WGLEW_EXPORT GLboolean __WGLEW_ARB_pbuffer
WGLEW_EXPORT PFNWGLWAITFORSBCOMLPROC __wglewWaitForSbcOML
WGLEW_EXPORT PFNWGLRELEASETEXIMAGEARBPROC __wglewReleaseTexImageARB
WGLEW_EXPORT PFNWGLGENLOCKSOURCEEDGEI3DPROC __wglewGenlockSourceEdgeI3D
WGLEW_EXPORT PFNWGLRELEASEVIDEODEVICENVPROC __wglewReleaseVideoDeviceNV
WGLEW_EXPORT PFNWGLGETGAMMATABLEPARAMETERSI3DPROC __wglewGetGammaTableParametersI3D
WGLEW_EXPORT GLboolean __WGLEW_EXT_pbuffer
WGLEW_EXPORT GLboolean __WGLEW_ARB_framebuffer_sRGB
WGLEW_EXPORT PFNWGLJOINSWAPGROUPNVPROC __wglewJoinSwapGroupNV
BOOL(WINAPI * PFNWGLSETGAMMATABLEPARAMETERSI3DPROC)(HDC hDC, int iAttribute, const int *piValue)
WGLEW_EXPORT PFNWGLRELEASEPBUFFERDCEXTPROC __wglewReleasePbufferDCEXT
WGLEW_EXPORT GLboolean __WGLEW_NV_present_video
BOOL(WINAPI * PFNWGLBINDVIDEODEVICENVPROC)(HDC hDc, unsigned int uVideoSlot, HVIDEOOUTPUTDEVICENV hVideoDevice, const int *piAttribList)
WGLEW_EXPORT GLboolean __WGLEW_ATI_render_texture_rectangle
WGLEW_EXPORT PFNWGLGETGAMMATABLEI3DPROC __wglewGetGammaTableI3D
BOOL(WINAPI * PFNWGLGENLOCKSOURCEDELAYI3DPROC)(HDC hDC, UINT uDelay)
BOOL(WINAPI * PFNWGLQUERYMAXSWAPGROUPSNVPROC)(HDC hDC, GLuint *maxGroups, GLuint *maxBarriers)
INT64(WINAPI * PFNWGLSWAPLAYERBUFFERSMSCOMLPROC)(HDC hdc, INT fuPlanes, INT64 target_msc, INT64 divisor, INT64 remainder)
BOOL(WINAPI * PFNWGLDESTROYPBUFFERARBPROC)(HPBUFFERARB hPbuffer)
BOOL(WINAPI * PFNWGLDISABLEFRAMELOCKI3DPROC)(VOID)
void *(WINAPI * PFNWGLALLOCATEMEMORYNVPROC)(GLsizei size, GLfloat readFrequency, GLfloat writeFrequency, GLfloat priority)
WGLEW_EXPORT GLboolean __WGLEW_ARB_make_current_read
WGLEW_EXPORT PFNWGLDESTROYPBUFFEREXTPROC __wglewDestroyPbufferEXT
BOOL(WINAPI * PFNWGLWAITFORMSCOMLPROC)(HDC hdc, INT64 target_msc, INT64 divisor, INT64 remainder, INT64 *ust, INT64 *msc, INT64 *sbc)
BOOL(WINAPI * PFNWGLGETFRAMEUSAGEI3DPROC)(float *pUsage)
WGLEW_EXPORT GLboolean __WGLEW_ATI_pixel_format_float
WGLEW_EXPORT PFNWGLGETEXTENSIONSSTRINGEXTPROC __wglewGetExtensionsStringEXT
BOOL(WINAPI * PFNWGLGENLOCKSAMPLERATEI3DPROC)(HDC hDC, UINT uRate)
WGLEW_EXPORT PFNWGLQUERYGENLOCKMAXSOURCEDELAYI3DPROC __wglewQueryGenlockMaxSourceDelayI3D
BOOL(WINAPI * PFNWGLBEGINFRAMETRACKINGI3DPROC)(void)
WGLEW_EXPORT PFNWGLGETCURRENTREADDCEXTPROC __wglewGetCurrentReadDCEXT
WGLEW_EXPORT PFNWGLCREATEBUFFERREGIONARBPROC __wglewCreateBufferRegionARB
BOOL(WINAPI * PFNWGLGETGENLOCKSOURCEI3DPROC)(HDC hDC, UINT *uSource)
WGLEW_EXPORT PFNWGLSETSTEREOEMITTERSTATE3DLPROC __wglewSetStereoEmitterState3DL
WGLEW_EXPORT PFNWGLBINDVIDEODEVICENVPROC __wglewBindVideoDeviceNV
WGLEW_EXPORT PFNWGLDELETEBUFFERREGIONARBPROC __wglewDeleteBufferRegionARB
WGLEW_EXPORT GLboolean __WGLEW_ARB_create_context
WGLEW_EXPORT PFNWGLGETDIGITALVIDEOPARAMETERSI3DPROC __wglewGetDigitalVideoParametersI3D
WGLEW_EXPORT PFNWGLGETPBUFFERDCARBPROC __wglewGetPbufferDCARB
struct _GPU_DEVICE GPU_DEVICE
WGLEW_EXPORT PFNWGLBINDTEXIMAGEARBPROC __wglewBindTexImageARB
WGLEW_EXPORT PFNWGLCREATEPBUFFERARBPROC __wglewCreatePbufferARB
WGLEW_EXPORT PFNWGLENUMGPUDEVICESNVPROC __wglewEnumGpuDevicesNV
WGLEW_EXPORT PFNWGLBINDVIDEOIMAGENVPROC __wglewBindVideoImageNV
BOOL(WINAPI * PFNWGLGETVIDEODEVICENVPROC)(HDC hDC, int numDevices, HPVIDEODEV *hVideoDevice)
WGLEW_EXPORT PFNWGLRELEASEPBUFFERDCARBPROC __wglewReleasePbufferDCARB
BOOL(WINAPI * PFNWGLRESETFRAMECOUNTNVPROC)(HDC hDC)
HGLRC(WINAPI * PFNWGLCREATECONTEXTATTRIBSARBPROC)(HDC hDC, HGLRC hShareContext, const int *attribList)
WGLEW_EXPORT PFNWGLQUERYFRAMELOCKMASTERI3DPROC __wglewQueryFrameLockMasterI3D
HDC(WINAPI * PFNWGLGETPBUFFERDCEXTPROC)(HPBUFFEREXT hPbuffer)
void(WINAPI * PFNWGLDESTROYDISPLAYCOLORTABLEEXTPROC)(GLushort id)
WGLEW_EXPORT PFNWGLSETPBUFFERATTRIBARBPROC __wglewSetPbufferAttribARB
BOOL(WINAPI * PFNWGLQUERYFRAMETRACKINGI3DPROC)(DWORD *pFrameCount, DWORD *pMissedFrames, float *pLastMissedUsage)
WGLEW_EXPORT GLboolean __WGLEW_ARB_pixel_format_float
GLuint GLsizei GLsizei * length
WGLEW_EXPORT PFNWGLQUERYFRAMETRACKINGI3DPROC __wglewQueryFrameTrackingI3D
GLboolean(WINAPI * PFNWGLLOADDISPLAYCOLORTABLEEXTPROC)(GLushort *table, GLuint length)
WGLEW_EXPORT PFNWGLSENDPBUFFERTOVIDEONVPROC __wglewSendPbufferToVideoNV
LPVOID(WINAPI * PFNWGLCREATEIMAGEBUFFERI3DPROC)(HDC hDC, DWORD dwSize, UINT uFlags)
GLuint const GLchar * name
WGLEW_EXPORT GLboolean __WGLEW_I3D_digital_video_control
WGLEW_EXPORT GLboolean __WGLEW_EXT_display_color_table
WGLEW_EXPORT PFNWGLMAKECONTEXTCURRENTARBPROC __wglewMakeContextCurrentARB
WGLEW_EXPORT PFNWGLCREATEAFFINITYDCNVPROC __wglewCreateAffinityDCNV
WGLEW_EXPORT PFNWGLDELETEDCNVPROC __wglewDeleteDCNV
WGLEW_EXPORT GLboolean __WGLEW_3DL_stereo_control
BOOL(WINAPI * PFNWGLGENLOCKSOURCEI3DPROC)(HDC hDC, UINT uSource)
WGLEW_EXPORT PFNWGLCREATEDISPLAYCOLORTABLEEXTPROC __wglewCreateDisplayColorTableEXT
BOOL(WINAPI * PFNWGLGETGENLOCKSOURCEDELAYI3DPROC)(HDC hDC, UINT *uDelay)
BOOL(WINAPI * PFNWGLCHOOSEPIXELFORMATEXTPROC)(HDC hdc, const int *piAttribIList, const FLOAT *pfAttribFList, UINT nMaxFormats, int *piFormats, UINT *nNumFormats)
BOOL(WINAPI * PFNWGLSETGAMMATABLEI3DPROC)(HDC hDC, int iEntries, const USHORT *puRed, const USHORT *puGreen, const USHORT *puBlue)
WGLEW_EXPORT GLboolean __WGLEW_I3D_genlock
WGLEW_EXPORT GLboolean __WGLEW_I3D_gamma
BOOL(WINAPI * PFNWGLQUERYFRAMELOCKMASTERI3DPROC)(BOOL *pFlag)
WGLEW_EXPORT PFNWGLMAKECONTEXTCURRENTEXTPROC __wglewMakeContextCurrentEXT
BOOL(WINAPI * PFNWGLWAITFORSBCOMLPROC)(HDC hdc, INT64 target_sbc, INT64 *ust, INT64 *msc, INT64 *sbc)
BOOL(WINAPI * PFNWGLBINDTEXIMAGEARBPROC)(HPBUFFERARB hPbuffer, int iBuffer)
typedef void(APIENTRYP PFNGLBLENDCOLORPROC)(GLclampf red
struct _GPU_DEVICE * PGPU_DEVICE
BOOL(WINAPI * PFNWGLQUERYPBUFFERARBPROC)(HPBUFFERARB hPbuffer, int iAttribute, int *piValue)
WGLEW_EXPORT GLboolean __WGLEW_ARB_extensions_string
WGLEW_EXPORT PFNWGLGETGENLOCKSAMPLERATEI3DPROC __wglewGetGenlockSampleRateI3D
WGLEW_EXPORT PFNWGLGETSYNCVALUESOMLPROC __wglewGetSyncValuesOML
WGLEW_EXPORT PFNWGLCREATEPBUFFEREXTPROC __wglewCreatePbufferEXT
BOOL(WINAPI * PFNWGLMAKECONTEXTCURRENTARBPROC)(HDC hDrawDC, HDC hReadDC, HGLRC hglrc)
BOOL(WINAPI * PFNWGLBINDVIDEOIMAGENVPROC)(HPVIDEODEV hVideoDevice, HPBUFFERARB hPbuffer, int iVideoBuffer)
BOOL(WINAPI * PFNWGLRELEASEIMAGEBUFFEREVENTSI3DPROC)(HDC hdc, LPVOID *pAddress, UINT count)
BOOL(WINAPI * PFNWGLSETSTEREOEMITTERSTATE3DLPROC)(HDC hDC, UINT uState)
WGLEW_EXPORT PFNWGLGETSWAPINTERVALEXTPROC __wglewGetSwapIntervalEXT
WGLEW_EXPORT PFNWGLGETPIXELFORMATATTRIBIVARBPROC __wglewGetPixelFormatAttribivARB
WGLEW_EXPORT PFNWGLQUERYPBUFFERARBPROC __wglewQueryPbufferARB
BOOL(WINAPI * PFNWGLQUERYSWAPGROUPNVPROC)(HDC hDC, GLuint *group)
WGLEW_EXPORT PFNWGLDISABLEGENLOCKI3DPROC __wglewDisableGenlockI3D
HDC(WINAPI * PFNWGLGETPBUFFERDCARBPROC)(HPBUFFERARB hPbuffer)
GLenum GLsizei GLsizei height
WGLEW_EXPORT PFNWGLCHOOSEPIXELFORMATARBPROC __wglewChoosePixelFormatARB
WGLEW_EXPORT PFNWGLBINDDISPLAYCOLORTABLEEXTPROC __wglewBindDisplayColorTableEXT
BOOL(WINAPI * PFNWGLMAKECONTEXTCURRENTEXTPROC)(HDC hDrawDC, HDC hReadDC, HGLRC hglrc)
WGLEW_EXPORT PFNWGLGETGENLOCKSOURCEEDGEI3DPROC __wglewGetGenlockSourceEdgeI3D
WGLEW_EXPORT GLboolean __WGLEW_NV_swap_group
WGLEW_EXPORT GLboolean __WGLEW_I3D_image_buffer
WGLEW_EXPORT PFNWGLENABLEGENLOCKI3DPROC __wglewEnableGenlockI3D
WGLEW_EXPORT PFNWGLSETGAMMATABLEPARAMETERSI3DPROC __wglewSetGammaTableParametersI3D
WGLEW_EXPORT PFNWGLGENLOCKSOURCEI3DPROC __wglewGenlockSourceI3D
GLEWAPI GLboolean wglewIsSupported(const char *name)
WGLEW_EXPORT GLboolean __WGLEW_ARB_render_texture
BOOL(WINAPI * PFNWGLSENDPBUFFERTOVIDEONVPROC)(HPBUFFERARB hPbuffer, int iBufferType, unsigned long *pulCounterPbuffer, BOOL bBlock)
BOOL(WINAPI * PFNWGLGETPIXELFORMATATTRIBIVARBPROC)(HDC hdc, int iPixelFormat, int iLayerPlane, UINT nAttributes, const int *piAttributes, int *piValues)
WGLEW_EXPORT PFNWGLGETPIXELFORMATATTRIBFVARBPROC __wglewGetPixelFormatAttribfvARB
BOOL(WINAPI * PFNWGLSETDIGITALVIDEOPARAMETERSI3DPROC)(HDC hDC, int iAttribute, const int *piValue)
WGLEW_EXPORT PFNWGLLOADDISPLAYCOLORTABLEEXTPROC __wglewLoadDisplayColorTableEXT
BOOL(WINAPI * PFNWGLGETGAMMATABLEPARAMETERSI3DPROC)(HDC hDC, int iAttribute, int *piValue)
BOOL(WINAPI * PFNWGLGETMSCRATEOMLPROC)(HDC hdc, INT32 *numerator, INT32 *denominator)
BOOL(WINAPI * PFNWGLGETDIGITALVIDEOPARAMETERSI3DPROC)(HDC hDC, int iAttribute, int *piValue)
WGLEW_EXPORT PFNWGLSWAPBUFFERSMSCOMLPROC __wglewSwapBuffersMscOML
WGLEW_EXPORT PFNWGLSETGAMMATABLEI3DPROC __wglewSetGammaTableI3D
BOOL(WINAPI * PFNWGLENUMGPUSFROMAFFINITYDCNVPROC)(HDC hAffinityDC, UINT iGpuIndex, HGPUNV *hGpu)
WGLEW_EXPORT PFNWGLDESTROYIMAGEBUFFERI3DPROC __wglewDestroyImageBufferI3D
WGLEW_EXPORT GLboolean __WGLEW_EXT_swap_control
BOOL(WINAPI * PFNWGLGETVIDEOINFONVPROC)(HPVIDEODEV hpVideoDevice, unsigned long *pulCounterOutputPbuffer, unsigned long *pulCounterOutputVideo)
BOOL(WINAPI * PFNWGLJOINSWAPGROUPNVPROC)(HDC hDC, GLuint group)
BOOL(WINAPI * PFNWGLSAVEBUFFERREGIONARBPROC)(HANDLE hRegion, int x, int y, int width, int height)
WGLEW_EXPORT GLboolean __WGLEW_NV_render_depth_texture
WGLEW_EXPORT PFNWGLSWAPINTERVALEXTPROC __wglewSwapIntervalEXT
BOOL(WINAPI * PFNWGLENDFRAMETRACKINGI3DPROC)(void)
WGLEW_EXPORT GLboolean __WGLEW_NV_render_texture_rectangle