| Unuk 1.0

- Main Page
- Classes
- Files

- File List
- File Members

src/Libs/wglext.h
Go to the documentation of this file.

    00001 #ifndef __wglext_h_
    00002 #define __wglext_h_
    00003
    00004 #ifdef __cplusplus
    00005 extern "C" {
    00006 #endif
    00007
    00008 /*
    00009 ** Copyright (c) 2007 The Khronos Group Inc.
    00010 **
    00011 ** Permission is hereby granted, free of charge, to any person obtaining a
    00012 ** copy of this software and/or associated documentation files (the
    00013 ** "Materials"), to deal in the Materials without restriction, including
    00014 ** without limitation the rights to use, copy, modify, merge, publish,
    00015 ** distribute, sublicense, and/or sell copies of the Materials, and to
    00016 ** permit persons to whom the Materials are furnished to do so, subject to
    00017 ** the following conditions:
    00018 **
    00019 ** The above copyright notice and this permission notice shall be included
    00020 ** in all copies or substantial portions of the Materials.
    00021 **
    00022 ** THE MATERIALS ARE PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
    00023 ** EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
    00024 ** MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
    00025 ** IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
    00026 ** CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
    00027 ** TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
    00028 ** MATERIALS OR THE USE OR OTHER DEALINGS IN THE MATERIALS.
    00029 */
    00030
    00031 #if defined(_WIN32) && !defined(APIENTRY) && !defined(__CYGWIN__) && !defined(__SCITECH_SNAP__)
    00032 #define WIN32_LEAN_AND_MEAN 1
    00033 #include <windows.h>
    00034 #endif
    00035
    00036 #ifndef APIENTRY
    00037 #define APIENTRY
    00038 #endif
    00039 #ifndef APIENTRYP
    00040 #define APIENTRYP APIENTRY *
    00041 #endif
    00042 #ifndef GLAPI
    00043 #define GLAPI extern
    00044 #endif
    00045
    00046 /*************************************************************/
    00047
    00048 /* Header file version number */
    00049 /* wglext.h last updated 2008/08/10 */
    00050 /* Current version at http://www.opengl.org/registry/ */
    00051 #define WGL_WGLEXT_VERSION 10
    00052
    00053 #ifndef WGL_ARB_buffer_region
    00054 #define WGL_FRONT_COLOR_BUFFER_BIT_ARB 0x00000001
    00055 #define WGL_BACK_COLOR_BUFFER_BIT_ARB  0x00000002
    00056 #define WGL_DEPTH_BUFFER_BIT_ARB       0x00000004
    00057 #define WGL_STENCIL_BUFFER_BIT_ARB     0x00000008
    00058 #endif
    00059
    00060 #ifndef WGL_ARB_multisample
    00061 #define WGL_SAMPLE_BUFFERS_ARB         0x2041
    00062 #define WGL_SAMPLES_ARB                0x2042
    00063 #endif
    00064
    00065 #ifndef WGL_ARB_extensions_string
    00066 #endif
    00067
    00068 #ifndef WGL_ARB_pixel_format
    00069 #define WGL_NUMBER_PIXEL_FORMATS_ARB   0x2000
    00070 #define WGL_DRAW_TO_WINDOW_ARB         0x2001
    00071 #define WGL_DRAW_TO_BITMAP_ARB         0x2002
    00072 #define WGL_ACCELERATION_ARB           0x2003
    00073 #define WGL_NEED_PALETTE_ARB           0x2004
    00074 #define WGL_NEED_SYSTEM_PALETTE_ARB    0x2005
    00075 #define WGL_SWAP_LAYER_BUFFERS_ARB     0x2006
    00076 #define WGL_SWAP_METHOD_ARB            0x2007
    00077 #define WGL_NUMBER_OVERLAYS_ARB        0x2008
    00078 #define WGL_NUMBER_UNDERLAYS_ARB       0x2009
    00079 #define WGL_TRANSPARENT_ARB            0x200A
    00080 #define WGL_TRANSPARENT_RED_VALUE_ARB  0x2037
    00081 #define WGL_TRANSPARENT_GREEN_VALUE_ARB 0x2038
    00082 #define WGL_TRANSPARENT_BLUE_VALUE_ARB 0x2039
    00083 #define WGL_TRANSPARENT_ALPHA_VALUE_ARB 0x203A
    00084 #define WGL_TRANSPARENT_INDEX_VALUE_ARB 0x203B
    00085 #define WGL_SHARE_DEPTH_ARB            0x200C
    00086 #define WGL_SHARE_STENCIL_ARB          0x200D
    00087 #define WGL_SHARE_ACCUM_ARB            0x200E
    00088 #define WGL_SUPPORT_GDI_ARB            0x200F
    00089 #define WGL_SUPPORT_OPENGL_ARB         0x2010
    00090 #define WGL_DOUBLE_BUFFER_ARB          0x2011
    00091 #define WGL_STEREO_ARB                 0x2012
    00092 #define WGL_PIXEL_TYPE_ARB             0x2013
    00093 #define WGL_COLOR_BITS_ARB             0x2014
    00094 #define WGL_RED_BITS_ARB               0x2015
    00095 #define WGL_RED_SHIFT_ARB              0x2016
    00096 #define WGL_GREEN_BITS_ARB             0x2017
    00097 #define WGL_GREEN_SHIFT_ARB            0x2018
    00098 #define WGL_BLUE_BITS_ARB              0x2019
    00099 #define WGL_BLUE_SHIFT_ARB             0x201A
    00100 #define WGL_ALPHA_BITS_ARB             0x201B
    00101 #define WGL_ALPHA_SHIFT_ARB            0x201C
    00102 #define WGL_ACCUM_BITS_ARB             0x201D
    00103 #define WGL_ACCUM_RED_BITS_ARB         0x201E
    00104 #define WGL_ACCUM_GREEN_BITS_ARB       0x201F
    00105 #define WGL_ACCUM_BLUE_BITS_ARB        0x2020
    00106 #define WGL_ACCUM_ALPHA_BITS_ARB       0x2021
    00107 #define WGL_DEPTH_BITS_ARB             0x2022
    00108 #define WGL_STENCIL_BITS_ARB           0x2023
    00109 #define WGL_AUX_BUFFERS_ARB            0x2024
    00110 #define WGL_NO_ACCELERATION_ARB        0x2025
    00111 #define WGL_GENERIC_ACCELERATION_ARB   0x2026
    00112 #define WGL_FULL_ACCELERATION_ARB      0x2027
    00113 #define WGL_SWAP_EXCHANGE_ARB          0x2028
    00114 #define WGL_SWAP_COPY_ARB              0x2029
    00115 #define WGL_SWAP_UNDEFINED_ARB         0x202A
    00116 #define WGL_TYPE_RGBA_ARB              0x202B
    00117 #define WGL_TYPE_COLORINDEX_ARB        0x202C
    00118 #endif
    00119
    00120 #ifndef WGL_ARB_make_current_read
    00121 #define ERROR_INVALID_PIXEL_TYPE_ARB   0x2043
    00122 #define ERROR_INCOMPATIBLE_DEVICE_CONTEXTS_ARB 0x2054
    00123 #endif
    00124
    00125 #ifndef WGL_ARB_pbuffer
    00126 #define WGL_DRAW_TO_PBUFFER_ARB        0x202D
    00127 #define WGL_MAX_PBUFFER_PIXELS_ARB     0x202E
    00128 #define WGL_MAX_PBUFFER_WIDTH_ARB      0x202F
    00129 #define WGL_MAX_PBUFFER_HEIGHT_ARB     0x2030
    00130 #define WGL_PBUFFER_LARGEST_ARB        0x2033
    00131 #define WGL_PBUFFER_WIDTH_ARB          0x2034
    00132 #define WGL_PBUFFER_HEIGHT_ARB         0x2035
    00133 #define WGL_PBUFFER_LOST_ARB           0x2036
    00134 #endif
    00135
    00136 #ifndef WGL_ARB_render_texture
    00137 #define WGL_BIND_TO_TEXTURE_RGB_ARB    0x2070
    00138 #define WGL_BIND_TO_TEXTURE_RGBA_ARB   0x2071
    00139 #define WGL_TEXTURE_FORMAT_ARB         0x2072
    00140 #define WGL_TEXTURE_TARGET_ARB         0x2073
    00141 #define WGL_MIPMAP_TEXTURE_ARB         0x2074
    00142 #define WGL_TEXTURE_RGB_ARB            0x2075
    00143 #define WGL_TEXTURE_RGBA_ARB           0x2076
    00144 #define WGL_NO_TEXTURE_ARB             0x2077
    00145 #define WGL_TEXTURE_CUBE_MAP_ARB       0x2078
    00146 #define WGL_TEXTURE_1D_ARB             0x2079
    00147 #define WGL_TEXTURE_2D_ARB             0x207A
    00148 #define WGL_MIPMAP_LEVEL_ARB           0x207B
    00149 #define WGL_CUBE_MAP_FACE_ARB          0x207C
    00150 #define WGL_TEXTURE_CUBE_MAP_POSITIVE_X_ARB 0x207D
    00151 #define WGL_TEXTURE_CUBE_MAP_NEGATIVE_X_ARB 0x207E
    00152 #define WGL_TEXTURE_CUBE_MAP_POSITIVE_Y_ARB 0x207F
    00153 #define WGL_TEXTURE_CUBE_MAP_NEGATIVE_Y_ARB 0x2080
    00154 #define WGL_TEXTURE_CUBE_MAP_POSITIVE_Z_ARB 0x2081
    00155 #define WGL_TEXTURE_CUBE_MAP_NEGATIVE_Z_ARB 0x2082
    00156 #define WGL_FRONT_LEFT_ARB             0x2083
    00157 #define WGL_FRONT_RIGHT_ARB            0x2084
    00158 #define WGL_BACK_LEFT_ARB              0x2085
    00159 #define WGL_BACK_RIGHT_ARB             0x2086
    00160 #define WGL_AUX0_ARB                   0x2087
    00161 #define WGL_AUX1_ARB                   0x2088
    00162 #define WGL_AUX2_ARB                   0x2089
    00163 #define WGL_AUX3_ARB                   0x208A
    00164 #define WGL_AUX4_ARB                   0x208B
    00165 #define WGL_AUX5_ARB                   0x208C
    00166 #define WGL_AUX6_ARB                   0x208D
    00167 #define WGL_AUX7_ARB                   0x208E
    00168 #define WGL_AUX8_ARB                   0x208F
    00169 #define WGL_AUX9_ARB                   0x2090
    00170 #endif
    00171
    00172 #ifndef WGL_ARB_pixel_format_float
    00173 #define WGL_TYPE_RGBA_FLOAT_ARB        0x21A0
    00174 #endif
    00175
    00176 #ifndef WGL_ARB_create_context
    00177 #define WGL_CONTEXT_DEBUG_BIT_ARB      0x0001
    00178 #define WGL_CONTEXT_FORWARD_COMPATIBLE_BIT_ARB 0x0002
    00179 #define WGL_CONTEXT_MAJOR_VERSION_ARB  0x2091
    00180 #define WGL_CONTEXT_MINOR_VERSION_ARB  0x2092
    00181 #define WGL_CONTEXT_LAYER_PLANE_ARB    0x2093
    00182 #define WGL_CONTEXT_FLAGS_ARB          0x2094
    00183 #define ERROR_INVALID_VERSION_ARB      0x2095
    00184 #endif
    00185
    00186 #ifndef WGL_EXT_make_current_read
    00187 #define ERROR_INVALID_PIXEL_TYPE_EXT   0x2043
    00188 #endif
    00189
    00190 #ifndef WGL_EXT_pixel_format
    00191 #define WGL_NUMBER_PIXEL_FORMATS_EXT   0x2000
    00192 #define WGL_DRAW_TO_WINDOW_EXT         0x2001
    00193 #define WGL_DRAW_TO_BITMAP_EXT         0x2002
    00194 #define WGL_ACCELERATION_EXT           0x2003
    00195 #define WGL_NEED_PALETTE_EXT           0x2004
    00196 #define WGL_NEED_SYSTEM_PALETTE_EXT    0x2005
    00197 #define WGL_SWAP_LAYER_BUFFERS_EXT     0x2006
    00198 #define WGL_SWAP_METHOD_EXT            0x2007
    00199 #define WGL_NUMBER_OVERLAYS_EXT        0x2008
    00200 #define WGL_NUMBER_UNDERLAYS_EXT       0x2009
    00201 #define WGL_TRANSPARENT_EXT            0x200A
    00202 #define WGL_TRANSPARENT_VALUE_EXT      0x200B
    00203 #define WGL_SHARE_DEPTH_EXT            0x200C
    00204 #define WGL_SHARE_STENCIL_EXT          0x200D
    00205 #define WGL_SHARE_ACCUM_EXT            0x200E
    00206 #define WGL_SUPPORT_GDI_EXT            0x200F
    00207 #define WGL_SUPPORT_OPENGL_EXT         0x2010
    00208 #define WGL_DOUBLE_BUFFER_EXT          0x2011
    00209 #define WGL_STEREO_EXT                 0x2012
    00210 #define WGL_PIXEL_TYPE_EXT             0x2013
    00211 #define WGL_COLOR_BITS_EXT             0x2014
    00212 #define WGL_RED_BITS_EXT               0x2015
    00213 #define WGL_RED_SHIFT_EXT              0x2016
    00214 #define WGL_GREEN_BITS_EXT             0x2017
    00215 #define WGL_GREEN_SHIFT_EXT            0x2018
    00216 #define WGL_BLUE_BITS_EXT              0x2019
    00217 #define WGL_BLUE_SHIFT_EXT             0x201A
    00218 #define WGL_ALPHA_BITS_EXT             0x201B
    00219 #define WGL_ALPHA_SHIFT_EXT            0x201C
    00220 #define WGL_ACCUM_BITS_EXT             0x201D
    00221 #define WGL_ACCUM_RED_BITS_EXT         0x201E
    00222 #define WGL_ACCUM_GREEN_BITS_EXT       0x201F
    00223 #define WGL_ACCUM_BLUE_BITS_EXT        0x2020
    00224 #define WGL_ACCUM_ALPHA_BITS_EXT       0x2021
    00225 #define WGL_DEPTH_BITS_EXT             0x2022
    00226 #define WGL_STENCIL_BITS_EXT           0x2023
    00227 #define WGL_AUX_BUFFERS_EXT            0x2024
    00228 #define WGL_NO_ACCELERATION_EXT        0x2025
    00229 #define WGL_GENERIC_ACCELERATION_EXT   0x2026
    00230 #define WGL_FULL_ACCELERATION_EXT      0x2027
    00231 #define WGL_SWAP_EXCHANGE_EXT          0x2028
    00232 #define WGL_SWAP_COPY_EXT              0x2029
    00233 #define WGL_SWAP_UNDEFINED_EXT         0x202A
    00234 #define WGL_TYPE_RGBA_EXT              0x202B
    00235 #define WGL_TYPE_COLORINDEX_EXT        0x202C
    00236 #endif
    00237
    00238 #ifndef WGL_EXT_pbuffer
    00239 #define WGL_DRAW_TO_PBUFFER_EXT        0x202D
    00240 #define WGL_MAX_PBUFFER_PIXELS_EXT     0x202E
    00241 #define WGL_MAX_PBUFFER_WIDTH_EXT      0x202F
    00242 #define WGL_MAX_PBUFFER_HEIGHT_EXT     0x2030
    00243 #define WGL_OPTIMAL_PBUFFER_WIDTH_EXT  0x2031
    00244 #define WGL_OPTIMAL_PBUFFER_HEIGHT_EXT 0x2032
    00245 #define WGL_PBUFFER_LARGEST_EXT        0x2033
    00246 #define WGL_PBUFFER_WIDTH_EXT          0x2034
    00247 #define WGL_PBUFFER_HEIGHT_EXT         0x2035
    00248 #endif
    00249
    00250 #ifndef WGL_EXT_depth_float
    00251 #define WGL_DEPTH_FLOAT_EXT            0x2040
    00252 #endif
    00253
    00254 #ifndef WGL_3DFX_multisample
    00255 #define WGL_SAMPLE_BUFFERS_3DFX        0x2060
    00256 #define WGL_SAMPLES_3DFX               0x2061
    00257 #endif
    00258
    00259 #ifndef WGL_EXT_multisample
    00260 #define WGL_SAMPLE_BUFFERS_EXT         0x2041
    00261 #define WGL_SAMPLES_EXT                0x2042
    00262 #endif
    00263
    00264 #ifndef WGL_I3D_digital_video_control
    00265 #define WGL_DIGITAL_VIDEO_CURSOR_ALPHA_FRAMEBUFFER_I3D 0x2050
    00266 #define WGL_DIGITAL_VIDEO_CURSOR_ALPHA_VALUE_I3D 0x2051
    00267 #define WGL_DIGITAL_VIDEO_CURSOR_INCLUDED_I3D 0x2052
    00268 #define WGL_DIGITAL_VIDEO_GAMMA_CORRECTED_I3D 0x2053
    00269 #endif
    00270
    00271 #ifndef WGL_I3D_gamma
    00272 #define WGL_GAMMA_TABLE_SIZE_I3D       0x204E
    00273 #define WGL_GAMMA_EXCLUDE_DESKTOP_I3D  0x204F
    00274 #endif
    00275
    00276 #ifndef WGL_I3D_genlock
    00277 #define WGL_GENLOCK_SOURCE_MULTIVIEW_I3D 0x2044
    00278 #define WGL_GENLOCK_SOURCE_EXTENAL_SYNC_I3D 0x2045
    00279 #define WGL_GENLOCK_SOURCE_EXTENAL_FIELD_I3D 0x2046
    00280 #define WGL_GENLOCK_SOURCE_EXTENAL_TTL_I3D 0x2047
    00281 #define WGL_GENLOCK_SOURCE_DIGITAL_SYNC_I3D 0x2048
    00282 #define WGL_GENLOCK_SOURCE_DIGITAL_FIELD_I3D 0x2049
    00283 #define WGL_GENLOCK_SOURCE_EDGE_FALLING_I3D 0x204A
    00284 #define WGL_GENLOCK_SOURCE_EDGE_RISING_I3D 0x204B
    00285 #define WGL_GENLOCK_SOURCE_EDGE_BOTH_I3D 0x204C
    00286 #endif
    00287
    00288 #ifndef WGL_I3D_image_buffer
    00289 #define WGL_IMAGE_BUFFER_MIN_ACCESS_I3D 0x00000001
    00290 #define WGL_IMAGE_BUFFER_LOCK_I3D      0x00000002
    00291 #endif
    00292
    00293 #ifndef WGL_I3D_swap_frame_lock
    00294 #endif
    00295
    00296 #ifndef WGL_NV_render_depth_texture
    00297 #define WGL_BIND_TO_TEXTURE_DEPTH_NV   0x20A3
    00298 #define WGL_BIND_TO_TEXTURE_RECTANGLE_DEPTH_NV 0x20A4
    00299 #define WGL_DEPTH_TEXTURE_FORMAT_NV    0x20A5
    00300 #define WGL_TEXTURE_DEPTH_COMPONENT_NV 0x20A6
    00301 #define WGL_DEPTH_COMPONENT_NV         0x20A7
    00302 #endif
    00303
    00304 #ifndef WGL_NV_render_texture_rectangle
    00305 #define WGL_BIND_TO_TEXTURE_RECTANGLE_RGB_NV 0x20A0
    00306 #define WGL_BIND_TO_TEXTURE_RECTANGLE_RGBA_NV 0x20A1
    00307 #define WGL_TEXTURE_RECTANGLE_NV       0x20A2
    00308 #endif
    00309
    00310 #ifndef WGL_ATI_pixel_format_float
    00311 #define WGL_TYPE_RGBA_FLOAT_ATI        0x21A0
    00312 #endif
    00313
    00314 #ifndef WGL_NV_float_buffer
    00315 #define WGL_FLOAT_COMPONENTS_NV        0x20B0
    00316 #define WGL_BIND_TO_TEXTURE_RECTANGLE_FLOAT_R_NV 0x20B1
    00317 #define WGL_BIND_TO_TEXTURE_RECTANGLE_FLOAT_RG_NV 0x20B2
    00318 #define WGL_BIND_TO_TEXTURE_RECTANGLE_FLOAT_RGB_NV 0x20B3
    00319 #define WGL_BIND_TO_TEXTURE_RECTANGLE_FLOAT_RGBA_NV 0x20B4
    00320 #define WGL_TEXTURE_FLOAT_R_NV         0x20B5
    00321 #define WGL_TEXTURE_FLOAT_RG_NV        0x20B6
    00322 #define WGL_TEXTURE_FLOAT_RGB_NV       0x20B7
    00323 #define WGL_TEXTURE_FLOAT_RGBA_NV      0x20B8
    00324 #endif
    00325
    00326 #ifndef WGL_3DL_stereo_control
    00327 #define WGL_STEREO_EMITTER_ENABLE_3DL  0x2055
    00328 #define WGL_STEREO_EMITTER_DISABLE_3DL 0x2056
    00329 #define WGL_STEREO_POLARITY_NORMAL_3DL 0x2057
    00330 #define WGL_STEREO_POLARITY_INVERT_3DL 0x2058
    00331 #endif
    00332
    00333 #ifndef WGL_EXT_pixel_format_packed_float
    00334 #define WGL_TYPE_RGBA_UNSIGNED_FLOAT_EXT 0x20A8
    00335 #endif
    00336
    00337 #ifndef WGL_EXT_framebuffer_sRGB
    00338 #define WGL_FRAMEBUFFER_SRGB_CAPABLE_EXT 0x20A9
    00339 #endif
    00340
    00341 #ifndef WGL_NV_present_video
    00342 #define WGL_NUM_VIDEO_SLOTS_NV         0x20F0
    00343 #endif
    00344
    00345 #ifndef WGL_NV_video_out
    00346 #define WGL_BIND_TO_VIDEO_RGB_NV       0x20C0
    00347 #define WGL_BIND_TO_VIDEO_RGBA_NV      0x20C1
    00348 #define WGL_BIND_TO_VIDEO_RGB_AND_DEPTH_NV 0x20C2
    00349 #define WGL_VIDEO_OUT_COLOR_NV         0x20C3
    00350 #define WGL_VIDEO_OUT_ALPHA_NV         0x20C4
    00351 #define WGL_VIDEO_OUT_DEPTH_NV         0x20C5
    00352 #define WGL_VIDEO_OUT_COLOR_AND_ALPHA_NV 0x20C6
    00353 #define WGL_VIDEO_OUT_COLOR_AND_DEPTH_NV 0x20C7
    00354 #define WGL_VIDEO_OUT_FRAME            0x20C8
    00355 #define WGL_VIDEO_OUT_FIELD_1          0x20C9
    00356 #define WGL_VIDEO_OUT_FIELD_2          0x20CA
    00357 #define WGL_VIDEO_OUT_STACKED_FIELDS_1_2 0x20CB
    00358 #define WGL_VIDEO_OUT_STACKED_FIELDS_2_1 0x20CC
    00359 #endif
    00360
    00361 #ifndef WGL_NV_swap_group
    00362 #endif
    00363
    00364
    00365 /*************************************************************/
    00366
    00367 #ifndef WGL_ARB_pbuffer
    00368 DECLARE_HANDLE(HPBUFFERARB);
    00369 #endif
    00370 #ifndef WGL_EXT_pbuffer
    00371 DECLARE_HANDLE(HPBUFFEREXT);
    00372 #endif
    00373 #ifndef WGL_NV_present_video
    00374 DECLARE_HANDLE(HVIDEOOUTPUTDEVICENV);
    00375 #endif
    00376 #ifndef WGL_NV_video_out
    00377 DECLARE_HANDLE(HPVIDEODEV);
    00378 #endif
    00379
    00380 #ifndef WGL_ARB_buffer_region
    00381 #define WGL_ARB_buffer_region 1
    00382 #ifdef WGL_WGLEXT_PROTOTYPES
    00383 extern HANDLE WINAPI wglCreateBufferRegionARB (HDC, int, UINT);
    00384 extern VOID WINAPI wglDeleteBufferRegionARB (HANDLE);
    00385 extern BOOL WINAPI wglSaveBufferRegionARB (HANDLE, int, int, int, int);
    00386 extern BOOL WINAPI wglRestoreBufferRegionARB (HANDLE, int, int, int, int, int, int);
    00387 #endif /* WGL_WGLEXT_PROTOTYPES */
    00388 typedef HANDLE (WINAPI * PFNWGLCREATEBUFFERREGIONARBPROC) (HDC hDC, int iLayerPlane, UINT uType);
    00389 typedef VOID (WINAPI * PFNWGLDELETEBUFFERREGIONARBPROC) (HANDLE hRegion);
    00390 typedef BOOL (WINAPI * PFNWGLSAVEBUFFERREGIONARBPROC) (HANDLE hRegion, int x, int y, int width, int height);
    00391 typedef BOOL (WINAPI * PFNWGLRESTOREBUFFERREGIONARBPROC) (HANDLE hRegion, int x, int y, int width, int height, int xSrc, int ySrc);
    00392 #endif
    00393
    00394 #ifndef WGL_ARB_multisample
    00395 #define WGL_ARB_multisample 1
    00396 #endif
    00397
    00398 #ifndef WGL_ARB_extensions_string
    00399 #define WGL_ARB_extensions_string 1
    00400 #ifdef WGL_WGLEXT_PROTOTYPES
    00401 extern const char * WINAPI wglGetExtensionsStringARB (HDC);
    00402 #endif /* WGL_WGLEXT_PROTOTYPES */
    00403 typedef const char * (WINAPI * PFNWGLGETEXTENSIONSSTRINGARBPROC) (HDC hdc);
    00404 #endif
    00405
    00406 #ifndef WGL_ARB_pixel_format
    00407 #define WGL_ARB_pixel_format 1
    00408 #ifdef WGL_WGLEXT_PROTOTYPES
    00409 extern BOOL WINAPI wglGetPixelFormatAttribivARB (HDC, int, int, UINT, const int *, int *);
    00410 extern BOOL WINAPI wglGetPixelFormatAttribfvARB (HDC, int, int, UINT, const int *, FLOAT *);
    00411 extern BOOL WINAPI wglChoosePixelFormatARB (HDC, const int *, const FLOAT *, UINT, int *, UINT *);
    00412 #endif /* WGL_WGLEXT_PROTOTYPES */
    00413 typedef BOOL (WINAPI * PFNWGLGETPIXELFORMATATTRIBIVARBPROC) (HDC hdc, int iPixelFormat, int iLayerPlane, UINT nAttributes, const int *piAttributes, int *piValues);
    00414 typedef BOOL (WINAPI * PFNWGLGETPIXELFORMATATTRIBFVARBPROC) (HDC hdc, int iPixelFormat, int iLayerPlane, UINT nAttributes, const int *piAttributes, FLOAT *pfValues);
    00415 typedef BOOL (WINAPI * PFNWGLCHOOSEPIXELFORMATARBPROC) (HDC hdc, const int *piAttribIList, const FLOAT *pfAttribFList, UINT nMaxFormats, int *piFormats, UINT *nNumFormats);
    00416 #endif
    00417
    00418 #ifndef WGL_ARB_make_current_read
    00419 #define WGL_ARB_make_current_read 1
    00420 #ifdef WGL_WGLEXT_PROTOTYPES
    00421 extern BOOL WINAPI wglMakeContextCurrentARB (HDC, HDC, HGLRC);
    00422 extern HDC WINAPI wglGetCurrentReadDCARB (void);
    00423 #endif /* WGL_WGLEXT_PROTOTYPES */
    00424 typedef BOOL (WINAPI * PFNWGLMAKECONTEXTCURRENTARBPROC) (HDC hDrawDC, HDC hReadDC, HGLRC hglrc);
    00425 typedef HDC (WINAPI * PFNWGLGETCURRENTREADDCARBPROC) (void);
    00426 #endif
    00427
    00428 #ifndef WGL_ARB_pbuffer
    00429 #define WGL_ARB_pbuffer 1
    00430 #ifdef WGL_WGLEXT_PROTOTYPES
    00431 extern HPBUFFERARB WINAPI wglCreatePbufferARB (HDC, int, int, int, const int *);
    00432 extern HDC WINAPI wglGetPbufferDCARB (HPBUFFERARB);
    00433 extern int WINAPI wglReleasePbufferDCARB (HPBUFFERARB, HDC);
    00434 extern BOOL WINAPI wglDestroyPbufferARB (HPBUFFERARB);
    00435 extern BOOL WINAPI wglQueryPbufferARB (HPBUFFERARB, int, int *);
    00436 #endif /* WGL_WGLEXT_PROTOTYPES */
    00437 typedef HPBUFFERARB (WINAPI * PFNWGLCREATEPBUFFERARBPROC) (HDC hDC, int iPixelFormat, int iWidth, int iHeight, const int *piAttribList);
    00438 typedef HDC (WINAPI * PFNWGLGETPBUFFERDCARBPROC) (HPBUFFERARB hPbuffer);
    00439 typedef int (WINAPI * PFNWGLRELEASEPBUFFERDCARBPROC) (HPBUFFERARB hPbuffer, HDC hDC);
    00440 typedef BOOL (WINAPI * PFNWGLDESTROYPBUFFERARBPROC) (HPBUFFERARB hPbuffer);
    00441 typedef BOOL (WINAPI * PFNWGLQUERYPBUFFERARBPROC) (HPBUFFERARB hPbuffer, int iAttribute, int *piValue);
    00442 #endif
    00443
    00444 #ifndef WGL_ARB_render_texture
    00445 #define WGL_ARB_render_texture 1
    00446 #ifdef WGL_WGLEXT_PROTOTYPES
    00447 extern BOOL WINAPI wglBindTexImageARB (HPBUFFERARB, int);
    00448 extern BOOL WINAPI wglReleaseTexImageARB (HPBUFFERARB, int);
    00449 extern BOOL WINAPI wglSetPbufferAttribARB (HPBUFFERARB, const int *);
    00450 #endif /* WGL_WGLEXT_PROTOTYPES */
    00451 typedef BOOL (WINAPI * PFNWGLBINDTEXIMAGEARBPROC) (HPBUFFERARB hPbuffer, int iBuffer);
    00452 typedef BOOL (WINAPI * PFNWGLRELEASETEXIMAGEARBPROC) (HPBUFFERARB hPbuffer, int iBuffer);
    00453 typedef BOOL (WINAPI * PFNWGLSETPBUFFERATTRIBARBPROC) (HPBUFFERARB hPbuffer, const int *piAttribList);
    00454 #endif
    00455
    00456 #ifndef WGL_ARB_pixel_format_float
    00457 #define WGL_ARB_pixel_format_float 1
    00458 #endif
    00459
    00460 #ifndef WGL_ARB_create_context
    00461 #define WGL_ARB_create_context 1
    00462 #ifdef WGL_WGLEXT_PROTOTYPES
    00463 extern HGLRC WINAPI wglCreateContextAttribsARB (HDC, HGLRC, const int *);
    00464 #endif /* WGL_WGLEXT_PROTOTYPES */
    00465 typedef HGLRC (WINAPI * PFNWGLCREATECONTEXTATTRIBSARBPROC) (HDC hDC, HGLRC hShareContext, const int *attribList);
    00466 #endif
    00467
    00468 #ifndef WGL_EXT_display_color_table
    00469 #define WGL_EXT_display_color_table 1
    00470 #ifdef WGL_WGLEXT_PROTOTYPES
    00471 extern GLboolean WINAPI wglCreateDisplayColorTableEXT (GLushort);
    00472 extern GLboolean WINAPI wglLoadDisplayColorTableEXT (const GLushort *, GLuint);
    00473 extern GLboolean WINAPI wglBindDisplayColorTableEXT (GLushort);
    00474 extern VOID WINAPI wglDestroyDisplayColorTableEXT (GLushort);
    00475 #endif /* WGL_WGLEXT_PROTOTYPES */
    00476 typedef GLboolean (WINAPI * PFNWGLCREATEDISPLAYCOLORTABLEEXTPROC) (GLushort id);
    00477 typedef GLboolean (WINAPI * PFNWGLLOADDISPLAYCOLORTABLEEXTPROC) (const GLushort *table, GLuint length);
    00478 typedef GLboolean (WINAPI * PFNWGLBINDDISPLAYCOLORTABLEEXTPROC) (GLushort id);
    00479 typedef VOID (WINAPI * PFNWGLDESTROYDISPLAYCOLORTABLEEXTPROC) (GLushort id);
    00480 #endif
    00481
    00482 #ifndef WGL_EXT_extensions_string
    00483 #define WGL_EXT_extensions_string 1
    00484 #ifdef WGL_WGLEXT_PROTOTYPES
    00485 extern const char * WINAPI wglGetExtensionsStringEXT (void);
    00486 #endif /* WGL_WGLEXT_PROTOTYPES */
    00487 typedef const char * (WINAPI * PFNWGLGETEXTENSIONSSTRINGEXTPROC) (void);
    00488 #endif
    00489
    00490 #ifndef WGL_EXT_make_current_read
    00491 #define WGL_EXT_make_current_read 1
    00492 #ifdef WGL_WGLEXT_PROTOTYPES
    00493 extern BOOL WINAPI wglMakeContextCurrentEXT (HDC, HDC, HGLRC);
    00494 extern HDC WINAPI wglGetCurrentReadDCEXT (void);
    00495 #endif /* WGL_WGLEXT_PROTOTYPES */
    00496 typedef BOOL (WINAPI * PFNWGLMAKECONTEXTCURRENTEXTPROC) (HDC hDrawDC, HDC hReadDC, HGLRC hglrc);
    00497 typedef HDC (WINAPI * PFNWGLGETCURRENTREADDCEXTPROC) (void);
    00498 #endif
    00499
    00500 #ifndef WGL_EXT_pbuffer
    00501 #define WGL_EXT_pbuffer 1
    00502 #ifdef WGL_WGLEXT_PROTOTYPES
    00503 extern HPBUFFEREXT WINAPI wglCreatePbufferEXT (HDC, int, int, int, const int *);
    00504 extern HDC WINAPI wglGetPbufferDCEXT (HPBUFFEREXT);
    00505 extern int WINAPI wglReleasePbufferDCEXT (HPBUFFEREXT, HDC);
    00506 extern BOOL WINAPI wglDestroyPbufferEXT (HPBUFFEREXT);
    00507 extern BOOL WINAPI wglQueryPbufferEXT (HPBUFFEREXT, int, int *);
    00508 #endif /* WGL_WGLEXT_PROTOTYPES */
    00509 typedef HPBUFFEREXT (WINAPI * PFNWGLCREATEPBUFFEREXTPROC) (HDC hDC, int iPixelFormat, int iWidth, int iHeight, const int *piAttribList);
    00510 typedef HDC (WINAPI * PFNWGLGETPBUFFERDCEXTPROC) (HPBUFFEREXT hPbuffer);
    00511 typedef int (WINAPI * PFNWGLRELEASEPBUFFERDCEXTPROC) (HPBUFFEREXT hPbuffer, HDC hDC);
    00512 typedef BOOL (WINAPI * PFNWGLDESTROYPBUFFEREXTPROC) (HPBUFFEREXT hPbuffer);
    00513 typedef BOOL (WINAPI * PFNWGLQUERYPBUFFEREXTPROC) (HPBUFFEREXT hPbuffer, int iAttribute, int *piValue);
    00514 #endif
    00515
    00516 #ifndef WGL_EXT_pixel_format
    00517 #define WGL_EXT_pixel_format 1
    00518 #ifdef WGL_WGLEXT_PROTOTYPES
    00519 extern BOOL WINAPI wglGetPixelFormatAttribivEXT (HDC, int, int, UINT, int *, int *);
    00520 extern BOOL WINAPI wglGetPixelFormatAttribfvEXT (HDC, int, int, UINT, int *, FLOAT *);
    00521 extern BOOL WINAPI wglChoosePixelFormatEXT (HDC, const int *, const FLOAT *, UINT, int *, UINT *);
    00522 #endif /* WGL_WGLEXT_PROTOTYPES */
    00523 typedef BOOL (WINAPI * PFNWGLGETPIXELFORMATATTRIBIVEXTPROC) (HDC hdc, int iPixelFormat, int iLayerPlane, UINT nAttributes, int *piAttributes, int *piValues);
    00524 typedef BOOL (WINAPI * PFNWGLGETPIXELFORMATATTRIBFVEXTPROC) (HDC hdc, int iPixelFormat, int iLayerPlane, UINT nAttributes, int *piAttributes, FLOAT *pfValues);
    00525 typedef BOOL (WINAPI * PFNWGLCHOOSEPIXELFORMATEXTPROC) (HDC hdc, const int *piAttribIList, const FLOAT *pfAttribFList, UINT nMaxFormats, int *piFormats, UINT *nNumFormats);
    00526 #endif
    00527
    00528 #ifndef WGL_EXT_swap_control
    00529 #define WGL_EXT_swap_control 1
    00530 #ifdef WGL_WGLEXT_PROTOTYPES
    00531 extern BOOL WINAPI wglSwapIntervalEXT (int);
    00532 extern int WINAPI wglGetSwapIntervalEXT (void);
    00533 #endif /* WGL_WGLEXT_PROTOTYPES */
    00534 typedef BOOL (WINAPI * PFNWGLSWAPINTERVALEXTPROC) (int interval);
    00535 typedef int (WINAPI * PFNWGLGETSWAPINTERVALEXTPROC) (void);
    00536 #endif
    00537
    00538 #ifndef WGL_EXT_depth_float
    00539 #define WGL_EXT_depth_float 1
    00540 #endif
    00541
    00542 #ifndef WGL_NV_vertex_array_range
    00543 #define WGL_NV_vertex_array_range 1
    00544 #ifdef WGL_WGLEXT_PROTOTYPES
    00545 extern void* WINAPI wglAllocateMemoryNV (GLsizei, GLfloat, GLfloat, GLfloat);
    00546 extern void WINAPI wglFreeMemoryNV (void *);
    00547 #endif /* WGL_WGLEXT_PROTOTYPES */
    00548 typedef void* (WINAPI * PFNWGLALLOCATEMEMORYNVPROC) (GLsizei size, GLfloat readfreq, GLfloat writefreq, GLfloat priority);
    00549 typedef void (WINAPI * PFNWGLFREEMEMORYNVPROC) (void *pointer);
    00550 #endif
    00551
    00552 #ifndef WGL_3DFX_multisample
    00553 #define WGL_3DFX_multisample 1
    00554 #endif
    00555
    00556 #ifndef WGL_EXT_multisample
    00557 #define WGL_EXT_multisample 1
    00558 #endif
    00559
    00560 #ifndef WGL_OML_sync_control
    00561 #define WGL_OML_sync_control 1
    00562 #ifdef WGL_WGLEXT_PROTOTYPES
    00563 extern BOOL WINAPI wglGetSyncValuesOML (HDC, INT64 *, INT64 *, INT64 *);
    00564 extern BOOL WINAPI wglGetMscRateOML (HDC, INT32 *, INT32 *);
    00565 extern INT64 WINAPI wglSwapBuffersMscOML (HDC, INT64, INT64, INT64);
    00566 extern INT64 WINAPI wglSwapLayerBuffersMscOML (HDC, int, INT64, INT64, INT64);
    00567 extern BOOL WINAPI wglWaitForMscOML (HDC, INT64, INT64, INT64, INT64 *, INT64 *, INT64 *);
    00568 extern BOOL WINAPI wglWaitForSbcOML (HDC, INT64, INT64 *, INT64 *, INT64 *);
    00569 #endif /* WGL_WGLEXT_PROTOTYPES */
    00570 typedef BOOL (WINAPI * PFNWGLGETSYNCVALUESOMLPROC) (HDC hdc, INT64 *ust, INT64 *msc, INT64 *sbc);
    00571 typedef BOOL (WINAPI * PFNWGLGETMSCRATEOMLPROC) (HDC hdc, INT32 *numerator, INT32 *denominator);
    00572 typedef INT64 (WINAPI * PFNWGLSWAPBUFFERSMSCOMLPROC) (HDC hdc, INT64 target_msc, INT64 divisor, INT64 remainder);
    00573 typedef INT64 (WINAPI * PFNWGLSWAPLAYERBUFFERSMSCOMLPROC) (HDC hdc, int fuPlanes, INT64 target_msc, INT64 divisor, INT64 remainder);
    00574 typedef BOOL (WINAPI * PFNWGLWAITFORMSCOMLPROC) (HDC hdc, INT64 target_msc, INT64 divisor, INT64 remainder, INT64 *ust, INT64 *msc, INT64 *sbc);
    00575 typedef BOOL (WINAPI * PFNWGLWAITFORSBCOMLPROC) (HDC hdc, INT64 target_sbc, INT64 *ust, INT64 *msc, INT64 *sbc);
    00576 #endif
    00577
    00578 #ifndef WGL_I3D_digital_video_control
    00579 #define WGL_I3D_digital_video_control 1
    00580 #ifdef WGL_WGLEXT_PROTOTYPES
    00581 extern BOOL WINAPI wglGetDigitalVideoParametersI3D (HDC, int, int *);
    00582 extern BOOL WINAPI wglSetDigitalVideoParametersI3D (HDC, int, const int *);
    00583 #endif /* WGL_WGLEXT_PROTOTYPES */
    00584 typedef BOOL (WINAPI * PFNWGLGETDIGITALVIDEOPARAMETERSI3DPROC) (HDC hDC, int iAttribute, int *piValue);
    00585 typedef BOOL (WINAPI * PFNWGLSETDIGITALVIDEOPARAMETERSI3DPROC) (HDC hDC, int iAttribute, const int *piValue);
    00586 #endif
    00587
    00588 #ifndef WGL_I3D_gamma
    00589 #define WGL_I3D_gamma 1
    00590 #ifdef WGL_WGLEXT_PROTOTYPES
    00591 extern BOOL WINAPI wglGetGammaTableParametersI3D (HDC, int, int *);
    00592 extern BOOL WINAPI wglSetGammaTableParametersI3D (HDC, int, const int *);
    00593 extern BOOL WINAPI wglGetGammaTableI3D (HDC, int, USHORT *, USHORT *, USHORT *);
    00594 extern BOOL WINAPI wglSetGammaTableI3D (HDC, int, const USHORT *, const USHORT *, const USHORT *);
    00595 #endif /* WGL_WGLEXT_PROTOTYPES */
    00596 typedef BOOL (WINAPI * PFNWGLGETGAMMATABLEPARAMETERSI3DPROC) (HDC hDC, int iAttribute, int *piValue);
    00597 typedef BOOL (WINAPI * PFNWGLSETGAMMATABLEPARAMETERSI3DPROC) (HDC hDC, int iAttribute, const int *piValue);
    00598 typedef BOOL (WINAPI * PFNWGLGETGAMMATABLEI3DPROC) (HDC hDC, int iEntries, USHORT *puRed, USHORT *puGreen, USHORT *puBlue);
    00599 typedef BOOL (WINAPI * PFNWGLSETGAMMATABLEI3DPROC) (HDC hDC, int iEntries, const USHORT *puRed, const USHORT *puGreen, const USHORT *puBlue);
    00600 #endif
    00601
    00602 #ifndef WGL_I3D_genlock
    00603 #define WGL_I3D_genlock 1
    00604 #ifdef WGL_WGLEXT_PROTOTYPES
    00605 extern BOOL WINAPI wglEnableGenlockI3D (HDC);
    00606 extern BOOL WINAPI wglDisableGenlockI3D (HDC);
    00607 extern BOOL WINAPI wglIsEnabledGenlockI3D (HDC, BOOL *);
    00608 extern BOOL WINAPI wglGenlockSourceI3D (HDC, UINT);
    00609 extern BOOL WINAPI wglGetGenlockSourceI3D (HDC, UINT *);
    00610 extern BOOL WINAPI wglGenlockSourceEdgeI3D (HDC, UINT);
    00611 extern BOOL WINAPI wglGetGenlockSourceEdgeI3D (HDC, UINT *);
    00612 extern BOOL WINAPI wglGenlockSampleRateI3D (HDC, UINT);
    00613 extern BOOL WINAPI wglGetGenlockSampleRateI3D (HDC, UINT *);
    00614 extern BOOL WINAPI wglGenlockSourceDelayI3D (HDC, UINT);
    00615 extern BOOL WINAPI wglGetGenlockSourceDelayI3D (HDC, UINT *);
    00616 extern BOOL WINAPI wglQueryGenlockMaxSourceDelayI3D (HDC, UINT *, UINT *);
    00617 #endif /* WGL_WGLEXT_PROTOTYPES */
    00618 typedef BOOL (WINAPI * PFNWGLENABLEGENLOCKI3DPROC) (HDC hDC);
    00619 typedef BOOL (WINAPI * PFNWGLDISABLEGENLOCKI3DPROC) (HDC hDC);
    00620 typedef BOOL (WINAPI * PFNWGLISENABLEDGENLOCKI3DPROC) (HDC hDC, BOOL *pFlag);
    00621 typedef BOOL (WINAPI * PFNWGLGENLOCKSOURCEI3DPROC) (HDC hDC, UINT uSource);
    00622 typedef BOOL (WINAPI * PFNWGLGETGENLOCKSOURCEI3DPROC) (HDC hDC, UINT *uSource);
    00623 typedef BOOL (WINAPI * PFNWGLGENLOCKSOURCEEDGEI3DPROC) (HDC hDC, UINT uEdge);
    00624 typedef BOOL (WINAPI * PFNWGLGETGENLOCKSOURCEEDGEI3DPROC) (HDC hDC, UINT *uEdge);
    00625 typedef BOOL (WINAPI * PFNWGLGENLOCKSAMPLERATEI3DPROC) (HDC hDC, UINT uRate);
    00626 typedef BOOL (WINAPI * PFNWGLGETGENLOCKSAMPLERATEI3DPROC) (HDC hDC, UINT *uRate);
    00627 typedef BOOL (WINAPI * PFNWGLGENLOCKSOURCEDELAYI3DPROC) (HDC hDC, UINT uDelay);
    00628 typedef BOOL (WINAPI * PFNWGLGETGENLOCKSOURCEDELAYI3DPROC) (HDC hDC, UINT *uDelay);
    00629 typedef BOOL (WINAPI * PFNWGLQUERYGENLOCKMAXSOURCEDELAYI3DPROC) (HDC hDC, UINT *uMaxLineDelay, UINT *uMaxPixelDelay);
    00630 #endif
    00631
    00632 #ifndef WGL_I3D_image_buffer
    00633 #define WGL_I3D_image_buffer 1
    00634 #ifdef WGL_WGLEXT_PROTOTYPES
    00635 extern LPVOID WINAPI wglCreateImageBufferI3D (HDC, DWORD, UINT);
    00636 extern BOOL WINAPI wglDestroyImageBufferI3D (HDC, LPVOID);
    00637 extern BOOL WINAPI wglAssociateImageBufferEventsI3D (HDC, const HANDLE *, const LPVOID *, const DWORD *, UINT);
    00638 extern BOOL WINAPI wglReleaseImageBufferEventsI3D (HDC, const LPVOID *, UINT);
    00639 #endif /* WGL_WGLEXT_PROTOTYPES */
    00640 typedef LPVOID (WINAPI * PFNWGLCREATEIMAGEBUFFERI3DPROC) (HDC hDC, DWORD dwSize, UINT uFlags);
    00641 typedef BOOL (WINAPI * PFNWGLDESTROYIMAGEBUFFERI3DPROC) (HDC hDC, LPVOID pAddress);
    00642 typedef BOOL (WINAPI * PFNWGLASSOCIATEIMAGEBUFFEREVENTSI3DPROC) (HDC hDC, const HANDLE *pEvent, const LPVOID *pAddress, const DWORD *pSize, UINT count);
    00643 typedef BOOL (WINAPI * PFNWGLRELEASEIMAGEBUFFEREVENTSI3DPROC) (HDC hDC, const LPVOID *pAddress, UINT count);
    00644 #endif
    00645
    00646 #ifndef WGL_I3D_swap_frame_lock
    00647 #define WGL_I3D_swap_frame_lock 1
    00648 #ifdef WGL_WGLEXT_PROTOTYPES
    00649 extern BOOL WINAPI wglEnableFrameLockI3D (void);
    00650 extern BOOL WINAPI wglDisableFrameLockI3D (void);
    00651 extern BOOL WINAPI wglIsEnabledFrameLockI3D (BOOL *);
    00652 extern BOOL WINAPI wglQueryFrameLockMasterI3D (BOOL *);
    00653 #endif /* WGL_WGLEXT_PROTOTYPES */
    00654 typedef BOOL (WINAPI * PFNWGLENABLEFRAMELOCKI3DPROC) (void);
    00655 typedef BOOL (WINAPI * PFNWGLDISABLEFRAMELOCKI3DPROC) (void);
    00656 typedef BOOL (WINAPI * PFNWGLISENABLEDFRAMELOCKI3DPROC) (BOOL *pFlag);
    00657 typedef BOOL (WINAPI * PFNWGLQUERYFRAMELOCKMASTERI3DPROC) (BOOL *pFlag);
    00658 #endif
    00659
    00660 #ifndef WGL_I3D_swap_frame_usage
    00661 #define WGL_I3D_swap_frame_usage 1
    00662 #ifdef WGL_WGLEXT_PROTOTYPES
    00663 extern BOOL WINAPI wglGetFrameUsageI3D (float *);
    00664 extern BOOL WINAPI wglBeginFrameTrackingI3D (void);
    00665 extern BOOL WINAPI wglEndFrameTrackingI3D (void);
    00666 extern BOOL WINAPI wglQueryFrameTrackingI3D (DWORD *, DWORD *, float *);
    00667 #endif /* WGL_WGLEXT_PROTOTYPES */
    00668 typedef BOOL (WINAPI * PFNWGLGETFRAMEUSAGEI3DPROC) (float *pUsage);
    00669 typedef BOOL (WINAPI * PFNWGLBEGINFRAMETRACKINGI3DPROC) (void);
    00670 typedef BOOL (WINAPI * PFNWGLENDFRAMETRACKINGI3DPROC) (void);
    00671 typedef BOOL (WINAPI * PFNWGLQUERYFRAMETRACKINGI3DPROC) (DWORD *pFrameCount, DWORD *pMissedFrames, float *pLastMissedUsage);
    00672 #endif
    00673
    00674 #ifndef WGL_ATI_pixel_format_float
    00675 #define WGL_ATI_pixel_format_float 1
    00676 #endif
    00677
    00678 #ifndef WGL_NV_float_buffer
    00679 #define WGL_NV_float_buffer 1
    00680 #endif
    00681
    00682 #ifndef WGL_EXT_pixel_format_packed_float
    00683 #define WGL_EXT_pixel_format_packed_float 1
    00684 #endif
    00685
    00686 #ifndef WGL_EXT_framebuffer_sRGB
    00687 #define WGL_EXT_framebuffer_sRGB 1
    00688 #endif
    00689
    00690 #ifndef WGL_NV_present_video
    00691 #define WGL_NV_present_video 1
    00692 #endif
    00693
    00694 #ifndef WGL_NV_video_out
    00695 #define WGL_NV_video_out 1
    00696 #endif
    00697
    00698 #ifndef WGL_NV_swap_group
    00699 #define WGL_NV_swap_group 1
    00700 #endif
    00701
    00702
    00703 #ifdef __cplusplus
    00704 }
    00705 #endif
    00706
    00707 #endif

All Classes Files Functions Variables Typedefs Enumerations Enumerator Defines