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