~ubuntu-branches/ubuntu/maverick/xorg-server/maverick-security

« back to all changes in this revision

Viewing changes to hw/xwin/glx/wglext.h

  • Committer: Bazaar Package Importer
  • Author(s): Christopher James Halse Rogers
  • Date: 2010-08-05 11:25:14 UTC
  • mfrom: (1.1.35 upstream) (0.1.14 experimental)
  • Revision ID: james.westby@ubuntu.com-20100805112514-q4efdgj3nblevos2
Tags: 2:1.8.99.905-1ubuntu1
* Merge from (unreleased) Debian experimental.  Remaining Ubuntu changes:
  - rules, control:
    + Disable SELinux, libaudit-dev is not in main yet (LP 406226).
      Drop libaudit-dev from build-deps.
  - rules: Enable xcsecurity (LP 247537).
  - local/xvfb-run*: Add correct docs about error codes (LP 328205)
  - rules: Add --with-extra-module-dir to support GL alternatives.
  - control: Xvfb depends on xauth, x11-xkb-utils. (LP 500102)
  - rules, local/64-xorg-xkb.rules: Don't use keyboard-configuration
    until it's available.
  - control: Update some versioned Breaks for Ubuntu versions.
  - debian/patches:
    + 100_rethrow_signals.patch:
      When aborting, re-raise signals for apport
    + 109_fix-swcursor-crash.patch:
      Avoid dereferencing null pointer while reloading cursors during
      resume. (LP 371405)
    + 111_armel-drv-fallbacks.patch:
      Add support for armel driver fallbacks.
    + 121_only_switch_vt_when_active.diff:
      Add a check to prevent the X server from changing the VT when killing
      GDM from the console.
    + 122_xext_fix_card32_overflow_in_xauth.patch:
      Fix server crash when “xauth generate” is called with large timeout.
    + 157_check_null_modes.patch, 162_null_crtc_in_rotation.patch,
      166_nullptr_xinerama_keyrepeat.patch, 167_nullptr_xisbread.patch
      169_mipointer_nullptr_checks.patch,
      172_cwgetbackingpicture_nullptr_check.patch:
      Fix various segfaults in xserver by checking pointers for NULL
      values before dereferencing them.
    + 165_man_xorg_conf_no_device_ident.patch
      Correct man page
    + 168_glibc_trace_to_stderr.patch:
      Report abort traces to stderr instead of terminal
    + 184_virtual_devices_autodetect.patch:
      Use vesa for qemu device, which is not supported by cirrus
    + 187_edid_quirk_hp_nc8430.patch:
      Quirk for another LPL monitor (LP 380009)
    + 188_default_primary_to_first_busid.patch:
      Pick the first device and carry on (LP 459512)
    + 189_xserver_1.5.0_bg_none_root.patch:
      Create a root window with no background.
    + 190_cache-xkbcomp_output_for_fast_start_up.patch:
      Cache keyboard settings.
    + 191-Xorg-add-an-extra-module-path.patch:
      Add support for the alternatives module path.
    + 197_xvfb-randr.patch:
      Adds xrandr support to xvfb. (LP 516123)
    + 198_nohwaccess.patch:
      Adds a -nohwaccess argument to make X not access the hardware
      ports directly.
    + 200_randr-null.patch:
      Clarify a pointer initialization.
* Update changelog entries for 1.8.1.902-1 which became 1.8.99.904-1
* Drop 196_xvfbscreeninit-handling.patch: it's semantically empty, and now 
  doesn't apply.  Merge remaining #include change into 197_xvfb-randr.patch
* New upstream version will start correctly when no outputs are connected,
  as long as the video driver can dynamically resize the framebuffer
  (true for all KMS drivers) (LP: #337889)
* New upstream version fixes crash on non-admin logout with KDE (LP: #569879)
* Refresh 111_armel-drv-fallbacks.patch to fix the build on armel

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#ifndef __wglext_h_
 
2
#define __wglext_h_
 
3
 
 
4
#ifdef __cplusplus
 
5
extern "C" {
 
6
#endif
 
7
 
 
8
/*
 
9
** Copyright (c) 2007-2010 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 2010/05/17 */
 
52
/* Current version at http://www.opengl.org/registry/ */
 
53
#define WGL_WGLEXT_VERSION 19
 
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_create_context
 
179
#define WGL_CONTEXT_DEBUG_BIT_ARB      0x00000001
 
180
#define WGL_CONTEXT_FORWARD_COMPATIBLE_BIT_ARB 0x00000002
 
181
#define WGL_CONTEXT_MAJOR_VERSION_ARB  0x2091
 
182
#define WGL_CONTEXT_MINOR_VERSION_ARB  0x2092
 
183
#define WGL_CONTEXT_LAYER_PLANE_ARB    0x2093
 
184
#define WGL_CONTEXT_FLAGS_ARB          0x2094
 
185
#define ERROR_INVALID_VERSION_ARB      0x2095
 
186
#endif
 
187
 
 
188
#ifndef WGL_ARB_create_context_profile
 
189
#define WGL_CONTEXT_PROFILE_MASK_ARB   0x9126
 
190
#define WGL_CONTEXT_CORE_PROFILE_BIT_ARB 0x00000001
 
191
#define WGL_CONTEXT_COMPATIBILITY_PROFILE_BIT_ARB 0x00000002
 
192
#define ERROR_INVALID_PROFILE_ARB      0x2096
 
193
#endif
 
194
 
 
195
#ifndef WGL_EXT_make_current_read
 
196
#define ERROR_INVALID_PIXEL_TYPE_EXT   0x2043
 
197
#endif
 
198
 
 
199
#ifndef WGL_EXT_pixel_format
 
200
#define WGL_NUMBER_PIXEL_FORMATS_EXT   0x2000
 
201
#define WGL_DRAW_TO_WINDOW_EXT         0x2001
 
202
#define WGL_DRAW_TO_BITMAP_EXT         0x2002
 
203
#define WGL_ACCELERATION_EXT           0x2003
 
204
#define WGL_NEED_PALETTE_EXT           0x2004
 
205
#define WGL_NEED_SYSTEM_PALETTE_EXT    0x2005
 
206
#define WGL_SWAP_LAYER_BUFFERS_EXT     0x2006
 
207
#define WGL_SWAP_METHOD_EXT            0x2007
 
208
#define WGL_NUMBER_OVERLAYS_EXT        0x2008
 
209
#define WGL_NUMBER_UNDERLAYS_EXT       0x2009
 
210
#define WGL_TRANSPARENT_EXT            0x200A
 
211
#define WGL_TRANSPARENT_VALUE_EXT      0x200B
 
212
#define WGL_SHARE_DEPTH_EXT            0x200C
 
213
#define WGL_SHARE_STENCIL_EXT          0x200D
 
214
#define WGL_SHARE_ACCUM_EXT            0x200E
 
215
#define WGL_SUPPORT_GDI_EXT            0x200F
 
216
#define WGL_SUPPORT_OPENGL_EXT         0x2010
 
217
#define WGL_DOUBLE_BUFFER_EXT          0x2011
 
218
#define WGL_STEREO_EXT                 0x2012
 
219
#define WGL_PIXEL_TYPE_EXT             0x2013
 
220
#define WGL_COLOR_BITS_EXT             0x2014
 
221
#define WGL_RED_BITS_EXT               0x2015
 
222
#define WGL_RED_SHIFT_EXT              0x2016
 
223
#define WGL_GREEN_BITS_EXT             0x2017
 
224
#define WGL_GREEN_SHIFT_EXT            0x2018
 
225
#define WGL_BLUE_BITS_EXT              0x2019
 
226
#define WGL_BLUE_SHIFT_EXT             0x201A
 
227
#define WGL_ALPHA_BITS_EXT             0x201B
 
228
#define WGL_ALPHA_SHIFT_EXT            0x201C
 
229
#define WGL_ACCUM_BITS_EXT             0x201D
 
230
#define WGL_ACCUM_RED_BITS_EXT         0x201E
 
231
#define WGL_ACCUM_GREEN_BITS_EXT       0x201F
 
232
#define WGL_ACCUM_BLUE_BITS_EXT        0x2020
 
233
#define WGL_ACCUM_ALPHA_BITS_EXT       0x2021
 
234
#define WGL_DEPTH_BITS_EXT             0x2022
 
235
#define WGL_STENCIL_BITS_EXT           0x2023
 
236
#define WGL_AUX_BUFFERS_EXT            0x2024
 
237
#define WGL_NO_ACCELERATION_EXT        0x2025
 
238
#define WGL_GENERIC_ACCELERATION_EXT   0x2026
 
239
#define WGL_FULL_ACCELERATION_EXT      0x2027
 
240
#define WGL_SWAP_EXCHANGE_EXT          0x2028
 
241
#define WGL_SWAP_COPY_EXT              0x2029
 
242
#define WGL_SWAP_UNDEFINED_EXT         0x202A
 
243
#define WGL_TYPE_RGBA_EXT              0x202B
 
244
#define WGL_TYPE_COLORINDEX_EXT        0x202C
 
245
#endif
 
246
 
 
247
#ifndef WGL_EXT_pbuffer
 
248
#define WGL_DRAW_TO_PBUFFER_EXT        0x202D
 
249
#define WGL_MAX_PBUFFER_PIXELS_EXT     0x202E
 
250
#define WGL_MAX_PBUFFER_WIDTH_EXT      0x202F
 
251
#define WGL_MAX_PBUFFER_HEIGHT_EXT     0x2030
 
252
#define WGL_OPTIMAL_PBUFFER_WIDTH_EXT  0x2031
 
253
#define WGL_OPTIMAL_PBUFFER_HEIGHT_EXT 0x2032
 
254
#define WGL_PBUFFER_LARGEST_EXT        0x2033
 
255
#define WGL_PBUFFER_WIDTH_EXT          0x2034
 
256
#define WGL_PBUFFER_HEIGHT_EXT         0x2035
 
257
#endif
 
258
 
 
259
#ifndef WGL_EXT_depth_float
 
260
#define WGL_DEPTH_FLOAT_EXT            0x2040
 
261
#endif
 
262
 
 
263
#ifndef WGL_3DFX_multisample
 
264
#define WGL_SAMPLE_BUFFERS_3DFX        0x2060
 
265
#define WGL_SAMPLES_3DFX               0x2061
 
266
#endif
 
267
 
 
268
#ifndef WGL_EXT_multisample
 
269
#define WGL_SAMPLE_BUFFERS_EXT         0x2041
 
270
#define WGL_SAMPLES_EXT                0x2042
 
271
#endif
 
272
 
 
273
#ifndef WGL_I3D_digital_video_control
 
274
#define WGL_DIGITAL_VIDEO_CURSOR_ALPHA_FRAMEBUFFER_I3D 0x2050
 
275
#define WGL_DIGITAL_VIDEO_CURSOR_ALPHA_VALUE_I3D 0x2051
 
276
#define WGL_DIGITAL_VIDEO_CURSOR_INCLUDED_I3D 0x2052
 
277
#define WGL_DIGITAL_VIDEO_GAMMA_CORRECTED_I3D 0x2053
 
278
#endif
 
279
 
 
280
#ifndef WGL_I3D_gamma
 
281
#define WGL_GAMMA_TABLE_SIZE_I3D       0x204E
 
282
#define WGL_GAMMA_EXCLUDE_DESKTOP_I3D  0x204F
 
283
#endif
 
284
 
 
285
#ifndef WGL_I3D_genlock
 
286
#define WGL_GENLOCK_SOURCE_MULTIVIEW_I3D 0x2044
 
287
#define WGL_GENLOCK_SOURCE_EXTENAL_SYNC_I3D 0x2045
 
288
#define WGL_GENLOCK_SOURCE_EXTENAL_FIELD_I3D 0x2046
 
289
#define WGL_GENLOCK_SOURCE_EXTENAL_TTL_I3D 0x2047
 
290
#define WGL_GENLOCK_SOURCE_DIGITAL_SYNC_I3D 0x2048
 
291
#define WGL_GENLOCK_SOURCE_DIGITAL_FIELD_I3D 0x2049
 
292
#define WGL_GENLOCK_SOURCE_EDGE_FALLING_I3D 0x204A
 
293
#define WGL_GENLOCK_SOURCE_EDGE_RISING_I3D 0x204B
 
294
#define WGL_GENLOCK_SOURCE_EDGE_BOTH_I3D 0x204C
 
295
#endif
 
296
 
 
297
#ifndef WGL_I3D_image_buffer
 
298
#define WGL_IMAGE_BUFFER_MIN_ACCESS_I3D 0x00000001
 
299
#define WGL_IMAGE_BUFFER_LOCK_I3D      0x00000002
 
300
#endif
 
301
 
 
302
#ifndef WGL_I3D_swap_frame_lock
 
303
#endif
 
304
 
 
305
#ifndef WGL_NV_render_depth_texture
 
306
#define WGL_BIND_TO_TEXTURE_DEPTH_NV   0x20A3
 
307
#define WGL_BIND_TO_TEXTURE_RECTANGLE_DEPTH_NV 0x20A4
 
308
#define WGL_DEPTH_TEXTURE_FORMAT_NV    0x20A5
 
309
#define WGL_TEXTURE_DEPTH_COMPONENT_NV 0x20A6
 
310
#define WGL_DEPTH_COMPONENT_NV         0x20A7
 
311
#endif
 
312
 
 
313
#ifndef WGL_NV_render_texture_rectangle
 
314
#define WGL_BIND_TO_TEXTURE_RECTANGLE_RGB_NV 0x20A0
 
315
#define WGL_BIND_TO_TEXTURE_RECTANGLE_RGBA_NV 0x20A1
 
316
#define WGL_TEXTURE_RECTANGLE_NV       0x20A2
 
317
#endif
 
318
 
 
319
#ifndef WGL_ATI_pixel_format_float
 
320
#define WGL_TYPE_RGBA_FLOAT_ATI        0x21A0
 
321
#endif
 
322
 
 
323
#ifndef WGL_NV_float_buffer
 
324
#define WGL_FLOAT_COMPONENTS_NV        0x20B0
 
325
#define WGL_BIND_TO_TEXTURE_RECTANGLE_FLOAT_R_NV 0x20B1
 
326
#define WGL_BIND_TO_TEXTURE_RECTANGLE_FLOAT_RG_NV 0x20B2
 
327
#define WGL_BIND_TO_TEXTURE_RECTANGLE_FLOAT_RGB_NV 0x20B3
 
328
#define WGL_BIND_TO_TEXTURE_RECTANGLE_FLOAT_RGBA_NV 0x20B4
 
329
#define WGL_TEXTURE_FLOAT_R_NV         0x20B5
 
330
#define WGL_TEXTURE_FLOAT_RG_NV        0x20B6
 
331
#define WGL_TEXTURE_FLOAT_RGB_NV       0x20B7
 
332
#define WGL_TEXTURE_FLOAT_RGBA_NV      0x20B8
 
333
#endif
 
334
 
 
335
#ifndef WGL_3DL_stereo_control
 
336
#define WGL_STEREO_EMITTER_ENABLE_3DL  0x2055
 
337
#define WGL_STEREO_EMITTER_DISABLE_3DL 0x2056
 
338
#define WGL_STEREO_POLARITY_NORMAL_3DL 0x2057
 
339
#define WGL_STEREO_POLARITY_INVERT_3DL 0x2058
 
340
#endif
 
341
 
 
342
#ifndef WGL_EXT_pixel_format_packed_float
 
343
#define WGL_TYPE_RGBA_UNSIGNED_FLOAT_EXT 0x20A8
 
344
#endif
 
345
 
 
346
#ifndef WGL_EXT_framebuffer_sRGB
 
347
#define WGL_FRAMEBUFFER_SRGB_CAPABLE_EXT 0x20A9
 
348
#endif
 
349
 
 
350
#ifndef WGL_NV_present_video
 
351
#define WGL_NUM_VIDEO_SLOTS_NV         0x20F0
 
352
#endif
 
353
 
 
354
#ifndef WGL_NV_video_out
 
355
#define WGL_BIND_TO_VIDEO_RGB_NV       0x20C0
 
356
#define WGL_BIND_TO_VIDEO_RGBA_NV      0x20C1
 
357
#define WGL_BIND_TO_VIDEO_RGB_AND_DEPTH_NV 0x20C2
 
358
#define WGL_VIDEO_OUT_COLOR_NV         0x20C3
 
359
#define WGL_VIDEO_OUT_ALPHA_NV         0x20C4
 
360
#define WGL_VIDEO_OUT_DEPTH_NV         0x20C5
 
361
#define WGL_VIDEO_OUT_COLOR_AND_ALPHA_NV 0x20C6
 
362
#define WGL_VIDEO_OUT_COLOR_AND_DEPTH_NV 0x20C7
 
363
#define WGL_VIDEO_OUT_FRAME            0x20C8
 
364
#define WGL_VIDEO_OUT_FIELD_1          0x20C9
 
365
#define WGL_VIDEO_OUT_FIELD_2          0x20CA
 
366
#define WGL_VIDEO_OUT_STACKED_FIELDS_1_2 0x20CB
 
367
#define WGL_VIDEO_OUT_STACKED_FIELDS_2_1 0x20CC
 
368
#endif
 
369
 
 
370
#ifndef WGL_NV_swap_group
 
371
#endif
 
372
 
 
373
#ifndef WGL_NV_gpu_affinity
 
374
#define WGL_ERROR_INCOMPATIBLE_AFFINITY_MASKS_NV 0x20D0
 
375
#define WGL_ERROR_MISSING_AFFINITY_MASK_NV 0x20D1
 
376
#endif
 
377
 
 
378
#ifndef WGL_AMD_gpu_association
 
379
#define WGL_GPU_VENDOR_AMD             0x1F00
 
380
#define WGL_GPU_RENDERER_STRING_AMD    0x1F01
 
381
#define WGL_GPU_OPENGL_VERSION_STRING_AMD 0x1F02
 
382
#define WGL_GPU_FASTEST_TARGET_GPUS_AMD 0x21A2
 
383
#define WGL_GPU_RAM_AMD                0x21A3
 
384
#define WGL_GPU_CLOCK_AMD              0x21A4
 
385
#define WGL_GPU_NUM_PIPES_AMD          0x21A5
 
386
#define WGL_GPU_NUM_SIMD_AMD           0x21A6
 
387
#define WGL_GPU_NUM_RB_AMD             0x21A7
 
388
#define WGL_GPU_NUM_SPI_AMD            0x21A8
 
389
#endif
 
390
 
 
391
#ifndef NV_video_capture
 
392
#define WGL_UNIQUE_ID_NV               0x20CE
 
393
#define WGL_NUM_VIDEO_CAPTURE_SLOTS_NV 0x20CF
 
394
#endif
 
395
 
 
396
#ifndef NV_copy_image
 
397
#endif
 
398
 
 
399
#ifndef NV_multisample_coverage
 
400
#define WGL_COVERAGE_SAMPLES_NV        0x2042
 
401
#define WGL_COLOR_SAMPLES_NV           0x20B9
 
402
#endif
 
403
 
 
404
 
 
405
/*************************************************************/
 
406
 
 
407
#ifndef WGL_ARB_pbuffer
 
408
DECLARE_HANDLE(HPBUFFERARB);
 
409
#endif
 
410
#ifndef WGL_EXT_pbuffer
 
411
DECLARE_HANDLE(HPBUFFEREXT);
 
412
#endif
 
413
#ifndef WGL_NV_present_video
 
414
DECLARE_HANDLE(HVIDEOOUTPUTDEVICENV);
 
415
#endif
 
416
#ifndef WGL_NV_video_output
 
417
DECLARE_HANDLE(HPVIDEODEV);
 
418
#endif
 
419
#ifndef WGL_NV_gpu_affinity
 
420
DECLARE_HANDLE(HPGPUNV);
 
421
DECLARE_HANDLE(HGPUNV);
 
422
 
 
423
typedef struct _GPU_DEVICE {
 
424
    DWORD  cb;
 
425
    CHAR   DeviceName[32];
 
426
    CHAR   DeviceString[128];
 
427
    DWORD  Flags;
 
428
    RECT   rcVirtualScreen;
 
429
} GPU_DEVICE, *PGPU_DEVICE;
 
430
#endif
 
431
#ifndef WGL_NV_video_capture
 
432
DECLARE_HANDLE(HVIDEOINPUTDEVICENV);
 
433
#endif
 
434
 
 
435
#ifndef WGL_ARB_buffer_region
 
436
#define WGL_ARB_buffer_region 1
 
437
#ifdef WGL_WGLEXT_PROTOTYPES
 
438
extern HANDLE WINAPI wglCreateBufferRegionARB (HDC hDC, int iLayerPlane, UINT uType);
 
439
extern VOID WINAPI wglDeleteBufferRegionARB (HANDLE hRegion);
 
440
extern BOOL WINAPI wglSaveBufferRegionARB (HANDLE hRegion, int x, int y, int width, int height);
 
441
extern BOOL WINAPI wglRestoreBufferRegionARB (HANDLE hRegion, int x, int y, int width, int height, int xSrc, int ySrc);
 
442
#endif /* WGL_WGLEXT_PROTOTYPES */
 
443
typedef HANDLE (WINAPI * PFNWGLCREATEBUFFERREGIONARBPROC) (HDC hDC, int iLayerPlane, UINT uType);
 
444
typedef VOID (WINAPI * PFNWGLDELETEBUFFERREGIONARBPROC) (HANDLE hRegion);
 
445
typedef BOOL (WINAPI * PFNWGLSAVEBUFFERREGIONARBPROC) (HANDLE hRegion, int x, int y, int width, int height);
 
446
typedef BOOL (WINAPI * PFNWGLRESTOREBUFFERREGIONARBPROC) (HANDLE hRegion, int x, int y, int width, int height, int xSrc, int ySrc);
 
447
#endif
 
448
 
 
449
#ifndef WGL_ARB_multisample
 
450
#define WGL_ARB_multisample 1
 
451
#endif
 
452
 
 
453
#ifndef WGL_ARB_extensions_string
 
454
#define WGL_ARB_extensions_string 1
 
455
#ifdef WGL_WGLEXT_PROTOTYPES
 
456
extern const char * WINAPI wglGetExtensionsStringARB (HDC hdc);
 
457
#endif /* WGL_WGLEXT_PROTOTYPES */
 
458
typedef const char * (WINAPI * PFNWGLGETEXTENSIONSSTRINGARBPROC) (HDC hdc);
 
459
#endif
 
460
 
 
461
#ifndef WGL_ARB_pixel_format
 
462
#define WGL_ARB_pixel_format 1
 
463
#ifdef WGL_WGLEXT_PROTOTYPES
 
464
extern BOOL WINAPI wglGetPixelFormatAttribivARB (HDC hdc, int iPixelFormat, int iLayerPlane, UINT nAttributes, const int *piAttributes, int *piValues);
 
465
extern BOOL WINAPI wglGetPixelFormatAttribfvARB (HDC hdc, int iPixelFormat, int iLayerPlane, UINT nAttributes, const int *piAttributes, FLOAT *pfValues);
 
466
extern BOOL WINAPI wglChoosePixelFormatARB (HDC hdc, const int *piAttribIList, const FLOAT *pfAttribFList, UINT nMaxFormats, int *piFormats, UINT *nNumFormats);
 
467
#endif /* WGL_WGLEXT_PROTOTYPES */
 
468
typedef BOOL (WINAPI * PFNWGLGETPIXELFORMATATTRIBIVARBPROC) (HDC hdc, int iPixelFormat, int iLayerPlane, UINT nAttributes, const int *piAttributes, int *piValues);
 
469
typedef BOOL (WINAPI * PFNWGLGETPIXELFORMATATTRIBFVARBPROC) (HDC hdc, int iPixelFormat, int iLayerPlane, UINT nAttributes, const int *piAttributes, FLOAT *pfValues);
 
470
typedef BOOL (WINAPI * PFNWGLCHOOSEPIXELFORMATARBPROC) (HDC hdc, const int *piAttribIList, const FLOAT *pfAttribFList, UINT nMaxFormats, int *piFormats, UINT *nNumFormats);
 
471
#endif
 
472
 
 
473
#ifndef WGL_ARB_make_current_read
 
474
#define WGL_ARB_make_current_read 1
 
475
#ifdef WGL_WGLEXT_PROTOTYPES
 
476
extern BOOL WINAPI wglMakeContextCurrentARB (HDC hDrawDC, HDC hReadDC, HGLRC hglrc);
 
477
extern HDC WINAPI wglGetCurrentReadDCARB (void);
 
478
#endif /* WGL_WGLEXT_PROTOTYPES */
 
479
typedef BOOL (WINAPI * PFNWGLMAKECONTEXTCURRENTARBPROC) (HDC hDrawDC, HDC hReadDC, HGLRC hglrc);
 
480
typedef HDC (WINAPI * PFNWGLGETCURRENTREADDCARBPROC) (void);
 
481
#endif
 
482
 
 
483
#ifndef WGL_ARB_pbuffer
 
484
#define WGL_ARB_pbuffer 1
 
485
#ifdef WGL_WGLEXT_PROTOTYPES
 
486
extern HPBUFFERARB WINAPI wglCreatePbufferARB (HDC hDC, int iPixelFormat, int iWidth, int iHeight, const int *piAttribList);
 
487
extern HDC WINAPI wglGetPbufferDCARB (HPBUFFERARB hPbuffer);
 
488
extern int WINAPI wglReleasePbufferDCARB (HPBUFFERARB hPbuffer, HDC hDC);
 
489
extern BOOL WINAPI wglDestroyPbufferARB (HPBUFFERARB hPbuffer);
 
490
extern BOOL WINAPI wglQueryPbufferARB (HPBUFFERARB hPbuffer, int iAttribute, int *piValue);
 
491
#endif /* WGL_WGLEXT_PROTOTYPES */
 
492
typedef HPBUFFERARB (WINAPI * PFNWGLCREATEPBUFFERARBPROC) (HDC hDC, int iPixelFormat, int iWidth, int iHeight, const int *piAttribList);
 
493
typedef HDC (WINAPI * PFNWGLGETPBUFFERDCARBPROC) (HPBUFFERARB hPbuffer);
 
494
typedef int (WINAPI * PFNWGLRELEASEPBUFFERDCARBPROC) (HPBUFFERARB hPbuffer, HDC hDC);
 
495
typedef BOOL (WINAPI * PFNWGLDESTROYPBUFFERARBPROC) (HPBUFFERARB hPbuffer);
 
496
typedef BOOL (WINAPI * PFNWGLQUERYPBUFFERARBPROC) (HPBUFFERARB hPbuffer, int iAttribute, int *piValue);
 
497
#endif
 
498
 
 
499
#ifndef WGL_ARB_render_texture
 
500
#define WGL_ARB_render_texture 1
 
501
#ifdef WGL_WGLEXT_PROTOTYPES
 
502
extern BOOL WINAPI wglBindTexImageARB (HPBUFFERARB hPbuffer, int iBuffer);
 
503
extern BOOL WINAPI wglReleaseTexImageARB (HPBUFFERARB hPbuffer, int iBuffer);
 
504
extern BOOL WINAPI wglSetPbufferAttribARB (HPBUFFERARB hPbuffer, const int *piAttribList);
 
505
#endif /* WGL_WGLEXT_PROTOTYPES */
 
506
typedef BOOL (WINAPI * PFNWGLBINDTEXIMAGEARBPROC) (HPBUFFERARB hPbuffer, int iBuffer);
 
507
typedef BOOL (WINAPI * PFNWGLRELEASETEXIMAGEARBPROC) (HPBUFFERARB hPbuffer, int iBuffer);
 
508
typedef BOOL (WINAPI * PFNWGLSETPBUFFERATTRIBARBPROC) (HPBUFFERARB hPbuffer, const int *piAttribList);
 
509
#endif
 
510
 
 
511
#ifndef WGL_ARB_pixel_format_float
 
512
#define WGL_ARB_pixel_format_float 1
 
513
#endif
 
514
 
 
515
#ifndef WGL_ARB_create_context
 
516
#define WGL_ARB_create_context 1
 
517
#ifdef WGL_WGLEXT_PROTOTYPES
 
518
extern HGLRC WINAPI wglCreateContextAttribsARB (HDC hDC, HGLRC hShareContext, const int *attribList);
 
519
#endif /* WGL_WGLEXT_PROTOTYPES */
 
520
typedef HGLRC (WINAPI * PFNWGLCREATECONTEXTATTRIBSARBPROC) (HDC hDC, HGLRC hShareContext, const int *attribList);
 
521
#endif
 
522
 
 
523
#ifndef WGL_ARB_create_context_profile
 
524
#define WGL_ARB_create_context_profile 1
 
525
#endif
 
526
 
 
527
#ifndef WGL_EXT_display_color_table
 
528
#define WGL_EXT_display_color_table 1
 
529
#ifdef WGL_WGLEXT_PROTOTYPES
 
530
extern GLboolean WINAPI wglCreateDisplayColorTableEXT (GLushort id);
 
531
extern GLboolean WINAPI wglLoadDisplayColorTableEXT (const GLushort *table, GLuint length);
 
532
extern GLboolean WINAPI wglBindDisplayColorTableEXT (GLushort id);
 
533
extern VOID WINAPI wglDestroyDisplayColorTableEXT (GLushort id);
 
534
#endif /* WGL_WGLEXT_PROTOTYPES */
 
535
typedef GLboolean (WINAPI * PFNWGLCREATEDISPLAYCOLORTABLEEXTPROC) (GLushort id);
 
536
typedef GLboolean (WINAPI * PFNWGLLOADDISPLAYCOLORTABLEEXTPROC) (const GLushort *table, GLuint length);
 
537
typedef GLboolean (WINAPI * PFNWGLBINDDISPLAYCOLORTABLEEXTPROC) (GLushort id);
 
538
typedef VOID (WINAPI * PFNWGLDESTROYDISPLAYCOLORTABLEEXTPROC) (GLushort id);
 
539
#endif
 
540
 
 
541
#ifndef WGL_EXT_extensions_string
 
542
#define WGL_EXT_extensions_string 1
 
543
#ifdef WGL_WGLEXT_PROTOTYPES
 
544
extern const char * WINAPI wglGetExtensionsStringEXT (void);
 
545
#endif /* WGL_WGLEXT_PROTOTYPES */
 
546
typedef const char * (WINAPI * PFNWGLGETEXTENSIONSSTRINGEXTPROC) (void);
 
547
#endif
 
548
 
 
549
#ifndef WGL_EXT_make_current_read
 
550
#define WGL_EXT_make_current_read 1
 
551
#ifdef WGL_WGLEXT_PROTOTYPES
 
552
extern BOOL WINAPI wglMakeContextCurrentEXT (HDC hDrawDC, HDC hReadDC, HGLRC hglrc);
 
553
extern HDC WINAPI wglGetCurrentReadDCEXT (void);
 
554
#endif /* WGL_WGLEXT_PROTOTYPES */
 
555
typedef BOOL (WINAPI * PFNWGLMAKECONTEXTCURRENTEXTPROC) (HDC hDrawDC, HDC hReadDC, HGLRC hglrc);
 
556
typedef HDC (WINAPI * PFNWGLGETCURRENTREADDCEXTPROC) (void);
 
557
#endif
 
558
 
 
559
#ifndef WGL_EXT_pbuffer
 
560
#define WGL_EXT_pbuffer 1
 
561
#ifdef WGL_WGLEXT_PROTOTYPES
 
562
extern HPBUFFEREXT WINAPI wglCreatePbufferEXT (HDC hDC, int iPixelFormat, int iWidth, int iHeight, const int *piAttribList);
 
563
extern HDC WINAPI wglGetPbufferDCEXT (HPBUFFEREXT hPbuffer);
 
564
extern int WINAPI wglReleasePbufferDCEXT (HPBUFFEREXT hPbuffer, HDC hDC);
 
565
extern BOOL WINAPI wglDestroyPbufferEXT (HPBUFFEREXT hPbuffer);
 
566
extern BOOL WINAPI wglQueryPbufferEXT (HPBUFFEREXT hPbuffer, int iAttribute, int *piValue);
 
567
#endif /* WGL_WGLEXT_PROTOTYPES */
 
568
typedef HPBUFFEREXT (WINAPI * PFNWGLCREATEPBUFFEREXTPROC) (HDC hDC, int iPixelFormat, int iWidth, int iHeight, const int *piAttribList);
 
569
typedef HDC (WINAPI * PFNWGLGETPBUFFERDCEXTPROC) (HPBUFFEREXT hPbuffer);
 
570
typedef int (WINAPI * PFNWGLRELEASEPBUFFERDCEXTPROC) (HPBUFFEREXT hPbuffer, HDC hDC);
 
571
typedef BOOL (WINAPI * PFNWGLDESTROYPBUFFEREXTPROC) (HPBUFFEREXT hPbuffer);
 
572
typedef BOOL (WINAPI * PFNWGLQUERYPBUFFEREXTPROC) (HPBUFFEREXT hPbuffer, int iAttribute, int *piValue);
 
573
#endif
 
574
 
 
575
#ifndef WGL_EXT_pixel_format
 
576
#define WGL_EXT_pixel_format 1
 
577
#ifdef WGL_WGLEXT_PROTOTYPES
 
578
extern BOOL WINAPI wglGetPixelFormatAttribivEXT (HDC hdc, int iPixelFormat, int iLayerPlane, UINT nAttributes, int *piAttributes, int *piValues);
 
579
extern BOOL WINAPI wglGetPixelFormatAttribfvEXT (HDC hdc, int iPixelFormat, int iLayerPlane, UINT nAttributes, int *piAttributes, FLOAT *pfValues);
 
580
extern BOOL WINAPI wglChoosePixelFormatEXT (HDC hdc, const int *piAttribIList, const FLOAT *pfAttribFList, UINT nMaxFormats, int *piFormats, UINT *nNumFormats);
 
581
#endif /* WGL_WGLEXT_PROTOTYPES */
 
582
typedef BOOL (WINAPI * PFNWGLGETPIXELFORMATATTRIBIVEXTPROC) (HDC hdc, int iPixelFormat, int iLayerPlane, UINT nAttributes, int *piAttributes, int *piValues);
 
583
typedef BOOL (WINAPI * PFNWGLGETPIXELFORMATATTRIBFVEXTPROC) (HDC hdc, int iPixelFormat, int iLayerPlane, UINT nAttributes, int *piAttributes, FLOAT *pfValues);
 
584
typedef BOOL (WINAPI * PFNWGLCHOOSEPIXELFORMATEXTPROC) (HDC hdc, const int *piAttribIList, const FLOAT *pfAttribFList, UINT nMaxFormats, int *piFormats, UINT *nNumFormats);
 
585
#endif
 
586
 
 
587
#ifndef WGL_EXT_swap_control
 
588
#define WGL_EXT_swap_control 1
 
589
#ifdef WGL_WGLEXT_PROTOTYPES
 
590
extern BOOL WINAPI wglSwapIntervalEXT (int interval);
 
591
extern int WINAPI wglGetSwapIntervalEXT (void);
 
592
#endif /* WGL_WGLEXT_PROTOTYPES */
 
593
typedef BOOL (WINAPI * PFNWGLSWAPINTERVALEXTPROC) (int interval);
 
594
typedef int (WINAPI * PFNWGLGETSWAPINTERVALEXTPROC) (void);
 
595
#endif
 
596
 
 
597
#ifndef WGL_EXT_depth_float
 
598
#define WGL_EXT_depth_float 1
 
599
#endif
 
600
 
 
601
#ifndef WGL_NV_vertex_array_range
 
602
#define WGL_NV_vertex_array_range 1
 
603
#ifdef WGL_WGLEXT_PROTOTYPES
 
604
extern void* WINAPI wglAllocateMemoryNV (GLsizei size, GLfloat readfreq, GLfloat writefreq, GLfloat priority);
 
605
extern void WINAPI wglFreeMemoryNV (void *pointer);
 
606
#endif /* WGL_WGLEXT_PROTOTYPES */
 
607
typedef void* (WINAPI * PFNWGLALLOCATEMEMORYNVPROC) (GLsizei size, GLfloat readfreq, GLfloat writefreq, GLfloat priority);
 
608
typedef void (WINAPI * PFNWGLFREEMEMORYNVPROC) (void *pointer);
 
609
#endif
 
610
 
 
611
#ifndef WGL_3DFX_multisample
 
612
#define WGL_3DFX_multisample 1
 
613
#endif
 
614
 
 
615
#ifndef WGL_EXT_multisample
 
616
#define WGL_EXT_multisample 1
 
617
#endif
 
618
 
 
619
#ifndef WGL_OML_sync_control
 
620
#define WGL_OML_sync_control 1
 
621
#ifdef WGL_WGLEXT_PROTOTYPES
 
622
extern BOOL WINAPI wglGetSyncValuesOML (HDC hdc, INT64 *ust, INT64 *msc, INT64 *sbc);
 
623
extern BOOL WINAPI wglGetMscRateOML (HDC hdc, INT32 *numerator, INT32 *denominator);
 
624
extern INT64 WINAPI wglSwapBuffersMscOML (HDC hdc, INT64 target_msc, INT64 divisor, INT64 remainder);
 
625
extern INT64 WINAPI wglSwapLayerBuffersMscOML (HDC hdc, int fuPlanes, INT64 target_msc, INT64 divisor, INT64 remainder);
 
626
extern BOOL WINAPI wglWaitForMscOML (HDC hdc, INT64 target_msc, INT64 divisor, INT64 remainder, INT64 *ust, INT64 *msc, INT64 *sbc);
 
627
extern BOOL WINAPI wglWaitForSbcOML (HDC hdc, INT64 target_sbc, INT64 *ust, INT64 *msc, INT64 *sbc);
 
628
#endif /* WGL_WGLEXT_PROTOTYPES */
 
629
typedef BOOL (WINAPI * PFNWGLGETSYNCVALUESOMLPROC) (HDC hdc, INT64 *ust, INT64 *msc, INT64 *sbc);
 
630
typedef BOOL (WINAPI * PFNWGLGETMSCRATEOMLPROC) (HDC hdc, INT32 *numerator, INT32 *denominator);
 
631
typedef INT64 (WINAPI * PFNWGLSWAPBUFFERSMSCOMLPROC) (HDC hdc, INT64 target_msc, INT64 divisor, INT64 remainder);
 
632
typedef INT64 (WINAPI * PFNWGLSWAPLAYERBUFFERSMSCOMLPROC) (HDC hdc, int fuPlanes, INT64 target_msc, INT64 divisor, INT64 remainder);
 
633
typedef BOOL (WINAPI * PFNWGLWAITFORMSCOMLPROC) (HDC hdc, INT64 target_msc, INT64 divisor, INT64 remainder, INT64 *ust, INT64 *msc, INT64 *sbc);
 
634
typedef BOOL (WINAPI * PFNWGLWAITFORSBCOMLPROC) (HDC hdc, INT64 target_sbc, INT64 *ust, INT64 *msc, INT64 *sbc);
 
635
#endif
 
636
 
 
637
#ifndef WGL_I3D_digital_video_control
 
638
#define WGL_I3D_digital_video_control 1
 
639
#ifdef WGL_WGLEXT_PROTOTYPES
 
640
extern BOOL WINAPI wglGetDigitalVideoParametersI3D (HDC hDC, int iAttribute, int *piValue);
 
641
extern BOOL WINAPI wglSetDigitalVideoParametersI3D (HDC hDC, int iAttribute, const int *piValue);
 
642
#endif /* WGL_WGLEXT_PROTOTYPES */
 
643
typedef BOOL (WINAPI * PFNWGLGETDIGITALVIDEOPARAMETERSI3DPROC) (HDC hDC, int iAttribute, int *piValue);
 
644
typedef BOOL (WINAPI * PFNWGLSETDIGITALVIDEOPARAMETERSI3DPROC) (HDC hDC, int iAttribute, const int *piValue);
 
645
#endif
 
646
 
 
647
#ifndef WGL_I3D_gamma
 
648
#define WGL_I3D_gamma 1
 
649
#ifdef WGL_WGLEXT_PROTOTYPES
 
650
extern BOOL WINAPI wglGetGammaTableParametersI3D (HDC hDC, int iAttribute, int *piValue);
 
651
extern BOOL WINAPI wglSetGammaTableParametersI3D (HDC hDC, int iAttribute, const int *piValue);
 
652
extern BOOL WINAPI wglGetGammaTableI3D (HDC hDC, int iEntries, USHORT *puRed, USHORT *puGreen, USHORT *puBlue);
 
653
extern BOOL WINAPI wglSetGammaTableI3D (HDC hDC, int iEntries, const USHORT *puRed, const USHORT *puGreen, const USHORT *puBlue);
 
654
#endif /* WGL_WGLEXT_PROTOTYPES */
 
655
typedef BOOL (WINAPI * PFNWGLGETGAMMATABLEPARAMETERSI3DPROC) (HDC hDC, int iAttribute, int *piValue);
 
656
typedef BOOL (WINAPI * PFNWGLSETGAMMATABLEPARAMETERSI3DPROC) (HDC hDC, int iAttribute, const int *piValue);
 
657
typedef BOOL (WINAPI * PFNWGLGETGAMMATABLEI3DPROC) (HDC hDC, int iEntries, USHORT *puRed, USHORT *puGreen, USHORT *puBlue);
 
658
typedef BOOL (WINAPI * PFNWGLSETGAMMATABLEI3DPROC) (HDC hDC, int iEntries, const USHORT *puRed, const USHORT *puGreen, const USHORT *puBlue);
 
659
#endif
 
660
 
 
661
#ifndef WGL_I3D_genlock
 
662
#define WGL_I3D_genlock 1
 
663
#ifdef WGL_WGLEXT_PROTOTYPES
 
664
extern BOOL WINAPI wglEnableGenlockI3D (HDC hDC);
 
665
extern BOOL WINAPI wglDisableGenlockI3D (HDC hDC);
 
666
extern BOOL WINAPI wglIsEnabledGenlockI3D (HDC hDC, BOOL *pFlag);
 
667
extern BOOL WINAPI wglGenlockSourceI3D (HDC hDC, UINT uSource);
 
668
extern BOOL WINAPI wglGetGenlockSourceI3D (HDC hDC, UINT *uSource);
 
669
extern BOOL WINAPI wglGenlockSourceEdgeI3D (HDC hDC, UINT uEdge);
 
670
extern BOOL WINAPI wglGetGenlockSourceEdgeI3D (HDC hDC, UINT *uEdge);
 
671
extern BOOL WINAPI wglGenlockSampleRateI3D (HDC hDC, UINT uRate);
 
672
extern BOOL WINAPI wglGetGenlockSampleRateI3D (HDC hDC, UINT *uRate);
 
673
extern BOOL WINAPI wglGenlockSourceDelayI3D (HDC hDC, UINT uDelay);
 
674
extern BOOL WINAPI wglGetGenlockSourceDelayI3D (HDC hDC, UINT *uDelay);
 
675
extern BOOL WINAPI wglQueryGenlockMaxSourceDelayI3D (HDC hDC, UINT *uMaxLineDelay, UINT *uMaxPixelDelay);
 
676
#endif /* WGL_WGLEXT_PROTOTYPES */
 
677
typedef BOOL (WINAPI * PFNWGLENABLEGENLOCKI3DPROC) (HDC hDC);
 
678
typedef BOOL (WINAPI * PFNWGLDISABLEGENLOCKI3DPROC) (HDC hDC);
 
679
typedef BOOL (WINAPI * PFNWGLISENABLEDGENLOCKI3DPROC) (HDC hDC, BOOL *pFlag);
 
680
typedef BOOL (WINAPI * PFNWGLGENLOCKSOURCEI3DPROC) (HDC hDC, UINT uSource);
 
681
typedef BOOL (WINAPI * PFNWGLGETGENLOCKSOURCEI3DPROC) (HDC hDC, UINT *uSource);
 
682
typedef BOOL (WINAPI * PFNWGLGENLOCKSOURCEEDGEI3DPROC) (HDC hDC, UINT uEdge);
 
683
typedef BOOL (WINAPI * PFNWGLGETGENLOCKSOURCEEDGEI3DPROC) (HDC hDC, UINT *uEdge);
 
684
typedef BOOL (WINAPI * PFNWGLGENLOCKSAMPLERATEI3DPROC) (HDC hDC, UINT uRate);
 
685
typedef BOOL (WINAPI * PFNWGLGETGENLOCKSAMPLERATEI3DPROC) (HDC hDC, UINT *uRate);
 
686
typedef BOOL (WINAPI * PFNWGLGENLOCKSOURCEDELAYI3DPROC) (HDC hDC, UINT uDelay);
 
687
typedef BOOL (WINAPI * PFNWGLGETGENLOCKSOURCEDELAYI3DPROC) (HDC hDC, UINT *uDelay);
 
688
typedef BOOL (WINAPI * PFNWGLQUERYGENLOCKMAXSOURCEDELAYI3DPROC) (HDC hDC, UINT *uMaxLineDelay, UINT *uMaxPixelDelay);
 
689
#endif
 
690
 
 
691
#ifndef WGL_I3D_image_buffer
 
692
#define WGL_I3D_image_buffer 1
 
693
#ifdef WGL_WGLEXT_PROTOTYPES
 
694
extern LPVOID WINAPI wglCreateImageBufferI3D (HDC hDC, DWORD dwSize, UINT uFlags);
 
695
extern BOOL WINAPI wglDestroyImageBufferI3D (HDC hDC, LPVOID pAddress);
 
696
extern BOOL WINAPI wglAssociateImageBufferEventsI3D (HDC hDC, const HANDLE *pEvent, const LPVOID *pAddress, const DWORD *pSize, UINT count);
 
697
extern BOOL WINAPI wglReleaseImageBufferEventsI3D (HDC hDC, const LPVOID *pAddress, UINT count);
 
698
#endif /* WGL_WGLEXT_PROTOTYPES */
 
699
typedef LPVOID (WINAPI * PFNWGLCREATEIMAGEBUFFERI3DPROC) (HDC hDC, DWORD dwSize, UINT uFlags);
 
700
typedef BOOL (WINAPI * PFNWGLDESTROYIMAGEBUFFERI3DPROC) (HDC hDC, LPVOID pAddress);
 
701
typedef BOOL (WINAPI * PFNWGLASSOCIATEIMAGEBUFFEREVENTSI3DPROC) (HDC hDC, const HANDLE *pEvent, const LPVOID *pAddress, const DWORD *pSize, UINT count);
 
702
typedef BOOL (WINAPI * PFNWGLRELEASEIMAGEBUFFEREVENTSI3DPROC) (HDC hDC, const LPVOID *pAddress, UINT count);
 
703
#endif
 
704
 
 
705
#ifndef WGL_I3D_swap_frame_lock
 
706
#define WGL_I3D_swap_frame_lock 1
 
707
#ifdef WGL_WGLEXT_PROTOTYPES
 
708
extern BOOL WINAPI wglEnableFrameLockI3D (void);
 
709
extern BOOL WINAPI wglDisableFrameLockI3D (void);
 
710
extern BOOL WINAPI wglIsEnabledFrameLockI3D (BOOL *pFlag);
 
711
extern BOOL WINAPI wglQueryFrameLockMasterI3D (BOOL *pFlag);
 
712
#endif /* WGL_WGLEXT_PROTOTYPES */
 
713
typedef BOOL (WINAPI * PFNWGLENABLEFRAMELOCKI3DPROC) (void);
 
714
typedef BOOL (WINAPI * PFNWGLDISABLEFRAMELOCKI3DPROC) (void);
 
715
typedef BOOL (WINAPI * PFNWGLISENABLEDFRAMELOCKI3DPROC) (BOOL *pFlag);
 
716
typedef BOOL (WINAPI * PFNWGLQUERYFRAMELOCKMASTERI3DPROC) (BOOL *pFlag);
 
717
#endif
 
718
 
 
719
#ifndef WGL_I3D_swap_frame_usage
 
720
#define WGL_I3D_swap_frame_usage 1
 
721
#ifdef WGL_WGLEXT_PROTOTYPES
 
722
extern BOOL WINAPI wglGetFrameUsageI3D (float *pUsage);
 
723
extern BOOL WINAPI wglBeginFrameTrackingI3D (void);
 
724
extern BOOL WINAPI wglEndFrameTrackingI3D (void);
 
725
extern BOOL WINAPI wglQueryFrameTrackingI3D (DWORD *pFrameCount, DWORD *pMissedFrames, float *pLastMissedUsage);
 
726
#endif /* WGL_WGLEXT_PROTOTYPES */
 
727
typedef BOOL (WINAPI * PFNWGLGETFRAMEUSAGEI3DPROC) (float *pUsage);
 
728
typedef BOOL (WINAPI * PFNWGLBEGINFRAMETRACKINGI3DPROC) (void);
 
729
typedef BOOL (WINAPI * PFNWGLENDFRAMETRACKINGI3DPROC) (void);
 
730
typedef BOOL (WINAPI * PFNWGLQUERYFRAMETRACKINGI3DPROC) (DWORD *pFrameCount, DWORD *pMissedFrames, float *pLastMissedUsage);
 
731
#endif
 
732
 
 
733
#ifndef WGL_ATI_pixel_format_float
 
734
#define WGL_ATI_pixel_format_float 1
 
735
#endif
 
736
 
 
737
#ifndef WGL_NV_float_buffer
 
738
#define WGL_NV_float_buffer 1
 
739
#endif
 
740
 
 
741
#ifndef WGL_3DL_stereo_control
 
742
#define WGL_3DL_stereo_control 1
 
743
#ifdef WGL_WGLEXT_PROTOTYPES
 
744
extern BOOL WINAPI wglSetStereoEmitterState3DL (HDC hDC, UINT uState);
 
745
#endif /* WGL_WGLEXT_PROTOTYPES */
 
746
typedef BOOL (WINAPI * PFNWGLSETSTEREOEMITTERSTATE3DLPROC) (HDC hDC, UINT uState);
 
747
#endif
 
748
 
 
749
#ifndef WGL_EXT_pixel_format_packed_float
 
750
#define WGL_EXT_pixel_format_packed_float 1
 
751
#endif
 
752
 
 
753
#ifndef WGL_EXT_framebuffer_sRGB
 
754
#define WGL_EXT_framebuffer_sRGB 1
 
755
#endif
 
756
 
 
757
#ifndef WGL_NV_present_video
 
758
#define WGL_NV_present_video 1
 
759
#ifdef WGL_WGLEXT_PROTOTYPES
 
760
extern int WINAPI wglEnumerateVideoDevicesNV (HDC hDC, HVIDEOOUTPUTDEVICENV *phDeviceList);
 
761
extern BOOL WINAPI wglBindVideoDeviceNV (HDC hDC, unsigned int uVideoSlot, HVIDEOOUTPUTDEVICENV hVideoDevice, const int *piAttribList);
 
762
extern BOOL WINAPI wglQueryCurrentContextNV (int iAttribute, int *piValue);
 
763
#endif /* WGL_WGLEXT_PROTOTYPES */
 
764
typedef int (WINAPI * PFNWGLENUMERATEVIDEODEVICESNVPROC) (HDC hDC, HVIDEOOUTPUTDEVICENV *phDeviceList);
 
765
typedef BOOL (WINAPI * PFNWGLBINDVIDEODEVICENVPROC) (HDC hDC, unsigned int uVideoSlot, HVIDEOOUTPUTDEVICENV hVideoDevice, const int *piAttribList);
 
766
typedef BOOL (WINAPI * PFNWGLQUERYCURRENTCONTEXTNVPROC) (int iAttribute, int *piValue);
 
767
#endif
 
768
 
 
769
#ifndef WGL_NV_video_output
 
770
#define WGL_NV_video_output 1
 
771
#ifdef WGL_WGLEXT_PROTOTYPES
 
772
extern BOOL WINAPI wglGetVideoDeviceNV (HDC hDC, int numDevices, HPVIDEODEV *hVideoDevice);
 
773
extern BOOL WINAPI wglReleaseVideoDeviceNV (HPVIDEODEV hVideoDevice);
 
774
extern BOOL WINAPI wglBindVideoImageNV (HPVIDEODEV hVideoDevice, HPBUFFERARB hPbuffer, int iVideoBuffer);
 
775
extern BOOL WINAPI wglReleaseVideoImageNV (HPBUFFERARB hPbuffer, int iVideoBuffer);
 
776
extern BOOL WINAPI wglSendPbufferToVideoNV (HPBUFFERARB hPbuffer, int iBufferType, unsigned long *pulCounterPbuffer, BOOL bBlock);
 
777
extern BOOL WINAPI wglGetVideoInfoNV (HPVIDEODEV hpVideoDevice, unsigned long *pulCounterOutputPbuffer, unsigned long *pulCounterOutputVideo);
 
778
#endif /* WGL_WGLEXT_PROTOTYPES */
 
779
typedef BOOL (WINAPI * PFNWGLGETVIDEODEVICENVPROC) (HDC hDC, int numDevices, HPVIDEODEV *hVideoDevice);
 
780
typedef BOOL (WINAPI * PFNWGLRELEASEVIDEODEVICENVPROC) (HPVIDEODEV hVideoDevice);
 
781
typedef BOOL (WINAPI * PFNWGLBINDVIDEOIMAGENVPROC) (HPVIDEODEV hVideoDevice, HPBUFFERARB hPbuffer, int iVideoBuffer);
 
782
typedef BOOL (WINAPI * PFNWGLRELEASEVIDEOIMAGENVPROC) (HPBUFFERARB hPbuffer, int iVideoBuffer);
 
783
typedef BOOL (WINAPI * PFNWGLSENDPBUFFERTOVIDEONVPROC) (HPBUFFERARB hPbuffer, int iBufferType, unsigned long *pulCounterPbuffer, BOOL bBlock);
 
784
typedef BOOL (WINAPI * PFNWGLGETVIDEOINFONVPROC) (HPVIDEODEV hpVideoDevice, unsigned long *pulCounterOutputPbuffer, unsigned long *pulCounterOutputVideo);
 
785
#endif
 
786
 
 
787
#ifndef WGL_NV_swap_group
 
788
#define WGL_NV_swap_group 1
 
789
#ifdef WGL_WGLEXT_PROTOTYPES
 
790
extern BOOL WINAPI wglJoinSwapGroupNV (HDC hDC, GLuint group);
 
791
extern BOOL WINAPI wglBindSwapBarrierNV (GLuint group, GLuint barrier);
 
792
extern BOOL WINAPI wglQuerySwapGroupNV (HDC hDC, GLuint *group, GLuint *barrier);
 
793
extern BOOL WINAPI wglQueryMaxSwapGroupsNV (HDC hDC, GLuint *maxGroups, GLuint *maxBarriers);
 
794
extern BOOL WINAPI wglQueryFrameCountNV (HDC hDC, GLuint *count);
 
795
extern BOOL WINAPI wglResetFrameCountNV (HDC hDC);
 
796
#endif /* WGL_WGLEXT_PROTOTYPES */
 
797
typedef BOOL (WINAPI * PFNWGLJOINSWAPGROUPNVPROC) (HDC hDC, GLuint group);
 
798
typedef BOOL (WINAPI * PFNWGLBINDSWAPBARRIERNVPROC) (GLuint group, GLuint barrier);
 
799
typedef BOOL (WINAPI * PFNWGLQUERYSWAPGROUPNVPROC) (HDC hDC, GLuint *group, GLuint *barrier);
 
800
typedef BOOL (WINAPI * PFNWGLQUERYMAXSWAPGROUPSNVPROC) (HDC hDC, GLuint *maxGroups, GLuint *maxBarriers);
 
801
typedef BOOL (WINAPI * PFNWGLQUERYFRAMECOUNTNVPROC) (HDC hDC, GLuint *count);
 
802
typedef BOOL (WINAPI * PFNWGLRESETFRAMECOUNTNVPROC) (HDC hDC);
 
803
#endif
 
804
 
 
805
#ifndef WGL_NV_gpu_affinity
 
806
#define WGL_NV_gpu_affinity 1
 
807
#ifdef WGL_WGLEXT_PROTOTYPES
 
808
extern BOOL WINAPI wglEnumGpusNV (UINT iGpuIndex, HGPUNV *phGpu);
 
809
extern BOOL WINAPI wglEnumGpuDevicesNV (HGPUNV hGpu, UINT iDeviceIndex, PGPU_DEVICE lpGpuDevice);
 
810
extern HDC WINAPI wglCreateAffinityDCNV (const HGPUNV *phGpuList);
 
811
extern BOOL WINAPI wglEnumGpusFromAffinityDCNV (HDC hAffinityDC, UINT iGpuIndex, HGPUNV *hGpu);
 
812
extern BOOL WINAPI wglDeleteDCNV (HDC hdc);
 
813
#endif /* WGL_WGLEXT_PROTOTYPES */
 
814
typedef BOOL (WINAPI * PFNWGLENUMGPUSNVPROC) (UINT iGpuIndex, HGPUNV *phGpu);
 
815
typedef BOOL (WINAPI * PFNWGLENUMGPUDEVICESNVPROC) (HGPUNV hGpu, UINT iDeviceIndex, PGPU_DEVICE lpGpuDevice);
 
816
typedef HDC (WINAPI * PFNWGLCREATEAFFINITYDCNVPROC) (const HGPUNV *phGpuList);
 
817
typedef BOOL (WINAPI * PFNWGLENUMGPUSFROMAFFINITYDCNVPROC) (HDC hAffinityDC, UINT iGpuIndex, HGPUNV *hGpu);
 
818
typedef BOOL (WINAPI * PFNWGLDELETEDCNVPROC) (HDC hdc);
 
819
#endif
 
820
 
 
821
#ifndef WGL_AMD_gpu_association
 
822
#define WGL_AMD_gpu_association 1
 
823
#ifdef WGL_WGLEXT_PROTOTYPES
 
824
extern UINT WINAPI wglGetGPUIDsAMD (UINT maxCount, UINT *ids);
 
825
extern INT WINAPI wglGetGPUInfoAMD (UINT id, int property, GLenum dataType, UINT size, void *data);
 
826
extern UINT WINAPI wglGetContextGPUIDAMD (HGLRC hglrc);
 
827
extern HGLRC WINAPI wglCreateAssociatedContextAMD (UINT id);
 
828
extern HGLRC WINAPI wglCreateAssociatedContextAttribsAMD (UINT id, HGLRC hShareContext, const int *attribList);
 
829
extern BOOL WINAPI wglDeleteAssociatedContextAMD (HGLRC hglrc);
 
830
extern BOOL WINAPI wglMakeAssociatedContextCurrentAMD (HGLRC hglrc);
 
831
extern HGLRC WINAPI wglGetCurrentAssociatedContextAMD (void);
 
832
extern 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);
 
833
#endif /* WGL_WGLEXT_PROTOTYPES */
 
834
typedef UINT (WINAPI * PFNWGLGETGPUIDSAMDPROC) (UINT maxCount, UINT *ids);
 
835
typedef INT (WINAPI * PFNWGLGETGPUINFOAMDPROC) (UINT id, int property, GLenum dataType, UINT size, void *data);
 
836
typedef UINT (WINAPI * PFNWGLGETCONTEXTGPUIDAMDPROC) (HGLRC hglrc);
 
837
typedef HGLRC (WINAPI * PFNWGLCREATEASSOCIATEDCONTEXTAMDPROC) (UINT id);
 
838
typedef HGLRC (WINAPI * PFNWGLCREATEASSOCIATEDCONTEXTATTRIBSAMDPROC) (UINT id, HGLRC hShareContext, const int *attribList);
 
839
typedef BOOL (WINAPI * PFNWGLDELETEASSOCIATEDCONTEXTAMDPROC) (HGLRC hglrc);
 
840
typedef BOOL (WINAPI * PFNWGLMAKEASSOCIATEDCONTEXTCURRENTAMDPROC) (HGLRC hglrc);
 
841
typedef HGLRC (WINAPI * PFNWGLGETCURRENTASSOCIATEDCONTEXTAMDPROC) (void);
 
842
typedef VOID (WINAPI * PFNWGLBLITCONTEXTFRAMEBUFFERAMDPROC) (HGLRC dstCtx, GLint srcX0, GLint srcY0, GLint srcX1, GLint srcY1, GLint dstX0, GLint dstY0, GLint dstX1, GLint dstY1, GLbitfield mask, GLenum filter);
 
843
#endif
 
844
 
 
845
#ifndef WGL_NV_video_capture
 
846
#define WGL_NV_video_capture 1
 
847
#ifdef WGL_WGLEXT_PROTOTYPES
 
848
extern BOOL WINAPI wglBindVideoCaptureDeviceNV (UINT uVideoSlot, HVIDEOINPUTDEVICENV hDevice);
 
849
extern UINT WINAPI wglEnumerateVideoCaptureDevicesNV (HDC hDc, HVIDEOINPUTDEVICENV *phDeviceList);
 
850
extern BOOL WINAPI wglLockVideoCaptureDeviceNV (HDC hDc, HVIDEOINPUTDEVICENV hDevice);
 
851
extern BOOL WINAPI wglQueryVideoCaptureDeviceNV (HDC hDc, HVIDEOINPUTDEVICENV hDevice, int iAttribute, int *piValue);
 
852
extern BOOL WINAPI wglReleaseVideoCaptureDeviceNV (HDC hDc, HVIDEOINPUTDEVICENV hDevice);
 
853
#endif /* WGL_WGLEXT_PROTOTYPES */
 
854
typedef BOOL (WINAPI * PFNWGLBINDVIDEOCAPTUREDEVICENVPROC) (UINT uVideoSlot, HVIDEOINPUTDEVICENV hDevice);
 
855
typedef UINT (WINAPI * PFNWGLENUMERATEVIDEOCAPTUREDEVICESNVPROC) (HDC hDc, HVIDEOINPUTDEVICENV *phDeviceList);
 
856
typedef BOOL (WINAPI * PFNWGLLOCKVIDEOCAPTUREDEVICENVPROC) (HDC hDc, HVIDEOINPUTDEVICENV hDevice);
 
857
typedef BOOL (WINAPI * PFNWGLQUERYVIDEOCAPTUREDEVICENVPROC) (HDC hDc, HVIDEOINPUTDEVICENV hDevice, int iAttribute, int *piValue);
 
858
typedef BOOL (WINAPI * PFNWGLRELEASEVIDEOCAPTUREDEVICENVPROC) (HDC hDc, HVIDEOINPUTDEVICENV hDevice);
 
859
#endif
 
860
 
 
861
#ifndef WGL_NV_copy_image
 
862
#define WGL_NV_copy_image 1
 
863
#ifdef WGL_WGLEXT_PROTOTYPES
 
864
extern 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);
 
865
#endif /* WGL_WGLEXT_PROTOTYPES */
 
866
typedef BOOL (WINAPI * PFNWGLCOPYIMAGESUBDATANVPROC) (HGLRC hSrcRC, GLuint srcName, GLenum srcTarget, GLint srcLevel, GLint srcX, GLint srcY, GLint srcZ, HGLRC hDstRC, GLuint dstName, GLenum dstTarget, GLint dstLevel, GLint dstX, GLint dstY, GLint dstZ, GLsizei width, GLsizei height, GLsizei depth);
 
867
#endif
 
868
 
 
869
#ifndef WGL_NV_multisample_coverage
 
870
#define WGL_NV_multisample_coverage 1
 
871
#endif
 
872
 
 
873
 
 
874
#ifdef __cplusplus
 
875
}
 
876
#endif
 
877
 
 
878
#endif