37 #error wglext.h included before wglew.h 42 #if !defined(APIENTRY) && !defined(__CYGWIN__) 43 #ifndef WIN32_LEAN_AND_MEAN 44 #define WIN32_LEAN_AND_MEAN 1 54 #define GLEWAPI extern 57 #define GLEWAPI extern __declspec(dllexport) 59 #define GLEWAPI extern __declspec(dllimport) 71 #ifndef WGL_3DFX_multisample 72 #define WGL_3DFX_multisample 1 74 #define WGL_SAMPLE_BUFFERS_3DFX 0x2060 75 #define WGL_SAMPLES_3DFX 0x2061 77 #define WGLEW_3DFX_multisample WGLEW_GET_VAR(__WGLEW_3DFX_multisample) 84 #ifndef WGL_3DL_stereo_control 85 #define WGL_3DL_stereo_control 1 87 #define WGL_STEREO_EMITTER_ENABLE_3DL 0x2055 88 #define WGL_STEREO_EMITTER_DISABLE_3DL 0x2056 89 #define WGL_STEREO_POLARITY_NORMAL_3DL 0x2057 90 #define WGL_STEREO_POLARITY_INVERT_3DL 0x2058 93 HDC hDC, UINT uState);
95 #define wglSetStereoEmitterState3DL \ 96 WGLEW_GET_FUN(__wglewSetStereoEmitterState3DL) 98 #define WGLEW_3DL_stereo_control WGLEW_GET_VAR(__WGLEW_3DL_stereo_control) 105 #ifndef WGL_ARB_buffer_region 106 #define WGL_ARB_buffer_region 1 108 #define WGL_FRONT_COLOR_BUFFER_BIT_ARB 0x00000001 109 #define WGL_BACK_COLOR_BUFFER_BIT_ARB 0x00000002 110 #define WGL_DEPTH_BUFFER_BIT_ARB 0x00000004 111 #define WGL_STENCIL_BUFFER_BIT_ARB 0x00000008 114 HDC hDC,
int iLayerPlane, UINT uType);
117 HANDLE hRegion,
int x,
int y,
int width,
int height,
int xSrc,
122 #define wglCreateBufferRegionARB WGLEW_GET_FUN(__wglewCreateBufferRegionARB) 123 #define wglDeleteBufferRegionARB WGLEW_GET_FUN(__wglewDeleteBufferRegionARB) 124 #define wglRestoreBufferRegionARB WGLEW_GET_FUN(__wglewRestoreBufferRegionARB) 125 #define wglSaveBufferRegionARB WGLEW_GET_FUN(__wglewSaveBufferRegionARB) 127 #define WGLEW_ARB_buffer_region WGLEW_GET_VAR(__WGLEW_ARB_buffer_region) 134 #ifndef WGL_ARB_create_context 135 #define WGL_ARB_create_context 1 137 #define WGL_CONTEXT_DEBUG_BIT_ARB 0x0001 138 #define WGL_CONTEXT_FORWARD_COMPATIBLE_BIT_ARB 0x0002 139 #define WGL_CONTEXT_MAJOR_VERSION_ARB 0x2091 140 #define WGL_CONTEXT_MINOR_VERSION_ARB 0x2092 141 #define WGL_CONTEXT_LAYER_PLANE_ARB 0x2093 142 #define WGL_CONTEXT_FLAGS_ARB 0x2094 145 HDC hDC, HGLRC hShareContext,
const int* attribList);
147 #define wglCreateContextAttribsARB WGLEW_GET_FUN(__wglewCreateContextAttribsARB) 149 #define WGLEW_ARB_create_context WGLEW_GET_VAR(__WGLEW_ARB_create_context) 156 #ifndef WGL_ARB_extensions_string 157 #define WGL_ARB_extensions_string 1 161 #define wglGetExtensionsStringARB WGLEW_GET_FUN(__wglewGetExtensionsStringARB) 163 #define WGLEW_ARB_extensions_string WGLEW_GET_VAR(__WGLEW_ARB_extensions_string) 170 #ifndef WGL_ARB_framebuffer_sRGB 171 #define WGL_ARB_framebuffer_sRGB 1 173 #define WGL_FRAMEBUFFER_SRGB_CAPABLE_ARB 0x20A9 175 #define WGLEW_ARB_framebuffer_sRGB WGLEW_GET_VAR(__WGLEW_ARB_framebuffer_sRGB) 182 #ifndef WGL_ARB_make_current_read 183 #define WGL_ARB_make_current_read 1 185 #define ERROR_INVALID_PIXEL_TYPE_ARB 0x2043 186 #define ERROR_INCOMPATIBLE_DEVICE_CONTEXTS_ARB 0x2054 190 HDC hDrawDC, HDC hReadDC, HGLRC hglrc);
192 #define wglGetCurrentReadDCARB WGLEW_GET_FUN(__wglewGetCurrentReadDCARB) 193 #define wglMakeContextCurrentARB WGLEW_GET_FUN(__wglewMakeContextCurrentARB) 195 #define WGLEW_ARB_make_current_read WGLEW_GET_VAR(__WGLEW_ARB_make_current_read) 202 #ifndef WGL_ARB_multisample 203 #define WGL_ARB_multisample 1 205 #define WGL_SAMPLE_BUFFERS_ARB 0x2041 206 #define WGL_SAMPLES_ARB 0x2042 208 #define WGLEW_ARB_multisample WGLEW_GET_VAR(__WGLEW_ARB_multisample) 215 #ifndef WGL_ARB_pbuffer 216 #define WGL_ARB_pbuffer 1 218 #define WGL_DRAW_TO_PBUFFER_ARB 0x202D 219 #define WGL_MAX_PBUFFER_PIXELS_ARB 0x202E 220 #define WGL_MAX_PBUFFER_WIDTH_ARB 0x202F 221 #define WGL_MAX_PBUFFER_HEIGHT_ARB 0x2030 222 #define WGL_PBUFFER_LARGEST_ARB 0x2033 223 #define WGL_PBUFFER_WIDTH_ARB 0x2034 224 #define WGL_PBUFFER_HEIGHT_ARB 0x2035 225 #define WGL_PBUFFER_LOST_ARB 0x2036 230 HDC hDC,
int iPixelFormat,
int iWidth,
int iHeight,
231 const int* piAttribList);
235 HPBUFFERARB hPbuffer,
int iAttribute,
int* piValue);
237 HPBUFFERARB hPbuffer, HDC hDC);
239 #define wglCreatePbufferARB WGLEW_GET_FUN(__wglewCreatePbufferARB) 240 #define wglDestroyPbufferARB WGLEW_GET_FUN(__wglewDestroyPbufferARB) 241 #define wglGetPbufferDCARB WGLEW_GET_FUN(__wglewGetPbufferDCARB) 242 #define wglQueryPbufferARB WGLEW_GET_FUN(__wglewQueryPbufferARB) 243 #define wglReleasePbufferDCARB WGLEW_GET_FUN(__wglewReleasePbufferDCARB) 245 #define WGLEW_ARB_pbuffer WGLEW_GET_VAR(__WGLEW_ARB_pbuffer) 252 #ifndef WGL_ARB_pixel_format 253 #define WGL_ARB_pixel_format 1 255 #define WGL_NUMBER_PIXEL_FORMATS_ARB 0x2000 256 #define WGL_DRAW_TO_WINDOW_ARB 0x2001 257 #define WGL_DRAW_TO_BITMAP_ARB 0x2002 258 #define WGL_ACCELERATION_ARB 0x2003 259 #define WGL_NEED_PALETTE_ARB 0x2004 260 #define WGL_NEED_SYSTEM_PALETTE_ARB 0x2005 261 #define WGL_SWAP_LAYER_BUFFERS_ARB 0x2006 262 #define WGL_SWAP_METHOD_ARB 0x2007 263 #define WGL_NUMBER_OVERLAYS_ARB 0x2008 264 #define WGL_NUMBER_UNDERLAYS_ARB 0x2009 265 #define WGL_TRANSPARENT_ARB 0x200A 266 #define WGL_SHARE_DEPTH_ARB 0x200C 267 #define WGL_SHARE_STENCIL_ARB 0x200D 268 #define WGL_SHARE_ACCUM_ARB 0x200E 269 #define WGL_SUPPORT_GDI_ARB 0x200F 270 #define WGL_SUPPORT_OPENGL_ARB 0x2010 271 #define WGL_DOUBLE_BUFFER_ARB 0x2011 272 #define WGL_STEREO_ARB 0x2012 273 #define WGL_PIXEL_TYPE_ARB 0x2013 274 #define WGL_COLOR_BITS_ARB 0x2014 275 #define WGL_RED_BITS_ARB 0x2015 276 #define WGL_RED_SHIFT_ARB 0x2016 277 #define WGL_GREEN_BITS_ARB 0x2017 278 #define WGL_GREEN_SHIFT_ARB 0x2018 279 #define WGL_BLUE_BITS_ARB 0x2019 280 #define WGL_BLUE_SHIFT_ARB 0x201A 281 #define WGL_ALPHA_BITS_ARB 0x201B 282 #define WGL_ALPHA_SHIFT_ARB 0x201C 283 #define WGL_ACCUM_BITS_ARB 0x201D 284 #define WGL_ACCUM_RED_BITS_ARB 0x201E 285 #define WGL_ACCUM_GREEN_BITS_ARB 0x201F 286 #define WGL_ACCUM_BLUE_BITS_ARB 0x2020 287 #define WGL_ACCUM_ALPHA_BITS_ARB 0x2021 288 #define WGL_DEPTH_BITS_ARB 0x2022 289 #define WGL_STENCIL_BITS_ARB 0x2023 290 #define WGL_AUX_BUFFERS_ARB 0x2024 291 #define WGL_NO_ACCELERATION_ARB 0x2025 292 #define WGL_GENERIC_ACCELERATION_ARB 0x2026 293 #define WGL_FULL_ACCELERATION_ARB 0x2027 294 #define WGL_SWAP_EXCHANGE_ARB 0x2028 295 #define WGL_SWAP_COPY_ARB 0x2029 296 #define WGL_SWAP_UNDEFINED_ARB 0x202A 297 #define WGL_TYPE_RGBA_ARB 0x202B 298 #define WGL_TYPE_COLORINDEX_ARB 0x202C 299 #define WGL_TRANSPARENT_RED_VALUE_ARB 0x2037 300 #define WGL_TRANSPARENT_GREEN_VALUE_ARB 0x2038 301 #define WGL_TRANSPARENT_BLUE_VALUE_ARB 0x2039 302 #define WGL_TRANSPARENT_ALPHA_VALUE_ARB 0x203A 303 #define WGL_TRANSPARENT_INDEX_VALUE_ARB 0x203B 306 HDC hdc,
const int* piAttribIList,
const FLOAT* pfAttribFList,
307 UINT nMaxFormats,
int* piFormats, UINT* nNumFormats);
309 HDC hdc,
int iPixelFormat,
int iLayerPlane, UINT nAttributes,
310 const int* piAttributes, FLOAT* pfValues);
312 HDC hdc,
int iPixelFormat,
int iLayerPlane, UINT nAttributes,
313 const int* piAttributes,
int* piValues);
315 #define wglChoosePixelFormatARB WGLEW_GET_FUN(__wglewChoosePixelFormatARB) 316 #define wglGetPixelFormatAttribfvARB \ 317 WGLEW_GET_FUN(__wglewGetPixelFormatAttribfvARB) 318 #define wglGetPixelFormatAttribivARB \ 319 WGLEW_GET_FUN(__wglewGetPixelFormatAttribivARB) 321 #define WGLEW_ARB_pixel_format WGLEW_GET_VAR(__WGLEW_ARB_pixel_format) 328 #ifndef WGL_ARB_pixel_format_float 329 #define WGL_ARB_pixel_format_float 1 331 #define WGL_TYPE_RGBA_FLOAT_ARB 0x21A0 333 #define WGLEW_ARB_pixel_format_float \ 334 WGLEW_GET_VAR(__WGLEW_ARB_pixel_format_float) 341 #ifndef WGL_ARB_render_texture 342 #define WGL_ARB_render_texture 1 344 #define WGL_BIND_TO_TEXTURE_RGB_ARB 0x2070 345 #define WGL_BIND_TO_TEXTURE_RGBA_ARB 0x2071 346 #define WGL_TEXTURE_FORMAT_ARB 0x2072 347 #define WGL_TEXTURE_TARGET_ARB 0x2073 348 #define WGL_MIPMAP_TEXTURE_ARB 0x2074 349 #define WGL_TEXTURE_RGB_ARB 0x2075 350 #define WGL_TEXTURE_RGBA_ARB 0x2076 351 #define WGL_NO_TEXTURE_ARB 0x2077 352 #define WGL_TEXTURE_CUBE_MAP_ARB 0x2078 353 #define WGL_TEXTURE_1D_ARB 0x2079 354 #define WGL_TEXTURE_2D_ARB 0x207A 355 #define WGL_MIPMAP_LEVEL_ARB 0x207B 356 #define WGL_CUBE_MAP_FACE_ARB 0x207C 357 #define WGL_TEXTURE_CUBE_MAP_POSITIVE_X_ARB 0x207D 358 #define WGL_TEXTURE_CUBE_MAP_NEGATIVE_X_ARB 0x207E 359 #define WGL_TEXTURE_CUBE_MAP_POSITIVE_Y_ARB 0x207F 360 #define WGL_TEXTURE_CUBE_MAP_NEGATIVE_Y_ARB 0x2080 361 #define WGL_TEXTURE_CUBE_MAP_POSITIVE_Z_ARB 0x2081 362 #define WGL_TEXTURE_CUBE_MAP_NEGATIVE_Z_ARB 0x2082 363 #define WGL_FRONT_LEFT_ARB 0x2083 364 #define WGL_FRONT_RIGHT_ARB 0x2084 365 #define WGL_BACK_LEFT_ARB 0x2085 366 #define WGL_BACK_RIGHT_ARB 0x2086 367 #define WGL_AUX0_ARB 0x2087 368 #define WGL_AUX1_ARB 0x2088 369 #define WGL_AUX2_ARB 0x2089 370 #define WGL_AUX3_ARB 0x208A 371 #define WGL_AUX4_ARB 0x208B 372 #define WGL_AUX5_ARB 0x208C 373 #define WGL_AUX6_ARB 0x208D 374 #define WGL_AUX7_ARB 0x208E 375 #define WGL_AUX8_ARB 0x208F 376 #define WGL_AUX9_ARB 0x2090 379 HPBUFFERARB hPbuffer,
int iBuffer);
381 HPBUFFERARB hPbuffer,
int iBuffer);
383 HPBUFFERARB hPbuffer,
const int* piAttribList);
385 #define wglBindTexImageARB WGLEW_GET_FUN(__wglewBindTexImageARB) 386 #define wglReleaseTexImageARB WGLEW_GET_FUN(__wglewReleaseTexImageARB) 387 #define wglSetPbufferAttribARB WGLEW_GET_FUN(__wglewSetPbufferAttribARB) 389 #define WGLEW_ARB_render_texture WGLEW_GET_VAR(__WGLEW_ARB_render_texture) 396 #ifndef WGL_ATI_pixel_format_float 397 #define WGL_ATI_pixel_format_float 1 399 #define WGL_TYPE_RGBA_FLOAT_ATI 0x21A0 400 #define GL_RGBA_FLOAT_MODE_ATI 0x8820 401 #define GL_COLOR_CLEAR_UNCLAMPED_VALUE_ATI 0x8835 403 #define WGLEW_ATI_pixel_format_float \ 404 WGLEW_GET_VAR(__WGLEW_ATI_pixel_format_float) 411 #ifndef WGL_ATI_render_texture_rectangle 412 #define WGL_ATI_render_texture_rectangle 1 414 #define WGL_TEXTURE_RECTANGLE_ATI 0x21A5 416 #define WGLEW_ATI_render_texture_rectangle \ 417 WGLEW_GET_VAR(__WGLEW_ATI_render_texture_rectangle) 424 #ifndef WGL_EXT_depth_float 425 #define WGL_EXT_depth_float 1 427 #define WGL_DEPTH_FLOAT_EXT 0x2040 429 #define WGLEW_EXT_depth_float WGLEW_GET_VAR(__WGLEW_EXT_depth_float) 436 #ifndef WGL_EXT_display_color_table 437 #define WGL_EXT_display_color_table 1 446 #define wglBindDisplayColorTableEXT \ 447 WGLEW_GET_FUN(__wglewBindDisplayColorTableEXT) 448 #define wglCreateDisplayColorTableEXT \ 449 WGLEW_GET_FUN(__wglewCreateDisplayColorTableEXT) 450 #define wglDestroyDisplayColorTableEXT \ 451 WGLEW_GET_FUN(__wglewDestroyDisplayColorTableEXT) 452 #define wglLoadDisplayColorTableEXT \ 453 WGLEW_GET_FUN(__wglewLoadDisplayColorTableEXT) 455 #define WGLEW_EXT_display_color_table \ 456 WGLEW_GET_VAR(__WGLEW_EXT_display_color_table) 463 #ifndef WGL_EXT_extensions_string 464 #define WGL_EXT_extensions_string 1 468 #define wglGetExtensionsStringEXT WGLEW_GET_FUN(__wglewGetExtensionsStringEXT) 470 #define WGLEW_EXT_extensions_string WGLEW_GET_VAR(__WGLEW_EXT_extensions_string) 477 #ifndef WGL_EXT_framebuffer_sRGB 478 #define WGL_EXT_framebuffer_sRGB 1 480 #define WGL_FRAMEBUFFER_SRGB_CAPABLE_EXT 0x20A9 482 #define WGLEW_EXT_framebuffer_sRGB WGLEW_GET_VAR(__WGLEW_EXT_framebuffer_sRGB) 489 #ifndef WGL_EXT_make_current_read 490 #define WGL_EXT_make_current_read 1 492 #define ERROR_INVALID_PIXEL_TYPE_EXT 0x2043 496 HDC hDrawDC, HDC hReadDC, HGLRC hglrc);
498 #define wglGetCurrentReadDCEXT WGLEW_GET_FUN(__wglewGetCurrentReadDCEXT) 499 #define wglMakeContextCurrentEXT WGLEW_GET_FUN(__wglewMakeContextCurrentEXT) 501 #define WGLEW_EXT_make_current_read WGLEW_GET_VAR(__WGLEW_EXT_make_current_read) 508 #ifndef WGL_EXT_multisample 509 #define WGL_EXT_multisample 1 511 #define WGL_SAMPLE_BUFFERS_EXT 0x2041 512 #define WGL_SAMPLES_EXT 0x2042 514 #define WGLEW_EXT_multisample WGLEW_GET_VAR(__WGLEW_EXT_multisample) 521 #ifndef WGL_EXT_pbuffer 522 #define WGL_EXT_pbuffer 1 524 #define WGL_DRAW_TO_PBUFFER_EXT 0x202D 525 #define WGL_MAX_PBUFFER_PIXELS_EXT 0x202E 526 #define WGL_MAX_PBUFFER_WIDTH_EXT 0x202F 527 #define WGL_MAX_PBUFFER_HEIGHT_EXT 0x2030 528 #define WGL_OPTIMAL_PBUFFER_WIDTH_EXT 0x2031 529 #define WGL_OPTIMAL_PBUFFER_HEIGHT_EXT 0x2032 530 #define WGL_PBUFFER_LARGEST_EXT 0x2033 531 #define WGL_PBUFFER_WIDTH_EXT 0x2034 532 #define WGL_PBUFFER_HEIGHT_EXT 0x2035 537 HDC hDC,
int iPixelFormat,
int iWidth,
int iHeight,
538 const int* piAttribList);
542 HPBUFFEREXT hPbuffer,
int iAttribute,
int* piValue);
544 HPBUFFEREXT hPbuffer, HDC hDC);
546 #define wglCreatePbufferEXT WGLEW_GET_FUN(__wglewCreatePbufferEXT) 547 #define wglDestroyPbufferEXT WGLEW_GET_FUN(__wglewDestroyPbufferEXT) 548 #define wglGetPbufferDCEXT WGLEW_GET_FUN(__wglewGetPbufferDCEXT) 549 #define wglQueryPbufferEXT WGLEW_GET_FUN(__wglewQueryPbufferEXT) 550 #define wglReleasePbufferDCEXT WGLEW_GET_FUN(__wglewReleasePbufferDCEXT) 552 #define WGLEW_EXT_pbuffer WGLEW_GET_VAR(__WGLEW_EXT_pbuffer) 559 #ifndef WGL_EXT_pixel_format 560 #define WGL_EXT_pixel_format 1 562 #define WGL_NUMBER_PIXEL_FORMATS_EXT 0x2000 563 #define WGL_DRAW_TO_WINDOW_EXT 0x2001 564 #define WGL_DRAW_TO_BITMAP_EXT 0x2002 565 #define WGL_ACCELERATION_EXT 0x2003 566 #define WGL_NEED_PALETTE_EXT 0x2004 567 #define WGL_NEED_SYSTEM_PALETTE_EXT 0x2005 568 #define WGL_SWAP_LAYER_BUFFERS_EXT 0x2006 569 #define WGL_SWAP_METHOD_EXT 0x2007 570 #define WGL_NUMBER_OVERLAYS_EXT 0x2008 571 #define WGL_NUMBER_UNDERLAYS_EXT 0x2009 572 #define WGL_TRANSPARENT_EXT 0x200A 573 #define WGL_TRANSPARENT_VALUE_EXT 0x200B 574 #define WGL_SHARE_DEPTH_EXT 0x200C 575 #define WGL_SHARE_STENCIL_EXT 0x200D 576 #define WGL_SHARE_ACCUM_EXT 0x200E 577 #define WGL_SUPPORT_GDI_EXT 0x200F 578 #define WGL_SUPPORT_OPENGL_EXT 0x2010 579 #define WGL_DOUBLE_BUFFER_EXT 0x2011 580 #define WGL_STEREO_EXT 0x2012 581 #define WGL_PIXEL_TYPE_EXT 0x2013 582 #define WGL_COLOR_BITS_EXT 0x2014 583 #define WGL_RED_BITS_EXT 0x2015 584 #define WGL_RED_SHIFT_EXT 0x2016 585 #define WGL_GREEN_BITS_EXT 0x2017 586 #define WGL_GREEN_SHIFT_EXT 0x2018 587 #define WGL_BLUE_BITS_EXT 0x2019 588 #define WGL_BLUE_SHIFT_EXT 0x201A 589 #define WGL_ALPHA_BITS_EXT 0x201B 590 #define WGL_ALPHA_SHIFT_EXT 0x201C 591 #define WGL_ACCUM_BITS_EXT 0x201D 592 #define WGL_ACCUM_RED_BITS_EXT 0x201E 593 #define WGL_ACCUM_GREEN_BITS_EXT 0x201F 594 #define WGL_ACCUM_BLUE_BITS_EXT 0x2020 595 #define WGL_ACCUM_ALPHA_BITS_EXT 0x2021 596 #define WGL_DEPTH_BITS_EXT 0x2022 597 #define WGL_STENCIL_BITS_EXT 0x2023 598 #define WGL_AUX_BUFFERS_EXT 0x2024 599 #define WGL_NO_ACCELERATION_EXT 0x2025 600 #define WGL_GENERIC_ACCELERATION_EXT 0x2026 601 #define WGL_FULL_ACCELERATION_EXT 0x2027 602 #define WGL_SWAP_EXCHANGE_EXT 0x2028 603 #define WGL_SWAP_COPY_EXT 0x2029 604 #define WGL_SWAP_UNDEFINED_EXT 0x202A 605 #define WGL_TYPE_RGBA_EXT 0x202B 606 #define WGL_TYPE_COLORINDEX_EXT 0x202C 609 HDC hdc,
const int* piAttribIList,
const FLOAT* pfAttribFList,
610 UINT nMaxFormats,
int* piFormats, UINT* nNumFormats);
612 HDC hdc,
int iPixelFormat,
int iLayerPlane, UINT nAttributes,
613 int* piAttributes, FLOAT* pfValues);
615 HDC hdc,
int iPixelFormat,
int iLayerPlane, UINT nAttributes,
616 int* piAttributes,
int* piValues);
618 #define wglChoosePixelFormatEXT WGLEW_GET_FUN(__wglewChoosePixelFormatEXT) 619 #define wglGetPixelFormatAttribfvEXT \ 620 WGLEW_GET_FUN(__wglewGetPixelFormatAttribfvEXT) 621 #define wglGetPixelFormatAttribivEXT \ 622 WGLEW_GET_FUN(__wglewGetPixelFormatAttribivEXT) 624 #define WGLEW_EXT_pixel_format WGLEW_GET_VAR(__WGLEW_EXT_pixel_format) 631 #ifndef WGL_EXT_pixel_format_packed_float 632 #define WGL_EXT_pixel_format_packed_float 1 634 #define WGL_TYPE_RGBA_UNSIGNED_FLOAT_EXT 0x20A8 636 #define WGLEW_EXT_pixel_format_packed_float \ 637 WGLEW_GET_VAR(__WGLEW_EXT_pixel_format_packed_float) 644 #ifndef WGL_EXT_swap_control 645 #define WGL_EXT_swap_control 1 650 #define wglGetSwapIntervalEXT WGLEW_GET_FUN(__wglewGetSwapIntervalEXT) 651 #define wglSwapIntervalEXT WGLEW_GET_FUN(__wglewSwapIntervalEXT) 653 #define WGLEW_EXT_swap_control WGLEW_GET_VAR(__WGLEW_EXT_swap_control) 660 #ifndef WGL_I3D_digital_video_control 661 #define WGL_I3D_digital_video_control 1 663 #define WGL_DIGITAL_VIDEO_CURSOR_ALPHA_FRAMEBUFFER_I3D 0x2050 664 #define WGL_DIGITAL_VIDEO_CURSOR_ALPHA_VALUE_I3D 0x2051 665 #define WGL_DIGITAL_VIDEO_CURSOR_INCLUDED_I3D 0x2052 666 #define WGL_DIGITAL_VIDEO_GAMMA_CORRECTED_I3D 0x2053 669 HDC hDC,
int iAttribute,
int* piValue);
671 HDC hDC,
int iAttribute,
const int* piValue);
673 #define wglGetDigitalVideoParametersI3D \ 674 WGLEW_GET_FUN(__wglewGetDigitalVideoParametersI3D) 675 #define wglSetDigitalVideoParametersI3D \ 676 WGLEW_GET_FUN(__wglewSetDigitalVideoParametersI3D) 678 #define WGLEW_I3D_digital_video_control \ 679 WGLEW_GET_VAR(__WGLEW_I3D_digital_video_control) 686 #ifndef WGL_I3D_gamma 687 #define WGL_I3D_gamma 1 689 #define WGL_GAMMA_TABLE_SIZE_I3D 0x204E 690 #define WGL_GAMMA_EXCLUDE_DESKTOP_I3D 0x204F 693 HDC hDC,
int iEntries, USHORT* puRed, USHORT* puGreen, USHORT* puBlue);
695 HDC hDC,
int iAttribute,
int* piValue);
697 HDC hDC,
int iEntries,
const USHORT* puRed,
const USHORT* puGreen,
698 const USHORT* puBlue);
700 HDC hDC,
int iAttribute,
const int* piValue);
702 #define wglGetGammaTableI3D WGLEW_GET_FUN(__wglewGetGammaTableI3D) 703 #define wglGetGammaTableParametersI3D \ 704 WGLEW_GET_FUN(__wglewGetGammaTableParametersI3D) 705 #define wglSetGammaTableI3D WGLEW_GET_FUN(__wglewSetGammaTableI3D) 706 #define wglSetGammaTableParametersI3D \ 707 WGLEW_GET_FUN(__wglewSetGammaTableParametersI3D) 709 #define WGLEW_I3D_gamma WGLEW_GET_VAR(__WGLEW_I3D_gamma) 716 #ifndef WGL_I3D_genlock 717 #define WGL_I3D_genlock 1 719 #define WGL_GENLOCK_SOURCE_MULTIVIEW_I3D 0x2044 720 #define WGL_GENLOCK_SOURCE_EXTERNAL_SYNC_I3D 0x2045 721 #define WGL_GENLOCK_SOURCE_EXTERNAL_FIELD_I3D 0x2046 722 #define WGL_GENLOCK_SOURCE_EXTERNAL_TTL_I3D 0x2047 723 #define WGL_GENLOCK_SOURCE_DIGITAL_SYNC_I3D 0x2048 724 #define WGL_GENLOCK_SOURCE_DIGITAL_FIELD_I3D 0x2049 725 #define WGL_GENLOCK_SOURCE_EDGE_FALLING_I3D 0x204A 726 #define WGL_GENLOCK_SOURCE_EDGE_RISING_I3D 0x204B 727 #define WGL_GENLOCK_SOURCE_EDGE_BOTH_I3D 0x204C 736 HDC hDC, UINT* uRate);
738 HDC hDC, UINT* uDelay);
740 HDC hDC, UINT* uEdge);
744 HDC hDC, UINT* uMaxLineDelay, UINT* uMaxPixelDelay);
746 #define wglDisableGenlockI3D WGLEW_GET_FUN(__wglewDisableGenlockI3D) 747 #define wglEnableGenlockI3D WGLEW_GET_FUN(__wglewEnableGenlockI3D) 748 #define wglGenlockSampleRateI3D WGLEW_GET_FUN(__wglewGenlockSampleRateI3D) 749 #define wglGenlockSourceDelayI3D WGLEW_GET_FUN(__wglewGenlockSourceDelayI3D) 750 #define wglGenlockSourceEdgeI3D WGLEW_GET_FUN(__wglewGenlockSourceEdgeI3D) 751 #define wglGenlockSourceI3D WGLEW_GET_FUN(__wglewGenlockSourceI3D) 752 #define wglGetGenlockSampleRateI3D WGLEW_GET_FUN(__wglewGetGenlockSampleRateI3D) 753 #define wglGetGenlockSourceDelayI3D \ 754 WGLEW_GET_FUN(__wglewGetGenlockSourceDelayI3D) 755 #define wglGetGenlockSourceEdgeI3D WGLEW_GET_FUN(__wglewGetGenlockSourceEdgeI3D) 756 #define wglGetGenlockSourceI3D WGLEW_GET_FUN(__wglewGetGenlockSourceI3D) 757 #define wglIsEnabledGenlockI3D WGLEW_GET_FUN(__wglewIsEnabledGenlockI3D) 758 #define wglQueryGenlockMaxSourceDelayI3D \ 759 WGLEW_GET_FUN(__wglewQueryGenlockMaxSourceDelayI3D) 761 #define WGLEW_I3D_genlock WGLEW_GET_VAR(__WGLEW_I3D_genlock) 768 #ifndef WGL_I3D_image_buffer 769 #define WGL_I3D_image_buffer 1 771 #define WGL_IMAGE_BUFFER_MIN_ACCESS_I3D 0x00000001 772 #define WGL_IMAGE_BUFFER_LOCK_I3D 0x00000002 775 HDC hdc, HANDLE* pEvent, LPVOID* pAddress, DWORD* pSize, UINT
count);
777 HDC hDC, DWORD dwSize, UINT uFlags);
779 HDC hDC, LPVOID pAddress);
781 HDC hdc, LPVOID* pAddress, UINT
count);
783 #define wglAssociateImageBufferEventsI3D \ 784 WGLEW_GET_FUN(__wglewAssociateImageBufferEventsI3D) 785 #define wglCreateImageBufferI3D WGLEW_GET_FUN(__wglewCreateImageBufferI3D) 786 #define wglDestroyImageBufferI3D WGLEW_GET_FUN(__wglewDestroyImageBufferI3D) 787 #define wglReleaseImageBufferEventsI3D \ 788 WGLEW_GET_FUN(__wglewReleaseImageBufferEventsI3D) 790 #define WGLEW_I3D_image_buffer WGLEW_GET_VAR(__WGLEW_I3D_image_buffer) 797 #ifndef WGL_I3D_swap_frame_lock 798 #define WGL_I3D_swap_frame_lock 1 805 #define wglDisableFrameLockI3D WGLEW_GET_FUN(__wglewDisableFrameLockI3D) 806 #define wglEnableFrameLockI3D WGLEW_GET_FUN(__wglewEnableFrameLockI3D) 807 #define wglIsEnabledFrameLockI3D WGLEW_GET_FUN(__wglewIsEnabledFrameLockI3D) 808 #define wglQueryFrameLockMasterI3D WGLEW_GET_FUN(__wglewQueryFrameLockMasterI3D) 810 #define WGLEW_I3D_swap_frame_lock WGLEW_GET_VAR(__WGLEW_I3D_swap_frame_lock) 817 #ifndef WGL_I3D_swap_frame_usage 818 #define WGL_I3D_swap_frame_usage 1 824 DWORD* pFrameCount, DWORD* pMissedFrames,
float* pLastMissedUsage);
826 #define wglBeginFrameTrackingI3D WGLEW_GET_FUN(__wglewBeginFrameTrackingI3D) 827 #define wglEndFrameTrackingI3D WGLEW_GET_FUN(__wglewEndFrameTrackingI3D) 828 #define wglGetFrameUsageI3D WGLEW_GET_FUN(__wglewGetFrameUsageI3D) 829 #define wglQueryFrameTrackingI3D WGLEW_GET_FUN(__wglewQueryFrameTrackingI3D) 831 #define WGLEW_I3D_swap_frame_usage WGLEW_GET_VAR(__WGLEW_I3D_swap_frame_usage) 838 #ifndef WGL_NV_float_buffer 839 #define WGL_NV_float_buffer 1 841 #define WGL_FLOAT_COMPONENTS_NV 0x20B0 842 #define WGL_BIND_TO_TEXTURE_RECTANGLE_FLOAT_R_NV 0x20B1 843 #define WGL_BIND_TO_TEXTURE_RECTANGLE_FLOAT_RG_NV 0x20B2 844 #define WGL_BIND_TO_TEXTURE_RECTANGLE_FLOAT_RGB_NV 0x20B3 845 #define WGL_BIND_TO_TEXTURE_RECTANGLE_FLOAT_RGBA_NV 0x20B4 846 #define WGL_TEXTURE_FLOAT_R_NV 0x20B5 847 #define WGL_TEXTURE_FLOAT_RG_NV 0x20B6 848 #define WGL_TEXTURE_FLOAT_RGB_NV 0x20B7 849 #define WGL_TEXTURE_FLOAT_RGBA_NV 0x20B8 851 #define WGLEW_NV_float_buffer WGLEW_GET_VAR(__WGLEW_NV_float_buffer) 858 #ifndef WGL_NV_gpu_affinity 859 #define WGL_NV_gpu_affinity 1 861 #define WGL_ERROR_INCOMPATIBLE_AFFINITY_MASKS_NV 0x20D0 862 #define WGL_ERROR_MISSING_AFFINITY_MASK_NV 0x20D1 877 HGPUNV hGpu, UINT iDeviceIndex,
PGPU_DEVICE lpGpuDevice);
879 HDC hAffinityDC, UINT iGpuIndex, HGPUNV* hGpu);
882 #define wglCreateAffinityDCNV WGLEW_GET_FUN(__wglewCreateAffinityDCNV) 883 #define wglDeleteDCNV WGLEW_GET_FUN(__wglewDeleteDCNV) 884 #define wglEnumGpuDevicesNV WGLEW_GET_FUN(__wglewEnumGpuDevicesNV) 885 #define wglEnumGpusFromAffinityDCNV \ 886 WGLEW_GET_FUN(__wglewEnumGpusFromAffinityDCNV) 887 #define wglEnumGpusNV WGLEW_GET_FUN(__wglewEnumGpusNV) 889 #define WGLEW_NV_gpu_affinity WGLEW_GET_VAR(__WGLEW_NV_gpu_affinity) 896 #ifndef WGL_NV_present_video 897 #define WGL_NV_present_video 1 899 #define WGL_NUM_VIDEO_SLOTS_NV 0x20F0 904 HDC hDc,
unsigned int uVideoSlot, HVIDEOOUTPUTDEVICENV hVideoDevice,
905 const int* piAttribList);
907 HDC hDc, HVIDEOOUTPUTDEVICENV* phDeviceList);
909 int iAttribute,
int* piValue);
911 #define wglBindVideoDeviceNV WGLEW_GET_FUN(__wglewBindVideoDeviceNV) 912 #define wglEnumerateVideoDevicesNV WGLEW_GET_FUN(__wglewEnumerateVideoDevicesNV) 913 #define wglQueryCurrentContextNV WGLEW_GET_FUN(__wglewQueryCurrentContextNV) 915 #define WGLEW_NV_present_video WGLEW_GET_VAR(__WGLEW_NV_present_video) 922 #ifndef WGL_NV_render_depth_texture 923 #define WGL_NV_render_depth_texture 1 925 #define WGL_NO_TEXTURE_ARB 0x2077 926 #define WGL_BIND_TO_TEXTURE_DEPTH_NV 0x20A3 927 #define WGL_BIND_TO_TEXTURE_RECTANGLE_DEPTH_NV 0x20A4 928 #define WGL_DEPTH_TEXTURE_FORMAT_NV 0x20A5 929 #define WGL_TEXTURE_DEPTH_COMPONENT_NV 0x20A6 930 #define WGL_DEPTH_COMPONENT_NV 0x20A7 932 #define WGLEW_NV_render_depth_texture \ 933 WGLEW_GET_VAR(__WGLEW_NV_render_depth_texture) 940 #ifndef WGL_NV_render_texture_rectangle 941 #define WGL_NV_render_texture_rectangle 1 943 #define WGL_BIND_TO_TEXTURE_RECTANGLE_RGB_NV 0x20A0 944 #define WGL_BIND_TO_TEXTURE_RECTANGLE_RGBA_NV 0x20A1 945 #define WGL_TEXTURE_RECTANGLE_NV 0x20A2 947 #define WGLEW_NV_render_texture_rectangle \ 948 WGLEW_GET_VAR(__WGLEW_NV_render_texture_rectangle) 955 #ifndef WGL_NV_swap_group 956 #define WGL_NV_swap_group 1 967 #define wglBindSwapBarrierNV WGLEW_GET_FUN(__wglewBindSwapBarrierNV) 968 #define wglJoinSwapGroupNV WGLEW_GET_FUN(__wglewJoinSwapGroupNV) 969 #define wglQueryFrameCountNV WGLEW_GET_FUN(__wglewQueryFrameCountNV) 970 #define wglQueryMaxSwapGroupsNV WGLEW_GET_FUN(__wglewQueryMaxSwapGroupsNV) 971 #define wglQuerySwapGroupNV WGLEW_GET_FUN(__wglewQuerySwapGroupNV) 972 #define wglResetFrameCountNV WGLEW_GET_FUN(__wglewResetFrameCountNV) 974 #define WGLEW_NV_swap_group WGLEW_GET_VAR(__WGLEW_NV_swap_group) 981 #ifndef WGL_NV_vertex_array_range 982 #define WGL_NV_vertex_array_range 1 989 #define wglAllocateMemoryNV WGLEW_GET_FUN(__wglewAllocateMemoryNV) 990 #define wglFreeMemoryNV WGLEW_GET_FUN(__wglewFreeMemoryNV) 992 #define WGLEW_NV_vertex_array_range WGLEW_GET_VAR(__WGLEW_NV_vertex_array_range) 999 #ifndef WGL_NV_video_output 1000 #define WGL_NV_video_output 1 1002 #define WGL_BIND_TO_VIDEO_RGB_NV 0x20C0 1003 #define WGL_BIND_TO_VIDEO_RGBA_NV 0x20C1 1004 #define WGL_BIND_TO_VIDEO_RGB_AND_DEPTH_NV 0x20C2 1005 #define WGL_VIDEO_OUT_COLOR_NV 0x20C3 1006 #define WGL_VIDEO_OUT_ALPHA_NV 0x20C4 1007 #define WGL_VIDEO_OUT_DEPTH_NV 0x20C5 1008 #define WGL_VIDEO_OUT_COLOR_AND_ALPHA_NV 0x20C6 1009 #define WGL_VIDEO_OUT_COLOR_AND_DEPTH_NV 0x20C7 1010 #define WGL_VIDEO_OUT_FRAME 0x20C8 1011 #define WGL_VIDEO_OUT_FIELD_1 0x20C9 1012 #define WGL_VIDEO_OUT_FIELD_2 0x20CA 1013 #define WGL_VIDEO_OUT_STACKED_FIELDS_1_2 0x20CB 1014 #define WGL_VIDEO_OUT_STACKED_FIELDS_2_1 0x20CC 1019 HPVIDEODEV hVideoDevice, HPBUFFERARB hPbuffer,
int iVideoBuffer);
1021 HDC hDC,
int numDevices, HPVIDEODEV* hVideoDevice);
1023 HPVIDEODEV hpVideoDevice,
unsigned long* pulCounterOutputPbuffer,
1024 unsigned long* pulCounterOutputVideo);
1026 HPVIDEODEV hVideoDevice);
1028 HPBUFFERARB hPbuffer,
int iVideoBuffer);
1030 HPBUFFERARB hPbuffer,
int iBufferType,
unsigned long* pulCounterPbuffer,
1033 #define wglBindVideoImageNV WGLEW_GET_FUN(__wglewBindVideoImageNV) 1034 #define wglGetVideoDeviceNV WGLEW_GET_FUN(__wglewGetVideoDeviceNV) 1035 #define wglGetVideoInfoNV WGLEW_GET_FUN(__wglewGetVideoInfoNV) 1036 #define wglReleaseVideoDeviceNV WGLEW_GET_FUN(__wglewReleaseVideoDeviceNV) 1037 #define wglReleaseVideoImageNV WGLEW_GET_FUN(__wglewReleaseVideoImageNV) 1038 #define wglSendPbufferToVideoNV WGLEW_GET_FUN(__wglewSendPbufferToVideoNV) 1040 #define WGLEW_NV_video_output WGLEW_GET_VAR(__WGLEW_NV_video_output) 1047 #ifndef WGL_OML_sync_control 1048 #define WGL_OML_sync_control 1 1051 HDC hdc, INT32* numerator, INT32* denominator);
1053 HDC hdc, INT64* ust, INT64* msc, INT64* sbc);
1055 HDC hdc, INT64 target_msc, INT64 divisor, INT64 remainder);
1057 HDC hdc, INT fuPlanes, INT64 target_msc, INT64 divisor,
1060 HDC hdc, INT64 target_msc, INT64 divisor, INT64 remainder, INT64* ust,
1061 INT64* msc, INT64* sbc);
1063 HDC hdc, INT64 target_sbc, INT64* ust, INT64* msc, INT64* sbc);
1065 #define wglGetMscRateOML WGLEW_GET_FUN(__wglewGetMscRateOML) 1066 #define wglGetSyncValuesOML WGLEW_GET_FUN(__wglewGetSyncValuesOML) 1067 #define wglSwapBuffersMscOML WGLEW_GET_FUN(__wglewSwapBuffersMscOML) 1068 #define wglSwapLayerBuffersMscOML WGLEW_GET_FUN(__wglewSwapLayerBuffersMscOML) 1069 #define wglWaitForMscOML WGLEW_GET_FUN(__wglewWaitForMscOML) 1070 #define wglWaitForSbcOML WGLEW_GET_FUN(__wglewWaitForSbcOML) 1072 #define WGLEW_OML_sync_control WGLEW_GET_VAR(__WGLEW_OML_sync_control) 1080 #define WGLEW_EXPORT 1082 #define WGLEW_EXPORT GLEWAPI 1086 struct WGLEWContextStruct
1296 typedef struct WGLEWContextStruct WGLEWContext;
1299 wglewContextIsSupported(WGLEWContext* ctx,
const char*
name);
1301 #define wglewInit() wglewContextInit(wglewGetContext()) 1302 #define wglewIsSupported(x) wglewContextIsSupported(wglewGetContext(), x) 1304 #define WGLEW_GET_VAR(x) (*(const GLboolean*)&(wglewGetContext()->x)) 1305 #define WGLEW_GET_FUN(x) wglewGetContext()->x 1309 #define WGLEW_GET_VAR(x) (*(const GLboolean*)&x) 1310 #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