ReactOS 0.4.15-dev-7842-g558ab78
wglext.h
Go to the documentation of this file.
1#ifndef __wglext_h_
2#define __wglext_h_
3
4#ifdef __cplusplus
5extern "C" {
6#endif
7
8/*
9** Copyright (c) 2007-2012 The Khronos Group Inc.
10**
11** Permission is hereby granted, free of charge, to any person obtaining a
12** copy of this software and/or associated documentation files (the
13** "Materials"), to deal in the Materials without restriction, including
14** without limitation the rights to use, copy, modify, merge, publish,
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
17** the following conditions:
18**
19** The above copyright notice and this permission notice shall be included
20** in all copies or substantial portions of the Materials.
21**
22** THE MATERIALS ARE PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
23** EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
24** MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
25** IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
26** CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
27** TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
28** MATERIALS OR THE USE OR OTHER DEALINGS IN THE MATERIALS.
29*/
30
31/* Function declaration macros - to move into glplatform.h */
32
33#if defined(_WIN32) && !defined(APIENTRY) && !defined(__CYGWIN__) && !defined(__SCITECH_SNAP__)
34#define WIN32_LEAN_AND_MEAN 1
35#include <windows.h>
36#endif
37
38#ifndef APIENTRY
39#define APIENTRY
40#endif
41#ifndef APIENTRYP
42#define APIENTRYP APIENTRY *
43#endif
44#ifndef GLAPI
45#define GLAPI extern
46#endif
47
48/*************************************************************/
49
50/* Header file version number */
51/* wglext.h last updated 2012/01/04 */
52/* Current version at http://www.opengl.org/registry/ */
53#define WGL_WGLEXT_VERSION 24
54
55#ifndef WGL_ARB_buffer_region
56#define WGL_FRONT_COLOR_BUFFER_BIT_ARB 0x00000001
57#define WGL_BACK_COLOR_BUFFER_BIT_ARB 0x00000002
58#define WGL_DEPTH_BUFFER_BIT_ARB 0x00000004
59#define WGL_STENCIL_BUFFER_BIT_ARB 0x00000008
60#endif
61
62#ifndef WGL_ARB_multisample
63#define WGL_SAMPLE_BUFFERS_ARB 0x2041
64#define WGL_SAMPLES_ARB 0x2042
65#endif
66
67#ifndef WGL_ARB_extensions_string
68#endif
69
70#ifndef WGL_ARB_pixel_format
71#define WGL_NUMBER_PIXEL_FORMATS_ARB 0x2000
72#define WGL_DRAW_TO_WINDOW_ARB 0x2001
73#define WGL_DRAW_TO_BITMAP_ARB 0x2002
74#define WGL_ACCELERATION_ARB 0x2003
75#define WGL_NEED_PALETTE_ARB 0x2004
76#define WGL_NEED_SYSTEM_PALETTE_ARB 0x2005
77#define WGL_SWAP_LAYER_BUFFERS_ARB 0x2006
78#define WGL_SWAP_METHOD_ARB 0x2007
79#define WGL_NUMBER_OVERLAYS_ARB 0x2008
80#define WGL_NUMBER_UNDERLAYS_ARB 0x2009
81#define WGL_TRANSPARENT_ARB 0x200A
82#define WGL_TRANSPARENT_RED_VALUE_ARB 0x2037
83#define WGL_TRANSPARENT_GREEN_VALUE_ARB 0x2038
84#define WGL_TRANSPARENT_BLUE_VALUE_ARB 0x2039
85#define WGL_TRANSPARENT_ALPHA_VALUE_ARB 0x203A
86#define WGL_TRANSPARENT_INDEX_VALUE_ARB 0x203B
87#define WGL_SHARE_DEPTH_ARB 0x200C
88#define WGL_SHARE_STENCIL_ARB 0x200D
89#define WGL_SHARE_ACCUM_ARB 0x200E
90#define WGL_SUPPORT_GDI_ARB 0x200F
91#define WGL_SUPPORT_OPENGL_ARB 0x2010
92#define WGL_DOUBLE_BUFFER_ARB 0x2011
93#define WGL_STEREO_ARB 0x2012
94#define WGL_PIXEL_TYPE_ARB 0x2013
95#define WGL_COLOR_BITS_ARB 0x2014
96#define WGL_RED_BITS_ARB 0x2015
97#define WGL_RED_SHIFT_ARB 0x2016
98#define WGL_GREEN_BITS_ARB 0x2017
99#define WGL_GREEN_SHIFT_ARB 0x2018
100#define WGL_BLUE_BITS_ARB 0x2019
101#define WGL_BLUE_SHIFT_ARB 0x201A
102#define WGL_ALPHA_BITS_ARB 0x201B
103#define WGL_ALPHA_SHIFT_ARB 0x201C
104#define WGL_ACCUM_BITS_ARB 0x201D
105#define WGL_ACCUM_RED_BITS_ARB 0x201E
106#define WGL_ACCUM_GREEN_BITS_ARB 0x201F
107#define WGL_ACCUM_BLUE_BITS_ARB 0x2020
108#define WGL_ACCUM_ALPHA_BITS_ARB 0x2021
109#define WGL_DEPTH_BITS_ARB 0x2022
110#define WGL_STENCIL_BITS_ARB 0x2023
111#define WGL_AUX_BUFFERS_ARB 0x2024
112#define WGL_NO_ACCELERATION_ARB 0x2025
113#define WGL_GENERIC_ACCELERATION_ARB 0x2026
114#define WGL_FULL_ACCELERATION_ARB 0x2027
115#define WGL_SWAP_EXCHANGE_ARB 0x2028
116#define WGL_SWAP_COPY_ARB 0x2029
117#define WGL_SWAP_UNDEFINED_ARB 0x202A
118#define WGL_TYPE_RGBA_ARB 0x202B
119#define WGL_TYPE_COLORINDEX_ARB 0x202C
120#endif
121
122#ifndef WGL_ARB_make_current_read
123#define ERROR_INVALID_PIXEL_TYPE_ARB 0x2043
124#define ERROR_INCOMPATIBLE_DEVICE_CONTEXTS_ARB 0x2054
125#endif
126
127#ifndef WGL_ARB_pbuffer
128#define WGL_DRAW_TO_PBUFFER_ARB 0x202D
129#define WGL_MAX_PBUFFER_PIXELS_ARB 0x202E
130#define WGL_MAX_PBUFFER_WIDTH_ARB 0x202F
131#define WGL_MAX_PBUFFER_HEIGHT_ARB 0x2030
132#define WGL_PBUFFER_LARGEST_ARB 0x2033
133#define WGL_PBUFFER_WIDTH_ARB 0x2034
134#define WGL_PBUFFER_HEIGHT_ARB 0x2035
135#define WGL_PBUFFER_LOST_ARB 0x2036
136#endif
137
138#ifndef WGL_ARB_render_texture
139#define WGL_BIND_TO_TEXTURE_RGB_ARB 0x2070
140#define WGL_BIND_TO_TEXTURE_RGBA_ARB 0x2071
141#define WGL_TEXTURE_FORMAT_ARB 0x2072
142#define WGL_TEXTURE_TARGET_ARB 0x2073
143#define WGL_MIPMAP_TEXTURE_ARB 0x2074
144#define WGL_TEXTURE_RGB_ARB 0x2075
145#define WGL_TEXTURE_RGBA_ARB 0x2076
146#define WGL_NO_TEXTURE_ARB 0x2077
147#define WGL_TEXTURE_CUBE_MAP_ARB 0x2078
148#define WGL_TEXTURE_1D_ARB 0x2079
149#define WGL_TEXTURE_2D_ARB 0x207A
150#define WGL_MIPMAP_LEVEL_ARB 0x207B
151#define WGL_CUBE_MAP_FACE_ARB 0x207C
152#define WGL_TEXTURE_CUBE_MAP_POSITIVE_X_ARB 0x207D
153#define WGL_TEXTURE_CUBE_MAP_NEGATIVE_X_ARB 0x207E
154#define WGL_TEXTURE_CUBE_MAP_POSITIVE_Y_ARB 0x207F
155#define WGL_TEXTURE_CUBE_MAP_NEGATIVE_Y_ARB 0x2080
156#define WGL_TEXTURE_CUBE_MAP_POSITIVE_Z_ARB 0x2081
157#define WGL_TEXTURE_CUBE_MAP_NEGATIVE_Z_ARB 0x2082
158#define WGL_FRONT_LEFT_ARB 0x2083
159#define WGL_FRONT_RIGHT_ARB 0x2084
160#define WGL_BACK_LEFT_ARB 0x2085
161#define WGL_BACK_RIGHT_ARB 0x2086
162#define WGL_AUX0_ARB 0x2087
163#define WGL_AUX1_ARB 0x2088
164#define WGL_AUX2_ARB 0x2089
165#define WGL_AUX3_ARB 0x208A
166#define WGL_AUX4_ARB 0x208B
167#define WGL_AUX5_ARB 0x208C
168#define WGL_AUX6_ARB 0x208D
169#define WGL_AUX7_ARB 0x208E
170#define WGL_AUX8_ARB 0x208F
171#define WGL_AUX9_ARB 0x2090
172#endif
173
174#ifndef WGL_ARB_pixel_format_float
175#define WGL_TYPE_RGBA_FLOAT_ARB 0x21A0
176#endif
177
178#ifndef WGL_ARB_framebuffer_sRGB
179#define WGL_FRAMEBUFFER_SRGB_CAPABLE_ARB 0x20A9
180#endif
181
182#ifndef WGL_ARB_create_context
183#define WGL_CONTEXT_DEBUG_BIT_ARB 0x00000001
184#define WGL_CONTEXT_FORWARD_COMPATIBLE_BIT_ARB 0x00000002
185#define WGL_CONTEXT_MAJOR_VERSION_ARB 0x2091
186#define WGL_CONTEXT_MINOR_VERSION_ARB 0x2092
187#define WGL_CONTEXT_LAYER_PLANE_ARB 0x2093
188#define WGL_CONTEXT_FLAGS_ARB 0x2094
189#define ERROR_INVALID_VERSION_ARB 0x2095
190#endif
191
192#ifndef WGL_ARB_create_context_profile
193#define WGL_CONTEXT_PROFILE_MASK_ARB 0x9126
194#define WGL_CONTEXT_CORE_PROFILE_BIT_ARB 0x00000001
195#define WGL_CONTEXT_COMPATIBILITY_PROFILE_BIT_ARB 0x00000002
196#define ERROR_INVALID_PROFILE_ARB 0x2096
197#endif
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
206#ifndef WGL_EXT_make_current_read
207#define ERROR_INVALID_PIXEL_TYPE_EXT 0x2043
208#endif
209
210#ifndef WGL_EXT_pixel_format
211#define WGL_NUMBER_PIXEL_FORMATS_EXT 0x2000
212#define WGL_DRAW_TO_WINDOW_EXT 0x2001
213#define WGL_DRAW_TO_BITMAP_EXT 0x2002
214#define WGL_ACCELERATION_EXT 0x2003
215#define WGL_NEED_PALETTE_EXT 0x2004
216#define WGL_NEED_SYSTEM_PALETTE_EXT 0x2005
217#define WGL_SWAP_LAYER_BUFFERS_EXT 0x2006
218#define WGL_SWAP_METHOD_EXT 0x2007
219#define WGL_NUMBER_OVERLAYS_EXT 0x2008
220#define WGL_NUMBER_UNDERLAYS_EXT 0x2009
221#define WGL_TRANSPARENT_EXT 0x200A
222#define WGL_TRANSPARENT_VALUE_EXT 0x200B
223#define WGL_SHARE_DEPTH_EXT 0x200C
224#define WGL_SHARE_STENCIL_EXT 0x200D
225#define WGL_SHARE_ACCUM_EXT 0x200E
226#define WGL_SUPPORT_GDI_EXT 0x200F
227#define WGL_SUPPORT_OPENGL_EXT 0x2010
228#define WGL_DOUBLE_BUFFER_EXT 0x2011
229#define WGL_STEREO_EXT 0x2012
230#define WGL_PIXEL_TYPE_EXT 0x2013
231#define WGL_COLOR_BITS_EXT 0x2014
232#define WGL_RED_BITS_EXT 0x2015
233#define WGL_RED_SHIFT_EXT 0x2016
234#define WGL_GREEN_BITS_EXT 0x2017
235#define WGL_GREEN_SHIFT_EXT 0x2018
236#define WGL_BLUE_BITS_EXT 0x2019
237#define WGL_BLUE_SHIFT_EXT 0x201A
238#define WGL_ALPHA_BITS_EXT 0x201B
239#define WGL_ALPHA_SHIFT_EXT 0x201C
240#define WGL_ACCUM_BITS_EXT 0x201D
241#define WGL_ACCUM_RED_BITS_EXT 0x201E
242#define WGL_ACCUM_GREEN_BITS_EXT 0x201F
243#define WGL_ACCUM_BLUE_BITS_EXT 0x2020
244#define WGL_ACCUM_ALPHA_BITS_EXT 0x2021
245#define WGL_DEPTH_BITS_EXT 0x2022
246#define WGL_STENCIL_BITS_EXT 0x2023
247#define WGL_AUX_BUFFERS_EXT 0x2024
248#define WGL_NO_ACCELERATION_EXT 0x2025
249#define WGL_GENERIC_ACCELERATION_EXT 0x2026
250#define WGL_FULL_ACCELERATION_EXT 0x2027
251#define WGL_SWAP_EXCHANGE_EXT 0x2028
252#define WGL_SWAP_COPY_EXT 0x2029
253#define WGL_SWAP_UNDEFINED_EXT 0x202A
254#define WGL_TYPE_RGBA_EXT 0x202B
255#define WGL_TYPE_COLORINDEX_EXT 0x202C
256#endif
257
258#ifndef WGL_EXT_pbuffer
259#define WGL_DRAW_TO_PBUFFER_EXT 0x202D
260#define WGL_MAX_PBUFFER_PIXELS_EXT 0x202E
261#define WGL_MAX_PBUFFER_WIDTH_EXT 0x202F
262#define WGL_MAX_PBUFFER_HEIGHT_EXT 0x2030
263#define WGL_OPTIMAL_PBUFFER_WIDTH_EXT 0x2031
264#define WGL_OPTIMAL_PBUFFER_HEIGHT_EXT 0x2032
265#define WGL_PBUFFER_LARGEST_EXT 0x2033
266#define WGL_PBUFFER_WIDTH_EXT 0x2034
267#define WGL_PBUFFER_HEIGHT_EXT 0x2035
268#endif
269
270#ifndef WGL_EXT_depth_float
271#define WGL_DEPTH_FLOAT_EXT 0x2040
272#endif
273
274#ifndef WGL_3DFX_multisample
275#define WGL_SAMPLE_BUFFERS_3DFX 0x2060
276#define WGL_SAMPLES_3DFX 0x2061
277#endif
278
279#ifndef WGL_EXT_multisample
280#define WGL_SAMPLE_BUFFERS_EXT 0x2041
281#define WGL_SAMPLES_EXT 0x2042
282#endif
283
284#ifndef WGL_I3D_digital_video_control
285#define WGL_DIGITAL_VIDEO_CURSOR_ALPHA_FRAMEBUFFER_I3D 0x2050
286#define WGL_DIGITAL_VIDEO_CURSOR_ALPHA_VALUE_I3D 0x2051
287#define WGL_DIGITAL_VIDEO_CURSOR_INCLUDED_I3D 0x2052
288#define WGL_DIGITAL_VIDEO_GAMMA_CORRECTED_I3D 0x2053
289#endif
290
291#ifndef WGL_I3D_gamma
292#define WGL_GAMMA_TABLE_SIZE_I3D 0x204E
293#define WGL_GAMMA_EXCLUDE_DESKTOP_I3D 0x204F
294#endif
295
296#ifndef WGL_I3D_genlock
297#define WGL_GENLOCK_SOURCE_MULTIVIEW_I3D 0x2044
298#define WGL_GENLOCK_SOURCE_EXTENAL_SYNC_I3D 0x2045
299#define WGL_GENLOCK_SOURCE_EXTENAL_FIELD_I3D 0x2046
300#define WGL_GENLOCK_SOURCE_EXTENAL_TTL_I3D 0x2047
301#define WGL_GENLOCK_SOURCE_DIGITAL_SYNC_I3D 0x2048
302#define WGL_GENLOCK_SOURCE_DIGITAL_FIELD_I3D 0x2049
303#define WGL_GENLOCK_SOURCE_EDGE_FALLING_I3D 0x204A
304#define WGL_GENLOCK_SOURCE_EDGE_RISING_I3D 0x204B
305#define WGL_GENLOCK_SOURCE_EDGE_BOTH_I3D 0x204C
306#endif
307
308#ifndef WGL_I3D_image_buffer
309#define WGL_IMAGE_BUFFER_MIN_ACCESS_I3D 0x00000001
310#define WGL_IMAGE_BUFFER_LOCK_I3D 0x00000002
311#endif
312
313#ifndef WGL_I3D_swap_frame_lock
314#endif
315
316#ifndef WGL_NV_render_depth_texture
317#define WGL_BIND_TO_TEXTURE_DEPTH_NV 0x20A3
318#define WGL_BIND_TO_TEXTURE_RECTANGLE_DEPTH_NV 0x20A4
319#define WGL_DEPTH_TEXTURE_FORMAT_NV 0x20A5
320#define WGL_TEXTURE_DEPTH_COMPONENT_NV 0x20A6
321#define WGL_DEPTH_COMPONENT_NV 0x20A7
322#endif
323
324#ifndef WGL_NV_render_texture_rectangle
325#define WGL_BIND_TO_TEXTURE_RECTANGLE_RGB_NV 0x20A0
326#define WGL_BIND_TO_TEXTURE_RECTANGLE_RGBA_NV 0x20A1
327#define WGL_TEXTURE_RECTANGLE_NV 0x20A2
328#endif
329
330#ifndef WGL_ATI_pixel_format_float
331#define WGL_TYPE_RGBA_FLOAT_ATI 0x21A0
332#endif
333
334#ifndef WGL_NV_float_buffer
335#define WGL_FLOAT_COMPONENTS_NV 0x20B0
336#define WGL_BIND_TO_TEXTURE_RECTANGLE_FLOAT_R_NV 0x20B1
337#define WGL_BIND_TO_TEXTURE_RECTANGLE_FLOAT_RG_NV 0x20B2
338#define WGL_BIND_TO_TEXTURE_RECTANGLE_FLOAT_RGB_NV 0x20B3
339#define WGL_BIND_TO_TEXTURE_RECTANGLE_FLOAT_RGBA_NV 0x20B4
340#define WGL_TEXTURE_FLOAT_R_NV 0x20B5
341#define WGL_TEXTURE_FLOAT_RG_NV 0x20B6
342#define WGL_TEXTURE_FLOAT_RGB_NV 0x20B7
343#define WGL_TEXTURE_FLOAT_RGBA_NV 0x20B8
344#endif
345
346#ifndef WGL_3DL_stereo_control
347#define WGL_STEREO_EMITTER_ENABLE_3DL 0x2055
348#define WGL_STEREO_EMITTER_DISABLE_3DL 0x2056
349#define WGL_STEREO_POLARITY_NORMAL_3DL 0x2057
350#define WGL_STEREO_POLARITY_INVERT_3DL 0x2058
351#endif
352
353#ifndef WGL_EXT_pixel_format_packed_float
354#define WGL_TYPE_RGBA_UNSIGNED_FLOAT_EXT 0x20A8
355#endif
356
357#ifndef WGL_EXT_framebuffer_sRGB
358#define WGL_FRAMEBUFFER_SRGB_CAPABLE_EXT 0x20A9
359#endif
360
361#ifndef WGL_NV_present_video
362#define WGL_NUM_VIDEO_SLOTS_NV 0x20F0
363#endif
364
365#ifndef WGL_NV_video_out
366#define WGL_BIND_TO_VIDEO_RGB_NV 0x20C0
367#define WGL_BIND_TO_VIDEO_RGBA_NV 0x20C1
368#define WGL_BIND_TO_VIDEO_RGB_AND_DEPTH_NV 0x20C2
369#define WGL_VIDEO_OUT_COLOR_NV 0x20C3
370#define WGL_VIDEO_OUT_ALPHA_NV 0x20C4
371#define WGL_VIDEO_OUT_DEPTH_NV 0x20C5
372#define WGL_VIDEO_OUT_COLOR_AND_ALPHA_NV 0x20C6
373#define WGL_VIDEO_OUT_COLOR_AND_DEPTH_NV 0x20C7
374#define WGL_VIDEO_OUT_FRAME 0x20C8
375#define WGL_VIDEO_OUT_FIELD_1 0x20C9
376#define WGL_VIDEO_OUT_FIELD_2 0x20CA
377#define WGL_VIDEO_OUT_STACKED_FIELDS_1_2 0x20CB
378#define WGL_VIDEO_OUT_STACKED_FIELDS_2_1 0x20CC
379#endif
380
381#ifndef WGL_NV_swap_group
382#endif
383
384#ifndef WGL_NV_gpu_affinity
385#define WGL_ERROR_INCOMPATIBLE_AFFINITY_MASKS_NV 0x20D0
386#define WGL_ERROR_MISSING_AFFINITY_MASK_NV 0x20D1
387#endif
388
389#ifndef WGL_AMD_gpu_association
390#define WGL_GPU_VENDOR_AMD 0x1F00
391#define WGL_GPU_RENDERER_STRING_AMD 0x1F01
392#define WGL_GPU_OPENGL_VERSION_STRING_AMD 0x1F02
393#define WGL_GPU_FASTEST_TARGET_GPUS_AMD 0x21A2
394#define WGL_GPU_RAM_AMD 0x21A3
395#define WGL_GPU_CLOCK_AMD 0x21A4
396#define WGL_GPU_NUM_PIPES_AMD 0x21A5
397#define WGL_GPU_NUM_SIMD_AMD 0x21A6
398#define WGL_GPU_NUM_RB_AMD 0x21A7
399#define WGL_GPU_NUM_SPI_AMD 0x21A8
400#endif
401
402#ifndef WGL_NV_video_capture
403#define WGL_UNIQUE_ID_NV 0x20CE
404#define WGL_NUM_VIDEO_CAPTURE_SLOTS_NV 0x20CF
405#endif
406
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
417#endif
418
419#ifndef WGL_NV_DX_interop
420#define WGL_ACCESS_READ_ONLY_NV 0x00000000
421#define WGL_ACCESS_READ_WRITE_NV 0x00000001
422#define WGL_ACCESS_WRITE_DISCARD_NV 0x00000002
423#endif
424
425#ifndef WGL_NV_DX_interop2
426#endif
427
428#ifndef WGL_EXT_swap_control_tear
429#endif
430
431
432/*************************************************************/
433
434#ifndef WGL_ARB_pbuffer
436#endif
437#ifndef WGL_EXT_pbuffer
438DECLARE_HANDLE(HPBUFFEREXT);
439#endif
440#ifndef WGL_NV_present_video
441DECLARE_HANDLE(HVIDEOOUTPUTDEVICENV);
442#endif
443#ifndef WGL_NV_video_output
444DECLARE_HANDLE(HPVIDEODEV);
445#endif
446#ifndef WGL_NV_gpu_affinity
449
450typedef struct _GPU_DEVICE {
451 DWORD cb;
452 CHAR DeviceName[32];
453 CHAR DeviceString[128];
454 DWORD Flags;
457#endif
458#ifndef WGL_NV_video_capture
459DECLARE_HANDLE(HVIDEOINPUTDEVICENV);
460#endif
461
462#ifndef WGL_ARB_buffer_region
463#define WGL_ARB_buffer_region 1
464#ifdef WGL_WGLEXT_PROTOTYPES
465extern HANDLE WINAPI wglCreateBufferRegionARB (HDC hDC, int iLayerPlane, UINT uType);
466extern VOID WINAPI wglDeleteBufferRegionARB (HANDLE hRegion);
467extern BOOL WINAPI wglSaveBufferRegionARB (HANDLE hRegion, int x, int y, int width, int height);
468extern BOOL WINAPI wglRestoreBufferRegionARB (HANDLE hRegion, int x, int y, int width, int height, int xSrc, int ySrc);
469#endif /* WGL_WGLEXT_PROTOTYPES */
470typedef HANDLE (WINAPI * PFNWGLCREATEBUFFERREGIONARBPROC) (HDC hDC, int iLayerPlane, UINT uType);
472typedef BOOL (WINAPI * PFNWGLSAVEBUFFERREGIONARBPROC) (HANDLE hRegion, int x, int y, int width, int height);
473typedef BOOL (WINAPI * PFNWGLRESTOREBUFFERREGIONARBPROC) (HANDLE hRegion, int x, int y, int width, int height, int xSrc, int ySrc);
474#endif
475
476#ifndef WGL_ARB_multisample
477#define WGL_ARB_multisample 1
478#endif
479
480#ifndef WGL_ARB_extensions_string
481#define WGL_ARB_extensions_string 1
482#ifdef WGL_WGLEXT_PROTOTYPES
483extern const char * WINAPI wglGetExtensionsStringARB (HDC hdc);
484#endif /* WGL_WGLEXT_PROTOTYPES */
486#endif
487
488#ifndef WGL_ARB_pixel_format
489#define WGL_ARB_pixel_format 1
490#ifdef WGL_WGLEXT_PROTOTYPES
491extern BOOL WINAPI wglGetPixelFormatAttribivARB (HDC hdc, int iPixelFormat, int iLayerPlane, UINT nAttributes, const int *piAttributes, int *piValues);
492extern BOOL WINAPI wglGetPixelFormatAttribfvARB (HDC hdc, int iPixelFormat, int iLayerPlane, UINT nAttributes, const int *piAttributes, FLOAT *pfValues);
493extern BOOL WINAPI wglChoosePixelFormatARB (HDC hdc, const int *piAttribIList, const FLOAT *pfAttribFList, UINT nMaxFormats, int *piFormats, UINT *nNumFormats);
494#endif /* WGL_WGLEXT_PROTOTYPES */
495typedef BOOL (WINAPI * PFNWGLGETPIXELFORMATATTRIBIVARBPROC) (HDC hdc, int iPixelFormat, int iLayerPlane, UINT nAttributes, const int *piAttributes, int *piValues);
496typedef BOOL (WINAPI * PFNWGLGETPIXELFORMATATTRIBFVARBPROC) (HDC hdc, int iPixelFormat, int iLayerPlane, UINT nAttributes, const int *piAttributes, FLOAT *pfValues);
497typedef BOOL (WINAPI * PFNWGLCHOOSEPIXELFORMATARBPROC) (HDC hdc, const int *piAttribIList, const FLOAT *pfAttribFList, UINT nMaxFormats, int *piFormats, UINT *nNumFormats);
498#endif
499
500#ifndef WGL_ARB_make_current_read
501#define WGL_ARB_make_current_read 1
502#ifdef WGL_WGLEXT_PROTOTYPES
503extern BOOL WINAPI wglMakeContextCurrentARB (HDC hDrawDC, HDC hReadDC, HGLRC hglrc);
504extern HDC WINAPI wglGetCurrentReadDCARB (void);
505#endif /* WGL_WGLEXT_PROTOTYPES */
508#endif
509
510#ifndef WGL_ARB_pbuffer
511#define WGL_ARB_pbuffer 1
512#ifdef WGL_WGLEXT_PROTOTYPES
513extern HPBUFFERARB WINAPI wglCreatePbufferARB (HDC hDC, int iPixelFormat, int iWidth, int iHeight, const int *piAttribList);
514extern HDC WINAPI wglGetPbufferDCARB (HPBUFFERARB hPbuffer);
515extern int WINAPI wglReleasePbufferDCARB (HPBUFFERARB hPbuffer, HDC hDC);
516extern BOOL WINAPI wglDestroyPbufferARB (HPBUFFERARB hPbuffer);
517extern BOOL WINAPI wglQueryPbufferARB (HPBUFFERARB hPbuffer, int iAttribute, int *piValue);
518#endif /* WGL_WGLEXT_PROTOTYPES */
519typedef HPBUFFERARB (WINAPI * PFNWGLCREATEPBUFFERARBPROC) (HDC hDC, int iPixelFormat, int iWidth, int iHeight, const int *piAttribList);
523typedef BOOL (WINAPI * PFNWGLQUERYPBUFFERARBPROC) (HPBUFFERARB hPbuffer, int iAttribute, int *piValue);
524#endif
525
526#ifndef WGL_ARB_render_texture
527#define WGL_ARB_render_texture 1
528#ifdef WGL_WGLEXT_PROTOTYPES
529extern BOOL WINAPI wglBindTexImageARB (HPBUFFERARB hPbuffer, int iBuffer);
530extern BOOL WINAPI wglReleaseTexImageARB (HPBUFFERARB hPbuffer, int iBuffer);
531extern BOOL WINAPI wglSetPbufferAttribARB (HPBUFFERARB hPbuffer, const int *piAttribList);
532#endif /* WGL_WGLEXT_PROTOTYPES */
533typedef BOOL (WINAPI * PFNWGLBINDTEXIMAGEARBPROC) (HPBUFFERARB hPbuffer, int iBuffer);
534typedef BOOL (WINAPI * PFNWGLRELEASETEXIMAGEARBPROC) (HPBUFFERARB hPbuffer, int iBuffer);
535typedef BOOL (WINAPI * PFNWGLSETPBUFFERATTRIBARBPROC) (HPBUFFERARB hPbuffer, const int *piAttribList);
536#endif
537
538#ifndef WGL_ARB_pixel_format_float
539#define WGL_ARB_pixel_format_float 1
540#endif
541
542#ifndef WGL_ARB_framebuffer_sRGB
543#define WGL_ARB_framebuffer_sRGB 1
544#endif
545
546#ifndef WGL_ARB_create_context
547#define WGL_ARB_create_context 1
548#ifdef WGL_WGLEXT_PROTOTYPES
549extern HGLRC WINAPI wglCreateContextAttribsARB (HDC hDC, HGLRC hShareContext, const int *attribList);
550#endif /* WGL_WGLEXT_PROTOTYPES */
552#endif
553
554#ifndef WGL_ARB_create_context_profile
555#define WGL_ARB_create_context_profile 1
556#endif
557
558#ifndef WGL_ARB_create_context_robustness
559#define WGL_ARB_create_context_robustness 1
560#endif
561
562#ifndef WGL_EXT_display_color_table
563#define WGL_EXT_display_color_table 1
564#ifdef WGL_WGLEXT_PROTOTYPES
565extern GLboolean WINAPI wglCreateDisplayColorTableEXT (GLushort id);
566extern GLboolean WINAPI wglLoadDisplayColorTableEXT (const GLushort *table, GLuint length);
567extern GLboolean WINAPI wglBindDisplayColorTableEXT (GLushort id);
568extern VOID WINAPI wglDestroyDisplayColorTableEXT (GLushort id);
569#endif /* WGL_WGLEXT_PROTOTYPES */
574#endif
575
576#ifndef WGL_EXT_extensions_string
577#define WGL_EXT_extensions_string 1
578#ifdef WGL_WGLEXT_PROTOTYPES
579extern const char * WINAPI wglGetExtensionsStringEXT (void);
580#endif /* WGL_WGLEXT_PROTOTYPES */
581typedef const char * (WINAPI * PFNWGLGETEXTENSIONSSTRINGEXTPROC) (void);
582#endif
583
584#ifndef WGL_EXT_make_current_read
585#define WGL_EXT_make_current_read 1
586#ifdef WGL_WGLEXT_PROTOTYPES
587extern BOOL WINAPI wglMakeContextCurrentEXT (HDC hDrawDC, HDC hReadDC, HGLRC hglrc);
588extern HDC WINAPI wglGetCurrentReadDCEXT (void);
589#endif /* WGL_WGLEXT_PROTOTYPES */
592#endif
593
594#ifndef WGL_EXT_pbuffer
595#define WGL_EXT_pbuffer 1
596#ifdef WGL_WGLEXT_PROTOTYPES
597extern HPBUFFEREXT WINAPI wglCreatePbufferEXT (HDC hDC, int iPixelFormat, int iWidth, int iHeight, const int *piAttribList);
598extern HDC WINAPI wglGetPbufferDCEXT (HPBUFFEREXT hPbuffer);
599extern int WINAPI wglReleasePbufferDCEXT (HPBUFFEREXT hPbuffer, HDC hDC);
600extern BOOL WINAPI wglDestroyPbufferEXT (HPBUFFEREXT hPbuffer);
601extern BOOL WINAPI wglQueryPbufferEXT (HPBUFFEREXT hPbuffer, int iAttribute, int *piValue);
602#endif /* WGL_WGLEXT_PROTOTYPES */
603typedef HPBUFFEREXT (WINAPI * PFNWGLCREATEPBUFFEREXTPROC) (HDC hDC, int iPixelFormat, int iWidth, int iHeight, const int *piAttribList);
604typedef HDC (WINAPI * PFNWGLGETPBUFFERDCEXTPROC) (HPBUFFEREXT hPbuffer);
605typedef int (WINAPI * PFNWGLRELEASEPBUFFERDCEXTPROC) (HPBUFFEREXT hPbuffer, HDC hDC);
606typedef BOOL (WINAPI * PFNWGLDESTROYPBUFFEREXTPROC) (HPBUFFEREXT hPbuffer);
607typedef BOOL (WINAPI * PFNWGLQUERYPBUFFEREXTPROC) (HPBUFFEREXT hPbuffer, int iAttribute, int *piValue);
608#endif
609
610#ifndef WGL_EXT_pixel_format
611#define WGL_EXT_pixel_format 1
612#ifdef WGL_WGLEXT_PROTOTYPES
613extern BOOL WINAPI wglGetPixelFormatAttribivEXT (HDC hdc, int iPixelFormat, int iLayerPlane, UINT nAttributes, int *piAttributes, int *piValues);
614extern BOOL WINAPI wglGetPixelFormatAttribfvEXT (HDC hdc, int iPixelFormat, int iLayerPlane, UINT nAttributes, int *piAttributes, FLOAT *pfValues);
615extern BOOL WINAPI wglChoosePixelFormatEXT (HDC hdc, const int *piAttribIList, const FLOAT *pfAttribFList, UINT nMaxFormats, int *piFormats, UINT *nNumFormats);
616#endif /* WGL_WGLEXT_PROTOTYPES */
617typedef BOOL (WINAPI * PFNWGLGETPIXELFORMATATTRIBIVEXTPROC) (HDC hdc, int iPixelFormat, int iLayerPlane, UINT nAttributes, int *piAttributes, int *piValues);
618typedef BOOL (WINAPI * PFNWGLGETPIXELFORMATATTRIBFVEXTPROC) (HDC hdc, int iPixelFormat, int iLayerPlane, UINT nAttributes, int *piAttributes, FLOAT *pfValues);
619typedef BOOL (WINAPI * PFNWGLCHOOSEPIXELFORMATEXTPROC) (HDC hdc, const int *piAttribIList, const FLOAT *pfAttribFList, UINT nMaxFormats, int *piFormats, UINT *nNumFormats);
620#endif
621
622#ifndef WGL_EXT_swap_control
623#define WGL_EXT_swap_control 1
624#ifdef WGL_WGLEXT_PROTOTYPES
625extern BOOL WINAPI wglSwapIntervalEXT (int interval);
626extern int WINAPI wglGetSwapIntervalEXT (void);
627#endif /* WGL_WGLEXT_PROTOTYPES */
630#endif
631
632#ifndef WGL_EXT_depth_float
633#define WGL_EXT_depth_float 1
634#endif
635
636#ifndef WGL_NV_vertex_array_range
637#define WGL_NV_vertex_array_range 1
638#ifdef WGL_WGLEXT_PROTOTYPES
639extern void* WINAPI wglAllocateMemoryNV (GLsizei size, GLfloat readfreq, GLfloat writefreq, GLfloat priority);
640extern void WINAPI wglFreeMemoryNV (void *pointer);
641#endif /* WGL_WGLEXT_PROTOTYPES */
644#endif
645
646#ifndef WGL_3DFX_multisample
647#define WGL_3DFX_multisample 1
648#endif
649
650#ifndef WGL_EXT_multisample
651#define WGL_EXT_multisample 1
652#endif
653
654#ifndef WGL_OML_sync_control
655#define WGL_OML_sync_control 1
656#ifdef WGL_WGLEXT_PROTOTYPES
657extern BOOL WINAPI wglGetSyncValuesOML (HDC hdc, INT64 *ust, INT64 *msc, INT64 *sbc);
658extern BOOL WINAPI wglGetMscRateOML (HDC hdc, INT32 *numerator, INT32 *denominator);
659extern INT64 WINAPI wglSwapBuffersMscOML (HDC hdc, INT64 target_msc, INT64 divisor, INT64 remainder);
660extern INT64 WINAPI wglSwapLayerBuffersMscOML (HDC hdc, int fuPlanes, INT64 target_msc, INT64 divisor, INT64 remainder);
661extern BOOL WINAPI wglWaitForMscOML (HDC hdc, INT64 target_msc, INT64 divisor, INT64 remainder, INT64 *ust, INT64 *msc, INT64 *sbc);
662extern BOOL WINAPI wglWaitForSbcOML (HDC hdc, INT64 target_sbc, INT64 *ust, INT64 *msc, INT64 *sbc);
663#endif /* WGL_WGLEXT_PROTOTYPES */
665typedef BOOL (WINAPI * PFNWGLGETMSCRATEOMLPROC) (HDC hdc, INT32 *numerator, INT32 *denominator);
669typedef BOOL (WINAPI * PFNWGLWAITFORSBCOMLPROC) (HDC hdc, INT64 target_sbc, INT64 *ust, INT64 *msc, INT64 *sbc);
670#endif
671
672#ifndef WGL_I3D_digital_video_control
673#define WGL_I3D_digital_video_control 1
674#ifdef WGL_WGLEXT_PROTOTYPES
675extern BOOL WINAPI wglGetDigitalVideoParametersI3D (HDC hDC, int iAttribute, int *piValue);
676extern BOOL WINAPI wglSetDigitalVideoParametersI3D (HDC hDC, int iAttribute, const int *piValue);
677#endif /* WGL_WGLEXT_PROTOTYPES */
678typedef BOOL (WINAPI * PFNWGLGETDIGITALVIDEOPARAMETERSI3DPROC) (HDC hDC, int iAttribute, int *piValue);
679typedef BOOL (WINAPI * PFNWGLSETDIGITALVIDEOPARAMETERSI3DPROC) (HDC hDC, int iAttribute, const int *piValue);
680#endif
681
682#ifndef WGL_I3D_gamma
683#define WGL_I3D_gamma 1
684#ifdef WGL_WGLEXT_PROTOTYPES
685extern BOOL WINAPI wglGetGammaTableParametersI3D (HDC hDC, int iAttribute, int *piValue);
686extern BOOL WINAPI wglSetGammaTableParametersI3D (HDC hDC, int iAttribute, const int *piValue);
687extern BOOL WINAPI wglGetGammaTableI3D (HDC hDC, int iEntries, USHORT *puRed, USHORT *puGreen, USHORT *puBlue);
688extern BOOL WINAPI wglSetGammaTableI3D (HDC hDC, int iEntries, const USHORT *puRed, const USHORT *puGreen, const USHORT *puBlue);
689#endif /* WGL_WGLEXT_PROTOTYPES */
690typedef BOOL (WINAPI * PFNWGLGETGAMMATABLEPARAMETERSI3DPROC) (HDC hDC, int iAttribute, int *piValue);
691typedef BOOL (WINAPI * PFNWGLSETGAMMATABLEPARAMETERSI3DPROC) (HDC hDC, int iAttribute, const int *piValue);
692typedef BOOL (WINAPI * PFNWGLGETGAMMATABLEI3DPROC) (HDC hDC, int iEntries, USHORT *puRed, USHORT *puGreen, USHORT *puBlue);
693typedef BOOL (WINAPI * PFNWGLSETGAMMATABLEI3DPROC) (HDC hDC, int iEntries, const USHORT *puRed, const USHORT *puGreen, const USHORT *puBlue);
694#endif
695
696#ifndef WGL_I3D_genlock
697#define WGL_I3D_genlock 1
698#ifdef WGL_WGLEXT_PROTOTYPES
699extern BOOL WINAPI wglEnableGenlockI3D (HDC hDC);
700extern BOOL WINAPI wglDisableGenlockI3D (HDC hDC);
701extern BOOL WINAPI wglIsEnabledGenlockI3D (HDC hDC, BOOL *pFlag);
702extern BOOL WINAPI wglGenlockSourceI3D (HDC hDC, UINT uSource);
703extern BOOL WINAPI wglGetGenlockSourceI3D (HDC hDC, UINT *uSource);
704extern BOOL WINAPI wglGenlockSourceEdgeI3D (HDC hDC, UINT uEdge);
705extern BOOL WINAPI wglGetGenlockSourceEdgeI3D (HDC hDC, UINT *uEdge);
706extern BOOL WINAPI wglGenlockSampleRateI3D (HDC hDC, UINT uRate);
707extern BOOL WINAPI wglGetGenlockSampleRateI3D (HDC hDC, UINT *uRate);
708extern BOOL WINAPI wglGenlockSourceDelayI3D (HDC hDC, UINT uDelay);
709extern BOOL WINAPI wglGetGenlockSourceDelayI3D (HDC hDC, UINT *uDelay);
710extern BOOL WINAPI wglQueryGenlockMaxSourceDelayI3D (HDC hDC, UINT *uMaxLineDelay, UINT *uMaxPixelDelay);
711#endif /* WGL_WGLEXT_PROTOTYPES */
723typedef BOOL (WINAPI * PFNWGLQUERYGENLOCKMAXSOURCEDELAYI3DPROC) (HDC hDC, UINT *uMaxLineDelay, UINT *uMaxPixelDelay);
724#endif
725
726#ifndef WGL_I3D_image_buffer
727#define WGL_I3D_image_buffer 1
728#ifdef WGL_WGLEXT_PROTOTYPES
729extern LPVOID WINAPI wglCreateImageBufferI3D (HDC hDC, DWORD dwSize, UINT uFlags);
730extern BOOL WINAPI wglDestroyImageBufferI3D (HDC hDC, LPVOID pAddress);
731extern BOOL WINAPI wglAssociateImageBufferEventsI3D (HDC hDC, const HANDLE *pEvent, const LPVOID *pAddress, const DWORD *pSize, UINT count);
732extern BOOL WINAPI wglReleaseImageBufferEventsI3D (HDC hDC, const LPVOID *pAddress, UINT count);
733#endif /* WGL_WGLEXT_PROTOTYPES */
736typedef BOOL (WINAPI * PFNWGLASSOCIATEIMAGEBUFFEREVENTSI3DPROC) (HDC hDC, const HANDLE *pEvent, const LPVOID *pAddress, const DWORD *pSize, UINT count);
738#endif
739
740#ifndef WGL_I3D_swap_frame_lock
741#define WGL_I3D_swap_frame_lock 1
742#ifdef WGL_WGLEXT_PROTOTYPES
743extern BOOL WINAPI wglEnableFrameLockI3D (void);
744extern BOOL WINAPI wglDisableFrameLockI3D (void);
745extern BOOL WINAPI wglIsEnabledFrameLockI3D (BOOL *pFlag);
746extern BOOL WINAPI wglQueryFrameLockMasterI3D (BOOL *pFlag);
747#endif /* WGL_WGLEXT_PROTOTYPES */
752#endif
753
754#ifndef WGL_I3D_swap_frame_usage
755#define WGL_I3D_swap_frame_usage 1
756#ifdef WGL_WGLEXT_PROTOTYPES
757extern BOOL WINAPI wglGetFrameUsageI3D (float *pUsage);
758extern BOOL WINAPI wglBeginFrameTrackingI3D (void);
759extern BOOL WINAPI wglEndFrameTrackingI3D (void);
760extern BOOL WINAPI wglQueryFrameTrackingI3D (DWORD *pFrameCount, DWORD *pMissedFrames, float *pLastMissedUsage);
761#endif /* WGL_WGLEXT_PROTOTYPES */
762typedef BOOL (WINAPI * PFNWGLGETFRAMEUSAGEI3DPROC) (float *pUsage);
765typedef BOOL (WINAPI * PFNWGLQUERYFRAMETRACKINGI3DPROC) (DWORD *pFrameCount, DWORD *pMissedFrames, float *pLastMissedUsage);
766#endif
767
768#ifndef WGL_ATI_pixel_format_float
769#define WGL_ATI_pixel_format_float 1
770#endif
771
772#ifndef WGL_NV_float_buffer
773#define WGL_NV_float_buffer 1
774#endif
775
776#ifndef WGL_3DL_stereo_control
777#define WGL_3DL_stereo_control 1
778#ifdef WGL_WGLEXT_PROTOTYPES
779extern BOOL WINAPI wglSetStereoEmitterState3DL (HDC hDC, UINT uState);
780#endif /* WGL_WGLEXT_PROTOTYPES */
782#endif
783
784#ifndef WGL_EXT_pixel_format_packed_float
785#define WGL_EXT_pixel_format_packed_float 1
786#endif
787
788#ifndef WGL_EXT_framebuffer_sRGB
789#define WGL_EXT_framebuffer_sRGB 1
790#endif
791
792#ifndef WGL_NV_present_video
793#define WGL_NV_present_video 1
794#ifdef WGL_WGLEXT_PROTOTYPES
795extern int WINAPI wglEnumerateVideoDevicesNV (HDC hDC, HVIDEOOUTPUTDEVICENV *phDeviceList);
796extern BOOL WINAPI wglBindVideoDeviceNV (HDC hDC, unsigned int uVideoSlot, HVIDEOOUTPUTDEVICENV hVideoDevice, const int *piAttribList);
797extern BOOL WINAPI wglQueryCurrentContextNV (int iAttribute, int *piValue);
798#endif /* WGL_WGLEXT_PROTOTYPES */
799typedef int (WINAPI * PFNWGLENUMERATEVIDEODEVICESNVPROC) (HDC hDC, HVIDEOOUTPUTDEVICENV *phDeviceList);
800typedef BOOL (WINAPI * PFNWGLBINDVIDEODEVICENVPROC) (HDC hDC, unsigned int uVideoSlot, HVIDEOOUTPUTDEVICENV hVideoDevice, const int *piAttribList);
801typedef BOOL (WINAPI * PFNWGLQUERYCURRENTCONTEXTNVPROC) (int iAttribute, int *piValue);
802#endif
803
804#ifndef WGL_NV_video_output
805#define WGL_NV_video_output 1
806#ifdef WGL_WGLEXT_PROTOTYPES
807extern BOOL WINAPI wglGetVideoDeviceNV (HDC hDC, int numDevices, HPVIDEODEV *hVideoDevice);
808extern BOOL WINAPI wglReleaseVideoDeviceNV (HPVIDEODEV hVideoDevice);
809extern BOOL WINAPI wglBindVideoImageNV (HPVIDEODEV hVideoDevice, HPBUFFERARB hPbuffer, int iVideoBuffer);
810extern BOOL WINAPI wglReleaseVideoImageNV (HPBUFFERARB hPbuffer, int iVideoBuffer);
811extern BOOL WINAPI wglSendPbufferToVideoNV (HPBUFFERARB hPbuffer, int iBufferType, unsigned long *pulCounterPbuffer, BOOL bBlock);
812extern BOOL WINAPI wglGetVideoInfoNV (HPVIDEODEV hpVideoDevice, unsigned long *pulCounterOutputPbuffer, unsigned long *pulCounterOutputVideo);
813#endif /* WGL_WGLEXT_PROTOTYPES */
814typedef BOOL (WINAPI * PFNWGLGETVIDEODEVICENVPROC) (HDC hDC, int numDevices, HPVIDEODEV *hVideoDevice);
815typedef BOOL (WINAPI * PFNWGLRELEASEVIDEODEVICENVPROC) (HPVIDEODEV hVideoDevice);
816typedef BOOL (WINAPI * PFNWGLBINDVIDEOIMAGENVPROC) (HPVIDEODEV hVideoDevice, HPBUFFERARB hPbuffer, int iVideoBuffer);
817typedef BOOL (WINAPI * PFNWGLRELEASEVIDEOIMAGENVPROC) (HPBUFFERARB hPbuffer, int iVideoBuffer);
818typedef BOOL (WINAPI * PFNWGLSENDPBUFFERTOVIDEONVPROC) (HPBUFFERARB hPbuffer, int iBufferType, unsigned long *pulCounterPbuffer, BOOL bBlock);
819typedef BOOL (WINAPI * PFNWGLGETVIDEOINFONVPROC) (HPVIDEODEV hpVideoDevice, unsigned long *pulCounterOutputPbuffer, unsigned long *pulCounterOutputVideo);
820#endif
821
822#ifndef WGL_NV_swap_group
823#define WGL_NV_swap_group 1
824#ifdef WGL_WGLEXT_PROTOTYPES
825extern BOOL WINAPI wglJoinSwapGroupNV (HDC hDC, GLuint group);
826extern BOOL WINAPI wglBindSwapBarrierNV (GLuint group, GLuint barrier);
827extern BOOL WINAPI wglQuerySwapGroupNV (HDC hDC, GLuint *group, GLuint *barrier);
828extern BOOL WINAPI wglQueryMaxSwapGroupsNV (HDC hDC, GLuint *maxGroups, GLuint *maxBarriers);
829extern BOOL WINAPI wglQueryFrameCountNV (HDC hDC, GLuint *count);
830extern BOOL WINAPI wglResetFrameCountNV (HDC hDC);
831#endif /* WGL_WGLEXT_PROTOTYPES */
835typedef BOOL (WINAPI * PFNWGLQUERYMAXSWAPGROUPSNVPROC) (HDC hDC, GLuint *maxGroups, GLuint *maxBarriers);
838#endif
839
840#ifndef WGL_NV_gpu_affinity
841#define WGL_NV_gpu_affinity 1
842#ifdef WGL_WGLEXT_PROTOTYPES
843extern BOOL WINAPI wglEnumGpusNV (UINT iGpuIndex, HGPUNV *phGpu);
844extern BOOL WINAPI wglEnumGpuDevicesNV (HGPUNV hGpu, UINT iDeviceIndex, PGPU_DEVICE lpGpuDevice);
845extern HDC WINAPI wglCreateAffinityDCNV (const HGPUNV *phGpuList);
846extern BOOL WINAPI wglEnumGpusFromAffinityDCNV (HDC hAffinityDC, UINT iGpuIndex, HGPUNV *hGpu);
847extern BOOL WINAPI wglDeleteDCNV (HDC hdc);
848#endif /* WGL_WGLEXT_PROTOTYPES */
849typedef BOOL (WINAPI * PFNWGLENUMGPUSNVPROC) (UINT iGpuIndex, HGPUNV *phGpu);
850typedef BOOL (WINAPI * PFNWGLENUMGPUDEVICESNVPROC) (HGPUNV hGpu, UINT iDeviceIndex, PGPU_DEVICE lpGpuDevice);
851typedef HDC (WINAPI * PFNWGLCREATEAFFINITYDCNVPROC) (const HGPUNV *phGpuList);
852typedef BOOL (WINAPI * PFNWGLENUMGPUSFROMAFFINITYDCNVPROC) (HDC hAffinityDC, UINT iGpuIndex, HGPUNV *hGpu);
854#endif
855
856#ifndef WGL_AMD_gpu_association
857#define WGL_AMD_gpu_association 1
858#ifdef WGL_WGLEXT_PROTOTYPES
859extern UINT WINAPI wglGetGPUIDsAMD (UINT maxCount, UINT *ids);
860extern INT WINAPI wglGetGPUInfoAMD (UINT id, int property, GLenum dataType, UINT size, void *data);
861extern UINT WINAPI wglGetContextGPUIDAMD (HGLRC hglrc);
862extern HGLRC WINAPI wglCreateAssociatedContextAMD (UINT id);
863extern HGLRC WINAPI wglCreateAssociatedContextAttribsAMD (UINT id, HGLRC hShareContext, const int *attribList);
864extern BOOL WINAPI wglDeleteAssociatedContextAMD (HGLRC hglrc);
865extern BOOL WINAPI wglMakeAssociatedContextCurrentAMD (HGLRC hglrc);
866extern HGLRC WINAPI wglGetCurrentAssociatedContextAMD (void);
867extern 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);
868#endif /* WGL_WGLEXT_PROTOTYPES */
870typedef INT (WINAPI * PFNWGLGETGPUINFOAMDPROC) (UINT id, int property, GLenum dataType, UINT size, void *data);
878#endif
879
880#ifndef WGL_NV_video_capture
881#define WGL_NV_video_capture 1
882#ifdef WGL_WGLEXT_PROTOTYPES
883extern BOOL WINAPI wglBindVideoCaptureDeviceNV (UINT uVideoSlot, HVIDEOINPUTDEVICENV hDevice);
884extern UINT WINAPI wglEnumerateVideoCaptureDevicesNV (HDC hDc, HVIDEOINPUTDEVICENV *phDeviceList);
885extern BOOL WINAPI wglLockVideoCaptureDeviceNV (HDC hDc, HVIDEOINPUTDEVICENV hDevice);
886extern BOOL WINAPI wglQueryVideoCaptureDeviceNV (HDC hDc, HVIDEOINPUTDEVICENV hDevice, int iAttribute, int *piValue);
887extern BOOL WINAPI wglReleaseVideoCaptureDeviceNV (HDC hDc, HVIDEOINPUTDEVICENV hDevice);
888#endif /* WGL_WGLEXT_PROTOTYPES */
889typedef BOOL (WINAPI * PFNWGLBINDVIDEOCAPTUREDEVICENVPROC) (UINT uVideoSlot, HVIDEOINPUTDEVICENV hDevice);
890typedef UINT (WINAPI * PFNWGLENUMERATEVIDEOCAPTUREDEVICESNVPROC) (HDC hDc, HVIDEOINPUTDEVICENV *phDeviceList);
891typedef BOOL (WINAPI * PFNWGLLOCKVIDEOCAPTUREDEVICENVPROC) (HDC hDc, HVIDEOINPUTDEVICENV hDevice);
892typedef BOOL (WINAPI * PFNWGLQUERYVIDEOCAPTUREDEVICENVPROC) (HDC hDc, HVIDEOINPUTDEVICENV hDevice, int iAttribute, int *piValue);
893typedef BOOL (WINAPI * PFNWGLRELEASEVIDEOCAPTUREDEVICENVPROC) (HDC hDc, HVIDEOINPUTDEVICENV hDevice);
894#endif
895
896#ifndef WGL_NV_copy_image
897#define WGL_NV_copy_image 1
898#ifdef WGL_WGLEXT_PROTOTYPES
900#endif /* WGL_WGLEXT_PROTOTYPES */
902#endif
903
904#ifndef WGL_NV_multisample_coverage
905#define WGL_NV_multisample_coverage 1
906#endif
907
908#ifndef WGL_NV_DX_interop
909#define WGL_NV_DX_interop 1
910#ifdef WGL_WGLEXT_PROTOTYPES
911extern BOOL WINAPI wglDXSetResourceShareHandleNV (void *dxObject, HANDLE shareHandle);
912extern HANDLE WINAPI wglDXOpenDeviceNV (void *dxDevice);
913extern BOOL WINAPI wglDXCloseDeviceNV (HANDLE hDevice);
914extern HANDLE WINAPI wglDXRegisterObjectNV (HANDLE hDevice, void *dxObject, GLuint name, GLenum type, GLenum access);
915extern BOOL WINAPI wglDXUnregisterObjectNV (HANDLE hDevice, HANDLE hObject);
916extern BOOL WINAPI wglDXObjectAccessNV (HANDLE hObject, GLenum access);
917extern BOOL WINAPI wglDXLockObjectsNV (HANDLE hDevice, GLint count, HANDLE *hObjects);
918extern BOOL WINAPI wglDXUnlockObjectsNV (HANDLE hDevice, GLint count, HANDLE *hObjects);
919#endif /* WGL_WGLEXT_PROTOTYPES */
920typedef BOOL (WINAPI * PFNWGLDXSETRESOURCESHAREHANDLENVPROC) (void *dxObject, HANDLE shareHandle);
921typedef HANDLE (WINAPI * PFNWGLDXOPENDEVICENVPROC) (void *dxDevice);
926typedef BOOL (WINAPI * PFNWGLDXLOCKOBJECTSNVPROC) (HANDLE hDevice, GLint count, HANDLE *hObjects);
928#endif
929
930#ifndef WGL_NV_DX_interop2
931#define WGL_NV_DX_interop2 1
932#endif
933
934#ifndef WGL_EXT_swap_control_tear
935#define WGL_EXT_swap_control_tear 1
936#endif
937
938
939#ifdef __cplusplus
940}
941#endif
942
943#endif
static HDC hDC
Definition: 3dtext.c:33
signed int INT32
signed long long INT64
#define VOID
Definition: acefi.h:82
UINT uFlags
Definition: api.c:59
unsigned int(__cdecl typeof(jpeg_read_scanlines))(struct jpeg_decompress_struct *
Definition: typeof.h:31
unsigned int BOOL
Definition: ntddk_ex.h:94
unsigned long DWORD
Definition: ntddk_ex.h:95
unsigned int GLbitfield
Definition: gl.h:152
GLint GLint GLsizei GLsizei GLsizei depth
Definition: gl.h:1546
float GLfloat
Definition: gl.h:161
GLint GLint GLint GLint GLint x
Definition: gl.h:1548
GLuint GLuint GLsizei GLenum type
Definition: gl.h:1545
unsigned int GLenum
Definition: gl.h:150
unsigned int GLuint
Definition: gl.h:159
GLint GLint GLint GLint GLint GLint y
Definition: gl.h:1548
GLuint GLuint GLsizei count
Definition: gl.h:1545
GLint GLenum GLsizei GLsizei GLsizei GLint GLsizei const GLvoid * data
Definition: gl.h:1950
GLint GLint GLsizei GLsizei height
Definition: gl.h:1546
int GLsizei
Definition: gl.h:160
unsigned short GLushort
Definition: gl.h:158
int GLint
Definition: gl.h:156
GLint GLint GLsizei width
Definition: gl.h:1546
unsigned char GLboolean
Definition: gl.h:151
GLsizeiptr size
Definition: glext.h:5919
GLint GLint GLint GLint GLint GLint GLint dstY1
Definition: glext.h:7005
GLenum GLint GLint GLint GLint GLuint GLenum GLint GLint GLint dstY
Definition: glext.h:11259
GLint srcY0
Definition: glext.h:7005
GLuint * ids
Definition: glext.h:5907
GLenum GLint GLint GLint GLint GLuint GLenum GLint dstLevel
Definition: glext.h:11259
GLenum GLint GLint GLint GLint GLuint GLenum dstTarget
Definition: glext.h:11259
GLsizei const GLvoid * pointer
Definition: glext.h:5848
GLenum GLint GLuint mask
Definition: glext.h:6028
GLenum GLint GLint GLint GLint GLuint GLenum GLint GLint GLint GLint dstZ
Definition: glext.h:11259
GLint GLint GLint GLint GLint GLint dstX1
Definition: glext.h:7005
GLenum GLint GLint GLint GLint GLuint dstName
Definition: glext.h:11259
GLsizei maxCount
Definition: glext.h:6042
GLenum GLint GLint GLint GLint GLuint GLenum GLint GLint dstX
Definition: glext.h:11259
GLenum GLint GLint GLint GLint srcZ
Definition: glext.h:11259
GLint GLint GLint GLint GLint dstY0
Definition: glext.h:7005
GLuint divisor
Definition: glext.h:6313
GLint GLint GLint srcY1
Definition: glext.h:7005
GLint GLint GLint GLint GLint GLint GLint GLbitfield GLenum filter
Definition: glext.h:7005
GLuint GLsizei GLsizei * length
Definition: glext.h:6040
GLboolean GLuint group
Definition: glext.h:11120
GLuint GLint GLboolean GLint GLenum access
Definition: glext.h:7866
GLenum GLint srcLevel
Definition: glext.h:11259
GLint GLint srcX1
Definition: glext.h:7005
GLenum srcTarget
Definition: glext.h:11259
GLenum GLint GLint srcX
Definition: glext.h:11259
GLuint id
Definition: glext.h:5910
GLint GLint GLint GLint dstX0
Definition: glext.h:7005
GLenum GLint GLint GLint srcY
Definition: glext.h:11259
#define DECLARE_HANDLE(name)
Definition: mimeole.idl:23
double __cdecl remainder(double, double)
Definition: remainder.c:75
PSDBQUERYRESULT_VISTA PVOID DWORD * dwSize
Definition: env.c:56
HDC hdc
Definition: main.c:9
static HDC
Definition: imagelist.c:92
static int priority
Definition: timer.c:163
unsigned int UINT
Definition: ndis.h:50
#define BOOL
Definition: nt_native.h:43
#define LPVOID
Definition: nt_native.h:45
static HGLRC(WINAPI *pwglCreateContextAttribsARB)(HDC hDC
static HGLRC hShareContext
Definition: opengl.c:29
static HGLRC const int * attribList
Definition: opengl.c:29
static const int const FLOAT int UINT *static const int int *static HPBUFFERARB(WINAPI *pwglCreatePbufferARB)(HDC
static HDC HGLRC hglrc
Definition: opengl.c:36
unsigned short USHORT
Definition: pedump.c:61
#define INT
Definition: polytest.cpp:20
DWORD Flags
Definition: wgl.h:58
CHAR DeviceString[128]
Definition: wgl.h:57
RECT rcVirtualScreen
Definition: wgl.h:59
DWORD cb
Definition: wgl.h:55
Definition: name.c:39
float FLOAT
Definition: typedefs.h:69
PVOID HANDLE
Definition: typedefs.h:73
int32_t INT
Definition: typedefs.h:58
_Must_inspect_result_ _In_ PWDFDEVICE_INIT _In_opt_ PCUNICODE_STRING DeviceName
Definition: wdfdevice.h:3275
BOOL(WINAPI * PFNWGLWAITFORMSCOMLPROC)(HDC hdc, INT64 target_msc, INT64 divisor, INT64 remainder, INT64 *ust, INT64 *msc, INT64 *sbc)
Definition: wglext.h:668
BOOL(WINAPI * PFNWGLSAVEBUFFERREGIONARBPROC)(HANDLE hRegion, int x, int y, int width, int height)
Definition: wglext.h:472
HDC(WINAPI * PFNWGLGETCURRENTREADDCARBPROC)(void)
Definition: wglext.h:507
BOOL(WINAPI * PFNWGLDELETEDCNVPROC)(HDC hdc)
Definition: wglext.h:853
BOOL(WINAPI * PFNWGLDXUNLOCKOBJECTSNVPROC)(HANDLE hDevice, GLint count, HANDLE *hObjects)
Definition: wglext.h:927
BOOL(WINAPI * PFNWGLGENLOCKSOURCEEDGEI3DPROC)(HDC hDC, UINT uEdge)
Definition: wglext.h:717
BOOL(WINAPI * PFNWGLGETFRAMEUSAGEI3DPROC)(float *pUsage)
Definition: wglext.h:762
HANDLE(WINAPI * PFNWGLCREATEBUFFERREGIONARBPROC)(HDC hDC, int iLayerPlane, UINT uType)
Definition: wglext.h:470
UINT(WINAPI * PFNWGLGETGPUIDSAMDPROC)(UINT maxCount, UINT *ids)
Definition: wglext.h:869
BOOL(WINAPI * PFNWGLQUERYFRAMECOUNTNVPROC)(HDC hDC, GLuint *count)
Definition: wglext.h:836
INT(WINAPI * PFNWGLGETGPUINFOAMDPROC)(UINT id, int property, GLenum dataType, UINT size, void *data)
Definition: wglext.h:870
BOOL(WINAPI * PFNWGLRESTOREBUFFERREGIONARBPROC)(HANDLE hRegion, int x, int y, int width, int height, int xSrc, int ySrc)
Definition: wglext.h:473
BOOL(WINAPI * PFNWGLJOINSWAPGROUPNVPROC)(HDC hDC, GLuint group)
Definition: wglext.h:832
BOOL(WINAPI * PFNWGLDXSETRESOURCESHAREHANDLENVPROC)(void *dxObject, HANDLE shareHandle)
Definition: wglext.h:920
INT64(WINAPI * PFNWGLSWAPBUFFERSMSCOMLPROC)(HDC hdc, INT64 target_msc, INT64 divisor, INT64 remainder)
Definition: wglext.h:666
BOOL(WINAPI * PFNWGLBINDVIDEOIMAGENVPROC)(HPVIDEODEV hVideoDevice, HPBUFFERARB hPbuffer, int iVideoBuffer)
Definition: wglext.h:816
INT64(WINAPI * PFNWGLSWAPLAYERBUFFERSMSCOMLPROC)(HDC hdc, int fuPlanes, INT64 target_msc, INT64 divisor, INT64 remainder)
Definition: wglext.h:667
BOOL(WINAPI * PFNWGLDXUNREGISTEROBJECTNVPROC)(HANDLE hDevice, HANDLE hObject)
Definition: wglext.h:924
BOOL(WINAPI * PFNWGLDESTROYPBUFFEREXTPROC)(HPBUFFEREXT hPbuffer)
Definition: wglext.h:606
int(WINAPI * PFNWGLENUMERATEVIDEODEVICESNVPROC)(HDC hDC, HVIDEOOUTPUTDEVICENV *phDeviceList)
Definition: wglext.h:799
HDC(WINAPI * PFNWGLGETPBUFFERDCARBPROC)(HPBUFFERARB hPbuffer)
Definition: wglext.h:520
BOOL(WINAPI * PFNWGLSWAPINTERVALEXTPROC)(int interval)
Definition: wglext.h:628
BOOL(WINAPI * PFNWGLWAITFORSBCOMLPROC)(HDC hdc, INT64 target_sbc, INT64 *ust, INT64 *msc, INT64 *sbc)
Definition: wglext.h:669
BOOL(WINAPI * PFNWGLCHOOSEPIXELFORMATEXTPROC)(HDC hdc, const int *piAttribIList, const FLOAT *pfAttribFList, UINT nMaxFormats, int *piFormats, UINT *nNumFormats)
Definition: wglext.h:619
BOOL(WINAPI * PFNWGLQUERYFRAMETRACKINGI3DPROC)(DWORD *pFrameCount, DWORD *pMissedFrames, float *pLastMissedUsage)
Definition: wglext.h:765
BOOL(WINAPI * PFNWGLQUERYCURRENTCONTEXTNVPROC)(int iAttribute, int *piValue)
Definition: wglext.h:801
LPVOID(WINAPI * PFNWGLCREATEIMAGEBUFFERI3DPROC)(HDC hDC, DWORD dwSize, UINT uFlags)
Definition: wglext.h:734
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:877
BOOL(WINAPI * PFNWGLENABLEGENLOCKI3DPROC)(HDC hDC)
Definition: wglext.h:712
void(WINAPI * PFNWGLFREEMEMORYNVPROC)(void *pointer)
Definition: wglext.h:643
HGLRC(WINAPI * PFNWGLCREATECONTEXTATTRIBSARBPROC)(HDC hDC, HGLRC hShareContext, const int *attribList)
Definition: wglext.h:551
GLboolean(WINAPI * PFNWGLCREATEDISPLAYCOLORTABLEEXTPROC)(GLushort id)
Definition: wglext.h:570
BOOL(WINAPI * PFNWGLBINDVIDEOCAPTUREDEVICENVPROC)(UINT uVideoSlot, HVIDEOINPUTDEVICENV hDevice)
Definition: wglext.h:889
BOOL(WINAPI * PFNWGLQUERYVIDEOCAPTUREDEVICENVPROC)(HDC hDc, HVIDEOINPUTDEVICENV hDevice, int iAttribute, int *piValue)
Definition: wglext.h:892
BOOL(WINAPI * PFNWGLCHOOSEPIXELFORMATARBPROC)(HDC hdc, const int *piAttribIList, const FLOAT *pfAttribFList, UINT nMaxFormats, int *piFormats, UINT *nNumFormats)
Definition: wglext.h:497
BOOL(WINAPI * PFNWGLDISABLEFRAMELOCKI3DPROC)(void)
Definition: wglext.h:749
BOOL(WINAPI * PFNWGLGETPIXELFORMATATTRIBIVEXTPROC)(HDC hdc, int iPixelFormat, int iLayerPlane, UINT nAttributes, int *piAttributes, int *piValues)
Definition: wglext.h:617
BOOL(WINAPI * PFNWGLGETVIDEODEVICENVPROC)(HDC hDC, int numDevices, HPVIDEODEV *hVideoDevice)
Definition: wglext.h:814
int(WINAPI * PFNWGLGETSWAPINTERVALEXTPROC)(void)
Definition: wglext.h:629
BOOL(WINAPI * PFNWGLDISABLEGENLOCKI3DPROC)(HDC hDC)
Definition: wglext.h:713
BOOL(WINAPI * PFNWGLQUERYGENLOCKMAXSOURCEDELAYI3DPROC)(HDC hDC, UINT *uMaxLineDelay, UINT *uMaxPixelDelay)
Definition: wglext.h:723
BOOL(WINAPI * PFNWGLGETPIXELFORMATATTRIBIVARBPROC)(HDC hdc, int iPixelFormat, int iLayerPlane, UINT nAttributes, const int *piAttributes, int *piValues)
Definition: wglext.h:495
BOOL(WINAPI * PFNWGLISENABLEDFRAMELOCKI3DPROC)(BOOL *pFlag)
Definition: wglext.h:750
BOOL(WINAPI * PFNWGLGETPIXELFORMATATTRIBFVEXTPROC)(HDC hdc, int iPixelFormat, int iLayerPlane, UINT nAttributes, int *piAttributes, FLOAT *pfValues)
Definition: wglext.h:618
BOOL(WINAPI * PFNWGLENABLEFRAMELOCKI3DPROC)(void)
Definition: wglext.h:748
BOOL(WINAPI * PFNWGLDESTROYIMAGEBUFFERI3DPROC)(HDC hDC, LPVOID pAddress)
Definition: wglext.h:735
BOOL(WINAPI * PFNWGLENUMGPUSNVPROC)(UINT iGpuIndex, HGPUNV *phGpu)
Definition: wglext.h:849
BOOL(WINAPI * PFNWGLLOCKVIDEOCAPTUREDEVICENVPROC)(HDC hDc, HVIDEOINPUTDEVICENV hDevice)
Definition: wglext.h:891
BOOL(WINAPI * PFNWGLGETPIXELFORMATATTRIBFVARBPROC)(HDC hdc, int iPixelFormat, int iLayerPlane, UINT nAttributes, const int *piAttributes, FLOAT *pfValues)
Definition: wglext.h:496
BOOL(WINAPI * PFNWGLDXOBJECTACCESSNVPROC)(HANDLE hObject, GLenum access)
Definition: wglext.h:925
BOOL(WINAPI * PFNWGLBINDTEXIMAGEARBPROC)(HPBUFFERARB hPbuffer, int iBuffer)
Definition: wglext.h:533
BOOL(WINAPI * PFNWGLMAKECONTEXTCURRENTEXTPROC)(HDC hDrawDC, HDC hReadDC, HGLRC hglrc)
Definition: wglext.h:590
BOOL(WINAPI * PFNWGLISENABLEDGENLOCKI3DPROC)(HDC hDC, BOOL *pFlag)
Definition: wglext.h:714
struct _GPU_DEVICE * PGPU_DEVICE
BOOL(WINAPI * PFNWGLQUERYPBUFFERARBPROC)(HPBUFFERARB hPbuffer, int iAttribute, int *piValue)
Definition: wglext.h:523
void *(WINAPI * PFNWGLALLOCATEMEMORYNVPROC)(GLsizei size, GLfloat readfreq, GLfloat writefreq, GLfloat priority)
Definition: wglext.h:642
BOOL(WINAPI * PFNWGLRELEASEVIDEOIMAGENVPROC)(HPBUFFERARB hPbuffer, int iVideoBuffer)
Definition: wglext.h:817
BOOL(WINAPI * PFNWGLENDFRAMETRACKINGI3DPROC)(void)
Definition: wglext.h:764
BOOL(WINAPI * PFNWGLDESTROYPBUFFERARBPROC)(HPBUFFERARB hPbuffer)
Definition: wglext.h:522
GLboolean(WINAPI * PFNWGLLOADDISPLAYCOLORTABLEEXTPROC)(const GLushort *table, GLuint length)
Definition: wglext.h:571
BOOL(WINAPI * PFNWGLRELEASEVIDEOCAPTUREDEVICENVPROC)(HDC hDc, HVIDEOINPUTDEVICENV hDevice)
Definition: wglext.h:893
HDC(WINAPI * PFNWGLGETCURRENTREADDCEXTPROC)(void)
Definition: wglext.h:591
BOOL(WINAPI * PFNWGLDELETEASSOCIATEDCONTEXTAMDPROC)(HGLRC hglrc)
Definition: wglext.h:874
BOOL(WINAPI * PFNWGLRELEASEVIDEODEVICENVPROC)(HPVIDEODEV hVideoDevice)
Definition: wglext.h:815
BOOL(WINAPI * PFNWGLGETMSCRATEOMLPROC)(HDC hdc, INT32 *numerator, INT32 *denominator)
Definition: wglext.h:665
BOOL(WINAPI * PFNWGLBINDSWAPBARRIERNVPROC)(GLuint group, GLuint barrier)
Definition: wglext.h:833
VOID(WINAPI * PFNWGLDELETEBUFFERREGIONARBPROC)(HANDLE hRegion)
Definition: wglext.h:471
BOOL(WINAPI * PFNWGLRELEASETEXIMAGEARBPROC)(HPBUFFERARB hPbuffer, int iBuffer)
Definition: wglext.h:534
HANDLE(WINAPI * PFNWGLDXOPENDEVICENVPROC)(void *dxDevice)
Definition: wglext.h:921
BOOL(WINAPI * PFNWGLASSOCIATEIMAGEBUFFEREVENTSI3DPROC)(HDC hDC, const HANDLE *pEvent, const LPVOID *pAddress, const DWORD *pSize, UINT count)
Definition: wglext.h:736
BOOL(WINAPI * PFNWGLBINDVIDEODEVICENVPROC)(HDC hDC, unsigned int uVideoSlot, HVIDEOOUTPUTDEVICENV hVideoDevice, const int *piAttribList)
Definition: wglext.h:800
HANDLE(WINAPI * PFNWGLDXREGISTEROBJECTNVPROC)(HANDLE hDevice, void *dxObject, GLuint name, GLenum type, GLenum access)
Definition: wglext.h:923
BOOL(WINAPI * PFNWGLQUERYMAXSWAPGROUPSNVPROC)(HDC hDC, GLuint *maxGroups, GLuint *maxBarriers)
Definition: wglext.h:835
BOOL(WINAPI * PFNWGLQUERYSWAPGROUPNVPROC)(HDC hDC, GLuint *group, GLuint *barrier)
Definition: wglext.h:834
HPBUFFERARB(WINAPI * PFNWGLCREATEPBUFFERARBPROC)(HDC hDC, int iPixelFormat, int iWidth, int iHeight, const int *piAttribList)
Definition: wglext.h:519
struct _GPU_DEVICE GPU_DEVICE
BOOL(WINAPI * PFNWGLSETGAMMATABLEPARAMETERSI3DPROC)(HDC hDC, int iAttribute, const int *piValue)
Definition: wglext.h:691
BOOL(WINAPI * PFNWGLENUMGPUDEVICESNVPROC)(HGPUNV hGpu, UINT iDeviceIndex, PGPU_DEVICE lpGpuDevice)
Definition: wglext.h:850
BOOL(WINAPI * PFNWGLBEGINFRAMETRACKINGI3DPROC)(void)
Definition: wglext.h:763
const char *(WINAPI * PFNWGLGETEXTENSIONSSTRINGEXTPROC)(void)
Definition: wglext.h:581
BOOL(WINAPI * PFNWGLGETDIGITALVIDEOPARAMETERSI3DPROC)(HDC hDC, int iAttribute, int *piValue)
Definition: wglext.h:678
BOOL(WINAPI * PFNWGLRELEASEIMAGEBUFFEREVENTSI3DPROC)(HDC hDC, const LPVOID *pAddress, UINT count)
Definition: wglext.h:737
HDC(WINAPI * PFNWGLCREATEAFFINITYDCNVPROC)(const HGPUNV *phGpuList)
Definition: wglext.h:851
BOOL(WINAPI * PFNWGLGETVIDEOINFONVPROC)(HPVIDEODEV hpVideoDevice, unsigned long *pulCounterOutputPbuffer, unsigned long *pulCounterOutputVideo)
Definition: wglext.h:819
BOOL(WINAPI * PFNWGLGETGAMMATABLEI3DPROC)(HDC hDC, int iEntries, USHORT *puRed, USHORT *puGreen, USHORT *puBlue)
Definition: wglext.h:692
GLboolean(WINAPI * PFNWGLBINDDISPLAYCOLORTABLEEXTPROC)(GLushort id)
Definition: wglext.h:572
BOOL(WINAPI * PFNWGLDXCLOSEDEVICENVPROC)(HANDLE hDevice)
Definition: wglext.h:922
BOOL(WINAPI * PFNWGLMAKECONTEXTCURRENTARBPROC)(HDC hDrawDC, HDC hReadDC, HGLRC hglrc)
Definition: wglext.h:506
HGLRC(WINAPI * PFNWGLGETCURRENTASSOCIATEDCONTEXTAMDPROC)(void)
Definition: wglext.h:876
BOOL(WINAPI * PFNWGLSETGAMMATABLEI3DPROC)(HDC hDC, int iEntries, const USHORT *puRed, const USHORT *puGreen, const USHORT *puBlue)
Definition: wglext.h:693
BOOL(WINAPI * PFNWGLGENLOCKSOURCEDELAYI3DPROC)(HDC hDC, UINT uDelay)
Definition: wglext.h:721
HGLRC(WINAPI * PFNWGLCREATEASSOCIATEDCONTEXTATTRIBSAMDPROC)(UINT id, HGLRC hShareContext, const int *attribList)
Definition: wglext.h:873
BOOL(WINAPI * PFNWGLSETDIGITALVIDEOPARAMETERSI3DPROC)(HDC hDC, int iAttribute, const int *piValue)
Definition: wglext.h:679
HPBUFFEREXT(WINAPI * PFNWGLCREATEPBUFFEREXTPROC)(HDC hDC, int iPixelFormat, int iWidth, int iHeight, const int *piAttribList)
Definition: wglext.h:603
BOOL(WINAPI * PFNWGLGETGENLOCKSOURCEI3DPROC)(HDC hDC, UINT *uSource)
Definition: wglext.h:716
HGLRC(WINAPI * PFNWGLCREATEASSOCIATEDCONTEXTAMDPROC)(UINT id)
Definition: wglext.h:872
BOOL(WINAPI * PFNWGLRESETFRAMECOUNTNVPROC)(HDC hDC)
Definition: wglext.h:837
BOOL(WINAPI * PFNWGLGENLOCKSAMPLERATEI3DPROC)(HDC hDC, UINT uRate)
Definition: wglext.h:719
BOOL(WINAPI * PFNWGLSENDPBUFFERTOVIDEONVPROC)(HPBUFFERARB hPbuffer, int iBufferType, unsigned long *pulCounterPbuffer, BOOL bBlock)
Definition: wglext.h:818
BOOL(WINAPI * PFNWGLGETGENLOCKSAMPLERATEI3DPROC)(HDC hDC, UINT *uRate)
Definition: wglext.h:720
int(WINAPI * PFNWGLRELEASEPBUFFERDCARBPROC)(HPBUFFERARB hPbuffer, HDC hDC)
Definition: wglext.h:521
BOOL(WINAPI * PFNWGLGETGENLOCKSOURCEDELAYI3DPROC)(HDC hDC, UINT *uDelay)
Definition: wglext.h:722
UINT(WINAPI * PFNWGLGETCONTEXTGPUIDAMDPROC)(HGLRC hglrc)
Definition: wglext.h:871
BOOL(WINAPI * PFNWGLENUMGPUSFROMAFFINITYDCNVPROC)(HDC hAffinityDC, UINT iGpuIndex, HGPUNV *hGpu)
Definition: wglext.h:852
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:901
BOOL(WINAPI * PFNWGLDXLOCKOBJECTSNVPROC)(HANDLE hDevice, GLint count, HANDLE *hObjects)
Definition: wglext.h:926
VOID(WINAPI * PFNWGLDESTROYDISPLAYCOLORTABLEEXTPROC)(GLushort id)
Definition: wglext.h:573
BOOL(WINAPI * PFNWGLGETSYNCVALUESOMLPROC)(HDC hdc, INT64 *ust, INT64 *msc, INT64 *sbc)
Definition: wglext.h:664
BOOL(WINAPI * PFNWGLGETGENLOCKSOURCEEDGEI3DPROC)(HDC hDC, UINT *uEdge)
Definition: wglext.h:718
BOOL(WINAPI * PFNWGLGETGAMMATABLEPARAMETERSI3DPROC)(HDC hDC, int iAttribute, int *piValue)
Definition: wglext.h:690
BOOL(WINAPI * PFNWGLSETPBUFFERATTRIBARBPROC)(HPBUFFERARB hPbuffer, const int *piAttribList)
Definition: wglext.h:535
BOOL(WINAPI * PFNWGLMAKEASSOCIATEDCONTEXTCURRENTAMDPROC)(HGLRC hglrc)
Definition: wglext.h:875
BOOL(WINAPI * PFNWGLQUERYFRAMELOCKMASTERI3DPROC)(BOOL *pFlag)
Definition: wglext.h:751
HDC(WINAPI * PFNWGLGETPBUFFERDCEXTPROC)(HPBUFFEREXT hPbuffer)
Definition: wglext.h:604
BOOL(WINAPI * PFNWGLSETSTEREOEMITTERSTATE3DLPROC)(HDC hDC, UINT uState)
Definition: wglext.h:781
UINT(WINAPI * PFNWGLENUMERATEVIDEOCAPTUREDEVICESNVPROC)(HDC hDc, HVIDEOINPUTDEVICENV *phDeviceList)
Definition: wglext.h:890
BOOL(WINAPI * PFNWGLQUERYPBUFFEREXTPROC)(HPBUFFEREXT hPbuffer, int iAttribute, int *piValue)
Definition: wglext.h:607
int(WINAPI * PFNWGLRELEASEPBUFFERDCEXTPROC)(HPBUFFEREXT hPbuffer, HDC hDC)
Definition: wglext.h:605
const char *(WINAPI * PFNWGLGETEXTENSIONSSTRINGARBPROC)(HDC hdc)
Definition: wglext.h:485
BOOL(WINAPI * PFNWGLGENLOCKSOURCEI3DPROC)(HDC hDC, UINT uSource)
Definition: wglext.h:715
_In_ LONG iPixelFormat
Definition: winddi.h:3488
#define WINAPI
Definition: msvc.h:6
char CHAR
Definition: xmlstorage.h:175