39 #if defined(_WIN32) && !defined(APIENTRY) && !defined(__CYGWIN__) && !defined(__SCITECH_SNAP__) 40 #define WIN32_LEAN_AND_MEAN 1 44 #define WGL_WGLEXT_VERSION 20140810 55 #ifndef WGL_ARB_buffer_region 56 #define WGL_ARB_buffer_region 1 57 #define WGL_FRONT_COLOR_BUFFER_BIT_ARB 0x00000001 58 #define WGL_BACK_COLOR_BUFFER_BIT_ARB 0x00000002 59 #define WGL_DEPTH_BUFFER_BIT_ARB 0x00000004 60 #define WGL_STENCIL_BUFFER_BIT_ARB 0x00000008 65 #ifdef WGL_WGLEXT_PROTOTYPES 66 HANDLE
WINAPI wglCreateBufferRegionARB (HDC hDC,
int iLayerPlane, UINT uType);
67 VOID WINAPI wglDeleteBufferRegionARB (HANDLE hRegion);
68 BOOL WINAPI wglSaveBufferRegionARB (HANDLE hRegion,
int x,
int y,
int width,
int height);
69 BOOL WINAPI wglRestoreBufferRegionARB (HANDLE hRegion,
int x,
int y,
int width,
int height,
int xSrc,
int ySrc);
73 #ifndef WGL_ARB_context_flush_control 74 #define WGL_ARB_context_flush_control 1 75 #define WGL_CONTEXT_RELEASE_BEHAVIOR_ARB 0x2097 76 #define WGL_CONTEXT_RELEASE_BEHAVIOR_NONE_ARB 0 77 #define WGL_CONTEXT_RELEASE_BEHAVIOR_FLUSH_ARB 0x2098 80 #ifndef WGL_ARB_create_context 81 #define WGL_ARB_create_context 1 82 #define WGL_CONTEXT_DEBUG_BIT_ARB 0x00000001 83 #define WGL_CONTEXT_FORWARD_COMPATIBLE_BIT_ARB 0x00000002 84 #define WGL_CONTEXT_MAJOR_VERSION_ARB 0x2091 85 #define WGL_CONTEXT_MINOR_VERSION_ARB 0x2092 86 #define WGL_CONTEXT_LAYER_PLANE_ARB 0x2093 87 #define WGL_CONTEXT_FLAGS_ARB 0x2094 88 #define ERROR_INVALID_VERSION_ARB 0x2095 90 #ifdef WGL_WGLEXT_PROTOTYPES 91 HGLRC
WINAPI wglCreateContextAttribsARB (HDC hDC, HGLRC hShareContext,
const int *attribList);
95 #ifndef WGL_ARB_create_context_profile 96 #define WGL_ARB_create_context_profile 1 97 #define WGL_CONTEXT_PROFILE_MASK_ARB 0x9126 98 #define WGL_CONTEXT_CORE_PROFILE_BIT_ARB 0x00000001 99 #define WGL_CONTEXT_COMPATIBILITY_PROFILE_BIT_ARB 0x00000002 100 #define ERROR_INVALID_PROFILE_ARB 0x2096 103 #ifndef WGL_ARB_create_context_robustness 104 #define WGL_ARB_create_context_robustness 1 105 #define WGL_CONTEXT_ROBUST_ACCESS_BIT_ARB 0x00000004 106 #define WGL_LOSE_CONTEXT_ON_RESET_ARB 0x8252 107 #define WGL_CONTEXT_RESET_NOTIFICATION_STRATEGY_ARB 0x8256 108 #define WGL_NO_RESET_NOTIFICATION_ARB 0x8261 111 #ifndef WGL_ARB_extensions_string 112 #define WGL_ARB_extensions_string 1 114 #ifdef WGL_WGLEXT_PROTOTYPES 115 const char *
WINAPI wglGetExtensionsStringARB (HDC hdc);
119 #ifndef WGL_ARB_framebuffer_sRGB 120 #define WGL_ARB_framebuffer_sRGB 1 121 #define WGL_FRAMEBUFFER_SRGB_CAPABLE_ARB 0x20A9 124 #ifndef WGL_ARB_make_current_read 125 #define WGL_ARB_make_current_read 1 126 #define ERROR_INVALID_PIXEL_TYPE_ARB 0x2043 127 #define ERROR_INCOMPATIBLE_DEVICE_CONTEXTS_ARB 0x2054 130 #ifdef WGL_WGLEXT_PROTOTYPES 131 BOOL WINAPI wglMakeContextCurrentARB (HDC hDrawDC, HDC hReadDC, HGLRC hglrc);
132 HDC
WINAPI wglGetCurrentReadDCARB (
void);
136 #ifndef WGL_ARB_multisample 137 #define WGL_ARB_multisample 1 138 #define WGL_SAMPLE_BUFFERS_ARB 0x2041 139 #define WGL_SAMPLES_ARB 0x2042 142 #ifndef WGL_ARB_pbuffer 143 #define WGL_ARB_pbuffer 1 145 #define WGL_DRAW_TO_PBUFFER_ARB 0x202D 146 #define WGL_MAX_PBUFFER_PIXELS_ARB 0x202E 147 #define WGL_MAX_PBUFFER_WIDTH_ARB 0x202F 148 #define WGL_MAX_PBUFFER_HEIGHT_ARB 0x2030 149 #define WGL_PBUFFER_LARGEST_ARB 0x2033 150 #define WGL_PBUFFER_WIDTH_ARB 0x2034 151 #define WGL_PBUFFER_HEIGHT_ARB 0x2035 152 #define WGL_PBUFFER_LOST_ARB 0x2036 158 #ifdef WGL_WGLEXT_PROTOTYPES 159 HPBUFFERARB
WINAPI wglCreatePbufferARB (HDC hDC,
int iPixelFormat,
int iWidth,
int iHeight,
const int *piAttribList);
160 HDC
WINAPI wglGetPbufferDCARB (HPBUFFERARB hPbuffer);
161 int WINAPI wglReleasePbufferDCARB (HPBUFFERARB hPbuffer, HDC hDC);
162 BOOL WINAPI wglDestroyPbufferARB (HPBUFFERARB hPbuffer);
163 BOOL WINAPI wglQueryPbufferARB (HPBUFFERARB hPbuffer,
int iAttribute,
int *piValue);
167 #ifndef WGL_ARB_pixel_format 168 #define WGL_ARB_pixel_format 1 169 #define WGL_NUMBER_PIXEL_FORMATS_ARB 0x2000 170 #define WGL_DRAW_TO_WINDOW_ARB 0x2001 171 #define WGL_DRAW_TO_BITMAP_ARB 0x2002 172 #define WGL_ACCELERATION_ARB 0x2003 173 #define WGL_NEED_PALETTE_ARB 0x2004 174 #define WGL_NEED_SYSTEM_PALETTE_ARB 0x2005 175 #define WGL_SWAP_LAYER_BUFFERS_ARB 0x2006 176 #define WGL_SWAP_METHOD_ARB 0x2007 177 #define WGL_NUMBER_OVERLAYS_ARB 0x2008 178 #define WGL_NUMBER_UNDERLAYS_ARB 0x2009 179 #define WGL_TRANSPARENT_ARB 0x200A 180 #define WGL_TRANSPARENT_RED_VALUE_ARB 0x2037 181 #define WGL_TRANSPARENT_GREEN_VALUE_ARB 0x2038 182 #define WGL_TRANSPARENT_BLUE_VALUE_ARB 0x2039 183 #define WGL_TRANSPARENT_ALPHA_VALUE_ARB 0x203A 184 #define WGL_TRANSPARENT_INDEX_VALUE_ARB 0x203B 185 #define WGL_SHARE_DEPTH_ARB 0x200C 186 #define WGL_SHARE_STENCIL_ARB 0x200D 187 #define WGL_SHARE_ACCUM_ARB 0x200E 188 #define WGL_SUPPORT_GDI_ARB 0x200F 189 #define WGL_SUPPORT_OPENGL_ARB 0x2010 190 #define WGL_DOUBLE_BUFFER_ARB 0x2011 191 #define WGL_STEREO_ARB 0x2012 192 #define WGL_PIXEL_TYPE_ARB 0x2013 193 #define WGL_COLOR_BITS_ARB 0x2014 194 #define WGL_RED_BITS_ARB 0x2015 195 #define WGL_RED_SHIFT_ARB 0x2016 196 #define WGL_GREEN_BITS_ARB 0x2017 197 #define WGL_GREEN_SHIFT_ARB 0x2018 198 #define WGL_BLUE_BITS_ARB 0x2019 199 #define WGL_BLUE_SHIFT_ARB 0x201A 200 #define WGL_ALPHA_BITS_ARB 0x201B 201 #define WGL_ALPHA_SHIFT_ARB 0x201C 202 #define WGL_ACCUM_BITS_ARB 0x201D 203 #define WGL_ACCUM_RED_BITS_ARB 0x201E 204 #define WGL_ACCUM_GREEN_BITS_ARB 0x201F 205 #define WGL_ACCUM_BLUE_BITS_ARB 0x2020 206 #define WGL_ACCUM_ALPHA_BITS_ARB 0x2021 207 #define WGL_DEPTH_BITS_ARB 0x2022 208 #define WGL_STENCIL_BITS_ARB 0x2023 209 #define WGL_AUX_BUFFERS_ARB 0x2024 210 #define WGL_NO_ACCELERATION_ARB 0x2025 211 #define WGL_GENERIC_ACCELERATION_ARB 0x2026 212 #define WGL_FULL_ACCELERATION_ARB 0x2027 213 #define WGL_SWAP_EXCHANGE_ARB 0x2028 214 #define WGL_SWAP_COPY_ARB 0x2029 215 #define WGL_SWAP_UNDEFINED_ARB 0x202A 216 #define WGL_TYPE_RGBA_ARB 0x202B 217 #define WGL_TYPE_COLORINDEX_ARB 0x202C 221 #ifdef WGL_WGLEXT_PROTOTYPES 222 BOOL WINAPI wglGetPixelFormatAttribivARB (HDC hdc,
int iPixelFormat,
int iLayerPlane, UINT nAttributes,
const int *piAttributes,
int *piValues);
223 BOOL WINAPI wglGetPixelFormatAttribfvARB (HDC hdc,
int iPixelFormat,
int iLayerPlane, UINT nAttributes,
const int *piAttributes, FLOAT *pfValues);
224 BOOL WINAPI wglChoosePixelFormatARB (HDC hdc,
const int *piAttribIList,
const FLOAT *pfAttribFList, UINT nMaxFormats,
int *piFormats, UINT *nNumFormats);
228 #ifndef WGL_ARB_pixel_format_float 229 #define WGL_ARB_pixel_format_float 1 230 #define WGL_TYPE_RGBA_FLOAT_ARB 0x21A0 233 #ifndef WGL_ARB_render_texture 234 #define WGL_ARB_render_texture 1 235 #define WGL_BIND_TO_TEXTURE_RGB_ARB 0x2070 236 #define WGL_BIND_TO_TEXTURE_RGBA_ARB 0x2071 237 #define WGL_TEXTURE_FORMAT_ARB 0x2072 238 #define WGL_TEXTURE_TARGET_ARB 0x2073 239 #define WGL_MIPMAP_TEXTURE_ARB 0x2074 240 #define WGL_TEXTURE_RGB_ARB 0x2075 241 #define WGL_TEXTURE_RGBA_ARB 0x2076 242 #define WGL_NO_TEXTURE_ARB 0x2077 243 #define WGL_TEXTURE_CUBE_MAP_ARB 0x2078 244 #define WGL_TEXTURE_1D_ARB 0x2079 245 #define WGL_TEXTURE_2D_ARB 0x207A 246 #define WGL_MIPMAP_LEVEL_ARB 0x207B 247 #define WGL_CUBE_MAP_FACE_ARB 0x207C 248 #define WGL_TEXTURE_CUBE_MAP_POSITIVE_X_ARB 0x207D 249 #define WGL_TEXTURE_CUBE_MAP_NEGATIVE_X_ARB 0x207E 250 #define WGL_TEXTURE_CUBE_MAP_POSITIVE_Y_ARB 0x207F 251 #define WGL_TEXTURE_CUBE_MAP_NEGATIVE_Y_ARB 0x2080 252 #define WGL_TEXTURE_CUBE_MAP_POSITIVE_Z_ARB 0x2081 253 #define WGL_TEXTURE_CUBE_MAP_NEGATIVE_Z_ARB 0x2082 254 #define WGL_FRONT_LEFT_ARB 0x2083 255 #define WGL_FRONT_RIGHT_ARB 0x2084 256 #define WGL_BACK_LEFT_ARB 0x2085 257 #define WGL_BACK_RIGHT_ARB 0x2086 258 #define WGL_AUX0_ARB 0x2087 259 #define WGL_AUX1_ARB 0x2088 260 #define WGL_AUX2_ARB 0x2089 261 #define WGL_AUX3_ARB 0x208A 262 #define WGL_AUX4_ARB 0x208B 263 #define WGL_AUX5_ARB 0x208C 264 #define WGL_AUX6_ARB 0x208D 265 #define WGL_AUX7_ARB 0x208E 266 #define WGL_AUX8_ARB 0x208F 267 #define WGL_AUX9_ARB 0x2090 271 #ifdef WGL_WGLEXT_PROTOTYPES 272 BOOL WINAPI wglBindTexImageARB (HPBUFFERARB hPbuffer,
int iBuffer);
273 BOOL WINAPI wglReleaseTexImageARB (HPBUFFERARB hPbuffer,
int iBuffer);
274 BOOL WINAPI wglSetPbufferAttribARB (HPBUFFERARB hPbuffer,
const int *piAttribList);
278 #ifndef WGL_ARB_robustness_application_isolation 279 #define WGL_ARB_robustness_application_isolation 1 280 #define WGL_CONTEXT_RESET_ISOLATION_BIT_ARB 0x00000008 283 #ifndef WGL_ARB_robustness_share_group_isolation 284 #define WGL_ARB_robustness_share_group_isolation 1 287 #ifndef WGL_3DFX_multisample 288 #define WGL_3DFX_multisample 1 289 #define WGL_SAMPLE_BUFFERS_3DFX 0x2060 290 #define WGL_SAMPLES_3DFX 0x2061 293 #ifndef WGL_3DL_stereo_control 294 #define WGL_3DL_stereo_control 1 295 #define WGL_STEREO_EMITTER_ENABLE_3DL 0x2055 296 #define WGL_STEREO_EMITTER_DISABLE_3DL 0x2056 297 #define WGL_STEREO_POLARITY_NORMAL_3DL 0x2057 298 #define WGL_STEREO_POLARITY_INVERT_3DL 0x2058 300 #ifdef WGL_WGLEXT_PROTOTYPES 301 BOOL WINAPI wglSetStereoEmitterState3DL (HDC hDC, UINT uState);
305 #ifndef WGL_AMD_gpu_association 306 #define WGL_AMD_gpu_association 1 307 #define WGL_GPU_VENDOR_AMD 0x1F00 308 #define WGL_GPU_RENDERER_STRING_AMD 0x1F01 309 #define WGL_GPU_OPENGL_VERSION_STRING_AMD 0x1F02 310 #define WGL_GPU_FASTEST_TARGET_GPUS_AMD 0x21A2 311 #define WGL_GPU_RAM_AMD 0x21A3 312 #define WGL_GPU_CLOCK_AMD 0x21A4 313 #define WGL_GPU_NUM_PIPES_AMD 0x21A5 314 #define WGL_GPU_NUM_SIMD_AMD 0x21A6 315 #define WGL_GPU_NUM_RB_AMD 0x21A7 316 #define WGL_GPU_NUM_SPI_AMD 0x21A8 325 typedef VOID (
WINAPI *
PFNWGLBLITCONTEXTFRAMEBUFFERAMDPROC) (HGLRC dstCtx,
GLint srcX0,
GLint srcY0,
GLint srcX1,
GLint srcY1,
GLint dstX0,
GLint dstY0,
GLint dstX1,
GLint dstY1,
GLbitfield mask,
GLenum filter);
326 #ifdef WGL_WGLEXT_PROTOTYPES 327 UINT
WINAPI wglGetGPUIDsAMD (UINT maxCount, UINT *
ids);
328 INT
WINAPI wglGetGPUInfoAMD (UINT
id,
int property,
GLenum dataType, UINT size,
void *
data);
329 UINT
WINAPI wglGetContextGPUIDAMD (HGLRC hglrc);
330 HGLRC
WINAPI wglCreateAssociatedContextAMD (UINT
id);
331 HGLRC
WINAPI wglCreateAssociatedContextAttribsAMD (UINT
id, HGLRC hShareContext,
const int *attribList);
332 BOOL WINAPI wglDeleteAssociatedContextAMD (HGLRC hglrc);
333 BOOL WINAPI wglMakeAssociatedContextCurrentAMD (HGLRC hglrc);
334 HGLRC
WINAPI wglGetCurrentAssociatedContextAMD (
void);
335 VOID WINAPI wglBlitContextFramebufferAMD (HGLRC dstCtx,
GLint srcX0,
GLint srcY0,
GLint srcX1,
GLint srcY1,
GLint dstX0,
GLint dstY0,
GLint dstX1,
GLint dstY1,
GLbitfield mask,
GLenum filter);
339 #ifndef WGL_ATI_pixel_format_float 340 #define WGL_ATI_pixel_format_float 1 341 #define WGL_TYPE_RGBA_FLOAT_ATI 0x21A0 344 #ifndef WGL_EXT_create_context_es2_profile 345 #define WGL_EXT_create_context_es2_profile 1 346 #define WGL_CONTEXT_ES2_PROFILE_BIT_EXT 0x00000004 349 #ifndef WGL_EXT_create_context_es_profile 350 #define WGL_EXT_create_context_es_profile 1 351 #define WGL_CONTEXT_ES_PROFILE_BIT_EXT 0x00000004 354 #ifndef WGL_EXT_depth_float 355 #define WGL_EXT_depth_float 1 356 #define WGL_DEPTH_FLOAT_EXT 0x2040 359 #ifndef WGL_EXT_display_color_table 360 #define WGL_EXT_display_color_table 1 365 #ifdef WGL_WGLEXT_PROTOTYPES 373 #ifndef WGL_EXT_extensions_string 374 #define WGL_EXT_extensions_string 1 376 #ifdef WGL_WGLEXT_PROTOTYPES 377 const char *
WINAPI wglGetExtensionsStringEXT (
void);
381 #ifndef WGL_EXT_framebuffer_sRGB 382 #define WGL_EXT_framebuffer_sRGB 1 383 #define WGL_FRAMEBUFFER_SRGB_CAPABLE_EXT 0x20A9 386 #ifndef WGL_EXT_make_current_read 387 #define WGL_EXT_make_current_read 1 388 #define ERROR_INVALID_PIXEL_TYPE_EXT 0x2043 391 #ifdef WGL_WGLEXT_PROTOTYPES 392 BOOL WINAPI wglMakeContextCurrentEXT (HDC hDrawDC, HDC hReadDC, HGLRC hglrc);
393 HDC
WINAPI wglGetCurrentReadDCEXT (
void);
397 #ifndef WGL_EXT_multisample 398 #define WGL_EXT_multisample 1 399 #define WGL_SAMPLE_BUFFERS_EXT 0x2041 400 #define WGL_SAMPLES_EXT 0x2042 403 #ifndef WGL_EXT_pbuffer 404 #define WGL_EXT_pbuffer 1 406 #define WGL_DRAW_TO_PBUFFER_EXT 0x202D 407 #define WGL_MAX_PBUFFER_PIXELS_EXT 0x202E 408 #define WGL_MAX_PBUFFER_WIDTH_EXT 0x202F 409 #define WGL_MAX_PBUFFER_HEIGHT_EXT 0x2030 410 #define WGL_OPTIMAL_PBUFFER_WIDTH_EXT 0x2031 411 #define WGL_OPTIMAL_PBUFFER_HEIGHT_EXT 0x2032 412 #define WGL_PBUFFER_LARGEST_EXT 0x2033 413 #define WGL_PBUFFER_WIDTH_EXT 0x2034 414 #define WGL_PBUFFER_HEIGHT_EXT 0x2035 420 #ifdef WGL_WGLEXT_PROTOTYPES 421 HPBUFFEREXT
WINAPI wglCreatePbufferEXT (HDC hDC,
int iPixelFormat,
int iWidth,
int iHeight,
const int *piAttribList);
422 HDC
WINAPI wglGetPbufferDCEXT (HPBUFFEREXT hPbuffer);
423 int WINAPI wglReleasePbufferDCEXT (HPBUFFEREXT hPbuffer, HDC hDC);
424 BOOL WINAPI wglDestroyPbufferEXT (HPBUFFEREXT hPbuffer);
425 BOOL WINAPI wglQueryPbufferEXT (HPBUFFEREXT hPbuffer,
int iAttribute,
int *piValue);
429 #ifndef WGL_EXT_pixel_format 430 #define WGL_EXT_pixel_format 1 431 #define WGL_NUMBER_PIXEL_FORMATS_EXT 0x2000 432 #define WGL_DRAW_TO_WINDOW_EXT 0x2001 433 #define WGL_DRAW_TO_BITMAP_EXT 0x2002 434 #define WGL_ACCELERATION_EXT 0x2003 435 #define WGL_NEED_PALETTE_EXT 0x2004 436 #define WGL_NEED_SYSTEM_PALETTE_EXT 0x2005 437 #define WGL_SWAP_LAYER_BUFFERS_EXT 0x2006 438 #define WGL_SWAP_METHOD_EXT 0x2007 439 #define WGL_NUMBER_OVERLAYS_EXT 0x2008 440 #define WGL_NUMBER_UNDERLAYS_EXT 0x2009 441 #define WGL_TRANSPARENT_EXT 0x200A 442 #define WGL_TRANSPARENT_VALUE_EXT 0x200B 443 #define WGL_SHARE_DEPTH_EXT 0x200C 444 #define WGL_SHARE_STENCIL_EXT 0x200D 445 #define WGL_SHARE_ACCUM_EXT 0x200E 446 #define WGL_SUPPORT_GDI_EXT 0x200F 447 #define WGL_SUPPORT_OPENGL_EXT 0x2010 448 #define WGL_DOUBLE_BUFFER_EXT 0x2011 449 #define WGL_STEREO_EXT 0x2012 450 #define WGL_PIXEL_TYPE_EXT 0x2013 451 #define WGL_COLOR_BITS_EXT 0x2014 452 #define WGL_RED_BITS_EXT 0x2015 453 #define WGL_RED_SHIFT_EXT 0x2016 454 #define WGL_GREEN_BITS_EXT 0x2017 455 #define WGL_GREEN_SHIFT_EXT 0x2018 456 #define WGL_BLUE_BITS_EXT 0x2019 457 #define WGL_BLUE_SHIFT_EXT 0x201A 458 #define WGL_ALPHA_BITS_EXT 0x201B 459 #define WGL_ALPHA_SHIFT_EXT 0x201C 460 #define WGL_ACCUM_BITS_EXT 0x201D 461 #define WGL_ACCUM_RED_BITS_EXT 0x201E 462 #define WGL_ACCUM_GREEN_BITS_EXT 0x201F 463 #define WGL_ACCUM_BLUE_BITS_EXT 0x2020 464 #define WGL_ACCUM_ALPHA_BITS_EXT 0x2021 465 #define WGL_DEPTH_BITS_EXT 0x2022 466 #define WGL_STENCIL_BITS_EXT 0x2023 467 #define WGL_AUX_BUFFERS_EXT 0x2024 468 #define WGL_NO_ACCELERATION_EXT 0x2025 469 #define WGL_GENERIC_ACCELERATION_EXT 0x2026 470 #define WGL_FULL_ACCELERATION_EXT 0x2027 471 #define WGL_SWAP_EXCHANGE_EXT 0x2028 472 #define WGL_SWAP_COPY_EXT 0x2029 473 #define WGL_SWAP_UNDEFINED_EXT 0x202A 474 #define WGL_TYPE_RGBA_EXT 0x202B 475 #define WGL_TYPE_COLORINDEX_EXT 0x202C 479 #ifdef WGL_WGLEXT_PROTOTYPES 480 BOOL WINAPI wglGetPixelFormatAttribivEXT (HDC hdc,
int iPixelFormat,
int iLayerPlane, UINT nAttributes,
int *piAttributes,
int *piValues);
481 BOOL WINAPI wglGetPixelFormatAttribfvEXT (HDC hdc,
int iPixelFormat,
int iLayerPlane, UINT nAttributes,
int *piAttributes, FLOAT *pfValues);
482 BOOL WINAPI wglChoosePixelFormatEXT (HDC hdc,
const int *piAttribIList,
const FLOAT *pfAttribFList, UINT nMaxFormats,
int *piFormats, UINT *nNumFormats);
486 #ifndef WGL_EXT_pixel_format_packed_float 487 #define WGL_EXT_pixel_format_packed_float 1 488 #define WGL_TYPE_RGBA_UNSIGNED_FLOAT_EXT 0x20A8 491 #ifndef WGL_EXT_swap_control 492 #define WGL_EXT_swap_control 1 495 #ifdef WGL_WGLEXT_PROTOTYPES 497 int WINAPI wglGetSwapIntervalEXT (
void);
501 #ifndef WGL_EXT_swap_control_tear 502 #define WGL_EXT_swap_control_tear 1 505 #ifndef WGL_I3D_digital_video_control 506 #define WGL_I3D_digital_video_control 1 507 #define WGL_DIGITAL_VIDEO_CURSOR_ALPHA_FRAMEBUFFER_I3D 0x2050 508 #define WGL_DIGITAL_VIDEO_CURSOR_ALPHA_VALUE_I3D 0x2051 509 #define WGL_DIGITAL_VIDEO_CURSOR_INCLUDED_I3D 0x2052 510 #define WGL_DIGITAL_VIDEO_GAMMA_CORRECTED_I3D 0x2053 513 #ifdef WGL_WGLEXT_PROTOTYPES 514 BOOL WINAPI wglGetDigitalVideoParametersI3D (HDC hDC,
int iAttribute,
int *piValue);
515 BOOL WINAPI wglSetDigitalVideoParametersI3D (HDC hDC,
int iAttribute,
const int *piValue);
519 #ifndef WGL_I3D_gamma 520 #define WGL_I3D_gamma 1 521 #define WGL_GAMMA_TABLE_SIZE_I3D 0x204E 522 #define WGL_GAMMA_EXCLUDE_DESKTOP_I3D 0x204F 527 #ifdef WGL_WGLEXT_PROTOTYPES 528 BOOL WINAPI wglGetGammaTableParametersI3D (HDC hDC,
int iAttribute,
int *piValue);
529 BOOL WINAPI wglSetGammaTableParametersI3D (HDC hDC,
int iAttribute,
const int *piValue);
530 BOOL WINAPI wglGetGammaTableI3D (HDC hDC,
int iEntries, USHORT *puRed, USHORT *puGreen, USHORT *puBlue);
531 BOOL WINAPI wglSetGammaTableI3D (HDC hDC,
int iEntries,
const USHORT *puRed,
const USHORT *puGreen,
const USHORT *puBlue);
535 #ifndef WGL_I3D_genlock 536 #define WGL_I3D_genlock 1 537 #define WGL_GENLOCK_SOURCE_MULTIVIEW_I3D 0x2044 538 #define WGL_GENLOCK_SOURCE_EXTERNAL_SYNC_I3D 0x2045 539 #define WGL_GENLOCK_SOURCE_EXTERNAL_FIELD_I3D 0x2046 540 #define WGL_GENLOCK_SOURCE_EXTERNAL_TTL_I3D 0x2047 541 #define WGL_GENLOCK_SOURCE_DIGITAL_SYNC_I3D 0x2048 542 #define WGL_GENLOCK_SOURCE_DIGITAL_FIELD_I3D 0x2049 543 #define WGL_GENLOCK_SOURCE_EDGE_FALLING_I3D 0x204A 544 #define WGL_GENLOCK_SOURCE_EDGE_RISING_I3D 0x204B 545 #define WGL_GENLOCK_SOURCE_EDGE_BOTH_I3D 0x204C 558 #ifdef WGL_WGLEXT_PROTOTYPES 562 BOOL WINAPI wglGenlockSourceI3D (HDC hDC, UINT uSource);
563 BOOL WINAPI wglGetGenlockSourceI3D (HDC hDC, UINT *uSource);
564 BOOL WINAPI wglGenlockSourceEdgeI3D (HDC hDC, UINT uEdge);
565 BOOL WINAPI wglGetGenlockSourceEdgeI3D (HDC hDC, UINT *uEdge);
566 BOOL WINAPI wglGenlockSampleRateI3D (HDC hDC, UINT uRate);
567 BOOL WINAPI wglGetGenlockSampleRateI3D (HDC hDC, UINT *uRate);
568 BOOL WINAPI wglGenlockSourceDelayI3D (HDC hDC, UINT uDelay);
569 BOOL WINAPI wglGetGenlockSourceDelayI3D (HDC hDC, UINT *uDelay);
570 BOOL WINAPI wglQueryGenlockMaxSourceDelayI3D (HDC hDC, UINT *uMaxLineDelay, UINT *uMaxPixelDelay);
574 #ifndef WGL_I3D_image_buffer 575 #define WGL_I3D_image_buffer 1 576 #define WGL_IMAGE_BUFFER_MIN_ACCESS_I3D 0x00000001 577 #define WGL_IMAGE_BUFFER_LOCK_I3D 0x00000002 582 #ifdef WGL_WGLEXT_PROTOTYPES 583 LPVOID WINAPI wglCreateImageBufferI3D (HDC hDC, DWORD dwSize, UINT uFlags);
585 BOOL WINAPI wglAssociateImageBufferEventsI3D (HDC hDC,
const HANDLE *pEvent,
const LPVOID *pAddress,
const DWORD *pSize, UINT
count);
590 #ifndef WGL_I3D_swap_frame_lock 591 #define WGL_I3D_swap_frame_lock 1 596 #ifdef WGL_WGLEXT_PROTOTYPES 604 #ifndef WGL_I3D_swap_frame_usage 605 #define WGL_I3D_swap_frame_usage 1 610 #ifdef WGL_WGLEXT_PROTOTYPES 611 BOOL WINAPI wglGetFrameUsageI3D (
float *pUsage);
614 BOOL WINAPI wglQueryFrameTrackingI3D (DWORD *pFrameCount, DWORD *pMissedFrames,
float *pLastMissedUsage);
618 #ifndef WGL_NV_DX_interop 619 #define WGL_NV_DX_interop 1 620 #define WGL_ACCESS_READ_ONLY_NV 0x00000000 621 #define WGL_ACCESS_READ_WRITE_NV 0x00000001 622 #define WGL_ACCESS_WRITE_DISCARD_NV 0x00000002 631 #ifdef WGL_WGLEXT_PROTOTYPES 632 BOOL WINAPI wglDXSetResourceShareHandleNV (
void *dxObject, HANDLE shareHandle);
633 HANDLE
WINAPI wglDXOpenDeviceNV (
void *dxDevice);
634 BOOL WINAPI wglDXCloseDeviceNV (HANDLE hDevice);
636 BOOL WINAPI wglDXUnregisterObjectNV (HANDLE hDevice, HANDLE hObject);
638 BOOL WINAPI wglDXLockObjectsNV (HANDLE hDevice,
GLint count, HANDLE *hObjects);
639 BOOL WINAPI wglDXUnlockObjectsNV (HANDLE hDevice,
GLint count, HANDLE *hObjects);
643 #ifndef WGL_NV_DX_interop2 644 #define WGL_NV_DX_interop2 1 647 #ifndef WGL_NV_copy_image 648 #define WGL_NV_copy_image 1 649 typedef BOOL (
WINAPI *
PFNWGLCOPYIMAGESUBDATANVPROC) (HGLRC hSrcRC,
GLuint srcName,
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);
650 #ifdef WGL_WGLEXT_PROTOTYPES 651 BOOL WINAPI wglCopyImageSubDataNV (HGLRC hSrcRC,
GLuint srcName,
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);
655 #ifndef WGL_NV_delay_before_swap 656 #define WGL_NV_delay_before_swap 1 658 #ifdef WGL_WGLEXT_PROTOTYPES 663 #ifndef WGL_NV_float_buffer 664 #define WGL_NV_float_buffer 1 665 #define WGL_FLOAT_COMPONENTS_NV 0x20B0 666 #define WGL_BIND_TO_TEXTURE_RECTANGLE_FLOAT_R_NV 0x20B1 667 #define WGL_BIND_TO_TEXTURE_RECTANGLE_FLOAT_RG_NV 0x20B2 668 #define WGL_BIND_TO_TEXTURE_RECTANGLE_FLOAT_RGB_NV 0x20B3 669 #define WGL_BIND_TO_TEXTURE_RECTANGLE_FLOAT_RGBA_NV 0x20B4 670 #define WGL_TEXTURE_FLOAT_R_NV 0x20B5 671 #define WGL_TEXTURE_FLOAT_RG_NV 0x20B6 672 #define WGL_TEXTURE_FLOAT_RGB_NV 0x20B7 673 #define WGL_TEXTURE_FLOAT_RGBA_NV 0x20B8 676 #ifndef WGL_NV_gpu_affinity 677 #define WGL_NV_gpu_affinity 1 687 #define ERROR_INCOMPATIBLE_AFFINITY_MASKS_NV 0x20D0 688 #define ERROR_MISSING_AFFINITY_MASK_NV 0x20D1 694 #ifdef WGL_WGLEXT_PROTOTYPES 695 BOOL WINAPI wglEnumGpusNV (UINT iGpuIndex, HGPUNV *phGpu);
696 BOOL WINAPI wglEnumGpuDevicesNV (HGPUNV hGpu, UINT iDeviceIndex, PGPU_DEVICE lpGpuDevice);
697 HDC
WINAPI wglCreateAffinityDCNV (
const HGPUNV *phGpuList);
698 BOOL WINAPI wglEnumGpusFromAffinityDCNV (HDC hAffinityDC, UINT iGpuIndex, HGPUNV *hGpu);
703 #ifndef WGL_NV_multisample_coverage 704 #define WGL_NV_multisample_coverage 1 705 #define WGL_COVERAGE_SAMPLES_NV 0x2042 706 #define WGL_COLOR_SAMPLES_NV 0x20B9 709 #ifndef WGL_NV_present_video 710 #define WGL_NV_present_video 1 712 #define WGL_NUM_VIDEO_SLOTS_NV 0x20F0 716 #ifdef WGL_WGLEXT_PROTOTYPES 717 int WINAPI wglEnumerateVideoDevicesNV (HDC hDC, HVIDEOOUTPUTDEVICENV *phDeviceList);
718 BOOL WINAPI wglBindVideoDeviceNV (HDC hDC,
unsigned int uVideoSlot, HVIDEOOUTPUTDEVICENV hVideoDevice,
const int *piAttribList);
719 BOOL WINAPI wglQueryCurrentContextNV (
int iAttribute,
int *piValue);
723 #ifndef WGL_NV_render_depth_texture 724 #define WGL_NV_render_depth_texture 1 725 #define WGL_BIND_TO_TEXTURE_DEPTH_NV 0x20A3 726 #define WGL_BIND_TO_TEXTURE_RECTANGLE_DEPTH_NV 0x20A4 727 #define WGL_DEPTH_TEXTURE_FORMAT_NV 0x20A5 728 #define WGL_TEXTURE_DEPTH_COMPONENT_NV 0x20A6 729 #define WGL_DEPTH_COMPONENT_NV 0x20A7 732 #ifndef WGL_NV_render_texture_rectangle 733 #define WGL_NV_render_texture_rectangle 1 734 #define WGL_BIND_TO_TEXTURE_RECTANGLE_RGB_NV 0x20A0 735 #define WGL_BIND_TO_TEXTURE_RECTANGLE_RGBA_NV 0x20A1 736 #define WGL_TEXTURE_RECTANGLE_NV 0x20A2 739 #ifndef WGL_NV_swap_group 740 #define WGL_NV_swap_group 1 747 #ifdef WGL_WGLEXT_PROTOTYPES 757 #ifndef WGL_NV_vertex_array_range 758 #define WGL_NV_vertex_array_range 1 761 #ifdef WGL_WGLEXT_PROTOTYPES 767 #ifndef WGL_NV_video_capture 768 #define WGL_NV_video_capture 1 770 #define WGL_UNIQUE_ID_NV 0x20CE 771 #define WGL_NUM_VIDEO_CAPTURE_SLOTS_NV 0x20CF 777 #ifdef WGL_WGLEXT_PROTOTYPES 778 BOOL WINAPI wglBindVideoCaptureDeviceNV (UINT uVideoSlot, HVIDEOINPUTDEVICENV hDevice);
779 UINT
WINAPI wglEnumerateVideoCaptureDevicesNV (HDC hDc, HVIDEOINPUTDEVICENV *phDeviceList);
780 BOOL WINAPI wglLockVideoCaptureDeviceNV (HDC hDc, HVIDEOINPUTDEVICENV hDevice);
781 BOOL WINAPI wglQueryVideoCaptureDeviceNV (HDC hDc, HVIDEOINPUTDEVICENV hDevice,
int iAttribute,
int *piValue);
782 BOOL WINAPI wglReleaseVideoCaptureDeviceNV (HDC hDc, HVIDEOINPUTDEVICENV hDevice);
786 #ifndef WGL_NV_video_output 787 #define WGL_NV_video_output 1 789 #define WGL_BIND_TO_VIDEO_RGB_NV 0x20C0 790 #define WGL_BIND_TO_VIDEO_RGBA_NV 0x20C1 791 #define WGL_BIND_TO_VIDEO_RGB_AND_DEPTH_NV 0x20C2 792 #define WGL_VIDEO_OUT_COLOR_NV 0x20C3 793 #define WGL_VIDEO_OUT_ALPHA_NV 0x20C4 794 #define WGL_VIDEO_OUT_DEPTH_NV 0x20C5 795 #define WGL_VIDEO_OUT_COLOR_AND_ALPHA_NV 0x20C6 796 #define WGL_VIDEO_OUT_COLOR_AND_DEPTH_NV 0x20C7 797 #define WGL_VIDEO_OUT_FRAME 0x20C8 798 #define WGL_VIDEO_OUT_FIELD_1 0x20C9 799 #define WGL_VIDEO_OUT_FIELD_2 0x20CA 800 #define WGL_VIDEO_OUT_STACKED_FIELDS_1_2 0x20CB 801 #define WGL_VIDEO_OUT_STACKED_FIELDS_2_1 0x20CC 808 #ifdef WGL_WGLEXT_PROTOTYPES 809 BOOL WINAPI wglGetVideoDeviceNV (HDC hDC,
int numDevices, HPVIDEODEV *hVideoDevice);
810 BOOL WINAPI wglReleaseVideoDeviceNV (HPVIDEODEV hVideoDevice);
811 BOOL WINAPI wglBindVideoImageNV (HPVIDEODEV hVideoDevice, HPBUFFERARB hPbuffer,
int iVideoBuffer);
812 BOOL WINAPI wglReleaseVideoImageNV (HPBUFFERARB hPbuffer,
int iVideoBuffer);
813 BOOL WINAPI wglSendPbufferToVideoNV (HPBUFFERARB hPbuffer,
int iBufferType,
unsigned long *pulCounterPbuffer,
BOOL bBlock);
814 BOOL WINAPI wglGetVideoInfoNV (HPVIDEODEV hpVideoDevice,
unsigned long *pulCounterOutputPbuffer,
unsigned long *pulCounterOutputVideo);
818 #ifndef WGL_OML_sync_control 819 #define WGL_OML_sync_control 1 826 #ifdef WGL_WGLEXT_PROTOTYPES 827 BOOL WINAPI wglGetSyncValuesOML (HDC hdc, INT64 *ust, INT64 *msc, INT64 *
sbc);
828 BOOL WINAPI wglGetMscRateOML (HDC hdc, INT32 *numerator, INT32 *denominator);
829 INT64
WINAPI wglSwapBuffersMscOML (HDC hdc, INT64 target_msc, INT64 divisor, INT64 remainder);
830 INT64
WINAPI wglSwapLayerBuffersMscOML (HDC hdc,
int fuPlanes, INT64 target_msc, INT64 divisor, INT64 remainder);
831 BOOL WINAPI wglWaitForMscOML (HDC hdc, INT64 target_msc, INT64 divisor, INT64 remainder, INT64 *ust, INT64 *msc, INT64 *
sbc);
832 BOOL WINAPI wglWaitForSbcOML (HDC hdc, INT64 target_sbc, INT64 *ust, INT64 *msc, INT64 *
sbc);
BOOL(WINAPI * PFNWGLQUERYPBUFFEREXTPROC)(HPBUFFEREXT hPbuffer, int iAttribute, int *piValue)
Definition: wglext.h:419
GLenum GLint GLint GLint GLint GLuint GLenum GLint GLint GLint GLint dstZ
Definition: gl2ext.h:276
GLboolean GLuint group
Definition: gl2ext.h:780
HGLRC(WINAPI * PFNWGLCREATEASSOCIATEDCONTEXTATTRIBSAMDPROC)(UINT id, HGLRC hShareContext, const int *attribList)
Definition: wglext.h:321
int GLint
Definition: gl2.h:76
BOOL(WINAPI * PFNWGLGETGENLOCKSOURCEEDGEI3DPROC)(HDC hDC, UINT *uEdge)
Definition: wglext.h:552
GLint GLsizei count
Definition: gl2.h:421
BOOL(WINAPI * PFNWGLRESETFRAMECOUNTNVPROC)(HDC hDC)
Definition: wglext.h:746
BOOL(WINAPI * PFNWGLENDFRAMETRACKINGI3DPROC)(void)
Definition: wglext.h:608
VOID(WINAPI * PFNWGLDESTROYDISPLAYCOLORTABLEEXTPROC)(GLushort id)
Definition: wglext.h:364
#define size
Definition: float-mm.c:27
GLint GLint GLint GLint GLint GLint dstX1
Definition: gl2ext.h:818
EGLSurface EGLint EGLint EGLint EGLint height
Definition: eglext.h:950
BOOL(WINAPI * PFNWGLENABLEFRAMELOCKI3DPROC)(void)
Definition: wglext.h:592
HDC(WINAPI * PFNWGLGETCURRENTREADDCEXTPROC)(void)
Definition: wglext.h:390
GLsizei maxCount
Definition: gl2.h:437
void(WINAPI * PFNWGLFREEMEMORYNVPROC)(void *pointer)
Definition: wglext.h:760
BOOL(WINAPI * PFNWGLCOPYIMAGESUBDATANVPROC)(HGLRC hSrcRC, GLuint srcName, 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)
Definition: wglext.h:649
BOOL(WINAPI * PFNWGLDXUNREGISTEROBJECTNVPROC)(HANDLE hDevice, HANDLE hObject)
Definition: wglext.h:627
BOOL(WINAPI * PFNWGLDXUNLOCKOBJECTSNVPROC)(HANDLE hDevice, GLint count, HANDLE *hObjects)
Definition: wglext.h:630
HPBUFFEREXT(WINAPI * PFNWGLCREATEPBUFFEREXTPROC)(HDC hDC, int iPixelFormat, int iWidth, int iHeight, const int *piAttribList)
Definition: wglext.h:415
BOOL(WINAPI * PFNWGLWAITFORMSCOMLPROC)(HDC hdc, INT64 target_msc, INT64 divisor, INT64 remainder, INT64 *ust, INT64 *msc, INT64 *sbc)
Definition: wglext.h:824
BOOL(WINAPI * PFNWGLGETVIDEODEVICENVPROC)(HDC hDC, int numDevices, HPVIDEODEV *hVideoDevice)
Definition: wglext.h:802
GLint GLint GLint GLint GLint dstY0
Definition: gl2ext.h:818
UINT(WINAPI * PFNWGLENUMERATEVIDEOCAPTUREDEVICESNVPROC)(HDC hDc, HVIDEOINPUTDEVICENV *phDeviceList)
Definition: wglext.h:773
BOOL(WINAPI * PFNWGLRELEASEVIDEODEVICENVPROC)(HPVIDEODEV hVideoDevice)
Definition: wglext.h:803
VOID(WINAPI * PFNWGLBLITCONTEXTFRAMEBUFFERAMDPROC)(HGLRC dstCtx, GLint srcX0, GLint srcY0, GLint srcX1, GLint srcY1, GLint dstX0, GLint dstY0, GLint dstX1, GLint dstY1, GLbitfield mask, GLenum filter)
Definition: wglext.h:325
BOOL(WINAPI * PFNWGLGETSYNCVALUESOMLPROC)(HDC hdc, INT64 *ust, INT64 *msc, INT64 *sbc)
Definition: wglext.h:820
int(WINAPI * PFNWGLENUMERATEVIDEODEVICESNVPROC)(HDC hDC, HVIDEOOUTPUTDEVICENV *phDeviceList)
Definition: wglext.h:713
BOOL(WINAPI * PFNWGLBINDVIDEODEVICENVPROC)(HDC hDC, unsigned int uVideoSlot, HVIDEOOUTPUTDEVICENV hVideoDevice, const int *piAttribList)
Definition: wglext.h:714
BOOL(WINAPI * PFNWGLSETGAMMATABLEI3DPROC)(HDC hDC, int iEntries, const USHORT *puRed, const USHORT *puGreen, const USHORT *puBlue)
Definition: wglext.h:526
BOOL(WINAPI * PFNWGLSETSTEREOEMITTERSTATE3DLPROC)(HDC hDC, UINT uState)
Definition: wglext.h:299
EGLSurface EGLint EGLint EGLint width
Definition: eglext.h:950
BOOL(WINAPI * PFNWGLGETVIDEOINFONVPROC)(HPVIDEODEV hpVideoDevice, unsigned long *pulCounterOutputPbuffer, unsigned long *pulCounterOutputVideo)
Definition: wglext.h:807
UINT(WINAPI * PFNWGLGETGPUIDSAMDPROC)(UINT maxCount, UINT *ids)
Definition: wglext.h:317
BOOL(WINAPI * PFNWGLSAVEBUFFERREGIONARBPROC)(HANDLE hRegion, int x, int y, int width, int height)
Definition: wglext.h:63
BOOL(WINAPI * PFNWGLGETGAMMATABLEPARAMETERSI3DPROC)(HDC hDC, int iAttribute, int *piValue)
Definition: wglext.h:523
BOOL(WINAPI * PFNWGLENUMGPUSFROMAFFINITYDCNVPROC)(HDC hAffinityDC, UINT iGpuIndex, HGPUNV *hGpu)
Definition: wglext.h:692
BOOL(WINAPI * PFNWGLGETDIGITALVIDEOPARAMETERSI3DPROC)(HDC hDC, int iAttribute, int *piValue)
Definition: wglext.h:511
HANDLE(WINAPI * PFNWGLCREATEBUFFERREGIONARBPROC)(HDC hDC, int iLayerPlane, UINT uType)
Definition: wglext.h:61
BOOL(WINAPI * PFNWGLBEGINFRAMETRACKINGI3DPROC)(void)
Definition: wglext.h:607
EGLSurface EGLuint64KHR * ust
Definition: EGLSyncControlTest.cpp:26
unsigned int GLenum
Definition: gl2.h:69
GLenum GLint GLint srcX
Definition: gl2ext.h:276
BOOL(WINAPI * PFNWGLGENLOCKSAMPLERATEI3DPROC)(HDC hDC, UINT uRate)
Definition: wglext.h:553
BOOL(WINAPI * PFNWGLMAKEASSOCIATEDCONTEXTCURRENTAMDPROC)(HGLRC hglrc)
Definition: wglext.h:323
GLuint divisor
Definition: gl2ext.h:1105
AVCFPlayerRef CMTime interval
Definition: AVFoundationCFSoftLinking.h:135
GLint srcY0
Definition: gl2ext.h:818
BOOL(WINAPI * PFNWGLISENABLEDFRAMELOCKI3DPROC)(BOOL *pFlag)
Definition: wglext.h:594
CHAR DeviceName[32]
Definition: wglext.h:681
BOOL(WINAPI * PFNWGLGETPIXELFORMATATTRIBIVARBPROC)(HDC hdc, int iPixelFormat, int iLayerPlane, UINT nAttributes, const int *piAttributes, int *piValues)
Definition: wglext.h:218
BOOL(WINAPI * PFNWGLENABLEGENLOCKI3DPROC)(HDC hDC)
Definition: wglext.h:546
HANDLE(WINAPI * PFNWGLDXOPENDEVICENVPROC)(void *dxDevice)
Definition: wglext.h:624
RECT rcVirtualScreen
Definition: wglext.h:684
BOOL(WINAPI * PFNWGLMAKECONTEXTCURRENTEXTPROC)(HDC hDrawDC, HDC hReadDC, HGLRC hglrc)
Definition: wglext.h:389
void VOID
Definition: TestCallbackFunctionWithTypedefs.idl:28
UINT(WINAPI * PFNWGLGETCONTEXTGPUIDAMDPROC)(HGLRC hglrc)
Definition: wglext.h:319
BOOL(WINAPI * PFNWGLDELETEASSOCIATEDCONTEXTAMDPROC)(HGLRC hglrc)
Definition: wglext.h:322
BOOL(WINAPI * PFNWGLGETPIXELFORMATATTRIBIVEXTPROC)(HDC hdc, int iPixelFormat, int iLayerPlane, UINT nAttributes, int *piAttributes, int *piValues)
Definition: wglext.h:476
GLenum GLint srcLevel
Definition: gl2ext.h:276
BOOL(WINAPI * PFNWGLRELEASEVIDEOIMAGENVPROC)(HPBUFFERARB hPbuffer, int iVideoBuffer)
Definition: wglext.h:805
BOOL(WINAPI * PFNWGLGETPIXELFORMATATTRIBFVEXTPROC)(HDC hdc, int iPixelFormat, int iLayerPlane, UINT nAttributes, int *piAttributes, FLOAT *pfValues)
Definition: wglext.h:477
GLboolean(WINAPI * PFNWGLLOADDISPLAYCOLORTABLEEXTPROC)(const GLushort *table, GLuint length)
Definition: wglext.h:362
BOOL(WINAPI * PFNWGLDISABLEFRAMELOCKI3DPROC)(void)
Definition: wglext.h:593
DECLARE_HANDLE(HPBUFFERARB)
HDC(WINAPI * PFNWGLGETCURRENTREADDCARBPROC)(void)
Definition: wglext.h:129
BOOL(WINAPI * PFNWGLJOINSWAPGROUPNVPROC)(HDC hDC, GLuint group)
Definition: wglext.h:741
void
Definition: AVFoundationCFSoftLinking.h:81
GLenum srcTarget
Definition: gl2ext.h:276
int
Definition: runtests.py:53
khronos_float_t GLfloat
Definition: gl2.h:72
GLint GLuint mask
Definition: gl2.h:480
BOOL(WINAPI * PFNWGLDESTROYPBUFFEREXTPROC)(HPBUFFEREXT hPbuffer)
Definition: wglext.h:418
GLenum GLint GLint GLint GLint srcZ
Definition: gl2ext.h:276
int(WINAPI * PFNWGLRELEASEPBUFFERDCARBPROC)(HPBUFFERARB hPbuffer, HDC hDC)
Definition: wglext.h:155
HGLRC(WINAPI * PFNWGLGETCURRENTASSOCIATEDCONTEXTAMDPROC)(void)
Definition: wglext.h:324
BOOL(WINAPI * PFNWGLSETDIGITALVIDEOPARAMETERSI3DPROC)(HDC hDC, int iAttribute, const int *piValue)
Definition: wglext.h:512
BOOL(WINAPI * PFNWGLGETGENLOCKSOURCEI3DPROC)(HDC hDC, UINT *uSource)
Definition: wglext.h:550
GLenum GLuint id
Definition: gl2ext.h:134
GLenum GLint GLint GLint GLint GLuint dstName
Definition: gl2ext.h:276
BOOL(WINAPI * PFNWGLCHOOSEPIXELFORMATEXTPROC)(HDC hdc, const int *piAttribIList, const FLOAT *pfAttribFList, UINT nMaxFormats, int *piFormats, UINT *nNumFormats)
Definition: wglext.h:478
BOOL(WINAPI * PFNWGLGETGAMMATABLEI3DPROC)(HDC hDC, int iEntries, USHORT *puRed, USHORT *puGreen, USHORT *puBlue)
Definition: wglext.h:525
EGLSurface EGLint x
Definition: eglext.h:950
GLenum GLint GLint GLint GLint GLuint GLenum dstTarget
Definition: gl2ext.h:276
GLint GLint GLint GLint GLint GLint GLint GLbitfield GLenum filter
Definition: gl2ext.h:818
const char *(WINAPI * PFNWGLGETEXTENSIONSSTRINGEXTPROC)(void)
Definition: wglext.h:375
GLboolean(WINAPI * PFNWGLBINDDISPLAYCOLORTABLEEXTPROC)(GLushort id)
Definition: wglext.h:363
GLint GLint GLint GLint dstX0
Definition: gl2ext.h:818
BOOL(WINAPI * PFNWGLQUERYFRAMELOCKMASTERI3DPROC)(BOOL *pFlag)
Definition: wglext.h:595
BOOL(WINAPI * PFNWGLISENABLEDGENLOCKI3DPROC)(HDC hDC, BOOL *pFlag)
Definition: wglext.h:548
BOOL(WINAPI * PFNWGLQUERYCURRENTCONTEXTNVPROC)(int iAttribute, int *piValue)
Definition: wglext.h:715
BOOL(WINAPI * PFNWGLQUERYPBUFFERARBPROC)(HPBUFFERARB hPbuffer, int iAttribute, int *piValue)
Definition: wglext.h:157
BOOL(WINAPI * PFNWGLGETGENLOCKSOURCEDELAYI3DPROC)(HDC hDC, UINT *uDelay)
Definition: wglext.h:556
LPVOID(WINAPI * PFNWGLCREATEIMAGEBUFFERI3DPROC)(HDC hDC, DWORD dwSize, UINT uFlags)
Definition: wglext.h:578
unsigned int GLuint
Definition: gl2.h:70
BOOL(WINAPI * PFNWGLGENLOCKSOURCEDELAYI3DPROC)(HDC hDC, UINT uDelay)
Definition: wglext.h:555
BOOL(WINAPI * PFNWGLSWAPINTERVALEXTPROC)(int interval)
Definition: wglext.h:493
BOOL(WINAPI * PFNWGLQUERYSWAPGROUPNVPROC)(HDC hDC, GLuint *group, GLuint *barrier)
Definition: wglext.h:743
BOOL(WINAPI * PFNWGLDXSETRESOURCESHAREHANDLENVPROC)(void *dxObject, HANDLE shareHandle)
Definition: wglext.h:623
GLenum GLenum GLsizei const GLuint * ids
Definition: gl2ext.h:133
CHAR DeviceString[128]
Definition: wglext.h:682
BOOL(WINAPI * PFNWGLDXOBJECTACCESSNVPROC)(HANDLE hObject, GLenum access)
Definition: wglext.h:628
BOOL(WINAPI * PFNWGLDELETEDCNVPROC)(HDC hdc)
Definition: wglext.h:693
BOOL(WINAPI * PFNWGLWAITFORSBCOMLPROC)(HDC hdc, INT64 target_sbc, INT64 *ust, INT64 *msc, INT64 *sbc)
Definition: wglext.h:825
EGLImageKHR EGLint * name
Definition: eglext.h:851
BOOL(WINAPI * PFNWGLDXLOCKOBJECTSNVPROC)(HANDLE hDevice, GLint count, HANDLE *hObjects)
Definition: wglext.h:629
EGLSurface EGLint EGLint y
Definition: eglext.h:950
WINAPI
Definition: RenderThemeWin.cpp:150
INT(WINAPI * PFNWGLGETGPUINFOAMDPROC)(UINT id, int property, GLenum dataType, UINT size, void *data)
Definition: wglext.h:318
BOOL(WINAPI * PFNWGLRELEASEVIDEOCAPTUREDEVICENVPROC)(HDC hDc, HVIDEOINPUTDEVICENV hDevice)
Definition: wglext.h:776
BOOL(WINAPI * PFNWGLGETGENLOCKSAMPLERATEI3DPROC)(HDC hDC, UINT *uRate)
Definition: wglext.h:554
GLint GLenum GLsizei GLsizei GLsizei depth
Definition: gl2ext.h:572
HANDLE(WINAPI * PFNWGLDXREGISTEROBJECTNVPROC)(HANDLE hDevice, void *dxObject, GLuint name, GLenum type, GLenum access)
Definition: wglext.h:626
BOOL(WINAPI * PFNWGLRELEASETEXIMAGEARBPROC)(HPBUFFERARB hPbuffer, int iBuffer)
Definition: wglext.h:269
BOOL(WINAPI * PFNWGLGETFRAMEUSAGEI3DPROC)(float *pUsage)
Definition: wglext.h:606
GLenum void ** pointer
Definition: gl2.h:460
HGLRC(WINAPI * PFNWGLCREATEASSOCIATEDCONTEXTAMDPROC)(UINT id)
Definition: wglext.h:320
BOOL(WINAPI * PFNWGLDESTROYPBUFFERARBPROC)(HPBUFFERARB hPbuffer)
Definition: wglext.h:156
BOOL(WINAPI * PFNWGLBINDTEXIMAGEARBPROC)(HPBUFFERARB hPbuffer, int iBuffer)
Definition: wglext.h:268
DWORD cb
Definition: wglext.h:680
BOOL(WINAPI * PFNWGLDESTROYIMAGEBUFFERI3DPROC)(HDC hDC, LPVOID pAddress)
Definition: wglext.h:579
GLint GLint GLint GLint GLint GLint GLint dstY1
Definition: gl2ext.h:818
BOOL(WINAPI * PFNWGLQUERYGENLOCKMAXSOURCEDELAYI3DPROC)(HDC hDC, UINT *uMaxLineDelay, UINT *uMaxPixelDelay)
Definition: wglext.h:557
BOOL(WINAPI * PFNWGLQUERYFRAMETRACKINGI3DPROC)(DWORD *pFrameCount, DWORD *pMissedFrames, float *pLastMissedUsage)
Definition: wglext.h:609
EGLenum type
Definition: eglext.h:63
HPBUFFERARB(WINAPI * PFNWGLCREATEPBUFFERARBPROC)(HDC hDC, int iPixelFormat, int iWidth, int iHeight, const int *piAttribList)
Definition: wglext.h:153
EGLStreamKHR EGLint EGLint EGLint const void * data
Definition: eglext.h:984
void *(WINAPI * PFNWGLALLOCATEMEMORYNVPROC)(GLsizei size, GLfloat readfreq, GLfloat writefreq, GLfloat priority)
Definition: wglext.h:759
DWORD Flags
Definition: wglext.h:683
GLint GLint GLint srcY1
Definition: gl2ext.h:818
GLenum GLint GLint GLint GLint GLuint GLenum GLint GLint GLint dstY
Definition: gl2ext.h:276
BOOL(WINAPI * PFNWGLBINDSWAPBARRIERNVPROC)(GLuint group, GLuint barrier)
Definition: wglext.h:742
BOOL(WINAPI * PFNWGLENUMGPUDEVICESNVPROC)(HGPUNV hGpu, UINT iDeviceIndex, PGPU_DEVICE lpGpuDevice)
Definition: wglext.h:690
BOOL(WINAPI * PFNWGLQUERYMAXSWAPGROUPSNVPROC)(HDC hDC, GLuint *maxGroups, GLuint *maxBarriers)
Definition: wglext.h:744
BOOL(WINAPI * PFNWGLGENLOCKSOURCEEDGEI3DPROC)(HDC hDC, UINT uEdge)
Definition: wglext.h:551
int(WINAPI * PFNWGLRELEASEPBUFFERDCEXTPROC)(HPBUFFEREXT hPbuffer, HDC hDC)
Definition: wglext.h:417
VOID(WINAPI * PFNWGLDELETEBUFFERREGIONARBPROC)(HANDLE hRegion)
Definition: wglext.h:62
HGLRC(WINAPI * PFNWGLCREATECONTEXTATTRIBSARBPROC)(HDC hDC, HGLRC hShareContext, const int *attribList)
Definition: wglext.h:89
HDC(WINAPI * PFNWGLGETPBUFFERDCARBPROC)(HPBUFFERARB hPbuffer)
Definition: wglext.h:154
unsigned char GLboolean
Definition: gl2.h:77
BOOL(WINAPI * PFNWGLDISABLEGENLOCKI3DPROC)(HDC hDC)
Definition: wglext.h:547
INT64(WINAPI * PFNWGLSWAPBUFFERSMSCOMLPROC)(HDC hdc, INT64 target_msc, INT64 divisor, INT64 remainder)
Definition: wglext.h:822
BOOL(WINAPI * PFNWGLENUMGPUSNVPROC)(UINT iGpuIndex, HGPUNV *phGpu)
Definition: wglext.h:689
struct _GPU_DEVICE * PGPU_DEVICE
Definition: wglext.h:686
EGLSurface EGLuint64KHR EGLuint64KHR * msc
Definition: EGLSyncControlTest.cpp:26
BOOL(WINAPI * PFNWGLDELAYBEFORESWAPNVPROC)(HDC hDC, GLfloat seconds)
Definition: wglext.h:657
int(WINAPI * PFNWGLGETSWAPINTERVALEXTPROC)(void)
Definition: wglext.h:494
GLint GLint srcX1
Definition: gl2ext.h:818
BOOL(WINAPI * PFNWGLASSOCIATEIMAGEBUFFEREVENTSI3DPROC)(HDC hDC, const HANDLE *pEvent, const LPVOID *pAddress, const DWORD *pSize, UINT count)
Definition: wglext.h:580
int GLsizei
Definition: gl2.h:78
EGLSurface EGLuint64KHR EGLuint64KHR EGLuint64KHR * sbc
Definition: EGLSyncControlTest.cpp:26
BOOL(WINAPI * PFNWGLGETMSCRATEOMLPROC)(HDC hdc, INT32 *numerator, INT32 *denominator)
Definition: wglext.h:821
GLenum GLint GLint GLint GLint GLuint GLenum GLint dstLevel
Definition: gl2ext.h:276
GLenum GLint GLint GLint srcY
Definition: gl2ext.h:276
BOOL(WINAPI * PFNWGLMAKECONTEXTCURRENTARBPROC)(HDC hDrawDC, HDC hReadDC, HGLRC hglrc)
Definition: wglext.h:128
BOOL(WINAPI * PFNWGLBINDVIDEOIMAGENVPROC)(HPVIDEODEV hVideoDevice, HPBUFFERARB hPbuffer, int iVideoBuffer)
Definition: wglext.h:804
unsigned int GLbitfield
Definition: gl2.h:75
BOOL(WINAPI * PFNWGLSETGAMMATABLEPARAMETERSI3DPROC)(HDC hDC, int iAttribute, const int *piValue)
Definition: wglext.h:524
BOOL(WINAPI * PFNWGLGETPIXELFORMATATTRIBFVARBPROC)(HDC hdc, int iPixelFormat, int iLayerPlane, UINT nAttributes, const int *piAttributes, FLOAT *pfValues)
Definition: wglext.h:219
HDC(WINAPI * PFNWGLGETPBUFFERDCEXTPROC)(HPBUFFEREXT hPbuffer)
Definition: wglext.h:416
BOOL(WINAPI * PFNWGLLOCKVIDEOCAPTUREDEVICENVPROC)(HDC hDc, HVIDEOINPUTDEVICENV hDevice)
Definition: wglext.h:774
BOOL(WINAPI * PFNWGLRESTOREBUFFERREGIONARBPROC)(HANDLE hRegion, int x, int y, int width, int height, int xSrc, int ySrc)
Definition: wglext.h:64
const char *(WINAPI * PFNWGLGETEXTENSIONSSTRINGARBPROC)(HDC hdc)
Definition: wglext.h:113
BOOL(WINAPI * PFNWGLBINDVIDEOCAPTUREDEVICENVPROC)(UINT uVideoSlot, HVIDEOINPUTDEVICENV hDevice)
Definition: wglext.h:772
BOOL(WINAPI * PFNWGLCHOOSEPIXELFORMATARBPROC)(HDC hdc, const int *piAttribIList, const FLOAT *pfAttribFList, UINT nMaxFormats, int *piFormats, UINT *nNumFormats)
Definition: wglext.h:220
BOOL(WINAPI * PFNWGLRELEASEIMAGEBUFFEREVENTSI3DPROC)(HDC hDC, const LPVOID *pAddress, UINT count)
Definition: wglext.h:581
BOOL(WINAPI * PFNWGLDXCLOSEDEVICENVPROC)(HANDLE hDevice)
Definition: wglext.h:625
GLboolean(WINAPI * PFNWGLCREATEDISPLAYCOLORTABLEEXTPROC)(GLushort id)
Definition: wglext.h:361
BOOL(WINAPI * PFNWGLQUERYFRAMECOUNTNVPROC)(HDC hDC, GLuint *count)
Definition: wglext.h:745
GLenum access
Definition: gl2ext.h:2317
DWORD LPVOID
Definition: WebKitDLL.cpp:70
unsigned short GLushort
Definition: gl2.h:64
BOOL(WINAPI * PFNWGLSETPBUFFERATTRIBARBPROC)(HPBUFFERARB hPbuffer, const int *piAttribList)
Definition: wglext.h:270
HDC(WINAPI * PFNWGLCREATEAFFINITYDCNVPROC)(const HGPUNV *phGpuList)
Definition: wglext.h:691
GLuint GLsizei GLsizei * length
Definition: gl2.h:435
INT64(WINAPI * PFNWGLSWAPLAYERBUFFERSMSCOMLPROC)(HDC hdc, int fuPlanes, INT64 target_msc, INT64 divisor, INT64 remainder)
Definition: wglext.h:823
BOOL(WINAPI * PFNWGLGENLOCKSOURCEI3DPROC)(HDC hDC, UINT uSource)
Definition: wglext.h:549
BOOL(WINAPI * PFNWGLQUERYVIDEOCAPTUREDEVICENVPROC)(HDC hDc, HVIDEOINPUTDEVICENV hDevice, int iAttribute, int *piValue)
Definition: wglext.h:775
GLenum GLint GLint GLint GLint GLuint GLenum GLint GLint dstX
Definition: gl2ext.h:276
BOOL(WINAPI * PFNWGLSENDPBUFFERTOVIDEONVPROC)(HPBUFFERARB hPbuffer, int iBufferType, unsigned long *pulCounterPbuffer, BOOL bBlock)
Definition: wglext.h:806