| OLD | NEW |
| 1 #ifndef __wglext_h_ | 1 #ifndef __wglext_h_ |
| 2 #define __wglext_h_ | 2 #define __wglext_h_ |
| 3 | 3 |
| 4 #ifdef __cplusplus | 4 #ifdef __cplusplus |
| 5 extern "C" { | 5 extern "C" { |
| 6 #endif | 6 #endif |
| 7 | 7 |
| 8 /* | 8 /* |
| 9 ** Copyright (c) 2007-2009 The Khronos Group Inc. | 9 ** Copyright (c) 2007-2010 The Khronos Group Inc. |
| 10 ** | 10 ** |
| 11 ** Permission is hereby granted, free of charge, to any person obtaining a | 11 ** Permission is hereby granted, free of charge, to any person obtaining a |
| 12 ** copy of this software and/or associated documentation files (the | 12 ** copy of this software and/or associated documentation files (the |
| 13 ** "Materials"), to deal in the Materials without restriction, including | 13 ** "Materials"), to deal in the Materials without restriction, including |
| 14 ** without limitation the rights to use, copy, modify, merge, publish, | 14 ** without limitation the rights to use, copy, modify, merge, publish, |
| 15 ** distribute, sublicense, and/or sell copies of the Materials, and to | 15 ** distribute, sublicense, and/or sell copies of the Materials, and to |
| 16 ** permit persons to whom the Materials are furnished to do so, subject to | 16 ** permit persons to whom the Materials are furnished to do so, subject to |
| 17 ** the following conditions: | 17 ** the following conditions: |
| 18 ** | 18 ** |
| 19 ** The above copyright notice and this permission notice shall be included | 19 ** The above copyright notice and this permission notice shall be included |
| (...skipping 21 matching lines...) Expand all Loading... |
| 41 #ifndef APIENTRYP | 41 #ifndef APIENTRYP |
| 42 #define APIENTRYP APIENTRY * | 42 #define APIENTRYP APIENTRY * |
| 43 #endif | 43 #endif |
| 44 #ifndef GLAPI | 44 #ifndef GLAPI |
| 45 #define GLAPI extern | 45 #define GLAPI extern |
| 46 #endif | 46 #endif |
| 47 | 47 |
| 48 /*************************************************************/ | 48 /*************************************************************/ |
| 49 | 49 |
| 50 /* Header file version number */ | 50 /* Header file version number */ |
| 51 /* wglext.h last updated 2009/09/16 */ | 51 /* wglext.h last updated 2010/08/06 */ |
| 52 /* Current version at http://www.opengl.org/registry/ */ | 52 /* Current version at http://www.opengl.org/registry/ */ |
| 53 #define WGL_WGLEXT_VERSION 17 | 53 #define WGL_WGLEXT_VERSION 22 |
| 54 | 54 |
| 55 #ifndef WGL_ARB_buffer_region | 55 #ifndef WGL_ARB_buffer_region |
| 56 #define WGL_FRONT_COLOR_BUFFER_BIT_ARB 0x00000001 | 56 #define WGL_FRONT_COLOR_BUFFER_BIT_ARB 0x00000001 |
| 57 #define WGL_BACK_COLOR_BUFFER_BIT_ARB 0x00000002 | 57 #define WGL_BACK_COLOR_BUFFER_BIT_ARB 0x00000002 |
| 58 #define WGL_DEPTH_BUFFER_BIT_ARB 0x00000004 | 58 #define WGL_DEPTH_BUFFER_BIT_ARB 0x00000004 |
| 59 #define WGL_STENCIL_BUFFER_BIT_ARB 0x00000008 | 59 #define WGL_STENCIL_BUFFER_BIT_ARB 0x00000008 |
| 60 #endif | 60 #endif |
| 61 | 61 |
| 62 #ifndef WGL_ARB_multisample | 62 #ifndef WGL_ARB_multisample |
| 63 #define WGL_SAMPLE_BUFFERS_ARB 0x2041 | 63 #define WGL_SAMPLE_BUFFERS_ARB 0x2041 |
| (...skipping 104 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 168 #define WGL_AUX6_ARB 0x208D | 168 #define WGL_AUX6_ARB 0x208D |
| 169 #define WGL_AUX7_ARB 0x208E | 169 #define WGL_AUX7_ARB 0x208E |
| 170 #define WGL_AUX8_ARB 0x208F | 170 #define WGL_AUX8_ARB 0x208F |
| 171 #define WGL_AUX9_ARB 0x2090 | 171 #define WGL_AUX9_ARB 0x2090 |
| 172 #endif | 172 #endif |
| 173 | 173 |
| 174 #ifndef WGL_ARB_pixel_format_float | 174 #ifndef WGL_ARB_pixel_format_float |
| 175 #define WGL_TYPE_RGBA_FLOAT_ARB 0x21A0 | 175 #define WGL_TYPE_RGBA_FLOAT_ARB 0x21A0 |
| 176 #endif | 176 #endif |
| 177 | 177 |
| 178 #ifndef WGL_ARB_framebuffer_sRGB |
| 179 #define WGL_FRAMEBUFFER_SRGB_CAPABLE_ARB 0x20A9 |
| 180 #endif |
| 181 |
| 178 #ifndef WGL_ARB_create_context | 182 #ifndef WGL_ARB_create_context |
| 179 #define WGL_CONTEXT_DEBUG_BIT_ARB 0x00000001 | 183 #define WGL_CONTEXT_DEBUG_BIT_ARB 0x00000001 |
| 180 #define WGL_CONTEXT_FORWARD_COMPATIBLE_BIT_ARB 0x00000002 | 184 #define WGL_CONTEXT_FORWARD_COMPATIBLE_BIT_ARB 0x00000002 |
| 181 #define WGL_CONTEXT_MAJOR_VERSION_ARB 0x2091 | 185 #define WGL_CONTEXT_MAJOR_VERSION_ARB 0x2091 |
| 182 #define WGL_CONTEXT_MINOR_VERSION_ARB 0x2092 | 186 #define WGL_CONTEXT_MINOR_VERSION_ARB 0x2092 |
| 183 #define WGL_CONTEXT_LAYER_PLANE_ARB 0x2093 | 187 #define WGL_CONTEXT_LAYER_PLANE_ARB 0x2093 |
| 184 #define WGL_CONTEXT_FLAGS_ARB 0x2094 | 188 #define WGL_CONTEXT_FLAGS_ARB 0x2094 |
| 185 #define ERROR_INVALID_VERSION_ARB 0x2095 | 189 #define ERROR_INVALID_VERSION_ARB 0x2095 |
| 186 #endif | 190 #endif |
| 187 | 191 |
| 188 #ifndef WGL_ARB_create_context_profile | 192 #ifndef WGL_ARB_create_context_profile |
| 189 #define WGL_CONTEXT_PROFILE_MASK_ARB 0x9126 | 193 #define WGL_CONTEXT_PROFILE_MASK_ARB 0x9126 |
| 190 #define WGL_CONTEXT_CORE_PROFILE_BIT_ARB 0x00000001 | 194 #define WGL_CONTEXT_CORE_PROFILE_BIT_ARB 0x00000001 |
| 191 #define WGL_CONTEXT_COMPATIBILITY_PROFILE_BIT_ARB 0x00000002 | 195 #define WGL_CONTEXT_COMPATIBILITY_PROFILE_BIT_ARB 0x00000002 |
| 192 #define ERROR_INVALID_PROFILE_ARB 0x2096 | 196 #define ERROR_INVALID_PROFILE_ARB 0x2096 |
| 193 #endif | 197 #endif |
| 194 | 198 |
| 199 #ifndef WGL_ARB_create_context_robustness |
| 200 #define WGL_CONTEXT_ROBUST_ACCESS_BIT_ARB 0x00000004 |
| 201 #define WGL_LOSE_CONTEXT_ON_RESET_ARB 0x8252 |
| 202 #define WGL_CONTEXT_RESET_NOTIFICATION_STRATEGY_ARB 0x8256 |
| 203 #define WGL_NO_RESET_NOTIFICATION_ARB 0x8261 |
| 204 #endif |
| 205 |
| 195 #ifndef WGL_EXT_make_current_read | 206 #ifndef WGL_EXT_make_current_read |
| 196 #define ERROR_INVALID_PIXEL_TYPE_EXT 0x2043 | 207 #define ERROR_INVALID_PIXEL_TYPE_EXT 0x2043 |
| 197 #endif | 208 #endif |
| 198 | 209 |
| 199 #ifndef WGL_EXT_pixel_format | 210 #ifndef WGL_EXT_pixel_format |
| 200 #define WGL_NUMBER_PIXEL_FORMATS_EXT 0x2000 | 211 #define WGL_NUMBER_PIXEL_FORMATS_EXT 0x2000 |
| 201 #define WGL_DRAW_TO_WINDOW_EXT 0x2001 | 212 #define WGL_DRAW_TO_WINDOW_EXT 0x2001 |
| 202 #define WGL_DRAW_TO_BITMAP_EXT 0x2002 | 213 #define WGL_DRAW_TO_BITMAP_EXT 0x2002 |
| 203 #define WGL_ACCELERATION_EXT 0x2003 | 214 #define WGL_ACCELERATION_EXT 0x2003 |
| 204 #define WGL_NEED_PALETTE_EXT 0x2004 | 215 #define WGL_NEED_PALETTE_EXT 0x2004 |
| (...skipping 176 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 381 #define WGL_GPU_OPENGL_VERSION_STRING_AMD 0x1F02 | 392 #define WGL_GPU_OPENGL_VERSION_STRING_AMD 0x1F02 |
| 382 #define WGL_GPU_FASTEST_TARGET_GPUS_AMD 0x21A2 | 393 #define WGL_GPU_FASTEST_TARGET_GPUS_AMD 0x21A2 |
| 383 #define WGL_GPU_RAM_AMD 0x21A3 | 394 #define WGL_GPU_RAM_AMD 0x21A3 |
| 384 #define WGL_GPU_CLOCK_AMD 0x21A4 | 395 #define WGL_GPU_CLOCK_AMD 0x21A4 |
| 385 #define WGL_GPU_NUM_PIPES_AMD 0x21A5 | 396 #define WGL_GPU_NUM_PIPES_AMD 0x21A5 |
| 386 #define WGL_GPU_NUM_SIMD_AMD 0x21A6 | 397 #define WGL_GPU_NUM_SIMD_AMD 0x21A6 |
| 387 #define WGL_GPU_NUM_RB_AMD 0x21A7 | 398 #define WGL_GPU_NUM_RB_AMD 0x21A7 |
| 388 #define WGL_GPU_NUM_SPI_AMD 0x21A8 | 399 #define WGL_GPU_NUM_SPI_AMD 0x21A8 |
| 389 #endif | 400 #endif |
| 390 | 401 |
| 391 #ifndef NV_video_capture | 402 #ifndef WGL_NV_video_capture |
| 392 #define WGL_UNIQUE_ID_NV 0x20CE | 403 #define WGL_UNIQUE_ID_NV 0x20CE |
| 393 #define WGL_NUM_VIDEO_CAPTURE_SLOTS_NV 0x20CF | 404 #define WGL_NUM_VIDEO_CAPTURE_SLOTS_NV 0x20CF |
| 394 #endif | 405 #endif |
| 395 | 406 |
| 396 #ifndef NV_copy_image | 407 #ifndef WGL_NV_copy_image |
| 408 #endif |
| 409 |
| 410 #ifndef WGL_NV_multisample_coverage |
| 411 #define WGL_COVERAGE_SAMPLES_NV 0x2042 |
| 412 #define WGL_COLOR_SAMPLES_NV 0x20B9 |
| 413 #endif |
| 414 |
| 415 #ifndef WGL_EXT_create_context_es2_profile |
| 416 #define WGL_CONTEXT_ES2_PROFILE_BIT_EXT 0x00000004 |
| 397 #endif | 417 #endif |
| 398 | 418 |
| 399 | 419 |
| 400 /*************************************************************/ | 420 /*************************************************************/ |
| 401 | 421 |
| 402 #ifndef WGL_ARB_pbuffer | 422 #ifndef WGL_ARB_pbuffer |
| 403 DECLARE_HANDLE(HPBUFFERARB); | 423 DECLARE_HANDLE(HPBUFFERARB); |
| 404 #endif | 424 #endif |
| 405 #ifndef WGL_EXT_pbuffer | 425 #ifndef WGL_EXT_pbuffer |
| 406 DECLARE_HANDLE(HPBUFFEREXT); | 426 DECLARE_HANDLE(HPBUFFEREXT); |
| (...skipping 16 matching lines...) Expand all Loading... |
| 423 RECT rcVirtualScreen; | 443 RECT rcVirtualScreen; |
| 424 } GPU_DEVICE, *PGPU_DEVICE; | 444 } GPU_DEVICE, *PGPU_DEVICE; |
| 425 #endif | 445 #endif |
| 426 #ifndef WGL_NV_video_capture | 446 #ifndef WGL_NV_video_capture |
| 427 DECLARE_HANDLE(HVIDEOINPUTDEVICENV); | 447 DECLARE_HANDLE(HVIDEOINPUTDEVICENV); |
| 428 #endif | 448 #endif |
| 429 | 449 |
| 430 #ifndef WGL_ARB_buffer_region | 450 #ifndef WGL_ARB_buffer_region |
| 431 #define WGL_ARB_buffer_region 1 | 451 #define WGL_ARB_buffer_region 1 |
| 432 #ifdef WGL_WGLEXT_PROTOTYPES | 452 #ifdef WGL_WGLEXT_PROTOTYPES |
| 433 extern HANDLE WINAPI wglCreateBufferRegionARB (HDC, int, UINT); | 453 extern HANDLE WINAPI wglCreateBufferRegionARB (HDC hDC, int iLayerPlane, UINT uT
ype); |
| 434 extern VOID WINAPI wglDeleteBufferRegionARB (HANDLE); | 454 extern VOID WINAPI wglDeleteBufferRegionARB (HANDLE hRegion); |
| 435 extern BOOL WINAPI wglSaveBufferRegionARB (HANDLE, int, int, int, int); | 455 extern BOOL WINAPI wglSaveBufferRegionARB (HANDLE hRegion, int x, int y, int wid
th, int height); |
| 436 extern BOOL WINAPI wglRestoreBufferRegionARB (HANDLE, int, int, int, int, int, i
nt); | 456 extern BOOL WINAPI wglRestoreBufferRegionARB (HANDLE hRegion, int x, int y, int
width, int height, int xSrc, int ySrc); |
| 437 #endif /* WGL_WGLEXT_PROTOTYPES */ | 457 #endif /* WGL_WGLEXT_PROTOTYPES */ |
| 438 typedef HANDLE (WINAPI * PFNWGLCREATEBUFFERREGIONARBPROC) (HDC hDC, int iLayerPl
ane, UINT uType); | 458 typedef HANDLE (WINAPI * PFNWGLCREATEBUFFERREGIONARBPROC) (HDC hDC, int iLayerPl
ane, UINT uType); |
| 439 typedef VOID (WINAPI * PFNWGLDELETEBUFFERREGIONARBPROC) (HANDLE hRegion); | 459 typedef VOID (WINAPI * PFNWGLDELETEBUFFERREGIONARBPROC) (HANDLE hRegion); |
| 440 typedef BOOL (WINAPI * PFNWGLSAVEBUFFERREGIONARBPROC) (HANDLE hRegion, int x, in
t y, int width, int height); | 460 typedef BOOL (WINAPI * PFNWGLSAVEBUFFERREGIONARBPROC) (HANDLE hRegion, int x, in
t y, int width, int height); |
| 441 typedef BOOL (WINAPI * PFNWGLRESTOREBUFFERREGIONARBPROC) (HANDLE hRegion, int x,
int y, int width, int height, int xSrc, int ySrc); | 461 typedef BOOL (WINAPI * PFNWGLRESTOREBUFFERREGIONARBPROC) (HANDLE hRegion, int x,
int y, int width, int height, int xSrc, int ySrc); |
| 442 #endif | 462 #endif |
| 443 | 463 |
| 444 #ifndef WGL_ARB_multisample | 464 #ifndef WGL_ARB_multisample |
| 445 #define WGL_ARB_multisample 1 | 465 #define WGL_ARB_multisample 1 |
| 446 #endif | 466 #endif |
| 447 | 467 |
| 448 #ifndef WGL_ARB_extensions_string | 468 #ifndef WGL_ARB_extensions_string |
| 449 #define WGL_ARB_extensions_string 1 | 469 #define WGL_ARB_extensions_string 1 |
| 450 #ifdef WGL_WGLEXT_PROTOTYPES | 470 #ifdef WGL_WGLEXT_PROTOTYPES |
| 451 extern const char * WINAPI wglGetExtensionsStringARB (HDC); | 471 extern const char * WINAPI wglGetExtensionsStringARB (HDC hdc); |
| 452 #endif /* WGL_WGLEXT_PROTOTYPES */ | 472 #endif /* WGL_WGLEXT_PROTOTYPES */ |
| 453 typedef const char * (WINAPI * PFNWGLGETEXTENSIONSSTRINGARBPROC) (HDC hdc); | 473 typedef const char * (WINAPI * PFNWGLGETEXTENSIONSSTRINGARBPROC) (HDC hdc); |
| 454 #endif | 474 #endif |
| 455 | 475 |
| 456 #ifndef WGL_ARB_pixel_format | 476 #ifndef WGL_ARB_pixel_format |
| 457 #define WGL_ARB_pixel_format 1 | 477 #define WGL_ARB_pixel_format 1 |
| 458 #ifdef WGL_WGLEXT_PROTOTYPES | 478 #ifdef WGL_WGLEXT_PROTOTYPES |
| 459 extern BOOL WINAPI wglGetPixelFormatAttribivARB (HDC, int, int, UINT, const int
*, int *); | 479 extern BOOL WINAPI wglGetPixelFormatAttribivARB (HDC hdc, int iPixelFormat, int
iLayerPlane, UINT nAttributes, const int *piAttributes, int *piValues); |
| 460 extern BOOL WINAPI wglGetPixelFormatAttribfvARB (HDC, int, int, UINT, const int
*, FLOAT *); | 480 extern BOOL WINAPI wglGetPixelFormatAttribfvARB (HDC hdc, int iPixelFormat, int
iLayerPlane, UINT nAttributes, const int *piAttributes, FLOAT *pfValues); |
| 461 extern BOOL WINAPI wglChoosePixelFormatARB (HDC, const int *, const FLOAT *, UIN
T, int *, UINT *); | 481 extern BOOL WINAPI wglChoosePixelFormatARB (HDC hdc, const int *piAttribIList, c
onst FLOAT *pfAttribFList, UINT nMaxFormats, int *piFormats, UINT *nNumFormats); |
| 462 #endif /* WGL_WGLEXT_PROTOTYPES */ | 482 #endif /* WGL_WGLEXT_PROTOTYPES */ |
| 463 typedef BOOL (WINAPI * PFNWGLGETPIXELFORMATATTRIBIVARBPROC) (HDC hdc, int iPixel
Format, int iLayerPlane, UINT nAttributes, const int *piAttributes, int *piValue
s); | 483 typedef BOOL (WINAPI * PFNWGLGETPIXELFORMATATTRIBIVARBPROC) (HDC hdc, int iPixel
Format, int iLayerPlane, UINT nAttributes, const int *piAttributes, int *piValue
s); |
| 464 typedef BOOL (WINAPI * PFNWGLGETPIXELFORMATATTRIBFVARBPROC) (HDC hdc, int iPixel
Format, int iLayerPlane, UINT nAttributes, const int *piAttributes, FLOAT *pfVal
ues); | 484 typedef BOOL (WINAPI * PFNWGLGETPIXELFORMATATTRIBFVARBPROC) (HDC hdc, int iPixel
Format, int iLayerPlane, UINT nAttributes, const int *piAttributes, FLOAT *pfVal
ues); |
| 465 typedef BOOL (WINAPI * PFNWGLCHOOSEPIXELFORMATARBPROC) (HDC hdc, const int *piAt
tribIList, const FLOAT *pfAttribFList, UINT nMaxFormats, int *piFormats, UINT *n
NumFormats); | 485 typedef BOOL (WINAPI * PFNWGLCHOOSEPIXELFORMATARBPROC) (HDC hdc, const int *piAt
tribIList, const FLOAT *pfAttribFList, UINT nMaxFormats, int *piFormats, UINT *n
NumFormats); |
| 466 #endif | 486 #endif |
| 467 | 487 |
| 468 #ifndef WGL_ARB_make_current_read | 488 #ifndef WGL_ARB_make_current_read |
| 469 #define WGL_ARB_make_current_read 1 | 489 #define WGL_ARB_make_current_read 1 |
| 470 #ifdef WGL_WGLEXT_PROTOTYPES | 490 #ifdef WGL_WGLEXT_PROTOTYPES |
| 471 extern BOOL WINAPI wglMakeContextCurrentARB (HDC, HDC, HGLRC); | 491 extern BOOL WINAPI wglMakeContextCurrentARB (HDC hDrawDC, HDC hReadDC, HGLRC hgl
rc); |
| 472 extern HDC WINAPI wglGetCurrentReadDCARB (void); | 492 extern HDC WINAPI wglGetCurrentReadDCARB (void); |
| 473 #endif /* WGL_WGLEXT_PROTOTYPES */ | 493 #endif /* WGL_WGLEXT_PROTOTYPES */ |
| 474 typedef BOOL (WINAPI * PFNWGLMAKECONTEXTCURRENTARBPROC) (HDC hDrawDC, HDC hReadD
C, HGLRC hglrc); | 494 typedef BOOL (WINAPI * PFNWGLMAKECONTEXTCURRENTARBPROC) (HDC hDrawDC, HDC hReadD
C, HGLRC hglrc); |
| 475 typedef HDC (WINAPI * PFNWGLGETCURRENTREADDCARBPROC) (void); | 495 typedef HDC (WINAPI * PFNWGLGETCURRENTREADDCARBPROC) (void); |
| 476 #endif | 496 #endif |
| 477 | 497 |
| 478 #ifndef WGL_ARB_pbuffer | 498 #ifndef WGL_ARB_pbuffer |
| 479 #define WGL_ARB_pbuffer 1 | 499 #define WGL_ARB_pbuffer 1 |
| 480 #ifdef WGL_WGLEXT_PROTOTYPES | 500 #ifdef WGL_WGLEXT_PROTOTYPES |
| 481 extern HPBUFFERARB WINAPI wglCreatePbufferARB (HDC, int, int, int, const int *); | 501 extern HPBUFFERARB WINAPI wglCreatePbufferARB (HDC hDC, int iPixelFormat, int iW
idth, int iHeight, const int *piAttribList); |
| 482 extern HDC WINAPI wglGetPbufferDCARB (HPBUFFERARB); | 502 extern HDC WINAPI wglGetPbufferDCARB (HPBUFFERARB hPbuffer); |
| 483 extern int WINAPI wglReleasePbufferDCARB (HPBUFFERARB, HDC); | 503 extern int WINAPI wglReleasePbufferDCARB (HPBUFFERARB hPbuffer, HDC hDC); |
| 484 extern BOOL WINAPI wglDestroyPbufferARB (HPBUFFERARB); | 504 extern BOOL WINAPI wglDestroyPbufferARB (HPBUFFERARB hPbuffer); |
| 485 extern BOOL WINAPI wglQueryPbufferARB (HPBUFFERARB, int, int *); | 505 extern BOOL WINAPI wglQueryPbufferARB (HPBUFFERARB hPbuffer, int iAttribute, int
*piValue); |
| 486 #endif /* WGL_WGLEXT_PROTOTYPES */ | 506 #endif /* WGL_WGLEXT_PROTOTYPES */ |
| 487 typedef HPBUFFERARB (WINAPI * PFNWGLCREATEPBUFFERARBPROC) (HDC hDC, int iPixelFo
rmat, int iWidth, int iHeight, const int *piAttribList); | 507 typedef HPBUFFERARB (WINAPI * PFNWGLCREATEPBUFFERARBPROC) (HDC hDC, int iPixelFo
rmat, int iWidth, int iHeight, const int *piAttribList); |
| 488 typedef HDC (WINAPI * PFNWGLGETPBUFFERDCARBPROC) (HPBUFFERARB hPbuffer); | 508 typedef HDC (WINAPI * PFNWGLGETPBUFFERDCARBPROC) (HPBUFFERARB hPbuffer); |
| 489 typedef int (WINAPI * PFNWGLRELEASEPBUFFERDCARBPROC) (HPBUFFERARB hPbuffer, HDC
hDC); | 509 typedef int (WINAPI * PFNWGLRELEASEPBUFFERDCARBPROC) (HPBUFFERARB hPbuffer, HDC
hDC); |
| 490 typedef BOOL (WINAPI * PFNWGLDESTROYPBUFFERARBPROC) (HPBUFFERARB hPbuffer); | 510 typedef BOOL (WINAPI * PFNWGLDESTROYPBUFFERARBPROC) (HPBUFFERARB hPbuffer); |
| 491 typedef BOOL (WINAPI * PFNWGLQUERYPBUFFERARBPROC) (HPBUFFERARB hPbuffer, int iAt
tribute, int *piValue); | 511 typedef BOOL (WINAPI * PFNWGLQUERYPBUFFERARBPROC) (HPBUFFERARB hPbuffer, int iAt
tribute, int *piValue); |
| 492 #endif | 512 #endif |
| 493 | 513 |
| 494 #ifndef WGL_ARB_render_texture | 514 #ifndef WGL_ARB_render_texture |
| 495 #define WGL_ARB_render_texture 1 | 515 #define WGL_ARB_render_texture 1 |
| 496 #ifdef WGL_WGLEXT_PROTOTYPES | 516 #ifdef WGL_WGLEXT_PROTOTYPES |
| 497 extern BOOL WINAPI wglBindTexImageARB (HPBUFFERARB, int); | 517 extern BOOL WINAPI wglBindTexImageARB (HPBUFFERARB hPbuffer, int iBuffer); |
| 498 extern BOOL WINAPI wglReleaseTexImageARB (HPBUFFERARB, int); | 518 extern BOOL WINAPI wglReleaseTexImageARB (HPBUFFERARB hPbuffer, int iBuffer); |
| 499 extern BOOL WINAPI wglSetPbufferAttribARB (HPBUFFERARB, const int *); | 519 extern BOOL WINAPI wglSetPbufferAttribARB (HPBUFFERARB hPbuffer, const int *piAt
tribList); |
| 500 #endif /* WGL_WGLEXT_PROTOTYPES */ | 520 #endif /* WGL_WGLEXT_PROTOTYPES */ |
| 501 typedef BOOL (WINAPI * PFNWGLBINDTEXIMAGEARBPROC) (HPBUFFERARB hPbuffer, int iBu
ffer); | 521 typedef BOOL (WINAPI * PFNWGLBINDTEXIMAGEARBPROC) (HPBUFFERARB hPbuffer, int iBu
ffer); |
| 502 typedef BOOL (WINAPI * PFNWGLRELEASETEXIMAGEARBPROC) (HPBUFFERARB hPbuffer, int
iBuffer); | 522 typedef BOOL (WINAPI * PFNWGLRELEASETEXIMAGEARBPROC) (HPBUFFERARB hPbuffer, int
iBuffer); |
| 503 typedef BOOL (WINAPI * PFNWGLSETPBUFFERATTRIBARBPROC) (HPBUFFERARB hPbuffer, con
st int *piAttribList); | 523 typedef BOOL (WINAPI * PFNWGLSETPBUFFERATTRIBARBPROC) (HPBUFFERARB hPbuffer, con
st int *piAttribList); |
| 504 #endif | 524 #endif |
| 505 | 525 |
| 506 #ifndef WGL_ARB_pixel_format_float | 526 #ifndef WGL_ARB_pixel_format_float |
| 507 #define WGL_ARB_pixel_format_float 1 | 527 #define WGL_ARB_pixel_format_float 1 |
| 508 #endif | 528 #endif |
| 509 | 529 |
| 530 #ifndef WGL_ARB_framebuffer_sRGB |
| 531 #define WGL_ARB_framebuffer_sRGB 1 |
| 532 #endif |
| 533 |
| 510 #ifndef WGL_ARB_create_context | 534 #ifndef WGL_ARB_create_context |
| 511 #define WGL_ARB_create_context 1 | 535 #define WGL_ARB_create_context 1 |
| 512 #ifdef WGL_WGLEXT_PROTOTYPES | 536 #ifdef WGL_WGLEXT_PROTOTYPES |
| 513 extern HGLRC WINAPI wglCreateContextAttribsARB (HDC, HGLRC, const int *); | 537 extern HGLRC WINAPI wglCreateContextAttribsARB (HDC hDC, HGLRC hShareContext, co
nst int *attribList); |
| 514 #endif /* WGL_WGLEXT_PROTOTYPES */ | 538 #endif /* WGL_WGLEXT_PROTOTYPES */ |
| 515 typedef HGLRC (WINAPI * PFNWGLCREATECONTEXTATTRIBSARBPROC) (HDC hDC, HGLRC hShar
eContext, const int *attribList); | 539 typedef HGLRC (WINAPI * PFNWGLCREATECONTEXTATTRIBSARBPROC) (HDC hDC, HGLRC hShar
eContext, const int *attribList); |
| 516 #endif | 540 #endif |
| 517 | 541 |
| 518 #ifndef WGL_ARB_create_context_profile | 542 #ifndef WGL_ARB_create_context_profile |
| 519 #define WGL_ARB_create_context_profile 1 | 543 #define WGL_ARB_create_context_profile 1 |
| 520 #endif | 544 #endif |
| 521 | 545 |
| 546 #ifndef WGL_ARB_create_context_robustness |
| 547 #define WGL_ARB_create_context_robustness 1 |
| 548 #endif |
| 549 |
| 522 #ifndef WGL_EXT_display_color_table | 550 #ifndef WGL_EXT_display_color_table |
| 523 #define WGL_EXT_display_color_table 1 | 551 #define WGL_EXT_display_color_table 1 |
| 524 #ifdef WGL_WGLEXT_PROTOTYPES | 552 #ifdef WGL_WGLEXT_PROTOTYPES |
| 525 extern GLboolean WINAPI wglCreateDisplayColorTableEXT (GLushort); | 553 extern GLboolean WINAPI wglCreateDisplayColorTableEXT (GLushort id); |
| 526 extern GLboolean WINAPI wglLoadDisplayColorTableEXT (const GLushort *, GLuint); | 554 extern GLboolean WINAPI wglLoadDisplayColorTableEXT (const GLushort *table, GLui
nt length); |
| 527 extern GLboolean WINAPI wglBindDisplayColorTableEXT (GLushort); | 555 extern GLboolean WINAPI wglBindDisplayColorTableEXT (GLushort id); |
| 528 extern VOID WINAPI wglDestroyDisplayColorTableEXT (GLushort); | 556 extern VOID WINAPI wglDestroyDisplayColorTableEXT (GLushort id); |
| 529 #endif /* WGL_WGLEXT_PROTOTYPES */ | 557 #endif /* WGL_WGLEXT_PROTOTYPES */ |
| 530 typedef GLboolean (WINAPI * PFNWGLCREATEDISPLAYCOLORTABLEEXTPROC) (GLushort id); | 558 typedef GLboolean (WINAPI * PFNWGLCREATEDISPLAYCOLORTABLEEXTPROC) (GLushort id); |
| 531 typedef GLboolean (WINAPI * PFNWGLLOADDISPLAYCOLORTABLEEXTPROC) (const GLushort
*table, GLuint length); | 559 typedef GLboolean (WINAPI * PFNWGLLOADDISPLAYCOLORTABLEEXTPROC) (const GLushort
*table, GLuint length); |
| 532 typedef GLboolean (WINAPI * PFNWGLBINDDISPLAYCOLORTABLEEXTPROC) (GLushort id); | 560 typedef GLboolean (WINAPI * PFNWGLBINDDISPLAYCOLORTABLEEXTPROC) (GLushort id); |
| 533 typedef VOID (WINAPI * PFNWGLDESTROYDISPLAYCOLORTABLEEXTPROC) (GLushort id); | 561 typedef VOID (WINAPI * PFNWGLDESTROYDISPLAYCOLORTABLEEXTPROC) (GLushort id); |
| 534 #endif | 562 #endif |
| 535 | 563 |
| 536 #ifndef WGL_EXT_extensions_string | 564 #ifndef WGL_EXT_extensions_string |
| 537 #define WGL_EXT_extensions_string 1 | 565 #define WGL_EXT_extensions_string 1 |
| 538 #ifdef WGL_WGLEXT_PROTOTYPES | 566 #ifdef WGL_WGLEXT_PROTOTYPES |
| 539 extern const char * WINAPI wglGetExtensionsStringEXT (void); | 567 extern const char * WINAPI wglGetExtensionsStringEXT (void); |
| 540 #endif /* WGL_WGLEXT_PROTOTYPES */ | 568 #endif /* WGL_WGLEXT_PROTOTYPES */ |
| 541 typedef const char * (WINAPI * PFNWGLGETEXTENSIONSSTRINGEXTPROC) (void); | 569 typedef const char * (WINAPI * PFNWGLGETEXTENSIONSSTRINGEXTPROC) (void); |
| 542 #endif | 570 #endif |
| 543 | 571 |
| 544 #ifndef WGL_EXT_make_current_read | 572 #ifndef WGL_EXT_make_current_read |
| 545 #define WGL_EXT_make_current_read 1 | 573 #define WGL_EXT_make_current_read 1 |
| 546 #ifdef WGL_WGLEXT_PROTOTYPES | 574 #ifdef WGL_WGLEXT_PROTOTYPES |
| 547 extern BOOL WINAPI wglMakeContextCurrentEXT (HDC, HDC, HGLRC); | 575 extern BOOL WINAPI wglMakeContextCurrentEXT (HDC hDrawDC, HDC hReadDC, HGLRC hgl
rc); |
| 548 extern HDC WINAPI wglGetCurrentReadDCEXT (void); | 576 extern HDC WINAPI wglGetCurrentReadDCEXT (void); |
| 549 #endif /* WGL_WGLEXT_PROTOTYPES */ | 577 #endif /* WGL_WGLEXT_PROTOTYPES */ |
| 550 typedef BOOL (WINAPI * PFNWGLMAKECONTEXTCURRENTEXTPROC) (HDC hDrawDC, HDC hReadD
C, HGLRC hglrc); | 578 typedef BOOL (WINAPI * PFNWGLMAKECONTEXTCURRENTEXTPROC) (HDC hDrawDC, HDC hReadD
C, HGLRC hglrc); |
| 551 typedef HDC (WINAPI * PFNWGLGETCURRENTREADDCEXTPROC) (void); | 579 typedef HDC (WINAPI * PFNWGLGETCURRENTREADDCEXTPROC) (void); |
| 552 #endif | 580 #endif |
| 553 | 581 |
| 554 #ifndef WGL_EXT_pbuffer | 582 #ifndef WGL_EXT_pbuffer |
| 555 #define WGL_EXT_pbuffer 1 | 583 #define WGL_EXT_pbuffer 1 |
| 556 #ifdef WGL_WGLEXT_PROTOTYPES | 584 #ifdef WGL_WGLEXT_PROTOTYPES |
| 557 extern HPBUFFEREXT WINAPI wglCreatePbufferEXT (HDC, int, int, int, const int *); | 585 extern HPBUFFEREXT WINAPI wglCreatePbufferEXT (HDC hDC, int iPixelFormat, int iW
idth, int iHeight, const int *piAttribList); |
| 558 extern HDC WINAPI wglGetPbufferDCEXT (HPBUFFEREXT); | 586 extern HDC WINAPI wglGetPbufferDCEXT (HPBUFFEREXT hPbuffer); |
| 559 extern int WINAPI wglReleasePbufferDCEXT (HPBUFFEREXT, HDC); | 587 extern int WINAPI wglReleasePbufferDCEXT (HPBUFFEREXT hPbuffer, HDC hDC); |
| 560 extern BOOL WINAPI wglDestroyPbufferEXT (HPBUFFEREXT); | 588 extern BOOL WINAPI wglDestroyPbufferEXT (HPBUFFEREXT hPbuffer); |
| 561 extern BOOL WINAPI wglQueryPbufferEXT (HPBUFFEREXT, int, int *); | 589 extern BOOL WINAPI wglQueryPbufferEXT (HPBUFFEREXT hPbuffer, int iAttribute, int
*piValue); |
| 562 #endif /* WGL_WGLEXT_PROTOTYPES */ | 590 #endif /* WGL_WGLEXT_PROTOTYPES */ |
| 563 typedef HPBUFFEREXT (WINAPI * PFNWGLCREATEPBUFFEREXTPROC) (HDC hDC, int iPixelFo
rmat, int iWidth, int iHeight, const int *piAttribList); | 591 typedef HPBUFFEREXT (WINAPI * PFNWGLCREATEPBUFFEREXTPROC) (HDC hDC, int iPixelFo
rmat, int iWidth, int iHeight, const int *piAttribList); |
| 564 typedef HDC (WINAPI * PFNWGLGETPBUFFERDCEXTPROC) (HPBUFFEREXT hPbuffer); | 592 typedef HDC (WINAPI * PFNWGLGETPBUFFERDCEXTPROC) (HPBUFFEREXT hPbuffer); |
| 565 typedef int (WINAPI * PFNWGLRELEASEPBUFFERDCEXTPROC) (HPBUFFEREXT hPbuffer, HDC
hDC); | 593 typedef int (WINAPI * PFNWGLRELEASEPBUFFERDCEXTPROC) (HPBUFFEREXT hPbuffer, HDC
hDC); |
| 566 typedef BOOL (WINAPI * PFNWGLDESTROYPBUFFEREXTPROC) (HPBUFFEREXT hPbuffer); | 594 typedef BOOL (WINAPI * PFNWGLDESTROYPBUFFEREXTPROC) (HPBUFFEREXT hPbuffer); |
| 567 typedef BOOL (WINAPI * PFNWGLQUERYPBUFFEREXTPROC) (HPBUFFEREXT hPbuffer, int iAt
tribute, int *piValue); | 595 typedef BOOL (WINAPI * PFNWGLQUERYPBUFFEREXTPROC) (HPBUFFEREXT hPbuffer, int iAt
tribute, int *piValue); |
| 568 #endif | 596 #endif |
| 569 | 597 |
| 570 #ifndef WGL_EXT_pixel_format | 598 #ifndef WGL_EXT_pixel_format |
| 571 #define WGL_EXT_pixel_format 1 | 599 #define WGL_EXT_pixel_format 1 |
| 572 #ifdef WGL_WGLEXT_PROTOTYPES | 600 #ifdef WGL_WGLEXT_PROTOTYPES |
| 573 extern BOOL WINAPI wglGetPixelFormatAttribivEXT (HDC, int, int, UINT, int *, int
*); | 601 extern BOOL WINAPI wglGetPixelFormatAttribivEXT (HDC hdc, int iPixelFormat, int
iLayerPlane, UINT nAttributes, int *piAttributes, int *piValues); |
| 574 extern BOOL WINAPI wglGetPixelFormatAttribfvEXT (HDC, int, int, UINT, int *, FLO
AT *); | 602 extern BOOL WINAPI wglGetPixelFormatAttribfvEXT (HDC hdc, int iPixelFormat, int
iLayerPlane, UINT nAttributes, int *piAttributes, FLOAT *pfValues); |
| 575 extern BOOL WINAPI wglChoosePixelFormatEXT (HDC, const int *, const FLOAT *, UIN
T, int *, UINT *); | 603 extern BOOL WINAPI wglChoosePixelFormatEXT (HDC hdc, const int *piAttribIList, c
onst FLOAT *pfAttribFList, UINT nMaxFormats, int *piFormats, UINT *nNumFormats); |
| 576 #endif /* WGL_WGLEXT_PROTOTYPES */ | 604 #endif /* WGL_WGLEXT_PROTOTYPES */ |
| 577 typedef BOOL (WINAPI * PFNWGLGETPIXELFORMATATTRIBIVEXTPROC) (HDC hdc, int iPixel
Format, int iLayerPlane, UINT nAttributes, int *piAttributes, int *piValues); | 605 typedef BOOL (WINAPI * PFNWGLGETPIXELFORMATATTRIBIVEXTPROC) (HDC hdc, int iPixel
Format, int iLayerPlane, UINT nAttributes, int *piAttributes, int *piValues); |
| 578 typedef BOOL (WINAPI * PFNWGLGETPIXELFORMATATTRIBFVEXTPROC) (HDC hdc, int iPixel
Format, int iLayerPlane, UINT nAttributes, int *piAttributes, FLOAT *pfValues); | 606 typedef BOOL (WINAPI * PFNWGLGETPIXELFORMATATTRIBFVEXTPROC) (HDC hdc, int iPixel
Format, int iLayerPlane, UINT nAttributes, int *piAttributes, FLOAT *pfValues); |
| 579 typedef BOOL (WINAPI * PFNWGLCHOOSEPIXELFORMATEXTPROC) (HDC hdc, const int *piAt
tribIList, const FLOAT *pfAttribFList, UINT nMaxFormats, int *piFormats, UINT *n
NumFormats); | 607 typedef BOOL (WINAPI * PFNWGLCHOOSEPIXELFORMATEXTPROC) (HDC hdc, const int *piAt
tribIList, const FLOAT *pfAttribFList, UINT nMaxFormats, int *piFormats, UINT *n
NumFormats); |
| 580 #endif | 608 #endif |
| 581 | 609 |
| 582 #ifndef WGL_EXT_swap_control | 610 #ifndef WGL_EXT_swap_control |
| 583 #define WGL_EXT_swap_control 1 | 611 #define WGL_EXT_swap_control 1 |
| 584 #ifdef WGL_WGLEXT_PROTOTYPES | 612 #ifdef WGL_WGLEXT_PROTOTYPES |
| 585 extern BOOL WINAPI wglSwapIntervalEXT (int); | 613 extern BOOL WINAPI wglSwapIntervalEXT (int interval); |
| 586 extern int WINAPI wglGetSwapIntervalEXT (void); | 614 extern int WINAPI wglGetSwapIntervalEXT (void); |
| 587 #endif /* WGL_WGLEXT_PROTOTYPES */ | 615 #endif /* WGL_WGLEXT_PROTOTYPES */ |
| 588 typedef BOOL (WINAPI * PFNWGLSWAPINTERVALEXTPROC) (int interval); | 616 typedef BOOL (WINAPI * PFNWGLSWAPINTERVALEXTPROC) (int interval); |
| 589 typedef int (WINAPI * PFNWGLGETSWAPINTERVALEXTPROC) (void); | 617 typedef int (WINAPI * PFNWGLGETSWAPINTERVALEXTPROC) (void); |
| 590 #endif | 618 #endif |
| 591 | 619 |
| 592 #ifndef WGL_EXT_depth_float | 620 #ifndef WGL_EXT_depth_float |
| 593 #define WGL_EXT_depth_float 1 | 621 #define WGL_EXT_depth_float 1 |
| 594 #endif | 622 #endif |
| 595 | 623 |
| 596 #ifndef WGL_NV_vertex_array_range | 624 #ifndef WGL_NV_vertex_array_range |
| 597 #define WGL_NV_vertex_array_range 1 | 625 #define WGL_NV_vertex_array_range 1 |
| 598 #ifdef WGL_WGLEXT_PROTOTYPES | 626 #ifdef WGL_WGLEXT_PROTOTYPES |
| 599 extern void* WINAPI wglAllocateMemoryNV (GLsizei, GLfloat, GLfloat, GLfloat); | 627 extern void* WINAPI wglAllocateMemoryNV (GLsizei size, GLfloat readfreq, GLfloat
writefreq, GLfloat priority); |
| 600 extern void WINAPI wglFreeMemoryNV (void *); | 628 extern void WINAPI wglFreeMemoryNV (void *pointer); |
| 601 #endif /* WGL_WGLEXT_PROTOTYPES */ | 629 #endif /* WGL_WGLEXT_PROTOTYPES */ |
| 602 typedef void* (WINAPI * PFNWGLALLOCATEMEMORYNVPROC) (GLsizei size, GLfloat readf
req, GLfloat writefreq, GLfloat priority); | 630 typedef void* (WINAPI * PFNWGLALLOCATEMEMORYNVPROC) (GLsizei size, GLfloat readf
req, GLfloat writefreq, GLfloat priority); |
| 603 typedef void (WINAPI * PFNWGLFREEMEMORYNVPROC) (void *pointer); | 631 typedef void (WINAPI * PFNWGLFREEMEMORYNVPROC) (void *pointer); |
| 604 #endif | 632 #endif |
| 605 | 633 |
| 606 #ifndef WGL_3DFX_multisample | 634 #ifndef WGL_3DFX_multisample |
| 607 #define WGL_3DFX_multisample 1 | 635 #define WGL_3DFX_multisample 1 |
| 608 #endif | 636 #endif |
| 609 | 637 |
| 610 #ifndef WGL_EXT_multisample | 638 #ifndef WGL_EXT_multisample |
| 611 #define WGL_EXT_multisample 1 | 639 #define WGL_EXT_multisample 1 |
| 612 #endif | 640 #endif |
| 613 | 641 |
| 614 #ifndef WGL_OML_sync_control | 642 #ifndef WGL_OML_sync_control |
| 615 #define WGL_OML_sync_control 1 | 643 #define WGL_OML_sync_control 1 |
| 616 #ifdef WGL_WGLEXT_PROTOTYPES | 644 #ifdef WGL_WGLEXT_PROTOTYPES |
| 617 extern BOOL WINAPI wglGetSyncValuesOML (HDC, INT64 *, INT64 *, INT64 *); | 645 extern BOOL WINAPI wglGetSyncValuesOML (HDC hdc, INT64 *ust, INT64 *msc, INT64 *
sbc); |
| 618 extern BOOL WINAPI wglGetMscRateOML (HDC, INT32 *, INT32 *); | 646 extern BOOL WINAPI wglGetMscRateOML (HDC hdc, INT32 *numerator, INT32 *denominat
or); |
| 619 extern INT64 WINAPI wglSwapBuffersMscOML (HDC, INT64, INT64, INT64); | 647 extern INT64 WINAPI wglSwapBuffersMscOML (HDC hdc, INT64 target_msc, INT64 divis
or, INT64 remainder); |
| 620 extern INT64 WINAPI wglSwapLayerBuffersMscOML (HDC, int, INT64, INT64, INT64); | 648 extern INT64 WINAPI wglSwapLayerBuffersMscOML (HDC hdc, int fuPlanes, INT64 targ
et_msc, INT64 divisor, INT64 remainder); |
| 621 extern BOOL WINAPI wglWaitForMscOML (HDC, INT64, INT64, INT64, INT64 *, INT64 *,
INT64 *); | 649 extern BOOL WINAPI wglWaitForMscOML (HDC hdc, INT64 target_msc, INT64 divisor, I
NT64 remainder, INT64 *ust, INT64 *msc, INT64 *sbc); |
| 622 extern BOOL WINAPI wglWaitForSbcOML (HDC, INT64, INT64 *, INT64 *, INT64 *); | 650 extern BOOL WINAPI wglWaitForSbcOML (HDC hdc, INT64 target_sbc, INT64 *ust, INT6
4 *msc, INT64 *sbc); |
| 623 #endif /* WGL_WGLEXT_PROTOTYPES */ | 651 #endif /* WGL_WGLEXT_PROTOTYPES */ |
| 624 typedef BOOL (WINAPI * PFNWGLGETSYNCVALUESOMLPROC) (HDC hdc, INT64 *ust, INT64 *
msc, INT64 *sbc); | 652 typedef BOOL (WINAPI * PFNWGLGETSYNCVALUESOMLPROC) (HDC hdc, INT64 *ust, INT64 *
msc, INT64 *sbc); |
| 625 typedef BOOL (WINAPI * PFNWGLGETMSCRATEOMLPROC) (HDC hdc, INT32 *numerator, INT3
2 *denominator); | 653 typedef BOOL (WINAPI * PFNWGLGETMSCRATEOMLPROC) (HDC hdc, INT32 *numerator, INT3
2 *denominator); |
| 626 typedef INT64 (WINAPI * PFNWGLSWAPBUFFERSMSCOMLPROC) (HDC hdc, INT64 target_msc,
INT64 divisor, INT64 remainder); | 654 typedef INT64 (WINAPI * PFNWGLSWAPBUFFERSMSCOMLPROC) (HDC hdc, INT64 target_msc,
INT64 divisor, INT64 remainder); |
| 627 typedef INT64 (WINAPI * PFNWGLSWAPLAYERBUFFERSMSCOMLPROC) (HDC hdc, int fuPlanes
, INT64 target_msc, INT64 divisor, INT64 remainder); | 655 typedef INT64 (WINAPI * PFNWGLSWAPLAYERBUFFERSMSCOMLPROC) (HDC hdc, int fuPlanes
, INT64 target_msc, INT64 divisor, INT64 remainder); |
| 628 typedef BOOL (WINAPI * PFNWGLWAITFORMSCOMLPROC) (HDC hdc, INT64 target_msc, INT6
4 divisor, INT64 remainder, INT64 *ust, INT64 *msc, INT64 *sbc); | 656 typedef BOOL (WINAPI * PFNWGLWAITFORMSCOMLPROC) (HDC hdc, INT64 target_msc, INT6
4 divisor, INT64 remainder, INT64 *ust, INT64 *msc, INT64 *sbc); |
| 629 typedef BOOL (WINAPI * PFNWGLWAITFORSBCOMLPROC) (HDC hdc, INT64 target_sbc, INT6
4 *ust, INT64 *msc, INT64 *sbc); | 657 typedef BOOL (WINAPI * PFNWGLWAITFORSBCOMLPROC) (HDC hdc, INT64 target_sbc, INT6
4 *ust, INT64 *msc, INT64 *sbc); |
| 630 #endif | 658 #endif |
| 631 | 659 |
| 632 #ifndef WGL_I3D_digital_video_control | 660 #ifndef WGL_I3D_digital_video_control |
| 633 #define WGL_I3D_digital_video_control 1 | 661 #define WGL_I3D_digital_video_control 1 |
| 634 #ifdef WGL_WGLEXT_PROTOTYPES | 662 #ifdef WGL_WGLEXT_PROTOTYPES |
| 635 extern BOOL WINAPI wglGetDigitalVideoParametersI3D (HDC, int, int *); | 663 extern BOOL WINAPI wglGetDigitalVideoParametersI3D (HDC hDC, int iAttribute, int
*piValue); |
| 636 extern BOOL WINAPI wglSetDigitalVideoParametersI3D (HDC, int, const int *); | 664 extern BOOL WINAPI wglSetDigitalVideoParametersI3D (HDC hDC, int iAttribute, con
st int *piValue); |
| 637 #endif /* WGL_WGLEXT_PROTOTYPES */ | 665 #endif /* WGL_WGLEXT_PROTOTYPES */ |
| 638 typedef BOOL (WINAPI * PFNWGLGETDIGITALVIDEOPARAMETERSI3DPROC) (HDC hDC, int iAt
tribute, int *piValue); | 666 typedef BOOL (WINAPI * PFNWGLGETDIGITALVIDEOPARAMETERSI3DPROC) (HDC hDC, int iAt
tribute, int *piValue); |
| 639 typedef BOOL (WINAPI * PFNWGLSETDIGITALVIDEOPARAMETERSI3DPROC) (HDC hDC, int iAt
tribute, const int *piValue); | 667 typedef BOOL (WINAPI * PFNWGLSETDIGITALVIDEOPARAMETERSI3DPROC) (HDC hDC, int iAt
tribute, const int *piValue); |
| 640 #endif | 668 #endif |
| 641 | 669 |
| 642 #ifndef WGL_I3D_gamma | 670 #ifndef WGL_I3D_gamma |
| 643 #define WGL_I3D_gamma 1 | 671 #define WGL_I3D_gamma 1 |
| 644 #ifdef WGL_WGLEXT_PROTOTYPES | 672 #ifdef WGL_WGLEXT_PROTOTYPES |
| 645 extern BOOL WINAPI wglGetGammaTableParametersI3D (HDC, int, int *); | 673 extern BOOL WINAPI wglGetGammaTableParametersI3D (HDC hDC, int iAttribute, int *
piValue); |
| 646 extern BOOL WINAPI wglSetGammaTableParametersI3D (HDC, int, const int *); | 674 extern BOOL WINAPI wglSetGammaTableParametersI3D (HDC hDC, int iAttribute, const
int *piValue); |
| 647 extern BOOL WINAPI wglGetGammaTableI3D (HDC, int, USHORT *, USHORT *, USHORT *); | 675 extern BOOL WINAPI wglGetGammaTableI3D (HDC hDC, int iEntries, USHORT *puRed, US
HORT *puGreen, USHORT *puBlue); |
| 648 extern BOOL WINAPI wglSetGammaTableI3D (HDC, int, const USHORT *, const USHORT *
, const USHORT *); | 676 extern BOOL WINAPI wglSetGammaTableI3D (HDC hDC, int iEntries, const USHORT *puR
ed, const USHORT *puGreen, const USHORT *puBlue); |
| 649 #endif /* WGL_WGLEXT_PROTOTYPES */ | 677 #endif /* WGL_WGLEXT_PROTOTYPES */ |
| 650 typedef BOOL (WINAPI * PFNWGLGETGAMMATABLEPARAMETERSI3DPROC) (HDC hDC, int iAttr
ibute, int *piValue); | 678 typedef BOOL (WINAPI * PFNWGLGETGAMMATABLEPARAMETERSI3DPROC) (HDC hDC, int iAttr
ibute, int *piValue); |
| 651 typedef BOOL (WINAPI * PFNWGLSETGAMMATABLEPARAMETERSI3DPROC) (HDC hDC, int iAttr
ibute, const int *piValue); | 679 typedef BOOL (WINAPI * PFNWGLSETGAMMATABLEPARAMETERSI3DPROC) (HDC hDC, int iAttr
ibute, const int *piValue); |
| 652 typedef BOOL (WINAPI * PFNWGLGETGAMMATABLEI3DPROC) (HDC hDC, int iEntries, USHOR
T *puRed, USHORT *puGreen, USHORT *puBlue); | 680 typedef BOOL (WINAPI * PFNWGLGETGAMMATABLEI3DPROC) (HDC hDC, int iEntries, USHOR
T *puRed, USHORT *puGreen, USHORT *puBlue); |
| 653 typedef BOOL (WINAPI * PFNWGLSETGAMMATABLEI3DPROC) (HDC hDC, int iEntries, const
USHORT *puRed, const USHORT *puGreen, const USHORT *puBlue); | 681 typedef BOOL (WINAPI * PFNWGLSETGAMMATABLEI3DPROC) (HDC hDC, int iEntries, const
USHORT *puRed, const USHORT *puGreen, const USHORT *puBlue); |
| 654 #endif | 682 #endif |
| 655 | 683 |
| 656 #ifndef WGL_I3D_genlock | 684 #ifndef WGL_I3D_genlock |
| 657 #define WGL_I3D_genlock 1 | 685 #define WGL_I3D_genlock 1 |
| 658 #ifdef WGL_WGLEXT_PROTOTYPES | 686 #ifdef WGL_WGLEXT_PROTOTYPES |
| 659 extern BOOL WINAPI wglEnableGenlockI3D (HDC); | 687 extern BOOL WINAPI wglEnableGenlockI3D (HDC hDC); |
| 660 extern BOOL WINAPI wglDisableGenlockI3D (HDC); | 688 extern BOOL WINAPI wglDisableGenlockI3D (HDC hDC); |
| 661 extern BOOL WINAPI wglIsEnabledGenlockI3D (HDC, BOOL *); | 689 extern BOOL WINAPI wglIsEnabledGenlockI3D (HDC hDC, BOOL *pFlag); |
| 662 extern BOOL WINAPI wglGenlockSourceI3D (HDC, UINT); | 690 extern BOOL WINAPI wglGenlockSourceI3D (HDC hDC, UINT uSource); |
| 663 extern BOOL WINAPI wglGetGenlockSourceI3D (HDC, UINT *); | 691 extern BOOL WINAPI wglGetGenlockSourceI3D (HDC hDC, UINT *uSource); |
| 664 extern BOOL WINAPI wglGenlockSourceEdgeI3D (HDC, UINT); | 692 extern BOOL WINAPI wglGenlockSourceEdgeI3D (HDC hDC, UINT uEdge); |
| 665 extern BOOL WINAPI wglGetGenlockSourceEdgeI3D (HDC, UINT *); | 693 extern BOOL WINAPI wglGetGenlockSourceEdgeI3D (HDC hDC, UINT *uEdge); |
| 666 extern BOOL WINAPI wglGenlockSampleRateI3D (HDC, UINT); | 694 extern BOOL WINAPI wglGenlockSampleRateI3D (HDC hDC, UINT uRate); |
| 667 extern BOOL WINAPI wglGetGenlockSampleRateI3D (HDC, UINT *); | 695 extern BOOL WINAPI wglGetGenlockSampleRateI3D (HDC hDC, UINT *uRate); |
| 668 extern BOOL WINAPI wglGenlockSourceDelayI3D (HDC, UINT); | 696 extern BOOL WINAPI wglGenlockSourceDelayI3D (HDC hDC, UINT uDelay); |
| 669 extern BOOL WINAPI wglGetGenlockSourceDelayI3D (HDC, UINT *); | 697 extern BOOL WINAPI wglGetGenlockSourceDelayI3D (HDC hDC, UINT *uDelay); |
| 670 extern BOOL WINAPI wglQueryGenlockMaxSourceDelayI3D (HDC, UINT *, UINT *); | 698 extern BOOL WINAPI wglQueryGenlockMaxSourceDelayI3D (HDC hDC, UINT *uMaxLineDela
y, UINT *uMaxPixelDelay); |
| 671 #endif /* WGL_WGLEXT_PROTOTYPES */ | 699 #endif /* WGL_WGLEXT_PROTOTYPES */ |
| 672 typedef BOOL (WINAPI * PFNWGLENABLEGENLOCKI3DPROC) (HDC hDC); | 700 typedef BOOL (WINAPI * PFNWGLENABLEGENLOCKI3DPROC) (HDC hDC); |
| 673 typedef BOOL (WINAPI * PFNWGLDISABLEGENLOCKI3DPROC) (HDC hDC); | 701 typedef BOOL (WINAPI * PFNWGLDISABLEGENLOCKI3DPROC) (HDC hDC); |
| 674 typedef BOOL (WINAPI * PFNWGLISENABLEDGENLOCKI3DPROC) (HDC hDC, BOOL *pFlag); | 702 typedef BOOL (WINAPI * PFNWGLISENABLEDGENLOCKI3DPROC) (HDC hDC, BOOL *pFlag); |
| 675 typedef BOOL (WINAPI * PFNWGLGENLOCKSOURCEI3DPROC) (HDC hDC, UINT uSource); | 703 typedef BOOL (WINAPI * PFNWGLGENLOCKSOURCEI3DPROC) (HDC hDC, UINT uSource); |
| 676 typedef BOOL (WINAPI * PFNWGLGETGENLOCKSOURCEI3DPROC) (HDC hDC, UINT *uSource); | 704 typedef BOOL (WINAPI * PFNWGLGETGENLOCKSOURCEI3DPROC) (HDC hDC, UINT *uSource); |
| 677 typedef BOOL (WINAPI * PFNWGLGENLOCKSOURCEEDGEI3DPROC) (HDC hDC, UINT uEdge); | 705 typedef BOOL (WINAPI * PFNWGLGENLOCKSOURCEEDGEI3DPROC) (HDC hDC, UINT uEdge); |
| 678 typedef BOOL (WINAPI * PFNWGLGETGENLOCKSOURCEEDGEI3DPROC) (HDC hDC, UINT *uEdge)
; | 706 typedef BOOL (WINAPI * PFNWGLGETGENLOCKSOURCEEDGEI3DPROC) (HDC hDC, UINT *uEdge)
; |
| 679 typedef BOOL (WINAPI * PFNWGLGENLOCKSAMPLERATEI3DPROC) (HDC hDC, UINT uRate); | 707 typedef BOOL (WINAPI * PFNWGLGENLOCKSAMPLERATEI3DPROC) (HDC hDC, UINT uRate); |
| 680 typedef BOOL (WINAPI * PFNWGLGETGENLOCKSAMPLERATEI3DPROC) (HDC hDC, UINT *uRate)
; | 708 typedef BOOL (WINAPI * PFNWGLGETGENLOCKSAMPLERATEI3DPROC) (HDC hDC, UINT *uRate)
; |
| 681 typedef BOOL (WINAPI * PFNWGLGENLOCKSOURCEDELAYI3DPROC) (HDC hDC, UINT uDelay); | 709 typedef BOOL (WINAPI * PFNWGLGENLOCKSOURCEDELAYI3DPROC) (HDC hDC, UINT uDelay); |
| 682 typedef BOOL (WINAPI * PFNWGLGETGENLOCKSOURCEDELAYI3DPROC) (HDC hDC, UINT *uDela
y); | 710 typedef BOOL (WINAPI * PFNWGLGETGENLOCKSOURCEDELAYI3DPROC) (HDC hDC, UINT *uDela
y); |
| 683 typedef BOOL (WINAPI * PFNWGLQUERYGENLOCKMAXSOURCEDELAYI3DPROC) (HDC hDC, UINT *
uMaxLineDelay, UINT *uMaxPixelDelay); | 711 typedef BOOL (WINAPI * PFNWGLQUERYGENLOCKMAXSOURCEDELAYI3DPROC) (HDC hDC, UINT *
uMaxLineDelay, UINT *uMaxPixelDelay); |
| 684 #endif | 712 #endif |
| 685 | 713 |
| 686 #ifndef WGL_I3D_image_buffer | 714 #ifndef WGL_I3D_image_buffer |
| 687 #define WGL_I3D_image_buffer 1 | 715 #define WGL_I3D_image_buffer 1 |
| 688 #ifdef WGL_WGLEXT_PROTOTYPES | 716 #ifdef WGL_WGLEXT_PROTOTYPES |
| 689 extern LPVOID WINAPI wglCreateImageBufferI3D (HDC, DWORD, UINT); | 717 extern LPVOID WINAPI wglCreateImageBufferI3D (HDC hDC, DWORD dwSize, UINT uFlags
); |
| 690 extern BOOL WINAPI wglDestroyImageBufferI3D (HDC, LPVOID); | 718 extern BOOL WINAPI wglDestroyImageBufferI3D (HDC hDC, LPVOID pAddress); |
| 691 extern BOOL WINAPI wglAssociateImageBufferEventsI3D (HDC, const HANDLE *, const
LPVOID *, const DWORD *, UINT); | 719 extern BOOL WINAPI wglAssociateImageBufferEventsI3D (HDC hDC, const HANDLE *pEve
nt, const LPVOID *pAddress, const DWORD *pSize, UINT count); |
| 692 extern BOOL WINAPI wglReleaseImageBufferEventsI3D (HDC, const LPVOID *, UINT); | 720 extern BOOL WINAPI wglReleaseImageBufferEventsI3D (HDC hDC, const LPVOID *pAddre
ss, UINT count); |
| 693 #endif /* WGL_WGLEXT_PROTOTYPES */ | 721 #endif /* WGL_WGLEXT_PROTOTYPES */ |
| 694 typedef LPVOID (WINAPI * PFNWGLCREATEIMAGEBUFFERI3DPROC) (HDC hDC, DWORD dwSize,
UINT uFlags); | 722 typedef LPVOID (WINAPI * PFNWGLCREATEIMAGEBUFFERI3DPROC) (HDC hDC, DWORD dwSize,
UINT uFlags); |
| 695 typedef BOOL (WINAPI * PFNWGLDESTROYIMAGEBUFFERI3DPROC) (HDC hDC, LPVOID pAddres
s); | 723 typedef BOOL (WINAPI * PFNWGLDESTROYIMAGEBUFFERI3DPROC) (HDC hDC, LPVOID pAddres
s); |
| 696 typedef BOOL (WINAPI * PFNWGLASSOCIATEIMAGEBUFFEREVENTSI3DPROC) (HDC hDC, const
HANDLE *pEvent, const LPVOID *pAddress, const DWORD *pSize, UINT count); | 724 typedef BOOL (WINAPI * PFNWGLASSOCIATEIMAGEBUFFEREVENTSI3DPROC) (HDC hDC, const
HANDLE *pEvent, const LPVOID *pAddress, const DWORD *pSize, UINT count); |
| 697 typedef BOOL (WINAPI * PFNWGLRELEASEIMAGEBUFFEREVENTSI3DPROC) (HDC hDC, const LP
VOID *pAddress, UINT count); | 725 typedef BOOL (WINAPI * PFNWGLRELEASEIMAGEBUFFEREVENTSI3DPROC) (HDC hDC, const LP
VOID *pAddress, UINT count); |
| 698 #endif | 726 #endif |
| 699 | 727 |
| 700 #ifndef WGL_I3D_swap_frame_lock | 728 #ifndef WGL_I3D_swap_frame_lock |
| 701 #define WGL_I3D_swap_frame_lock 1 | 729 #define WGL_I3D_swap_frame_lock 1 |
| 702 #ifdef WGL_WGLEXT_PROTOTYPES | 730 #ifdef WGL_WGLEXT_PROTOTYPES |
| 703 extern BOOL WINAPI wglEnableFrameLockI3D (void); | 731 extern BOOL WINAPI wglEnableFrameLockI3D (void); |
| 704 extern BOOL WINAPI wglDisableFrameLockI3D (void); | 732 extern BOOL WINAPI wglDisableFrameLockI3D (void); |
| 705 extern BOOL WINAPI wglIsEnabledFrameLockI3D (BOOL *); | 733 extern BOOL WINAPI wglIsEnabledFrameLockI3D (BOOL *pFlag); |
| 706 extern BOOL WINAPI wglQueryFrameLockMasterI3D (BOOL *); | 734 extern BOOL WINAPI wglQueryFrameLockMasterI3D (BOOL *pFlag); |
| 707 #endif /* WGL_WGLEXT_PROTOTYPES */ | 735 #endif /* WGL_WGLEXT_PROTOTYPES */ |
| 708 typedef BOOL (WINAPI * PFNWGLENABLEFRAMELOCKI3DPROC) (void); | 736 typedef BOOL (WINAPI * PFNWGLENABLEFRAMELOCKI3DPROC) (void); |
| 709 typedef BOOL (WINAPI * PFNWGLDISABLEFRAMELOCKI3DPROC) (void); | 737 typedef BOOL (WINAPI * PFNWGLDISABLEFRAMELOCKI3DPROC) (void); |
| 710 typedef BOOL (WINAPI * PFNWGLISENABLEDFRAMELOCKI3DPROC) (BOOL *pFlag); | 738 typedef BOOL (WINAPI * PFNWGLISENABLEDFRAMELOCKI3DPROC) (BOOL *pFlag); |
| 711 typedef BOOL (WINAPI * PFNWGLQUERYFRAMELOCKMASTERI3DPROC) (BOOL *pFlag); | 739 typedef BOOL (WINAPI * PFNWGLQUERYFRAMELOCKMASTERI3DPROC) (BOOL *pFlag); |
| 712 #endif | 740 #endif |
| 713 | 741 |
| 714 #ifndef WGL_I3D_swap_frame_usage | 742 #ifndef WGL_I3D_swap_frame_usage |
| 715 #define WGL_I3D_swap_frame_usage 1 | 743 #define WGL_I3D_swap_frame_usage 1 |
| 716 #ifdef WGL_WGLEXT_PROTOTYPES | 744 #ifdef WGL_WGLEXT_PROTOTYPES |
| 717 extern BOOL WINAPI wglGetFrameUsageI3D (float *); | 745 extern BOOL WINAPI wglGetFrameUsageI3D (float *pUsage); |
| 718 extern BOOL WINAPI wglBeginFrameTrackingI3D (void); | 746 extern BOOL WINAPI wglBeginFrameTrackingI3D (void); |
| 719 extern BOOL WINAPI wglEndFrameTrackingI3D (void); | 747 extern BOOL WINAPI wglEndFrameTrackingI3D (void); |
| 720 extern BOOL WINAPI wglQueryFrameTrackingI3D (DWORD *, DWORD *, float *); | 748 extern BOOL WINAPI wglQueryFrameTrackingI3D (DWORD *pFrameCount, DWORD *pMissedF
rames, float *pLastMissedUsage); |
| 721 #endif /* WGL_WGLEXT_PROTOTYPES */ | 749 #endif /* WGL_WGLEXT_PROTOTYPES */ |
| 722 typedef BOOL (WINAPI * PFNWGLGETFRAMEUSAGEI3DPROC) (float *pUsage); | 750 typedef BOOL (WINAPI * PFNWGLGETFRAMEUSAGEI3DPROC) (float *pUsage); |
| 723 typedef BOOL (WINAPI * PFNWGLBEGINFRAMETRACKINGI3DPROC) (void); | 751 typedef BOOL (WINAPI * PFNWGLBEGINFRAMETRACKINGI3DPROC) (void); |
| 724 typedef BOOL (WINAPI * PFNWGLENDFRAMETRACKINGI3DPROC) (void); | 752 typedef BOOL (WINAPI * PFNWGLENDFRAMETRACKINGI3DPROC) (void); |
| 725 typedef BOOL (WINAPI * PFNWGLQUERYFRAMETRACKINGI3DPROC) (DWORD *pFrameCount, DWO
RD *pMissedFrames, float *pLastMissedUsage); | 753 typedef BOOL (WINAPI * PFNWGLQUERYFRAMETRACKINGI3DPROC) (DWORD *pFrameCount, DWO
RD *pMissedFrames, float *pLastMissedUsage); |
| 726 #endif | 754 #endif |
| 727 | 755 |
| 728 #ifndef WGL_ATI_pixel_format_float | 756 #ifndef WGL_ATI_pixel_format_float |
| 729 #define WGL_ATI_pixel_format_float 1 | 757 #define WGL_ATI_pixel_format_float 1 |
| 730 #endif | 758 #endif |
| 731 | 759 |
| 732 #ifndef WGL_NV_float_buffer | 760 #ifndef WGL_NV_float_buffer |
| 733 #define WGL_NV_float_buffer 1 | 761 #define WGL_NV_float_buffer 1 |
| 734 #endif | 762 #endif |
| 735 | 763 |
| 736 #ifndef WGL_3DL_stereo_control | 764 #ifndef WGL_3DL_stereo_control |
| 737 #define WGL_3DL_stereo_control 1 | 765 #define WGL_3DL_stereo_control 1 |
| 738 #ifdef WGL_WGLEXT_PROTOTYPES | 766 #ifdef WGL_WGLEXT_PROTOTYPES |
| 739 extern BOOL WINAPI wglSetStereoEmitterState3DL (HDC, UINT); | 767 extern BOOL WINAPI wglSetStereoEmitterState3DL (HDC hDC, UINT uState); |
| 740 #endif /* WGL_WGLEXT_PROTOTYPES */ | 768 #endif /* WGL_WGLEXT_PROTOTYPES */ |
| 741 typedef BOOL (WINAPI * PFNWGLSETSTEREOEMITTERSTATE3DLPROC) (HDC hDC, UINT uState
); | 769 typedef BOOL (WINAPI * PFNWGLSETSTEREOEMITTERSTATE3DLPROC) (HDC hDC, UINT uState
); |
| 742 #endif | 770 #endif |
| 743 | 771 |
| 744 #ifndef WGL_EXT_pixel_format_packed_float | 772 #ifndef WGL_EXT_pixel_format_packed_float |
| 745 #define WGL_EXT_pixel_format_packed_float 1 | 773 #define WGL_EXT_pixel_format_packed_float 1 |
| 746 #endif | 774 #endif |
| 747 | 775 |
| 748 #ifndef WGL_EXT_framebuffer_sRGB | 776 #ifndef WGL_EXT_framebuffer_sRGB |
| 749 #define WGL_EXT_framebuffer_sRGB 1 | 777 #define WGL_EXT_framebuffer_sRGB 1 |
| 750 #endif | 778 #endif |
| 751 | 779 |
| 752 #ifndef WGL_NV_present_video | 780 #ifndef WGL_NV_present_video |
| 753 #define WGL_NV_present_video 1 | 781 #define WGL_NV_present_video 1 |
| 754 #ifdef WGL_WGLEXT_PROTOTYPES | 782 #ifdef WGL_WGLEXT_PROTOTYPES |
| 755 extern int WINAPI wglEnumerateVideoDevicesNV (HDC, HVIDEOOUTPUTDEVICENV *); | 783 extern int WINAPI wglEnumerateVideoDevicesNV (HDC hDC, HVIDEOOUTPUTDEVICENV *phD
eviceList); |
| 756 extern BOOL WINAPI wglBindVideoDeviceNV (HDC, unsigned int, HVIDEOOUTPUTDEVICENV
, const int *); | 784 extern BOOL WINAPI wglBindVideoDeviceNV (HDC hDC, unsigned int uVideoSlot, HVIDE
OOUTPUTDEVICENV hVideoDevice, const int *piAttribList); |
| 757 extern BOOL WINAPI wglQueryCurrentContextNV (int, int *); | 785 extern BOOL WINAPI wglQueryCurrentContextNV (int iAttribute, int *piValue); |
| 758 #endif /* WGL_WGLEXT_PROTOTYPES */ | 786 #endif /* WGL_WGLEXT_PROTOTYPES */ |
| 759 typedef int (WINAPI * PFNWGLENUMERATEVIDEODEVICESNVPROC) (HDC hDC, HVIDEOOUTPUTD
EVICENV *phDeviceList); | 787 typedef int (WINAPI * PFNWGLENUMERATEVIDEODEVICESNVPROC) (HDC hDC, HVIDEOOUTPUTD
EVICENV *phDeviceList); |
| 760 typedef BOOL (WINAPI * PFNWGLBINDVIDEODEVICENVPROC) (HDC hDC, unsigned int uVide
oSlot, HVIDEOOUTPUTDEVICENV hVideoDevice, const int *piAttribList); | 788 typedef BOOL (WINAPI * PFNWGLBINDVIDEODEVICENVPROC) (HDC hDC, unsigned int uVide
oSlot, HVIDEOOUTPUTDEVICENV hVideoDevice, const int *piAttribList); |
| 761 typedef BOOL (WINAPI * PFNWGLQUERYCURRENTCONTEXTNVPROC) (int iAttribute, int *pi
Value); | 789 typedef BOOL (WINAPI * PFNWGLQUERYCURRENTCONTEXTNVPROC) (int iAttribute, int *pi
Value); |
| 762 #endif | 790 #endif |
| 763 | 791 |
| 764 #ifndef WGL_NV_video_output | 792 #ifndef WGL_NV_video_output |
| 765 #define WGL_NV_video_output 1 | 793 #define WGL_NV_video_output 1 |
| 766 #ifdef WGL_WGLEXT_PROTOTYPES | 794 #ifdef WGL_WGLEXT_PROTOTYPES |
| 767 extern BOOL WINAPI wglGetVideoDeviceNV (HDC, int, HPVIDEODEV *); | 795 extern BOOL WINAPI wglGetVideoDeviceNV (HDC hDC, int numDevices, HPVIDEODEV *hVi
deoDevice); |
| 768 extern BOOL WINAPI wglReleaseVideoDeviceNV (HPVIDEODEV); | 796 extern BOOL WINAPI wglReleaseVideoDeviceNV (HPVIDEODEV hVideoDevice); |
| 769 extern BOOL WINAPI wglBindVideoImageNV (HPVIDEODEV, HPBUFFERARB, int); | 797 extern BOOL WINAPI wglBindVideoImageNV (HPVIDEODEV hVideoDevice, HPBUFFERARB hPb
uffer, int iVideoBuffer); |
| 770 extern BOOL WINAPI wglReleaseVideoImageNV (HPBUFFERARB, int); | 798 extern BOOL WINAPI wglReleaseVideoImageNV (HPBUFFERARB hPbuffer, int iVideoBuffe
r); |
| 771 extern BOOL WINAPI wglSendPbufferToVideoNV (HPBUFFERARB, int, unsigned long *, B
OOL); | 799 extern BOOL WINAPI wglSendPbufferToVideoNV (HPBUFFERARB hPbuffer, int iBufferTyp
e, unsigned long *pulCounterPbuffer, BOOL bBlock); |
| 772 extern BOOL WINAPI wglGetVideoInfoNV (HPVIDEODEV, unsigned long *, unsigned long
*); | 800 extern BOOL WINAPI wglGetVideoInfoNV (HPVIDEODEV hpVideoDevice, unsigned long *p
ulCounterOutputPbuffer, unsigned long *pulCounterOutputVideo); |
| 773 #endif /* WGL_WGLEXT_PROTOTYPES */ | 801 #endif /* WGL_WGLEXT_PROTOTYPES */ |
| 774 typedef BOOL (WINAPI * PFNWGLGETVIDEODEVICENVPROC) (HDC hDC, int numDevices, HPV
IDEODEV *hVideoDevice); | 802 typedef BOOL (WINAPI * PFNWGLGETVIDEODEVICENVPROC) (HDC hDC, int numDevices, HPV
IDEODEV *hVideoDevice); |
| 775 typedef BOOL (WINAPI * PFNWGLRELEASEVIDEODEVICENVPROC) (HPVIDEODEV hVideoDevice)
; | 803 typedef BOOL (WINAPI * PFNWGLRELEASEVIDEODEVICENVPROC) (HPVIDEODEV hVideoDevice)
; |
| 776 typedef BOOL (WINAPI * PFNWGLBINDVIDEOIMAGENVPROC) (HPVIDEODEV hVideoDevice, HPB
UFFERARB hPbuffer, int iVideoBuffer); | 804 typedef BOOL (WINAPI * PFNWGLBINDVIDEOIMAGENVPROC) (HPVIDEODEV hVideoDevice, HPB
UFFERARB hPbuffer, int iVideoBuffer); |
| 777 typedef BOOL (WINAPI * PFNWGLRELEASEVIDEOIMAGENVPROC) (HPBUFFERARB hPbuffer, int
iVideoBuffer); | 805 typedef BOOL (WINAPI * PFNWGLRELEASEVIDEOIMAGENVPROC) (HPBUFFERARB hPbuffer, int
iVideoBuffer); |
| 778 typedef BOOL (WINAPI * PFNWGLSENDPBUFFERTOVIDEONVPROC) (HPBUFFERARB hPbuffer, in
t iBufferType, unsigned long *pulCounterPbuffer, BOOL bBlock); | 806 typedef BOOL (WINAPI * PFNWGLSENDPBUFFERTOVIDEONVPROC) (HPBUFFERARB hPbuffer, in
t iBufferType, unsigned long *pulCounterPbuffer, BOOL bBlock); |
| 779 typedef BOOL (WINAPI * PFNWGLGETVIDEOINFONVPROC) (HPVIDEODEV hpVideoDevice, unsi
gned long *pulCounterOutputPbuffer, unsigned long *pulCounterOutputVideo); | 807 typedef BOOL (WINAPI * PFNWGLGETVIDEOINFONVPROC) (HPVIDEODEV hpVideoDevice, unsi
gned long *pulCounterOutputPbuffer, unsigned long *pulCounterOutputVideo); |
| 780 #endif | 808 #endif |
| 781 | 809 |
| 782 #ifndef WGL_NV_swap_group | 810 #ifndef WGL_NV_swap_group |
| 783 #define WGL_NV_swap_group 1 | 811 #define WGL_NV_swap_group 1 |
| 784 #ifdef WGL_WGLEXT_PROTOTYPES | 812 #ifdef WGL_WGLEXT_PROTOTYPES |
| 785 extern BOOL WINAPI wglJoinSwapGroupNV (HDC, GLuint); | 813 extern BOOL WINAPI wglJoinSwapGroupNV (HDC hDC, GLuint group); |
| 786 extern BOOL WINAPI wglBindSwapBarrierNV (GLuint, GLuint); | 814 extern BOOL WINAPI wglBindSwapBarrierNV (GLuint group, GLuint barrier); |
| 787 extern BOOL WINAPI wglQuerySwapGroupNV (HDC, GLuint *, GLuint *); | 815 extern BOOL WINAPI wglQuerySwapGroupNV (HDC hDC, GLuint *group, GLuint *barrier)
; |
| 788 extern BOOL WINAPI wglQueryMaxSwapGroupsNV (HDC, GLuint *, GLuint *); | 816 extern BOOL WINAPI wglQueryMaxSwapGroupsNV (HDC hDC, GLuint *maxGroups, GLuint *
maxBarriers); |
| 789 extern BOOL WINAPI wglQueryFrameCountNV (HDC, GLuint *); | 817 extern BOOL WINAPI wglQueryFrameCountNV (HDC hDC, GLuint *count); |
| 790 extern BOOL WINAPI wglResetFrameCountNV (HDC); | 818 extern BOOL WINAPI wglResetFrameCountNV (HDC hDC); |
| 791 #endif /* WGL_WGLEXT_PROTOTYPES */ | 819 #endif /* WGL_WGLEXT_PROTOTYPES */ |
| 792 typedef BOOL (WINAPI * PFNWGLJOINSWAPGROUPNVPROC) (HDC hDC, GLuint group); | 820 typedef BOOL (WINAPI * PFNWGLJOINSWAPGROUPNVPROC) (HDC hDC, GLuint group); |
| 793 typedef BOOL (WINAPI * PFNWGLBINDSWAPBARRIERNVPROC) (GLuint group, GLuint barrie
r); | 821 typedef BOOL (WINAPI * PFNWGLBINDSWAPBARRIERNVPROC) (GLuint group, GLuint barrie
r); |
| 794 typedef BOOL (WINAPI * PFNWGLQUERYSWAPGROUPNVPROC) (HDC hDC, GLuint *group, GLui
nt *barrier); | 822 typedef BOOL (WINAPI * PFNWGLQUERYSWAPGROUPNVPROC) (HDC hDC, GLuint *group, GLui
nt *barrier); |
| 795 typedef BOOL (WINAPI * PFNWGLQUERYMAXSWAPGROUPSNVPROC) (HDC hDC, GLuint *maxGrou
ps, GLuint *maxBarriers); | 823 typedef BOOL (WINAPI * PFNWGLQUERYMAXSWAPGROUPSNVPROC) (HDC hDC, GLuint *maxGrou
ps, GLuint *maxBarriers); |
| 796 typedef BOOL (WINAPI * PFNWGLQUERYFRAMECOUNTNVPROC) (HDC hDC, GLuint *count); | 824 typedef BOOL (WINAPI * PFNWGLQUERYFRAMECOUNTNVPROC) (HDC hDC, GLuint *count); |
| 797 typedef BOOL (WINAPI * PFNWGLRESETFRAMECOUNTNVPROC) (HDC hDC); | 825 typedef BOOL (WINAPI * PFNWGLRESETFRAMECOUNTNVPROC) (HDC hDC); |
| 798 #endif | 826 #endif |
| 799 | 827 |
| 800 #ifndef WGL_NV_gpu_affinity | 828 #ifndef WGL_NV_gpu_affinity |
| 801 #define WGL_NV_gpu_affinity 1 | 829 #define WGL_NV_gpu_affinity 1 |
| 802 #ifdef WGL_WGLEXT_PROTOTYPES | 830 #ifdef WGL_WGLEXT_PROTOTYPES |
| 803 extern BOOL WINAPI wglEnumGpusNV (UINT, HGPUNV *); | 831 extern BOOL WINAPI wglEnumGpusNV (UINT iGpuIndex, HGPUNV *phGpu); |
| 804 extern BOOL WINAPI wglEnumGpuDevicesNV (HGPUNV, UINT, PGPU_DEVICE); | 832 extern BOOL WINAPI wglEnumGpuDevicesNV (HGPUNV hGpu, UINT iDeviceIndex, PGPU_DEV
ICE lpGpuDevice); |
| 805 extern HDC WINAPI wglCreateAffinityDCNV (const HGPUNV *); | 833 extern HDC WINAPI wglCreateAffinityDCNV (const HGPUNV *phGpuList); |
| 806 extern BOOL WINAPI wglEnumGpusFromAffinityDCNV (HDC, UINT, HGPUNV *); | 834 extern BOOL WINAPI wglEnumGpusFromAffinityDCNV (HDC hAffinityDC, UINT iGpuIndex,
HGPUNV *hGpu); |
| 807 extern BOOL WINAPI wglDeleteDCNV (HDC); | 835 extern BOOL WINAPI wglDeleteDCNV (HDC hdc); |
| 808 #endif /* WGL_WGLEXT_PROTOTYPES */ | 836 #endif /* WGL_WGLEXT_PROTOTYPES */ |
| 809 typedef BOOL (WINAPI * PFNWGLENUMGPUSNVPROC) (UINT iGpuIndex, HGPUNV *phGpu); | 837 typedef BOOL (WINAPI * PFNWGLENUMGPUSNVPROC) (UINT iGpuIndex, HGPUNV *phGpu); |
| 810 typedef BOOL (WINAPI * PFNWGLENUMGPUDEVICESNVPROC) (HGPUNV hGpu, UINT iDeviceInd
ex, PGPU_DEVICE lpGpuDevice); | 838 typedef BOOL (WINAPI * PFNWGLENUMGPUDEVICESNVPROC) (HGPUNV hGpu, UINT iDeviceInd
ex, PGPU_DEVICE lpGpuDevice); |
| 811 typedef HDC (WINAPI * PFNWGLCREATEAFFINITYDCNVPROC) (const HGPUNV *phGpuList); | 839 typedef HDC (WINAPI * PFNWGLCREATEAFFINITYDCNVPROC) (const HGPUNV *phGpuList); |
| 812 typedef BOOL (WINAPI * PFNWGLENUMGPUSFROMAFFINITYDCNVPROC) (HDC hAffinityDC, UIN
T iGpuIndex, HGPUNV *hGpu); | 840 typedef BOOL (WINAPI * PFNWGLENUMGPUSFROMAFFINITYDCNVPROC) (HDC hAffinityDC, UIN
T iGpuIndex, HGPUNV *hGpu); |
| 813 typedef BOOL (WINAPI * PFNWGLDELETEDCNVPROC) (HDC hdc); | 841 typedef BOOL (WINAPI * PFNWGLDELETEDCNVPROC) (HDC hdc); |
| 814 #endif | 842 #endif |
| 815 | 843 |
| 816 #ifndef WGL_AMD_gpu_association | 844 #ifndef WGL_AMD_gpu_association |
| 817 #define WGL_AMD_gpu_association 1 | 845 #define WGL_AMD_gpu_association 1 |
| 818 #ifdef WGL_WGLEXT_PROTOTYPES | 846 #ifdef WGL_WGLEXT_PROTOTYPES |
| 819 extern UINT WINAPI wglGetGPUIDsAMD (UINT, UINT *); | 847 extern UINT WINAPI wglGetGPUIDsAMD (UINT maxCount, UINT *ids); |
| 820 extern INT WINAPI wglGetGPUInfoAMD (UINT, int, GLenum, UINT, void *); | 848 extern INT WINAPI wglGetGPUInfoAMD (UINT id, int property, GLenum dataType, UINT
size, void *data); |
| 821 extern UINT WINAPI wglGetContextGPUIDAMD (HGLRC); | 849 extern UINT WINAPI wglGetContextGPUIDAMD (HGLRC hglrc); |
| 822 extern HGLRC WINAPI wglCreateAssociatedContextAMD (UINT); | 850 extern HGLRC WINAPI wglCreateAssociatedContextAMD (UINT id); |
| 823 extern HGLRC WINAPI wglCreateAssociatedContextAttribsAMD (UINT, HGLRC, const int
*); | 851 extern HGLRC WINAPI wglCreateAssociatedContextAttribsAMD (UINT id, HGLRC hShareC
ontext, const int *attribList); |
| 824 extern BOOL WINAPI wglDeleteAssociatedContextAMD (HGLRC); | 852 extern BOOL WINAPI wglDeleteAssociatedContextAMD (HGLRC hglrc); |
| 825 extern BOOL WINAPI wglMakeAssociatedContextCurrentAMD (HGLRC); | 853 extern BOOL WINAPI wglMakeAssociatedContextCurrentAMD (HGLRC hglrc); |
| 826 extern HGLRC WINAPI wglGetCurrentAssociatedContextAMD (void); | 854 extern HGLRC WINAPI wglGetCurrentAssociatedContextAMD (void); |
| 827 extern VOID WINAPI wglBlitContextFramebufferAMD (HGLRC, GLint, GLint, GLint, GLi
nt, GLint, GLint, GLint, GLint, GLbitfield, GLenum); | 855 extern VOID WINAPI wglBlitContextFramebufferAMD (HGLRC dstCtx, GLint srcX0, GLin
t srcY0, GLint srcX1, GLint srcY1, GLint dstX0, GLint dstY0, GLint dstX1, GLint
dstY1, GLbitfield mask, GLenum filter); |
| 828 #endif /* WGL_WGLEXT_PROTOTYPES */ | 856 #endif /* WGL_WGLEXT_PROTOTYPES */ |
| 829 typedef UINT (WINAPI * PFNWGLGETGPUIDSAMDPROC) (UINT maxCount, UINT *ids); | 857 typedef UINT (WINAPI * PFNWGLGETGPUIDSAMDPROC) (UINT maxCount, UINT *ids); |
| 830 typedef INT (WINAPI * PFNWGLGETGPUINFOAMDPROC) (UINT id, int property, GLenum da
taType, UINT size, void *data); | 858 typedef INT (WINAPI * PFNWGLGETGPUINFOAMDPROC) (UINT id, int property, GLenum da
taType, UINT size, void *data); |
| 831 typedef UINT (WINAPI * PFNWGLGETCONTEXTGPUIDAMDPROC) (HGLRC hglrc); | 859 typedef UINT (WINAPI * PFNWGLGETCONTEXTGPUIDAMDPROC) (HGLRC hglrc); |
| 832 typedef HGLRC (WINAPI * PFNWGLCREATEASSOCIATEDCONTEXTAMDPROC) (UINT id); | 860 typedef HGLRC (WINAPI * PFNWGLCREATEASSOCIATEDCONTEXTAMDPROC) (UINT id); |
| 833 typedef HGLRC (WINAPI * PFNWGLCREATEASSOCIATEDCONTEXTATTRIBSAMDPROC) (UINT id, H
GLRC hShareContext, const int *attribList); | 861 typedef HGLRC (WINAPI * PFNWGLCREATEASSOCIATEDCONTEXTATTRIBSAMDPROC) (UINT id, H
GLRC hShareContext, const int *attribList); |
| 834 typedef BOOL (WINAPI * PFNWGLDELETEASSOCIATEDCONTEXTAMDPROC) (HGLRC hglrc); | 862 typedef BOOL (WINAPI * PFNWGLDELETEASSOCIATEDCONTEXTAMDPROC) (HGLRC hglrc); |
| 835 typedef BOOL (WINAPI * PFNWGLMAKEASSOCIATEDCONTEXTCURRENTAMDPROC) (HGLRC hglrc); | 863 typedef BOOL (WINAPI * PFNWGLMAKEASSOCIATEDCONTEXTCURRENTAMDPROC) (HGLRC hglrc); |
| 836 typedef HGLRC (WINAPI * PFNWGLGETCURRENTASSOCIATEDCONTEXTAMDPROC) (void); | 864 typedef HGLRC (WINAPI * PFNWGLGETCURRENTASSOCIATEDCONTEXTAMDPROC) (void); |
| 837 typedef VOID (WINAPI * PFNWGLBLITCONTEXTFRAMEBUFFERAMDPROC) (HGLRC dstCtx, GLint
srcX0, GLint srcY0, GLint srcX1, GLint srcY1, GLint dstX0, GLint dstY0, GLint d
stX1, GLint dstY1, GLbitfield mask, GLenum filter); | 865 typedef VOID (WINAPI * PFNWGLBLITCONTEXTFRAMEBUFFERAMDPROC) (HGLRC dstCtx, GLint
srcX0, GLint srcY0, GLint srcX1, GLint srcY1, GLint dstX0, GLint dstY0, GLint d
stX1, GLint dstY1, GLbitfield mask, GLenum filter); |
| 838 #endif | 866 #endif |
| 839 | 867 |
| 840 #ifndef WGL_NV_video_capture | 868 #ifndef WGL_NV_video_capture |
| 841 #define WGL_NV_video_capture 1 | 869 #define WGL_NV_video_capture 1 |
| 842 #ifdef WGL_WGLEXT_PROTOTYPES | 870 #ifdef WGL_WGLEXT_PROTOTYPES |
| 843 extern BOOL WINAPI wglBindVideoCaptureDeviceNV (UINT, HVIDEOINPUTDEVICENV); | 871 extern BOOL WINAPI wglBindVideoCaptureDeviceNV (UINT uVideoSlot, HVIDEOINPUTDEVI
CENV hDevice); |
| 844 extern UINT WINAPI wglEnumerateVideoCaptureDevicesNV (HDC, HVIDEOINPUTDEVICENV *
); | 872 extern UINT WINAPI wglEnumerateVideoCaptureDevicesNV (HDC hDc, HVIDEOINPUTDEVICE
NV *phDeviceList); |
| 845 extern BOOL WINAPI wglLockVideoCaptureDeviceNV (HDC, HVIDEOINPUTDEVICENV); | 873 extern BOOL WINAPI wglLockVideoCaptureDeviceNV (HDC hDc, HVIDEOINPUTDEVICENV hDe
vice); |
| 846 extern BOOL WINAPI wglQueryVideoCaptureDeviceNV (HDC, HVIDEOINPUTDEVICENV, int,
int *); | 874 extern BOOL WINAPI wglQueryVideoCaptureDeviceNV (HDC hDc, HVIDEOINPUTDEVICENV hD
evice, int iAttribute, int *piValue); |
| 847 extern BOOL WINAPI wglReleaseVideoCaptureDeviceNV (HDC, HVIDEOINPUTDEVICENV); | 875 extern BOOL WINAPI wglReleaseVideoCaptureDeviceNV (HDC hDc, HVIDEOINPUTDEVICENV
hDevice); |
| 848 #endif /* WGL_WGLEXT_PROTOTYPES */ | 876 #endif /* WGL_WGLEXT_PROTOTYPES */ |
| 849 typedef BOOL (WINAPI * PFNWGLBINDVIDEOCAPTUREDEVICENVPROC) (UINT uVideoSlot, HVI
DEOINPUTDEVICENV hDevice); | 877 typedef BOOL (WINAPI * PFNWGLBINDVIDEOCAPTUREDEVICENVPROC) (UINT uVideoSlot, HVI
DEOINPUTDEVICENV hDevice); |
| 850 typedef UINT (WINAPI * PFNWGLENUMERATEVIDEOCAPTUREDEVICESNVPROC) (HDC hDc, HVIDE
OINPUTDEVICENV *phDeviceList); | 878 typedef UINT (WINAPI * PFNWGLENUMERATEVIDEOCAPTUREDEVICESNVPROC) (HDC hDc, HVIDE
OINPUTDEVICENV *phDeviceList); |
| 851 typedef BOOL (WINAPI * PFNWGLLOCKVIDEOCAPTUREDEVICENVPROC) (HDC hDc, HVIDEOINPUT
DEVICENV hDevice); | 879 typedef BOOL (WINAPI * PFNWGLLOCKVIDEOCAPTUREDEVICENVPROC) (HDC hDc, HVIDEOINPUT
DEVICENV hDevice); |
| 852 typedef BOOL (WINAPI * PFNWGLQUERYVIDEOCAPTUREDEVICENVPROC) (HDC hDc, HVIDEOINPU
TDEVICENV hDevice, int iAttribute, int *piValue); | 880 typedef BOOL (WINAPI * PFNWGLQUERYVIDEOCAPTUREDEVICENVPROC) (HDC hDc, HVIDEOINPU
TDEVICENV hDevice, int iAttribute, int *piValue); |
| 853 typedef BOOL (WINAPI * PFNWGLRELEASEVIDEOCAPTUREDEVICENVPROC) (HDC hDc, HVIDEOIN
PUTDEVICENV hDevice); | 881 typedef BOOL (WINAPI * PFNWGLRELEASEVIDEOCAPTUREDEVICENVPROC) (HDC hDc, HVIDEOIN
PUTDEVICENV hDevice); |
| 854 #endif | 882 #endif |
| 855 | 883 |
| 856 #ifndef WGL_NV_copy_image | 884 #ifndef WGL_NV_copy_image |
| 857 #define WGL_NV_copy_image 1 | 885 #define WGL_NV_copy_image 1 |
| 858 #ifdef WGL_WGLEXT_PROTOTYPES | 886 #ifdef WGL_WGLEXT_PROTOTYPES |
| 859 extern BOOL WINAPI wglCopyImageSubDataNV (HGLRC, GLuint, GLenum, GLint, GLint, G
Lint, GLint, HGLRC, GLuint, GLenum, GLint, GLint, GLint, GLint, GLsizei, GLsizei
, GLsizei); | 887 extern BOOL WINAPI wglCopyImageSubDataNV (HGLRC hSrcRC, GLuint srcName, GLenum s
rcTarget, GLint srcLevel, GLint srcX, GLint srcY, GLint srcZ, HGLRC hDstRC, GLui
nt dstName, GLenum dstTarget, GLint dstLevel, GLint dstX, GLint dstY, GLint dstZ
, GLsizei width, GLsizei height, GLsizei depth); |
| 860 #endif /* WGL_WGLEXT_PROTOTYPES */ | 888 #endif /* WGL_WGLEXT_PROTOTYPES */ |
| 861 typedef BOOL (WINAPI * PFNWGLCOPYIMAGESUBDATANVPROC) (HGLRC hSrcRC, GLuint srcNa
me, GLenum srcTarget, GLint srcLevel, GLint srcX, GLint srcY, GLint srcZ, HGLRC
hDstRC, GLuint dstName, GLenum dstTarget, GLint dstLevel, GLint dstX, GLint dstY
, GLint dstZ, GLsizei width, GLsizei height, GLsizei depth); | 889 typedef BOOL (WINAPI * PFNWGLCOPYIMAGESUBDATANVPROC) (HGLRC hSrcRC, GLuint srcNa
me, GLenum srcTarget, GLint srcLevel, GLint srcX, GLint srcY, GLint srcZ, HGLRC
hDstRC, GLuint dstName, GLenum dstTarget, GLint dstLevel, GLint dstX, GLint dstY
, GLint dstZ, GLsizei width, GLsizei height, GLsizei depth); |
| 862 #endif | 890 #endif |
| 863 | 891 |
| 892 #ifndef WGL_NV_multisample_coverage |
| 893 #define WGL_NV_multisample_coverage 1 |
| 894 #endif |
| 895 |
| 864 | 896 |
| 865 #ifdef __cplusplus | 897 #ifdef __cplusplus |
| 866 } | 898 } |
| 867 #endif | 899 #endif |
| 868 | 900 |
| 869 #endif | 901 #endif |
| OLD | NEW |