39 #if defined(_WIN32) && !defined(APIENTRY) && !defined(__CYGWIN__) && !defined(__SCITECH_SNAP__)
40 #define WIN32_LEAN_AND_MEAN 1
44 #define WGL_WGLEXT_VERSION 20130710
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
62 typedef VOID (WINAPI * PFNWGLDELETEBUFFERREGIONARBPROC) (
HANDLE hRegion);
65 #ifdef WGL_WGLEXT_PROTOTYPES
73 #ifndef WGL_ARB_create_context
74 #define WGL_ARB_create_context 1
75 #define WGL_CONTEXT_DEBUG_BIT_ARB 0x00000001
76 #define WGL_CONTEXT_FORWARD_COMPATIBLE_BIT_ARB 0x00000002
77 #define WGL_CONTEXT_MAJOR_VERSION_ARB 0x2091
78 #define WGL_CONTEXT_MINOR_VERSION_ARB 0x2092
79 #define WGL_CONTEXT_LAYER_PLANE_ARB 0x2093
80 #define WGL_CONTEXT_FLAGS_ARB 0x2094
81 #define ERROR_INVALID_VERSION_ARB 0x2095
83 #ifdef WGL_WGLEXT_PROTOTYPES
88 #ifndef WGL_ARB_create_context_profile
89 #define WGL_ARB_create_context_profile 1
90 #define WGL_CONTEXT_PROFILE_MASK_ARB 0x9126
91 #define WGL_CONTEXT_CORE_PROFILE_BIT_ARB 0x00000001
92 #define WGL_CONTEXT_COMPATIBILITY_PROFILE_BIT_ARB 0x00000002
93 #define ERROR_INVALID_PROFILE_ARB 0x2096
96 #ifndef WGL_ARB_create_context_robustness
97 #define WGL_ARB_create_context_robustness 1
98 #define WGL_CONTEXT_ROBUST_ACCESS_BIT_ARB 0x00000004
99 #define WGL_LOSE_CONTEXT_ON_RESET_ARB 0x8252
100 #define WGL_CONTEXT_RESET_NOTIFICATION_STRATEGY_ARB 0x8256
101 #define WGL_NO_RESET_NOTIFICATION_ARB 0x8261
104 #ifndef WGL_ARB_extensions_string
105 #define WGL_ARB_extensions_string 1
107 #ifdef WGL_WGLEXT_PROTOTYPES
112 #ifndef WGL_ARB_framebuffer_sRGB
113 #define WGL_ARB_framebuffer_sRGB 1
114 #define WGL_FRAMEBUFFER_SRGB_CAPABLE_ARB 0x20A9
117 #ifndef WGL_ARB_make_current_read
118 #define WGL_ARB_make_current_read 1
119 #define ERROR_INVALID_PIXEL_TYPE_ARB 0x2043
120 #define ERROR_INCOMPATIBLE_DEVICE_CONTEXTS_ARB 0x2054
122 typedef HDC (WINAPI * PFNWGLGETCURRENTREADDCARBPROC) (
void);
123 #ifdef WGL_WGLEXT_PROTOTYPES
129 #ifndef WGL_ARB_multisample
130 #define WGL_ARB_multisample 1
131 #define WGL_SAMPLE_BUFFERS_ARB 0x2041
132 #define WGL_SAMPLES_ARB 0x2042
135 #ifndef WGL_ARB_pbuffer
136 #define WGL_ARB_pbuffer 1
138 #define WGL_DRAW_TO_PBUFFER_ARB 0x202D
139 #define WGL_MAX_PBUFFER_PIXELS_ARB 0x202E
140 #define WGL_MAX_PBUFFER_WIDTH_ARB 0x202F
141 #define WGL_MAX_PBUFFER_HEIGHT_ARB 0x2030
142 #define WGL_PBUFFER_LARGEST_ARB 0x2033
143 #define WGL_PBUFFER_WIDTH_ARB 0x2034
144 #define WGL_PBUFFER_HEIGHT_ARB 0x2035
145 #define WGL_PBUFFER_LOST_ARB 0x2036
151 #ifdef WGL_WGLEXT_PROTOTYPES
160 #ifndef WGL_ARB_pixel_format
161 #define WGL_ARB_pixel_format 1
162 #define WGL_NUMBER_PIXEL_FORMATS_ARB 0x2000
163 #define WGL_DRAW_TO_WINDOW_ARB 0x2001
164 #define WGL_DRAW_TO_BITMAP_ARB 0x2002
165 #define WGL_ACCELERATION_ARB 0x2003
166 #define WGL_NEED_PALETTE_ARB 0x2004
167 #define WGL_NEED_SYSTEM_PALETTE_ARB 0x2005
168 #define WGL_SWAP_LAYER_BUFFERS_ARB 0x2006
169 #define WGL_SWAP_METHOD_ARB 0x2007
170 #define WGL_NUMBER_OVERLAYS_ARB 0x2008
171 #define WGL_NUMBER_UNDERLAYS_ARB 0x2009
172 #define WGL_TRANSPARENT_ARB 0x200A
173 #define WGL_TRANSPARENT_RED_VALUE_ARB 0x2037
174 #define WGL_TRANSPARENT_GREEN_VALUE_ARB 0x2038
175 #define WGL_TRANSPARENT_BLUE_VALUE_ARB 0x2039
176 #define WGL_TRANSPARENT_ALPHA_VALUE_ARB 0x203A
177 #define WGL_TRANSPARENT_INDEX_VALUE_ARB 0x203B
178 #define WGL_SHARE_DEPTH_ARB 0x200C
179 #define WGL_SHARE_STENCIL_ARB 0x200D
180 #define WGL_SHARE_ACCUM_ARB 0x200E
181 #define WGL_SUPPORT_GDI_ARB 0x200F
182 #define WGL_SUPPORT_OPENGL_ARB 0x2010
183 #define WGL_DOUBLE_BUFFER_ARB 0x2011
184 #define WGL_STEREO_ARB 0x2012
185 #define WGL_PIXEL_TYPE_ARB 0x2013
186 #define WGL_COLOR_BITS_ARB 0x2014
187 #define WGL_RED_BITS_ARB 0x2015
188 #define WGL_RED_SHIFT_ARB 0x2016
189 #define WGL_GREEN_BITS_ARB 0x2017
190 #define WGL_GREEN_SHIFT_ARB 0x2018
191 #define WGL_BLUE_BITS_ARB 0x2019
192 #define WGL_BLUE_SHIFT_ARB 0x201A
193 #define WGL_ALPHA_BITS_ARB 0x201B
194 #define WGL_ALPHA_SHIFT_ARB 0x201C
195 #define WGL_ACCUM_BITS_ARB 0x201D
196 #define WGL_ACCUM_RED_BITS_ARB 0x201E
197 #define WGL_ACCUM_GREEN_BITS_ARB 0x201F
198 #define WGL_ACCUM_BLUE_BITS_ARB 0x2020
199 #define WGL_ACCUM_ALPHA_BITS_ARB 0x2021
200 #define WGL_DEPTH_BITS_ARB 0x2022
201 #define WGL_STENCIL_BITS_ARB 0x2023
202 #define WGL_AUX_BUFFERS_ARB 0x2024
203 #define WGL_NO_ACCELERATION_ARB 0x2025
204 #define WGL_GENERIC_ACCELERATION_ARB 0x2026
205 #define WGL_FULL_ACCELERATION_ARB 0x2027
206 #define WGL_SWAP_EXCHANGE_ARB 0x2028
207 #define WGL_SWAP_COPY_ARB 0x2029
208 #define WGL_SWAP_UNDEFINED_ARB 0x202A
209 #define WGL_TYPE_RGBA_ARB 0x202B
210 #define WGL_TYPE_COLORINDEX_ARB 0x202C
214 #ifdef WGL_WGLEXT_PROTOTYPES
221 #ifndef WGL_ARB_pixel_format_float
222 #define WGL_ARB_pixel_format_float 1
223 #define WGL_TYPE_RGBA_FLOAT_ARB 0x21A0
226 #ifndef WGL_ARB_render_texture
227 #define WGL_ARB_render_texture 1
228 #define WGL_BIND_TO_TEXTURE_RGB_ARB 0x2070
229 #define WGL_BIND_TO_TEXTURE_RGBA_ARB 0x2071
230 #define WGL_TEXTURE_FORMAT_ARB 0x2072
231 #define WGL_TEXTURE_TARGET_ARB 0x2073
232 #define WGL_MIPMAP_TEXTURE_ARB 0x2074
233 #define WGL_TEXTURE_RGB_ARB 0x2075
234 #define WGL_TEXTURE_RGBA_ARB 0x2076
235 #define WGL_NO_TEXTURE_ARB 0x2077
236 #define WGL_TEXTURE_CUBE_MAP_ARB 0x2078
237 #define WGL_TEXTURE_1D_ARB 0x2079
238 #define WGL_TEXTURE_2D_ARB 0x207A
239 #define WGL_MIPMAP_LEVEL_ARB 0x207B
240 #define WGL_CUBE_MAP_FACE_ARB 0x207C
241 #define WGL_TEXTURE_CUBE_MAP_POSITIVE_X_ARB 0x207D
242 #define WGL_TEXTURE_CUBE_MAP_NEGATIVE_X_ARB 0x207E
243 #define WGL_TEXTURE_CUBE_MAP_POSITIVE_Y_ARB 0x207F
244 #define WGL_TEXTURE_CUBE_MAP_NEGATIVE_Y_ARB 0x2080
245 #define WGL_TEXTURE_CUBE_MAP_POSITIVE_Z_ARB 0x2081
246 #define WGL_TEXTURE_CUBE_MAP_NEGATIVE_Z_ARB 0x2082
247 #define WGL_FRONT_LEFT_ARB 0x2083
248 #define WGL_FRONT_RIGHT_ARB 0x2084
249 #define WGL_BACK_LEFT_ARB 0x2085
250 #define WGL_BACK_RIGHT_ARB 0x2086
251 #define WGL_AUX0_ARB 0x2087
252 #define WGL_AUX1_ARB 0x2088
253 #define WGL_AUX2_ARB 0x2089
254 #define WGL_AUX3_ARB 0x208A
255 #define WGL_AUX4_ARB 0x208B
256 #define WGL_AUX5_ARB 0x208C
257 #define WGL_AUX6_ARB 0x208D
258 #define WGL_AUX7_ARB 0x208E
259 #define WGL_AUX8_ARB 0x208F
260 #define WGL_AUX9_ARB 0x2090
264 #ifdef WGL_WGLEXT_PROTOTYPES
271 #ifndef WGL_ARB_robustness_application_isolation
272 #define WGL_ARB_robustness_application_isolation 1
273 #define WGL_CONTEXT_RESET_ISOLATION_BIT_ARB 0x00000008
276 #ifndef WGL_ARB_robustness_share_group_isolation
277 #define WGL_ARB_robustness_share_group_isolation 1
280 #ifndef WGL_3DFX_multisample
281 #define WGL_3DFX_multisample 1
282 #define WGL_SAMPLE_BUFFERS_3DFX 0x2060
283 #define WGL_SAMPLES_3DFX 0x2061
286 #ifndef WGL_3DL_stereo_control
287 #define WGL_3DL_stereo_control 1
288 #define WGL_STEREO_EMITTER_ENABLE_3DL 0x2055
289 #define WGL_STEREO_EMITTER_DISABLE_3DL 0x2056
290 #define WGL_STEREO_POLARITY_NORMAL_3DL 0x2057
291 #define WGL_STEREO_POLARITY_INVERT_3DL 0x2058
293 #ifdef WGL_WGLEXT_PROTOTYPES
298 #ifndef WGL_AMD_gpu_association
299 #define WGL_AMD_gpu_association 1
300 #define WGL_GPU_VENDOR_AMD 0x1F00
301 #define WGL_GPU_RENDERER_STRING_AMD 0x1F01
302 #define WGL_GPU_OPENGL_VERSION_STRING_AMD 0x1F02
303 #define WGL_GPU_FASTEST_TARGET_GPUS_AMD 0x21A2
304 #define WGL_GPU_RAM_AMD 0x21A3
305 #define WGL_GPU_CLOCK_AMD 0x21A4
306 #define WGL_GPU_NUM_PIPES_AMD 0x21A5
307 #define WGL_GPU_NUM_SIMD_AMD 0x21A6
308 #define WGL_GPU_NUM_RB_AMD 0x21A7
309 #define WGL_GPU_NUM_SPI_AMD 0x21A8
312 typedef UINT (WINAPI * PFNWGLGETCONTEXTGPUIDAMDPROC) (
HGLRC hglrc);
313 typedef HGLRC (WINAPI * PFNWGLCREATEASSOCIATEDCONTEXTAMDPROC) (
UINT id);
315 typedef BOOL (WINAPI * PFNWGLDELETEASSOCIATEDCONTEXTAMDPROC) (
HGLRC hglrc);
316 typedef BOOL (WINAPI * PFNWGLMAKEASSOCIATEDCONTEXTCURRENTAMDPROC) (
HGLRC hglrc);
317 typedef HGLRC (WINAPI * PFNWGLGETCURRENTASSOCIATEDCONTEXTAMDPROC) (
void);
318 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);
319 #ifdef WGL_WGLEXT_PROTOTYPES
328 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);
332 #ifndef WGL_ATI_pixel_format_float
333 #define WGL_ATI_pixel_format_float 1
334 #define WGL_TYPE_RGBA_FLOAT_ATI 0x21A0
337 #ifndef WGL_EXT_create_context_es2_profile
338 #define WGL_EXT_create_context_es2_profile 1
339 #define WGL_CONTEXT_ES2_PROFILE_BIT_EXT 0x00000004
342 #ifndef WGL_EXT_create_context_es_profile
343 #define WGL_EXT_create_context_es_profile 1
344 #define WGL_CONTEXT_ES_PROFILE_BIT_EXT 0x00000004
347 #ifndef WGL_EXT_depth_float
348 #define WGL_EXT_depth_float 1
349 #define WGL_DEPTH_FLOAT_EXT 0x2040
352 #ifndef WGL_EXT_display_color_table
353 #define WGL_EXT_display_color_table 1
357 typedef VOID (WINAPI * PFNWGLDESTROYDISPLAYCOLORTABLEEXTPROC) (
GLushort id);
358 #ifdef WGL_WGLEXT_PROTOTYPES
366 #ifndef WGL_EXT_extensions_string
367 #define WGL_EXT_extensions_string 1
369 #ifdef WGL_WGLEXT_PROTOTYPES
374 #ifndef WGL_EXT_framebuffer_sRGB
375 #define WGL_EXT_framebuffer_sRGB 1
376 #define WGL_FRAMEBUFFER_SRGB_CAPABLE_EXT 0x20A9
379 #ifndef WGL_EXT_make_current_read
380 #define WGL_EXT_make_current_read 1
381 #define ERROR_INVALID_PIXEL_TYPE_EXT 0x2043
383 typedef HDC (WINAPI * PFNWGLGETCURRENTREADDCEXTPROC) (
void);
384 #ifdef WGL_WGLEXT_PROTOTYPES
390 #ifndef WGL_EXT_multisample
391 #define WGL_EXT_multisample 1
392 #define WGL_SAMPLE_BUFFERS_EXT 0x2041
393 #define WGL_SAMPLES_EXT 0x2042
396 #ifndef WGL_EXT_pbuffer
397 #define WGL_EXT_pbuffer 1
399 #define WGL_DRAW_TO_PBUFFER_EXT 0x202D
400 #define WGL_MAX_PBUFFER_PIXELS_EXT 0x202E
401 #define WGL_MAX_PBUFFER_WIDTH_EXT 0x202F
402 #define WGL_MAX_PBUFFER_HEIGHT_EXT 0x2030
403 #define WGL_OPTIMAL_PBUFFER_WIDTH_EXT 0x2031
404 #define WGL_OPTIMAL_PBUFFER_HEIGHT_EXT 0x2032
405 #define WGL_PBUFFER_LARGEST_EXT 0x2033
406 #define WGL_PBUFFER_WIDTH_EXT 0x2034
407 #define WGL_PBUFFER_HEIGHT_EXT 0x2035
413 #ifdef WGL_WGLEXT_PROTOTYPES
422 #ifndef WGL_EXT_pixel_format
423 #define WGL_EXT_pixel_format 1
424 #define WGL_NUMBER_PIXEL_FORMATS_EXT 0x2000
425 #define WGL_DRAW_TO_WINDOW_EXT 0x2001
426 #define WGL_DRAW_TO_BITMAP_EXT 0x2002
427 #define WGL_ACCELERATION_EXT 0x2003
428 #define WGL_NEED_PALETTE_EXT 0x2004
429 #define WGL_NEED_SYSTEM_PALETTE_EXT 0x2005
430 #define WGL_SWAP_LAYER_BUFFERS_EXT 0x2006
431 #define WGL_SWAP_METHOD_EXT 0x2007
432 #define WGL_NUMBER_OVERLAYS_EXT 0x2008
433 #define WGL_NUMBER_UNDERLAYS_EXT 0x2009
434 #define WGL_TRANSPARENT_EXT 0x200A
435 #define WGL_TRANSPARENT_VALUE_EXT 0x200B
436 #define WGL_SHARE_DEPTH_EXT 0x200C
437 #define WGL_SHARE_STENCIL_EXT 0x200D
438 #define WGL_SHARE_ACCUM_EXT 0x200E
439 #define WGL_SUPPORT_GDI_EXT 0x200F
440 #define WGL_SUPPORT_OPENGL_EXT 0x2010
441 #define WGL_DOUBLE_BUFFER_EXT 0x2011
442 #define WGL_STEREO_EXT 0x2012
443 #define WGL_PIXEL_TYPE_EXT 0x2013
444 #define WGL_COLOR_BITS_EXT 0x2014
445 #define WGL_RED_BITS_EXT 0x2015
446 #define WGL_RED_SHIFT_EXT 0x2016
447 #define WGL_GREEN_BITS_EXT 0x2017
448 #define WGL_GREEN_SHIFT_EXT 0x2018
449 #define WGL_BLUE_BITS_EXT 0x2019
450 #define WGL_BLUE_SHIFT_EXT 0x201A
451 #define WGL_ALPHA_BITS_EXT 0x201B
452 #define WGL_ALPHA_SHIFT_EXT 0x201C
453 #define WGL_ACCUM_BITS_EXT 0x201D
454 #define WGL_ACCUM_RED_BITS_EXT 0x201E
455 #define WGL_ACCUM_GREEN_BITS_EXT 0x201F
456 #define WGL_ACCUM_BLUE_BITS_EXT 0x2020
457 #define WGL_ACCUM_ALPHA_BITS_EXT 0x2021
458 #define WGL_DEPTH_BITS_EXT 0x2022
459 #define WGL_STENCIL_BITS_EXT 0x2023
460 #define WGL_AUX_BUFFERS_EXT 0x2024
461 #define WGL_NO_ACCELERATION_EXT 0x2025
462 #define WGL_GENERIC_ACCELERATION_EXT 0x2026
463 #define WGL_FULL_ACCELERATION_EXT 0x2027
464 #define WGL_SWAP_EXCHANGE_EXT 0x2028
465 #define WGL_SWAP_COPY_EXT 0x2029
466 #define WGL_SWAP_UNDEFINED_EXT 0x202A
467 #define WGL_TYPE_RGBA_EXT 0x202B
468 #define WGL_TYPE_COLORINDEX_EXT 0x202C
472 #ifdef WGL_WGLEXT_PROTOTYPES
479 #ifndef WGL_EXT_pixel_format_packed_float
480 #define WGL_EXT_pixel_format_packed_float 1
481 #define WGL_TYPE_RGBA_UNSIGNED_FLOAT_EXT 0x20A8
484 #ifndef WGL_EXT_swap_control
485 #define WGL_EXT_swap_control 1
486 typedef BOOL (WINAPI * PFNWGLSWAPINTERVALEXTPROC) (
int interval);
487 typedef int (WINAPI * PFNWGLGETSWAPINTERVALEXTPROC) (
void);
488 #ifdef WGL_WGLEXT_PROTOTYPES
494 #ifndef WGL_EXT_swap_control_tear
495 #define WGL_EXT_swap_control_tear 1
498 #ifndef WGL_I3D_digital_video_control
499 #define WGL_I3D_digital_video_control 1
500 #define WGL_DIGITAL_VIDEO_CURSOR_ALPHA_FRAMEBUFFER_I3D 0x2050
501 #define WGL_DIGITAL_VIDEO_CURSOR_ALPHA_VALUE_I3D 0x2051
502 #define WGL_DIGITAL_VIDEO_CURSOR_INCLUDED_I3D 0x2052
503 #define WGL_DIGITAL_VIDEO_GAMMA_CORRECTED_I3D 0x2053
506 #ifdef WGL_WGLEXT_PROTOTYPES
512 #ifndef WGL_I3D_gamma
513 #define WGL_I3D_gamma 1
514 #define WGL_GAMMA_TABLE_SIZE_I3D 0x204E
515 #define WGL_GAMMA_EXCLUDE_DESKTOP_I3D 0x204F
520 #ifdef WGL_WGLEXT_PROTOTYPES
528 #ifndef WGL_I3D_genlock
529 #define WGL_I3D_genlock 1
530 #define WGL_GENLOCK_SOURCE_MULTIVIEW_I3D 0x2044
531 #define WGL_GENLOCK_SOURCE_EXTERNAL_SYNC_I3D 0x2045
532 #define WGL_GENLOCK_SOURCE_EXTERNAL_FIELD_I3D 0x2046
533 #define WGL_GENLOCK_SOURCE_EXTERNAL_TTL_I3D 0x2047
534 #define WGL_GENLOCK_SOURCE_DIGITAL_SYNC_I3D 0x2048
535 #define WGL_GENLOCK_SOURCE_DIGITAL_FIELD_I3D 0x2049
536 #define WGL_GENLOCK_SOURCE_EDGE_FALLING_I3D 0x204A
537 #define WGL_GENLOCK_SOURCE_EDGE_RISING_I3D 0x204B
538 #define WGL_GENLOCK_SOURCE_EDGE_BOTH_I3D 0x204C
539 typedef BOOL (WINAPI * PFNWGLENABLEGENLOCKI3DPROC) (
HDC hDC);
540 typedef BOOL (WINAPI * PFNWGLDISABLEGENLOCKI3DPROC) (
HDC hDC);
551 #ifdef WGL_WGLEXT_PROTOTYPES
567 #ifndef WGL_I3D_image_buffer
568 #define WGL_I3D_image_buffer 1
569 #define WGL_IMAGE_BUFFER_MIN_ACCESS_I3D 0x00000001
570 #define WGL_IMAGE_BUFFER_LOCK_I3D 0x00000002
575 #ifdef WGL_WGLEXT_PROTOTYPES
583 #ifndef WGL_I3D_swap_frame_lock
584 #define WGL_I3D_swap_frame_lock 1
585 typedef BOOL (WINAPI * PFNWGLENABLEFRAMELOCKI3DPROC) (
void);
586 typedef BOOL (WINAPI * PFNWGLDISABLEFRAMELOCKI3DPROC) (
void);
587 typedef BOOL (WINAPI * PFNWGLISENABLEDFRAMELOCKI3DPROC) (
BOOL *
pFlag);
588 typedef BOOL (WINAPI * PFNWGLQUERYFRAMELOCKMASTERI3DPROC) (
BOOL *
pFlag);
589 #ifdef WGL_WGLEXT_PROTOTYPES
597 #ifndef WGL_I3D_swap_frame_usage
598 #define WGL_I3D_swap_frame_usage 1
599 typedef BOOL (WINAPI * PFNWGLGETFRAMEUSAGEI3DPROC) (
float *pUsage);
600 typedef BOOL (WINAPI * PFNWGLBEGINFRAMETRACKINGI3DPROC) (
void);
601 typedef BOOL (WINAPI * PFNWGLENDFRAMETRACKINGI3DPROC) (
void);
603 #ifdef WGL_WGLEXT_PROTOTYPES
611 #ifndef WGL_NV_DX_interop
612 #define WGL_NV_DX_interop 1
613 #define WGL_ACCESS_READ_ONLY_NV 0x00000000
614 #define WGL_ACCESS_READ_WRITE_NV 0x00000001
615 #define WGL_ACCESS_WRITE_DISCARD_NV 0x00000002
617 typedef HANDLE (WINAPI * PFNWGLDXOPENDEVICENVPROC) (
void *dxDevice);
624 #ifdef WGL_WGLEXT_PROTOTYPES
636 #ifndef WGL_NV_DX_interop2
637 #define WGL_NV_DX_interop2 1
640 #ifndef WGL_NV_copy_image
641 #define WGL_NV_copy_image 1
642 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);
643 #ifdef WGL_WGLEXT_PROTOTYPES
644 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);
648 #ifndef WGL_NV_float_buffer
649 #define WGL_NV_float_buffer 1
650 #define WGL_FLOAT_COMPONENTS_NV 0x20B0
651 #define WGL_BIND_TO_TEXTURE_RECTANGLE_FLOAT_R_NV 0x20B1
652 #define WGL_BIND_TO_TEXTURE_RECTANGLE_FLOAT_RG_NV 0x20B2
653 #define WGL_BIND_TO_TEXTURE_RECTANGLE_FLOAT_RGB_NV 0x20B3
654 #define WGL_BIND_TO_TEXTURE_RECTANGLE_FLOAT_RGBA_NV 0x20B4
655 #define WGL_TEXTURE_FLOAT_R_NV 0x20B5
656 #define WGL_TEXTURE_FLOAT_RG_NV 0x20B6
657 #define WGL_TEXTURE_FLOAT_RGB_NV 0x20B7
658 #define WGL_TEXTURE_FLOAT_RGBA_NV 0x20B8
661 #ifndef WGL_NV_gpu_affinity
662 #define WGL_NV_gpu_affinity 1
672 #define ERROR_INCOMPATIBLE_AFFINITY_MASKS_NV 0x20D0
673 #define ERROR_MISSING_AFFINITY_MASK_NV 0x20D1
676 typedef HDC (WINAPI * PFNWGLCREATEAFFINITYDCNVPROC) (
const HGPUNV *phGpuList);
678 typedef BOOL (WINAPI * PFNWGLDELETEDCNVPROC) (
HDC hdc);
679 #ifdef WGL_WGLEXT_PROTOTYPES
688 #ifndef WGL_NV_multisample_coverage
689 #define WGL_NV_multisample_coverage 1
690 #define WGL_COVERAGE_SAMPLES_NV 0x2042
691 #define WGL_COLOR_SAMPLES_NV 0x20B9
694 #ifndef WGL_NV_present_video
695 #define WGL_NV_present_video 1
697 #define WGL_NUM_VIDEO_SLOTS_NV 0x20F0
701 #ifdef WGL_WGLEXT_PROTOTYPES
708 #ifndef WGL_NV_render_depth_texture
709 #define WGL_NV_render_depth_texture 1
710 #define WGL_BIND_TO_TEXTURE_DEPTH_NV 0x20A3
711 #define WGL_BIND_TO_TEXTURE_RECTANGLE_DEPTH_NV 0x20A4
712 #define WGL_DEPTH_TEXTURE_FORMAT_NV 0x20A5
713 #define WGL_TEXTURE_DEPTH_COMPONENT_NV 0x20A6
714 #define WGL_DEPTH_COMPONENT_NV 0x20A7
717 #ifndef WGL_NV_render_texture_rectangle
718 #define WGL_NV_render_texture_rectangle 1
719 #define WGL_BIND_TO_TEXTURE_RECTANGLE_RGB_NV 0x20A0
720 #define WGL_BIND_TO_TEXTURE_RECTANGLE_RGBA_NV 0x20A1
721 #define WGL_TEXTURE_RECTANGLE_NV 0x20A2
724 #ifndef WGL_NV_swap_group
725 #define WGL_NV_swap_group 1
731 typedef BOOL (WINAPI * PFNWGLRESETFRAMECOUNTNVPROC) (
HDC hDC);
732 #ifdef WGL_WGLEXT_PROTOTYPES
742 #ifndef WGL_NV_vertex_array_range
743 #define WGL_NV_vertex_array_range 1
745 typedef void (WINAPI * PFNWGLFREEMEMORYNVPROC) (
void *
pointer);
746 #ifdef WGL_WGLEXT_PROTOTYPES
752 #ifndef WGL_NV_video_capture
753 #define WGL_NV_video_capture 1
755 #define WGL_UNIQUE_ID_NV 0x20CE
756 #define WGL_NUM_VIDEO_CAPTURE_SLOTS_NV 0x20CF
758 typedef UINT (WINAPI * PFNWGLENUMERATEVIDEOCAPTUREDEVICESNVPROC) (
HDC hDc, HVIDEOINPUTDEVICENV *
phDeviceList);
759 typedef BOOL (WINAPI * PFNWGLLOCKVIDEOCAPTUREDEVICENVPROC) (
HDC hDc, HVIDEOINPUTDEVICENV
hDevice);
761 typedef BOOL (WINAPI * PFNWGLRELEASEVIDEOCAPTUREDEVICENVPROC) (
HDC hDc, HVIDEOINPUTDEVICENV
hDevice);
762 #ifdef WGL_WGLEXT_PROTOTYPES
771 #ifndef WGL_NV_video_output
772 #define WGL_NV_video_output 1
774 #define WGL_BIND_TO_VIDEO_RGB_NV 0x20C0
775 #define WGL_BIND_TO_VIDEO_RGBA_NV 0x20C1
776 #define WGL_BIND_TO_VIDEO_RGB_AND_DEPTH_NV 0x20C2
777 #define WGL_VIDEO_OUT_COLOR_NV 0x20C3
778 #define WGL_VIDEO_OUT_ALPHA_NV 0x20C4
779 #define WGL_VIDEO_OUT_DEPTH_NV 0x20C5
780 #define WGL_VIDEO_OUT_COLOR_AND_ALPHA_NV 0x20C6
781 #define WGL_VIDEO_OUT_COLOR_AND_DEPTH_NV 0x20C7
782 #define WGL_VIDEO_OUT_FRAME 0x20C8
783 #define WGL_VIDEO_OUT_FIELD_1 0x20C9
784 #define WGL_VIDEO_OUT_FIELD_2 0x20CA
785 #define WGL_VIDEO_OUT_STACKED_FIELDS_1_2 0x20CB
786 #define WGL_VIDEO_OUT_STACKED_FIELDS_2_1 0x20CC
788 typedef BOOL (WINAPI * PFNWGLRELEASEVIDEODEVICENVPROC) (HPVIDEODEV
hVideoDevice);
793 #ifdef WGL_WGLEXT_PROTOTYPES
803 #ifndef WGL_OML_sync_control
804 #define WGL_OML_sync_control 1
811 #ifdef WGL_WGLEXT_PROTOTYPES
#define wglSwapBuffersMscOML
INT32 INT32 * denominator
#define wglReleaseImageBufferEventsI3D
#define wglGetGammaTableI3D
#define wglGetGenlockSourceEdgeI3D
#define wglEnumGpuDevicesNV
GLenum GLsizei GLenum GLenum const GLvoid * table
#define wglCreateImageBufferI3D
#define wglGetPixelFormatAttribivARB
#define wglRestoreBufferRegionARB
#define wglBlitContextFramebufferAMD
#define wglGetCurrentReadDCEXT
#define wglReleaseVideoCaptureDeviceNV
#define wglSaveBufferRegionARB
#define wglBindSwapBarrierNV
#define wglMakeContextCurrentEXT
#define wglSwapIntervalEXT
#define wglResetFrameCountNV
GLint GLenum GLsizei GLsizei GLsizei GLint GLenum GLenum type
#define wglSetStereoEmitterState3DL
GLvoid **typedef void(GLAPIENTRY *PFNGLGETVERTEXATTRIBDVPROC)(GLuint
GLenum GLint GLint GLint GLint GLuint GLenum GLint GLint GLint dstY
#define wglGetVideoInfoNV
int int UINT const int int * piValues
typedef INT(WINAPI *PFNWGLGETGPUINFOAMDPROC)(UINT id
#define wglDisableGenlockI3D
int USHORT USHORT USHORT * puBlue
GLint GLint GLint GLint GLint GLint GLint GLbitfield GLenum filter
#define wglGetPixelFormatAttribivEXT
#define wglLoadDisplayColorTableEXT
int USHORT USHORT * puGreen
#define wglCreateAssociatedContextAMD
void *WINAPI * PFNWGLALLOCATEMEMORYNVPROC(GLsizei size, GLfloat readFrequency, GLfloat writeFrequency, GLfloat priority)
#define wglGetGenlockSampleRateI3D
GLenum GLint GLint GLint GLint GLuint GLenum dstTarget
GLint GLint GLint GLint GLint GLint GLint dstY1
#define wglEndFrameTrackingI3D
#define wglQueryPbufferARB
#define wglBindVideoCaptureDeviceNV
#define wglJoinSwapGroupNV
#define wglGetPbufferDCEXT
unsigned int HVIDEOOUTPUTDEVICENV hVideoDevice
#define wglChoosePixelFormatEXT
#define wglDeleteAssociatedContextAMD
EGLSurface EGLint EGLint EGLint EGLint height
#define wglIsEnabledFrameLockI3D
#define wglCreateBufferRegionARB
#define wglLockVideoCaptureDeviceNV
const char *WINAPI * PFNWGLGETEXTENSIONSSTRINGARBPROC(HDC hdc)
#define wglSetGammaTableParametersI3D
GLint GLint GLint GLint dstX0
#define wglCreateAffinityDCNV
EGLImageKHR EGLint * name
#define wglChoosePixelFormatARB
#define wglDXSetResourceShareHandleNV
#define wglCreatePbufferEXT
#define wglMakeAssociatedContextCurrentAMD
#define wglGenlockSourceEdgeI3D
#define wglEnumerateVideoDevicesNV
#define wglSetGammaTableI3D
typedef UINT(WINAPI *PFNWGLGETCONTEXTGPUIDAMDPROC)(HGLRC hglrc)
const int const FLOAT UINT int UINT * nNumFormats
#define wglGetGenlockSourceDelayI3D
GLenum GLint GLint GLint GLint srcZ
#define wglGetPixelFormatAttribfvARB
unsigned long unsigned long * pulCounterOutputVideo
UINT PGPU_DEVICE lpGpuDevice
#define wglQueryVideoCaptureDeviceNV
GLsizei const GLvoid * pointer
typedef HDC(WINAPI *PFNWGLGETCURRENTREADDCARBPROC)(VOID)
#define wglGenlockSourceI3D
#define wglDXUnlockObjectsNV
const int const FLOAT UINT nMaxFormats
#define wglDestroyImageBufferI3D
int unsigned long BOOL bBlock
#define wglEnumerateVideoCaptureDevicesNV
HVIDEOOUTPUTDEVICENV * phDeviceList
#define wglIsEnabledGenlockI3D
#define wglDXUnregisterObjectNV
#define wglQueryFrameCountNV
unsigned long * pulCounterOutputPbuffer
int int UINT const int * piAttributes
#define wglDXCloseDeviceNV
typedef HANDLE(WINAPI *PFNWGLCREATEBUFFERREGIONARBPROC)(HDC hDC
#define wglEnumGpusFromAffinityDCNV
GLint GLenum GLsizei GLsizei GLsizei GLint GLsizei const GLvoid * data
#define wglReleaseTexImageARB
GLenum GLint GLint GLint GLint GLuint dstName
HANDLE LPVOID DWORD * pSize
#define wglEnableGenlockI3D
EGLSurface EGLint EGLint EGLint width
#define wglGenlockSampleRateI3D
#define wglBindDisplayColorTableEXT
#define wglDXLockObjectsNV
#define wglDisableFrameLockI3D
UINT UINT * uMaxPixelDelay
#define wglSetDigitalVideoParametersI3D
#define wglReleaseVideoImageNV
#define wglMakeContextCurrentARB
#define wglQueryFrameLockMasterI3D
struct _GPU_DEVICE * PGPU_DEVICE
#define wglGetSyncValuesOML
#define wglGetSwapIntervalEXT
#define wglReleasePbufferDCARB
#define wglDXObjectAccessNV
#define wglDestroyPbufferARB
DWORD float * pLastMissedUsage
#define wglGetPixelFormatAttribfvEXT
const int const FLOAT * pfAttribFList
#define wglGetPbufferDCARB
GLint GLenum GLsizei GLsizei GLsizei depth
GLenum GLint GLint GLint GLint GLuint GLenum GLint GLint GLint GLint dstZ
typedef HGLRC(WINAPI *PFNWGLCREATEASSOCIATEDCONTEXTAMDPROC)(UINT id)
#define wglGetContextGPUIDAMD
GLenum GLint GLint GLint GLint GLuint GLenum GLint dstLevel
#define wglSendPbufferToVideoNV
GLint GLint GLint GLint GLint GLint dstX1
#define wglGetFrameUsageI3D
#define wglSetPbufferAttribARB
const char *WINAPI * PFNWGLGETEXTENSIONSSTRINGEXTPROC(void)
#define wglGetCurrentAssociatedContextAMD
typedef LPVOID(WINAPI *PFNWGLCREATEIMAGEBUFFERI3DPROC)(HDC hDC
#define wglQueryCurrentContextNV
#define wglGetDigitalVideoParametersI3D
EGLSurface EGLint EGLint y
const int * piAttribIList
int int int const int * piAttribList
#define wglGenlockSourceDelayI3D
#define wglCreateAssociatedContextAttribsAMD
#define wglDestroyPbufferEXT
#define wglGetVideoDeviceNV
GLuint GLuint * maxBarriers
GLuint GLenum GLint GLint GLint GLint HGLRC hDstRC
#define wglQueryFrameTrackingI3D
const int const FLOAT UINT int * piFormats
#define wglGetExtensionsStringEXT
typedef DWORD(WINAPI *XInputGetState_t)(DWORD dwUserIndex
#define wglQueryMaxSwapGroupsNV
#define wglBindVideoDeviceNV
int int int int int int ySrc
typedef HPBUFFEREXT(WINAPI *PFNWGLCREATEPBUFFEREXTPROC)(HDC hDC
#define wglQuerySwapGroupNV
#define wglBeginFrameTrackingI3D
GLint GLint GLint GLint GLint GLint GLint GLbitfield mask
#define wglGetGenlockSourceI3D
#define wglBindTexImageARB
#define wglDXOpenDeviceNV
GLenum GLint GLint GLint srcY
HVIDEOINPUTDEVICENV hDevice
#define wglCopyImageSubDataNV
#define wglGetCurrentReadDCARB
#define wglDestroyDisplayColorTableEXT
#define wglAssociateImageBufferEventsI3D
DECLARE_HANDLE(HPBUFFERARB)
#define wglReleaseVideoDeviceNV
#define wglQueryGenlockMaxSourceDelayI3D
#define wglDeleteBufferRegionARB
#define wglQueryPbufferEXT
#define wglReleasePbufferDCEXT
int unsigned long * pulCounterPbuffer
#define wglCreateDisplayColorTableEXT
#define wglBindVideoImageNV
HPBUFFERARB int iVideoBuffer
int int UINT const int FLOAT * pfValues
GLint GLint GLint GLint GLint dstY0
#define wglAllocateMemoryNV
#define wglSwapLayerBuffersMscOML
#define wglEnableFrameLockI3D
HGLRC const int * attribList
typedef HPBUFFERARB(WINAPI *PFNWGLCREATEPBUFFERARBPROC)(HDC hDC
typedef INT64(WINAPI *PFNWGLSWAPBUFFERSMSCOMLPROC)(HDC hdc
typedef VOID(WINAPI *PFNWGLBLITCONTEXTFRAMEBUFFERAMDPROC)(HGLRC dstCtx
GLenum GLint GLint GLint GLint GLuint GLenum GLint GLint dstX
#define wglGetExtensionsStringARB
INT64 INT64 INT64 remainder
#define wglCreateContextAttribsARB
#define wglDXRegisterObjectNV
typedef BOOL(WINAPI *PFNWGLSETSTEREOEMITTERSTATE3DLPROC)(HDC hDC
#define wglCreatePbufferARB
#define wglGetGammaTableParametersI3D