00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026
00027
00028
00029
00030
00031
00032 #ifndef __wglew_h__
00033 #define __wglew_h__
00034 #define __WGLEW_H__
00035
00036 #ifdef __wglext_h_
00037 #error wglext.h included before wglew.h
00038 #endif
00039
00040 #define __wglext_h_
00041
00042
00043 #if !defined(APIENTRY) && !defined(__CYGWIN__)
00044 # ifndef WIN32_LEAN_AND_MEAN
00045 # define WIN32_LEAN_AND_MEAN 1
00046 #include <windows.h>
00047 # undef WIN32_LEAN_AND_MEAN
00048 # else
00049 #include <windows.h>
00050 # endif
00051 #endif
00052
00053
00054
00055
00056
00057 #ifdef GLEW_STATIC
00058 # define GLEWAPI extern
00059 #else
00060 # ifdef GLEW_BUILD
00061 # define GLEWAPI extern __declspec(dllexport)
00062 # else
00063 # define GLEWAPI extern __declspec(dllimport)
00064 # endif
00065 #endif
00066
00067 #ifdef __cplusplus
00068 extern "C" {
00069 #endif
00070
00071
00072
00073 #ifndef WGL_3DFX_multisample
00074 #define WGL_3DFX_multisample 1
00075
00076 #define WGL_SAMPLE_BUFFERS_3DFX 0x2060
00077 #define WGL_SAMPLES_3DFX 0x2061
00078
00079 #define WGLEW_3DFX_multisample WGLEW_GET_VAR(__WGLEW_3DFX_multisample)
00080
00081 #endif
00082
00083
00084
00085 #ifndef WGL_3DL_stereo_control
00086 #define WGL_3DL_stereo_control 1
00087
00088 #define WGL_STEREO_EMITTER_ENABLE_3DL 0x2055
00089 #define WGL_STEREO_EMITTER_DISABLE_3DL 0x2056
00090 #define WGL_STEREO_POLARITY_NORMAL_3DL 0x2057
00091 #define WGL_STEREO_POLARITY_INVERT_3DL 0x2058
00092
00093 typedef BOOL (WINAPI * PFNWGLSETSTEREOEMITTERSTATE3DLPROC) (HDC hDC, UINT uState);
00094
00095 #define wglSetStereoEmitterState3DL WGLEW_GET_FUN(__wglewSetStereoEmitterState3DL)
00096
00097 #define WGLEW_3DL_stereo_control WGLEW_GET_VAR(__WGLEW_3DL_stereo_control)
00098
00099 #endif
00100
00101
00102
00103 #ifndef WGL_ARB_buffer_region
00104 #define WGL_ARB_buffer_region 1
00105
00106 #define WGL_FRONT_COLOR_BUFFER_BIT_ARB 0x00000001
00107 #define WGL_BACK_COLOR_BUFFER_BIT_ARB 0x00000002
00108 #define WGL_DEPTH_BUFFER_BIT_ARB 0x00000004
00109 #define WGL_STENCIL_BUFFER_BIT_ARB 0x00000008
00110
00111 typedef HANDLE (WINAPI * PFNWGLCREATEBUFFERREGIONARBPROC) (HDC hDC, int iLayerPlane, UINT uType);
00112 typedef VOID (WINAPI * PFNWGLDELETEBUFFERREGIONARBPROC) (HANDLE hRegion);
00113 typedef BOOL (WINAPI * PFNWGLRESTOREBUFFERREGIONARBPROC) (HANDLE hRegion, int x, int y, int width, int height, int xSrc, int ySrc);
00114 typedef BOOL (WINAPI * PFNWGLSAVEBUFFERREGIONARBPROC) (HANDLE hRegion, int x, int y, int width, int height);
00115
00116 #define wglCreateBufferRegionARB WGLEW_GET_FUN(__wglewCreateBufferRegionARB)
00117 #define wglDeleteBufferRegionARB WGLEW_GET_FUN(__wglewDeleteBufferRegionARB)
00118 #define wglRestoreBufferRegionARB WGLEW_GET_FUN(__wglewRestoreBufferRegionARB)
00119 #define wglSaveBufferRegionARB WGLEW_GET_FUN(__wglewSaveBufferRegionARB)
00120
00121 #define WGLEW_ARB_buffer_region WGLEW_GET_VAR(__WGLEW_ARB_buffer_region)
00122
00123 #endif
00124
00125
00126
00127 #ifndef WGL_ARB_extensions_string
00128 #define WGL_ARB_extensions_string 1
00129
00130 typedef const char* (WINAPI * PFNWGLGETEXTENSIONSSTRINGARBPROC) (HDC hdc);
00131
00132 #define wglGetExtensionsStringARB WGLEW_GET_FUN(__wglewGetExtensionsStringARB)
00133
00134 #define WGLEW_ARB_extensions_string WGLEW_GET_VAR(__WGLEW_ARB_extensions_string)
00135
00136 #endif
00137
00138
00139
00140 #ifndef WGL_ARB_make_current_read
00141 #define WGL_ARB_make_current_read 1
00142
00143 typedef HDC (WINAPI * PFNWGLGETCURRENTREADDCARBPROC) (VOID);
00144 typedef BOOL (WINAPI * PFNWGLMAKECONTEXTCURRENTARBPROC) (HDC hDrawDC, HDC hReadDC, HGLRC hglrc);
00145
00146 #define wglGetCurrentReadDCARB WGLEW_GET_FUN(__wglewGetCurrentReadDCARB)
00147 #define wglMakeContextCurrentARB WGLEW_GET_FUN(__wglewMakeContextCurrentARB)
00148
00149 #define WGLEW_ARB_make_current_read WGLEW_GET_VAR(__WGLEW_ARB_make_current_read)
00150
00151 #endif
00152
00153
00154
00155 #ifndef WGL_ARB_multisample
00156 #define WGL_ARB_multisample 1
00157
00158 #define WGL_SAMPLE_BUFFERS_ARB 0x2041
00159 #define WGL_SAMPLES_ARB 0x2042
00160
00161 #define WGLEW_ARB_multisample WGLEW_GET_VAR(__WGLEW_ARB_multisample)
00162
00163 #endif
00164
00165
00166
00167 #ifndef WGL_ARB_pbuffer
00168 #define WGL_ARB_pbuffer 1
00169
00170 #define WGL_DRAW_TO_PBUFFER_ARB 0x202D
00171 #define WGL_MAX_PBUFFER_PIXELS_ARB 0x202E
00172 #define WGL_MAX_PBUFFER_WIDTH_ARB 0x202F
00173 #define WGL_MAX_PBUFFER_HEIGHT_ARB 0x2030
00174 #define WGL_PBUFFER_LARGEST_ARB 0x2033
00175 #define WGL_PBUFFER_WIDTH_ARB 0x2034
00176 #define WGL_PBUFFER_HEIGHT_ARB 0x2035
00177 #define WGL_PBUFFER_LOST_ARB 0x2036
00178
00179 DECLARE_HANDLE(HPBUFFERARB);
00180
00181 typedef HPBUFFERARB (WINAPI * PFNWGLCREATEPBUFFERARBPROC) (HDC hDC, int iPixelFormat, int iWidth, int iHeight, const int* piAttribList);
00182 typedef BOOL (WINAPI * PFNWGLDESTROYPBUFFERARBPROC) (HPBUFFERARB hPbuffer);
00183 typedef HDC (WINAPI * PFNWGLGETPBUFFERDCARBPROC) (HPBUFFERARB hPbuffer);
00184 typedef BOOL (WINAPI * PFNWGLQUERYPBUFFERARBPROC) (HPBUFFERARB hPbuffer, int iAttribute, int* piValue);
00185 typedef int (WINAPI * PFNWGLRELEASEPBUFFERDCARBPROC) (HPBUFFERARB hPbuffer, HDC hDC);
00186
00187 #define wglCreatePbufferARB WGLEW_GET_FUN(__wglewCreatePbufferARB)
00188 #define wglDestroyPbufferARB WGLEW_GET_FUN(__wglewDestroyPbufferARB)
00189 #define wglGetPbufferDCARB WGLEW_GET_FUN(__wglewGetPbufferDCARB)
00190 #define wglQueryPbufferARB WGLEW_GET_FUN(__wglewQueryPbufferARB)
00191 #define wglReleasePbufferDCARB WGLEW_GET_FUN(__wglewReleasePbufferDCARB)
00192
00193 #define WGLEW_ARB_pbuffer WGLEW_GET_VAR(__WGLEW_ARB_pbuffer)
00194
00195 #endif
00196
00197
00198
00199 #ifndef WGL_ARB_pixel_format
00200 #define WGL_ARB_pixel_format 1
00201
00202 #define WGL_NUMBER_PIXEL_FORMATS_ARB 0x2000
00203 #define WGL_DRAW_TO_WINDOW_ARB 0x2001
00204 #define WGL_DRAW_TO_BITMAP_ARB 0x2002
00205 #define WGL_ACCELERATION_ARB 0x2003
00206 #define WGL_NEED_PALETTE_ARB 0x2004
00207 #define WGL_NEED_SYSTEM_PALETTE_ARB 0x2005
00208 #define WGL_SWAP_LAYER_BUFFERS_ARB 0x2006
00209 #define WGL_SWAP_METHOD_ARB 0x2007
00210 #define WGL_NUMBER_OVERLAYS_ARB 0x2008
00211 #define WGL_NUMBER_UNDERLAYS_ARB 0x2009
00212 #define WGL_TRANSPARENT_ARB 0x200A
00213 #define WGL_SHARE_DEPTH_ARB 0x200C
00214 #define WGL_SHARE_STENCIL_ARB 0x200D
00215 #define WGL_SHARE_ACCUM_ARB 0x200E
00216 #define WGL_SUPPORT_GDI_ARB 0x200F
00217 #define WGL_SUPPORT_OPENGL_ARB 0x2010
00218 #define WGL_DOUBLE_BUFFER_ARB 0x2011
00219 #define WGL_STEREO_ARB 0x2012
00220 #define WGL_PIXEL_TYPE_ARB 0x2013
00221 #define WGL_COLOR_BITS_ARB 0x2014
00222 #define WGL_RED_BITS_ARB 0x2015
00223 #define WGL_RED_SHIFT_ARB 0x2016
00224 #define WGL_GREEN_BITS_ARB 0x2017
00225 #define WGL_GREEN_SHIFT_ARB 0x2018
00226 #define WGL_BLUE_BITS_ARB 0x2019
00227 #define WGL_BLUE_SHIFT_ARB 0x201A
00228 #define WGL_ALPHA_BITS_ARB 0x201B
00229 #define WGL_ALPHA_SHIFT_ARB 0x201C
00230 #define WGL_ACCUM_BITS_ARB 0x201D
00231 #define WGL_ACCUM_RED_BITS_ARB 0x201E
00232 #define WGL_ACCUM_GREEN_BITS_ARB 0x201F
00233 #define WGL_ACCUM_BLUE_BITS_ARB 0x2020
00234 #define WGL_ACCUM_ALPHA_BITS_ARB 0x2021
00235 #define WGL_DEPTH_BITS_ARB 0x2022
00236 #define WGL_STENCIL_BITS_ARB 0x2023
00237 #define WGL_AUX_BUFFERS_ARB 0x2024
00238 #define WGL_NO_ACCELERATION_ARB 0x2025
00239 #define WGL_GENERIC_ACCELERATION_ARB 0x2026
00240 #define WGL_FULL_ACCELERATION_ARB 0x2027
00241 #define WGL_SWAP_EXCHANGE_ARB 0x2028
00242 #define WGL_SWAP_COPY_ARB 0x2029
00243 #define WGL_SWAP_UNDEFINED_ARB 0x202A
00244 #define WGL_TYPE_RGBA_ARB 0x202B
00245 #define WGL_TYPE_COLORINDEX_ARB 0x202C
00246 #define WGL_TRANSPARENT_RED_VALUE_ARB 0x2037
00247 #define WGL_TRANSPARENT_GREEN_VALUE_ARB 0x2038
00248 #define WGL_TRANSPARENT_BLUE_VALUE_ARB 0x2039
00249 #define WGL_TRANSPARENT_ALPHA_VALUE_ARB 0x203A
00250 #define WGL_TRANSPARENT_INDEX_VALUE_ARB 0x203B
00251
00252 typedef BOOL (WINAPI * PFNWGLCHOOSEPIXELFORMATARBPROC) (HDC hdc, const int* piAttribIList, const FLOAT *pfAttribFList, UINT nMaxFormats, int *piFormats, UINT *nNumFormats);
00253 typedef BOOL (WINAPI * PFNWGLGETPIXELFORMATATTRIBFVARBPROC) (HDC hdc, int iPixelFormat, int iLayerPlane, UINT nAttributes, const int* piAttributes, FLOAT *pfValues);
00254 typedef BOOL (WINAPI * PFNWGLGETPIXELFORMATATTRIBIVARBPROC) (HDC hdc, int iPixelFormat, int iLayerPlane, UINT nAttributes, const int* piAttributes, int *piValues);
00255
00256 #define wglChoosePixelFormatARB WGLEW_GET_FUN(__wglewChoosePixelFormatARB)
00257 #define wglGetPixelFormatAttribfvARB WGLEW_GET_FUN(__wglewGetPixelFormatAttribfvARB)
00258 #define wglGetPixelFormatAttribivARB WGLEW_GET_FUN(__wglewGetPixelFormatAttribivARB)
00259
00260 #define WGLEW_ARB_pixel_format WGLEW_GET_VAR(__WGLEW_ARB_pixel_format)
00261
00262 #endif
00263
00264
00265
00266 #ifndef WGL_ARB_pixel_format_float
00267 #define WGL_ARB_pixel_format_float 1
00268
00269 #define WGL_TYPE_RGBA_FLOAT_ARB 0x21A0
00270
00271 #define WGLEW_ARB_pixel_format_float WGLEW_GET_VAR(__WGLEW_ARB_pixel_format_float)
00272
00273 #endif
00274
00275
00276
00277 #ifndef WGL_ARB_render_texture
00278 #define WGL_ARB_render_texture 1
00279
00280 #define WGL_BIND_TO_TEXTURE_RGB_ARB 0x2070
00281 #define WGL_BIND_TO_TEXTURE_RGBA_ARB 0x2071
00282 #define WGL_TEXTURE_FORMAT_ARB 0x2072
00283 #define WGL_TEXTURE_TARGET_ARB 0x2073
00284 #define WGL_MIPMAP_TEXTURE_ARB 0x2074
00285 #define WGL_TEXTURE_RGB_ARB 0x2075
00286 #define WGL_TEXTURE_RGBA_ARB 0x2076
00287 #define WGL_NO_TEXTURE_ARB 0x2077
00288 #define WGL_TEXTURE_CUBE_MAP_ARB 0x2078
00289 #define WGL_TEXTURE_1D_ARB 0x2079
00290 #define WGL_TEXTURE_2D_ARB 0x207A
00291 #define WGL_MIPMAP_LEVEL_ARB 0x207B
00292 #define WGL_CUBE_MAP_FACE_ARB 0x207C
00293 #define WGL_TEXTURE_CUBE_MAP_POSITIVE_X_ARB 0x207D
00294 #define WGL_TEXTURE_CUBE_MAP_NEGATIVE_X_ARB 0x207E
00295 #define WGL_TEXTURE_CUBE_MAP_POSITIVE_Y_ARB 0x207F
00296 #define WGL_TEXTURE_CUBE_MAP_NEGATIVE_Y_ARB 0x2080
00297 #define WGL_TEXTURE_CUBE_MAP_POSITIVE_Z_ARB 0x2081
00298 #define WGL_TEXTURE_CUBE_MAP_NEGATIVE_Z_ARB 0x2082
00299 #define WGL_FRONT_LEFT_ARB 0x2083
00300 #define WGL_FRONT_RIGHT_ARB 0x2084
00301 #define WGL_BACK_LEFT_ARB 0x2085
00302 #define WGL_BACK_RIGHT_ARB 0x2086
00303 #define WGL_AUX0_ARB 0x2087
00304 #define WGL_AUX1_ARB 0x2088
00305 #define WGL_AUX2_ARB 0x2089
00306 #define WGL_AUX3_ARB 0x208A
00307 #define WGL_AUX4_ARB 0x208B
00308 #define WGL_AUX5_ARB 0x208C
00309 #define WGL_AUX6_ARB 0x208D
00310 #define WGL_AUX7_ARB 0x208E
00311 #define WGL_AUX8_ARB 0x208F
00312 #define WGL_AUX9_ARB 0x2090
00313
00314 typedef BOOL (WINAPI * PFNWGLBINDTEXIMAGEARBPROC) (HPBUFFERARB hPbuffer, int iBuffer);
00315 typedef BOOL (WINAPI * PFNWGLRELEASETEXIMAGEARBPROC) (HPBUFFERARB hPbuffer, int iBuffer);
00316 typedef BOOL (WINAPI * PFNWGLSETPBUFFERATTRIBARBPROC) (HPBUFFERARB hPbuffer, const int* piAttribList);
00317
00318 #define wglBindTexImageARB WGLEW_GET_FUN(__wglewBindTexImageARB)
00319 #define wglReleaseTexImageARB WGLEW_GET_FUN(__wglewReleaseTexImageARB)
00320 #define wglSetPbufferAttribARB WGLEW_GET_FUN(__wglewSetPbufferAttribARB)
00321
00322 #define WGLEW_ARB_render_texture WGLEW_GET_VAR(__WGLEW_ARB_render_texture)
00323
00324 #endif
00325
00326
00327
00328 #ifndef WGL_ATI_pixel_format_float
00329 #define WGL_ATI_pixel_format_float 1
00330
00331 #define WGL_TYPE_RGBA_FLOAT_ATI 0x21A0
00332 #define GL_RGBA_FLOAT_MODE_ATI 0x8820
00333 #define GL_COLOR_CLEAR_UNCLAMPED_VALUE_ATI 0x8835
00334
00335 #define WGLEW_ATI_pixel_format_float WGLEW_GET_VAR(__WGLEW_ATI_pixel_format_float)
00336
00337 #endif
00338
00339
00340
00341 #ifndef WGL_ATI_render_texture_rectangle
00342 #define WGL_ATI_render_texture_rectangle 1
00343
00344 #define WGL_TEXTURE_RECTANGLE_ATI 0x21A5
00345
00346 #define WGLEW_ATI_render_texture_rectangle WGLEW_GET_VAR(__WGLEW_ATI_render_texture_rectangle)
00347
00348 #endif
00349
00350
00351
00352 #ifndef WGL_EXT_depth_float
00353 #define WGL_EXT_depth_float 1
00354
00355 #define WGL_DEPTH_FLOAT_EXT 0x2040
00356
00357 #define WGLEW_EXT_depth_float WGLEW_GET_VAR(__WGLEW_EXT_depth_float)
00358
00359 #endif
00360
00361
00362
00363 #ifndef WGL_EXT_display_color_table
00364 #define WGL_EXT_display_color_table 1
00365
00366 typedef GLboolean (WINAPI * PFNWGLBINDDISPLAYCOLORTABLEEXTPROC) (GLushort id);
00367 typedef GLboolean (WINAPI * PFNWGLCREATEDISPLAYCOLORTABLEEXTPROC) (GLushort id);
00368 typedef void (WINAPI * PFNWGLDESTROYDISPLAYCOLORTABLEEXTPROC) (GLushort id);
00369 typedef GLboolean (WINAPI * PFNWGLLOADDISPLAYCOLORTABLEEXTPROC) (GLushort* table, GLuint length);
00370
00371 #define wglBindDisplayColorTableEXT WGLEW_GET_FUN(__wglewBindDisplayColorTableEXT)
00372 #define wglCreateDisplayColorTableEXT WGLEW_GET_FUN(__wglewCreateDisplayColorTableEXT)
00373 #define wglDestroyDisplayColorTableEXT WGLEW_GET_FUN(__wglewDestroyDisplayColorTableEXT)
00374 #define wglLoadDisplayColorTableEXT WGLEW_GET_FUN(__wglewLoadDisplayColorTableEXT)
00375
00376 #define WGLEW_EXT_display_color_table WGLEW_GET_VAR(__WGLEW_EXT_display_color_table)
00377
00378 #endif
00379
00380
00381
00382 #ifndef WGL_EXT_extensions_string
00383 #define WGL_EXT_extensions_string 1
00384
00385 typedef const char* (WINAPI * PFNWGLGETEXTENSIONSSTRINGEXTPROC) (void);
00386
00387 #define wglGetExtensionsStringEXT WGLEW_GET_FUN(__wglewGetExtensionsStringEXT)
00388
00389 #define WGLEW_EXT_extensions_string WGLEW_GET_VAR(__WGLEW_EXT_extensions_string)
00390
00391 #endif
00392
00393
00394
00395 #ifndef WGL_EXT_make_current_read
00396 #define WGL_EXT_make_current_read 1
00397
00398 typedef HDC (WINAPI * PFNWGLGETCURRENTREADDCEXTPROC) (VOID);
00399 typedef BOOL (WINAPI * PFNWGLMAKECONTEXTCURRENTEXTPROC) (HDC hDrawDC, HDC hReadDC, HGLRC hglrc);
00400
00401 #define wglGetCurrentReadDCEXT WGLEW_GET_FUN(__wglewGetCurrentReadDCEXT)
00402 #define wglMakeContextCurrentEXT WGLEW_GET_FUN(__wglewMakeContextCurrentEXT)
00403
00404 #define WGLEW_EXT_make_current_read WGLEW_GET_VAR(__WGLEW_EXT_make_current_read)
00405
00406 #endif
00407
00408
00409
00410 #ifndef WGL_EXT_multisample
00411 #define WGL_EXT_multisample 1
00412
00413 #define WGL_SAMPLE_BUFFERS_EXT 0x2041
00414 #define WGL_SAMPLES_EXT 0x2042
00415
00416 #define WGLEW_EXT_multisample WGLEW_GET_VAR(__WGLEW_EXT_multisample)
00417
00418 #endif
00419
00420
00421
00422 #ifndef WGL_EXT_pbuffer
00423 #define WGL_EXT_pbuffer 1
00424
00425 #define WGL_DRAW_TO_PBUFFER_EXT 0x202D
00426 #define WGL_MAX_PBUFFER_PIXELS_EXT 0x202E
00427 #define WGL_MAX_PBUFFER_WIDTH_EXT 0x202F
00428 #define WGL_MAX_PBUFFER_HEIGHT_EXT 0x2030
00429 #define WGL_OPTIMAL_PBUFFER_WIDTH_EXT 0x2031
00430 #define WGL_OPTIMAL_PBUFFER_HEIGHT_EXT 0x2032
00431 #define WGL_PBUFFER_LARGEST_EXT 0x2033
00432 #define WGL_PBUFFER_WIDTH_EXT 0x2034
00433 #define WGL_PBUFFER_HEIGHT_EXT 0x2035
00434
00435 DECLARE_HANDLE(HPBUFFEREXT);
00436
00437 typedef HPBUFFEREXT (WINAPI * PFNWGLCREATEPBUFFEREXTPROC) (HDC hDC, int iPixelFormat, int iWidth, int iHeight, const int* piAttribList);
00438 typedef BOOL (WINAPI * PFNWGLDESTROYPBUFFEREXTPROC) (HPBUFFEREXT hPbuffer);
00439 typedef HDC (WINAPI * PFNWGLGETPBUFFERDCEXTPROC) (HPBUFFEREXT hPbuffer);
00440 typedef BOOL (WINAPI * PFNWGLQUERYPBUFFEREXTPROC) (HPBUFFEREXT hPbuffer, int iAttribute, int* piValue);
00441 typedef int (WINAPI * PFNWGLRELEASEPBUFFERDCEXTPROC) (HPBUFFEREXT hPbuffer, HDC hDC);
00442
00443 #define wglCreatePbufferEXT WGLEW_GET_FUN(__wglewCreatePbufferEXT)
00444 #define wglDestroyPbufferEXT WGLEW_GET_FUN(__wglewDestroyPbufferEXT)
00445 #define wglGetPbufferDCEXT WGLEW_GET_FUN(__wglewGetPbufferDCEXT)
00446 #define wglQueryPbufferEXT WGLEW_GET_FUN(__wglewQueryPbufferEXT)
00447 #define wglReleasePbufferDCEXT WGLEW_GET_FUN(__wglewReleasePbufferDCEXT)
00448
00449 #define WGLEW_EXT_pbuffer WGLEW_GET_VAR(__WGLEW_EXT_pbuffer)
00450
00451 #endif
00452
00453
00454
00455 #ifndef WGL_EXT_pixel_format
00456 #define WGL_EXT_pixel_format 1
00457
00458 #define WGL_NUMBER_PIXEL_FORMATS_EXT 0x2000
00459 #define WGL_DRAW_TO_WINDOW_EXT 0x2001
00460 #define WGL_DRAW_TO_BITMAP_EXT 0x2002
00461 #define WGL_ACCELERATION_EXT 0x2003
00462 #define WGL_NEED_PALETTE_EXT 0x2004
00463 #define WGL_NEED_SYSTEM_PALETTE_EXT 0x2005
00464 #define WGL_SWAP_LAYER_BUFFERS_EXT 0x2006
00465 #define WGL_SWAP_METHOD_EXT 0x2007
00466 #define WGL_NUMBER_OVERLAYS_EXT 0x2008
00467 #define WGL_NUMBER_UNDERLAYS_EXT 0x2009
00468 #define WGL_TRANSPARENT_EXT 0x200A
00469 #define WGL_TRANSPARENT_VALUE_EXT 0x200B
00470 #define WGL_SHARE_DEPTH_EXT 0x200C
00471 #define WGL_SHARE_STENCIL_EXT 0x200D
00472 #define WGL_SHARE_ACCUM_EXT 0x200E
00473 #define WGL_SUPPORT_GDI_EXT 0x200F
00474 #define WGL_SUPPORT_OPENGL_EXT 0x2010
00475 #define WGL_DOUBLE_BUFFER_EXT 0x2011
00476 #define WGL_STEREO_EXT 0x2012
00477 #define WGL_PIXEL_TYPE_EXT 0x2013
00478 #define WGL_COLOR_BITS_EXT 0x2014
00479 #define WGL_RED_BITS_EXT 0x2015
00480 #define WGL_RED_SHIFT_EXT 0x2016
00481 #define WGL_GREEN_BITS_EXT 0x2017
00482 #define WGL_GREEN_SHIFT_EXT 0x2018
00483 #define WGL_BLUE_BITS_EXT 0x2019
00484 #define WGL_BLUE_SHIFT_EXT 0x201A
00485 #define WGL_ALPHA_BITS_EXT 0x201B
00486 #define WGL_ALPHA_SHIFT_EXT 0x201C
00487 #define WGL_ACCUM_BITS_EXT 0x201D
00488 #define WGL_ACCUM_RED_BITS_EXT 0x201E
00489 #define WGL_ACCUM_GREEN_BITS_EXT 0x201F
00490 #define WGL_ACCUM_BLUE_BITS_EXT 0x2020
00491 #define WGL_ACCUM_ALPHA_BITS_EXT 0x2021
00492 #define WGL_DEPTH_BITS_EXT 0x2022
00493 #define WGL_STENCIL_BITS_EXT 0x2023
00494 #define WGL_AUX_BUFFERS_EXT 0x2024
00495 #define WGL_NO_ACCELERATION_EXT 0x2025
00496 #define WGL_GENERIC_ACCELERATION_EXT 0x2026
00497 #define WGL_FULL_ACCELERATION_EXT 0x2027
00498 #define WGL_SWAP_EXCHANGE_EXT 0x2028
00499 #define WGL_SWAP_COPY_EXT 0x2029
00500 #define WGL_SWAP_UNDEFINED_EXT 0x202A
00501 #define WGL_TYPE_RGBA_EXT 0x202B
00502 #define WGL_TYPE_COLORINDEX_EXT 0x202C
00503
00504 typedef BOOL (WINAPI * PFNWGLCHOOSEPIXELFORMATEXTPROC) (HDC hdc, const int* piAttribIList, const FLOAT *pfAttribFList, UINT nMaxFormats, int *piFormats, UINT *nNumFormats);
00505 typedef BOOL (WINAPI * PFNWGLGETPIXELFORMATATTRIBFVEXTPROC) (HDC hdc, int iPixelFormat, int iLayerPlane, UINT nAttributes, int* piAttributes, FLOAT *pfValues);
00506 typedef BOOL (WINAPI * PFNWGLGETPIXELFORMATATTRIBIVEXTPROC) (HDC hdc, int iPixelFormat, int iLayerPlane, UINT nAttributes, int* piAttributes, int *piValues);
00507
00508 #define wglChoosePixelFormatEXT WGLEW_GET_FUN(__wglewChoosePixelFormatEXT)
00509 #define wglGetPixelFormatAttribfvEXT WGLEW_GET_FUN(__wglewGetPixelFormatAttribfvEXT)
00510 #define wglGetPixelFormatAttribivEXT WGLEW_GET_FUN(__wglewGetPixelFormatAttribivEXT)
00511
00512 #define WGLEW_EXT_pixel_format WGLEW_GET_VAR(__WGLEW_EXT_pixel_format)
00513
00514 #endif
00515
00516
00517
00518 #ifndef WGL_EXT_swap_control
00519 #define WGL_EXT_swap_control 1
00520
00521 typedef int (WINAPI * PFNWGLGETSWAPINTERVALEXTPROC) (void);
00522 typedef BOOL (WINAPI * PFNWGLSWAPINTERVALEXTPROC) (int interval);
00523
00524 #define wglGetSwapIntervalEXT WGLEW_GET_FUN(__wglewGetSwapIntervalEXT)
00525 #define wglSwapIntervalEXT WGLEW_GET_FUN(__wglewSwapIntervalEXT)
00526
00527 #define WGLEW_EXT_swap_control WGLEW_GET_VAR(__WGLEW_EXT_swap_control)
00528
00529 #endif
00530
00531
00532
00533 #ifndef WGL_I3D_digital_video_control
00534 #define WGL_I3D_digital_video_control 1
00535
00536 #define WGL_DIGITAL_VIDEO_CURSOR_ALPHA_FRAMEBUFFER_I3D 0x2050
00537 #define WGL_DIGITAL_VIDEO_CURSOR_ALPHA_VALUE_I3D 0x2051
00538 #define WGL_DIGITAL_VIDEO_CURSOR_INCLUDED_I3D 0x2052
00539 #define WGL_DIGITAL_VIDEO_GAMMA_CORRECTED_I3D 0x2053
00540
00541 typedef BOOL (WINAPI * PFNWGLGETDIGITALVIDEOPARAMETERSI3DPROC) (HDC hDC, int iAttribute, int* piValue);
00542 typedef BOOL (WINAPI * PFNWGLSETDIGITALVIDEOPARAMETERSI3DPROC) (HDC hDC, int iAttribute, const int* piValue);
00543
00544 #define wglGetDigitalVideoParametersI3D WGLEW_GET_FUN(__wglewGetDigitalVideoParametersI3D)
00545 #define wglSetDigitalVideoParametersI3D WGLEW_GET_FUN(__wglewSetDigitalVideoParametersI3D)
00546
00547 #define WGLEW_I3D_digital_video_control WGLEW_GET_VAR(__WGLEW_I3D_digital_video_control)
00548
00549 #endif
00550
00551
00552
00553 #ifndef WGL_I3D_gamma
00554 #define WGL_I3D_gamma 1
00555
00556 #define WGL_GAMMA_TABLE_SIZE_I3D 0x204E
00557 #define WGL_GAMMA_EXCLUDE_DESKTOP_I3D 0x204F
00558
00559 typedef BOOL (WINAPI * PFNWGLGETGAMMATABLEI3DPROC) (HDC hDC, int iEntries, USHORT* puRed, USHORT *puGreen, USHORT *puBlue);
00560 typedef BOOL (WINAPI * PFNWGLGETGAMMATABLEPARAMETERSI3DPROC) (HDC hDC, int iAttribute, int* piValue);
00561 typedef BOOL (WINAPI * PFNWGLSETGAMMATABLEI3DPROC) (HDC hDC, int iEntries, const USHORT* puRed, const USHORT *puGreen, const USHORT *puBlue);
00562 typedef BOOL (WINAPI * PFNWGLSETGAMMATABLEPARAMETERSI3DPROC) (HDC hDC, int iAttribute, const int* piValue);
00563
00564 #define wglGetGammaTableI3D WGLEW_GET_FUN(__wglewGetGammaTableI3D)
00565 #define wglGetGammaTableParametersI3D WGLEW_GET_FUN(__wglewGetGammaTableParametersI3D)
00566 #define wglSetGammaTableI3D WGLEW_GET_FUN(__wglewSetGammaTableI3D)
00567 #define wglSetGammaTableParametersI3D WGLEW_GET_FUN(__wglewSetGammaTableParametersI3D)
00568
00569 #define WGLEW_I3D_gamma WGLEW_GET_VAR(__WGLEW_I3D_gamma)
00570
00571 #endif
00572
00573
00574
00575 #ifndef WGL_I3D_genlock
00576 #define WGL_I3D_genlock 1
00577
00578 #define WGL_GENLOCK_SOURCE_MULTIVIEW_I3D 0x2044
00579 #define WGL_GENLOCK_SOURCE_EXTERNAL_SYNC_I3D 0x2045
00580 #define WGL_GENLOCK_SOURCE_EXTERNAL_FIELD_I3D 0x2046
00581 #define WGL_GENLOCK_SOURCE_EXTERNAL_TTL_I3D 0x2047
00582 #define WGL_GENLOCK_SOURCE_DIGITAL_SYNC_I3D 0x2048
00583 #define WGL_GENLOCK_SOURCE_DIGITAL_FIELD_I3D 0x2049
00584 #define WGL_GENLOCK_SOURCE_EDGE_FALLING_I3D 0x204A
00585 #define WGL_GENLOCK_SOURCE_EDGE_RISING_I3D 0x204B
00586 #define WGL_GENLOCK_SOURCE_EDGE_BOTH_I3D 0x204C
00587
00588 typedef BOOL (WINAPI * PFNWGLDISABLEGENLOCKI3DPROC) (HDC hDC);
00589 typedef BOOL (WINAPI * PFNWGLENABLEGENLOCKI3DPROC) (HDC hDC);
00590 typedef BOOL (WINAPI * PFNWGLGENLOCKSAMPLERATEI3DPROC) (HDC hDC, UINT uRate);
00591 typedef BOOL (WINAPI * PFNWGLGENLOCKSOURCEDELAYI3DPROC) (HDC hDC, UINT uDelay);
00592 typedef BOOL (WINAPI * PFNWGLGENLOCKSOURCEEDGEI3DPROC) (HDC hDC, UINT uEdge);
00593 typedef BOOL (WINAPI * PFNWGLGENLOCKSOURCEI3DPROC) (HDC hDC, UINT uSource);
00594 typedef BOOL (WINAPI * PFNWGLGETGENLOCKSAMPLERATEI3DPROC) (HDC hDC, UINT* uRate);
00595 typedef BOOL (WINAPI * PFNWGLGETGENLOCKSOURCEDELAYI3DPROC) (HDC hDC, UINT* uDelay);
00596 typedef BOOL (WINAPI * PFNWGLGETGENLOCKSOURCEEDGEI3DPROC) (HDC hDC, UINT* uEdge);
00597 typedef BOOL (WINAPI * PFNWGLGETGENLOCKSOURCEI3DPROC) (HDC hDC, UINT* uSource);
00598 typedef BOOL (WINAPI * PFNWGLISENABLEDGENLOCKI3DPROC) (HDC hDC, BOOL* pFlag);
00599 typedef BOOL (WINAPI * PFNWGLQUERYGENLOCKMAXSOURCEDELAYI3DPROC) (HDC hDC, UINT* uMaxLineDelay, UINT *uMaxPixelDelay);
00600
00601 #define wglDisableGenlockI3D WGLEW_GET_FUN(__wglewDisableGenlockI3D)
00602 #define wglEnableGenlockI3D WGLEW_GET_FUN(__wglewEnableGenlockI3D)
00603 #define wglGenlockSampleRateI3D WGLEW_GET_FUN(__wglewGenlockSampleRateI3D)
00604 #define wglGenlockSourceDelayI3D WGLEW_GET_FUN(__wglewGenlockSourceDelayI3D)
00605 #define wglGenlockSourceEdgeI3D WGLEW_GET_FUN(__wglewGenlockSourceEdgeI3D)
00606 #define wglGenlockSourceI3D WGLEW_GET_FUN(__wglewGenlockSourceI3D)
00607 #define wglGetGenlockSampleRateI3D WGLEW_GET_FUN(__wglewGetGenlockSampleRateI3D)
00608 #define wglGetGenlockSourceDelayI3D WGLEW_GET_FUN(__wglewGetGenlockSourceDelayI3D)
00609 #define wglGetGenlockSourceEdgeI3D WGLEW_GET_FUN(__wglewGetGenlockSourceEdgeI3D)
00610 #define wglGetGenlockSourceI3D WGLEW_GET_FUN(__wglewGetGenlockSourceI3D)
00611 #define wglIsEnabledGenlockI3D WGLEW_GET_FUN(__wglewIsEnabledGenlockI3D)
00612 #define wglQueryGenlockMaxSourceDelayI3D WGLEW_GET_FUN(__wglewQueryGenlockMaxSourceDelayI3D)
00613
00614 #define WGLEW_I3D_genlock WGLEW_GET_VAR(__WGLEW_I3D_genlock)
00615
00616 #endif
00617
00618
00619
00620 #ifndef WGL_I3D_image_buffer
00621 #define WGL_I3D_image_buffer 1
00622
00623 #define WGL_IMAGE_BUFFER_MIN_ACCESS_I3D 0x00000001
00624 #define WGL_IMAGE_BUFFER_LOCK_I3D 0x00000002
00625
00626 typedef BOOL (WINAPI * PFNWGLASSOCIATEIMAGEBUFFEREVENTSI3DPROC) (HDC hdc, HANDLE* pEvent, LPVOID *pAddress, DWORD *pSize, UINT count);
00627 typedef LPVOID (WINAPI * PFNWGLCREATEIMAGEBUFFERI3DPROC) (HDC hDC, DWORD dwSize, UINT uFlags);
00628 typedef BOOL (WINAPI * PFNWGLDESTROYIMAGEBUFFERI3DPROC) (HDC hDC, LPVOID pAddress);
00629 typedef BOOL (WINAPI * PFNWGLRELEASEIMAGEBUFFEREVENTSI3DPROC) (HDC hdc, LPVOID* pAddress, UINT count);
00630
00631 #define wglAssociateImageBufferEventsI3D WGLEW_GET_FUN(__wglewAssociateImageBufferEventsI3D)
00632 #define wglCreateImageBufferI3D WGLEW_GET_FUN(__wglewCreateImageBufferI3D)
00633 #define wglDestroyImageBufferI3D WGLEW_GET_FUN(__wglewDestroyImageBufferI3D)
00634 #define wglReleaseImageBufferEventsI3D WGLEW_GET_FUN(__wglewReleaseImageBufferEventsI3D)
00635
00636 #define WGLEW_I3D_image_buffer WGLEW_GET_VAR(__WGLEW_I3D_image_buffer)
00637
00638 #endif
00639
00640
00641
00642 #ifndef WGL_I3D_swap_frame_lock
00643 #define WGL_I3D_swap_frame_lock 1
00644
00645 typedef BOOL (WINAPI * PFNWGLDISABLEFRAMELOCKI3DPROC) (VOID);
00646 typedef BOOL (WINAPI * PFNWGLENABLEFRAMELOCKI3DPROC) (VOID);
00647 typedef BOOL (WINAPI * PFNWGLISENABLEDFRAMELOCKI3DPROC) (BOOL* pFlag);
00648 typedef BOOL (WINAPI * PFNWGLQUERYFRAMELOCKMASTERI3DPROC) (BOOL* pFlag);
00649
00650 #define wglDisableFrameLockI3D WGLEW_GET_FUN(__wglewDisableFrameLockI3D)
00651 #define wglEnableFrameLockI3D WGLEW_GET_FUN(__wglewEnableFrameLockI3D)
00652 #define wglIsEnabledFrameLockI3D WGLEW_GET_FUN(__wglewIsEnabledFrameLockI3D)
00653 #define wglQueryFrameLockMasterI3D WGLEW_GET_FUN(__wglewQueryFrameLockMasterI3D)
00654
00655 #define WGLEW_I3D_swap_frame_lock WGLEW_GET_VAR(__WGLEW_I3D_swap_frame_lock)
00656
00657 #endif
00658
00659
00660
00661 #ifndef WGL_I3D_swap_frame_usage
00662 #define WGL_I3D_swap_frame_usage 1
00663
00664 typedef BOOL (WINAPI * PFNWGLBEGINFRAMETRACKINGI3DPROC) (void);
00665 typedef BOOL (WINAPI * PFNWGLENDFRAMETRACKINGI3DPROC) (void);
00666 typedef BOOL (WINAPI * PFNWGLGETFRAMEUSAGEI3DPROC) (float* pUsage);
00667 typedef BOOL (WINAPI * PFNWGLQUERYFRAMETRACKINGI3DPROC) (DWORD* pFrameCount, DWORD *pMissedFrames, float *pLastMissedUsage);
00668
00669 #define wglBeginFrameTrackingI3D WGLEW_GET_FUN(__wglewBeginFrameTrackingI3D)
00670 #define wglEndFrameTrackingI3D WGLEW_GET_FUN(__wglewEndFrameTrackingI3D)
00671 #define wglGetFrameUsageI3D WGLEW_GET_FUN(__wglewGetFrameUsageI3D)
00672 #define wglQueryFrameTrackingI3D WGLEW_GET_FUN(__wglewQueryFrameTrackingI3D)
00673
00674 #define WGLEW_I3D_swap_frame_usage WGLEW_GET_VAR(__WGLEW_I3D_swap_frame_usage)
00675
00676 #endif
00677
00678
00679
00680 #ifndef WGL_NV_float_buffer
00681 #define WGL_NV_float_buffer 1
00682
00683 #define WGL_FLOAT_COMPONENTS_NV 0x20B0
00684 #define WGL_BIND_TO_TEXTURE_RECTANGLE_FLOAT_R_NV 0x20B1
00685 #define WGL_BIND_TO_TEXTURE_RECTANGLE_FLOAT_RG_NV 0x20B2
00686 #define WGL_BIND_TO_TEXTURE_RECTANGLE_FLOAT_RGB_NV 0x20B3
00687 #define WGL_BIND_TO_TEXTURE_RECTANGLE_FLOAT_RGBA_NV 0x20B4
00688 #define WGL_TEXTURE_FLOAT_R_NV 0x20B5
00689 #define WGL_TEXTURE_FLOAT_RG_NV 0x20B6
00690 #define WGL_TEXTURE_FLOAT_RGB_NV 0x20B7
00691 #define WGL_TEXTURE_FLOAT_RGBA_NV 0x20B8
00692
00693 #define WGLEW_NV_float_buffer WGLEW_GET_VAR(__WGLEW_NV_float_buffer)
00694
00695 #endif
00696
00697
00698
00699 #ifndef WGL_NV_render_depth_texture
00700 #define WGL_NV_render_depth_texture 1
00701
00702 #define WGL_NO_TEXTURE_ARB 0x2077
00703 #define WGL_BIND_TO_TEXTURE_DEPTH_NV 0x20A3
00704 #define WGL_BIND_TO_TEXTURE_RECTANGLE_DEPTH_NV 0x20A4
00705 #define WGL_DEPTH_TEXTURE_FORMAT_NV 0x20A5
00706 #define WGL_TEXTURE_DEPTH_COMPONENT_NV 0x20A6
00707 #define WGL_DEPTH_COMPONENT_NV 0x20A7
00708
00709 #define WGLEW_NV_render_depth_texture WGLEW_GET_VAR(__WGLEW_NV_render_depth_texture)
00710
00711 #endif
00712
00713
00714
00715 #ifndef WGL_NV_render_texture_rectangle
00716 #define WGL_NV_render_texture_rectangle 1
00717
00718 #define WGL_BIND_TO_TEXTURE_RECTANGLE_RGB_NV 0x20A0
00719 #define WGL_BIND_TO_TEXTURE_RECTANGLE_RGBA_NV 0x20A1
00720 #define WGL_TEXTURE_RECTANGLE_NV 0x20A2
00721
00722 #define WGLEW_NV_render_texture_rectangle WGLEW_GET_VAR(__WGLEW_NV_render_texture_rectangle)
00723
00724 #endif
00725
00726
00727
00728 #ifndef WGL_NV_vertex_array_range
00729 #define WGL_NV_vertex_array_range 1
00730
00731 typedef void * (WINAPI * PFNWGLALLOCATEMEMORYNVPROC) (GLsizei size, GLfloat readFrequency, GLfloat writeFrequency, GLfloat priority);
00732 typedef void (WINAPI * PFNWGLFREEMEMORYNVPROC) (void *pointer);
00733
00734 #define wglAllocateMemoryNV WGLEW_GET_FUN(__wglewAllocateMemoryNV)
00735 #define wglFreeMemoryNV WGLEW_GET_FUN(__wglewFreeMemoryNV)
00736
00737 #define WGLEW_NV_vertex_array_range WGLEW_GET_VAR(__WGLEW_NV_vertex_array_range)
00738
00739 #endif
00740
00741
00742
00743 #ifndef WGL_OML_sync_control
00744 #define WGL_OML_sync_control 1
00745
00746 typedef BOOL (WINAPI * PFNWGLGETMSCRATEOMLPROC) (HDC hdc, INT32* numerator, INT32 *denominator);
00747 typedef BOOL (WINAPI * PFNWGLGETSYNCVALUESOMLPROC) (HDC hdc, INT64* ust, INT64 *msc, INT64 *sbc);
00748 typedef INT64 (WINAPI * PFNWGLSWAPBUFFERSMSCOMLPROC) (HDC hdc, INT64 target_msc, INT64 divisor, INT64 remainder);
00749 typedef INT64 (WINAPI * PFNWGLSWAPLAYERBUFFERSMSCOMLPROC) (HDC hdc, INT fuPlanes, INT64 target_msc, INT64 divisor, INT64 remainder);
00750 typedef BOOL (WINAPI * PFNWGLWAITFORMSCOMLPROC) (HDC hdc, INT64 target_msc, INT64 divisor, INT64 remainder, INT64* ust, INT64 *msc, INT64 *sbc);
00751 typedef BOOL (WINAPI * PFNWGLWAITFORSBCOMLPROC) (HDC hdc, INT64 target_sbc, INT64* ust, INT64 *msc, INT64 *sbc);
00752
00753 #define wglGetMscRateOML WGLEW_GET_FUN(__wglewGetMscRateOML)
00754 #define wglGetSyncValuesOML WGLEW_GET_FUN(__wglewGetSyncValuesOML)
00755 #define wglSwapBuffersMscOML WGLEW_GET_FUN(__wglewSwapBuffersMscOML)
00756 #define wglSwapLayerBuffersMscOML WGLEW_GET_FUN(__wglewSwapLayerBuffersMscOML)
00757 #define wglWaitForMscOML WGLEW_GET_FUN(__wglewWaitForMscOML)
00758 #define wglWaitForSbcOML WGLEW_GET_FUN(__wglewWaitForSbcOML)
00759
00760 #define WGLEW_OML_sync_control WGLEW_GET_VAR(__WGLEW_OML_sync_control)
00761
00762 #endif
00763
00764
00765
00766 #ifdef GLEW_MX
00767 #define WGLEW_EXPORT
00768 #else
00769 #define WGLEW_EXPORT GLEWAPI
00770 #endif
00771
00772 #ifdef GLEW_MX
00773 struct WGLEWContextStruct
00774 {
00775 #endif
00776
00777 WGLEW_EXPORT PFNWGLSETSTEREOEMITTERSTATE3DLPROC __wglewSetStereoEmitterState3DL;
00778
00779 WGLEW_EXPORT PFNWGLCREATEBUFFERREGIONARBPROC __wglewCreateBufferRegionARB;
00780 WGLEW_EXPORT PFNWGLDELETEBUFFERREGIONARBPROC __wglewDeleteBufferRegionARB;
00781 WGLEW_EXPORT PFNWGLRESTOREBUFFERREGIONARBPROC __wglewRestoreBufferRegionARB;
00782 WGLEW_EXPORT PFNWGLSAVEBUFFERREGIONARBPROC __wglewSaveBufferRegionARB;
00783
00784 WGLEW_EXPORT PFNWGLGETEXTENSIONSSTRINGARBPROC __wglewGetExtensionsStringARB;
00785
00786 WGLEW_EXPORT PFNWGLGETCURRENTREADDCARBPROC __wglewGetCurrentReadDCARB;
00787 WGLEW_EXPORT PFNWGLMAKECONTEXTCURRENTARBPROC __wglewMakeContextCurrentARB;
00788
00789 WGLEW_EXPORT PFNWGLCREATEPBUFFERARBPROC __wglewCreatePbufferARB;
00790 WGLEW_EXPORT PFNWGLDESTROYPBUFFERARBPROC __wglewDestroyPbufferARB;
00791 WGLEW_EXPORT PFNWGLGETPBUFFERDCARBPROC __wglewGetPbufferDCARB;
00792 WGLEW_EXPORT PFNWGLQUERYPBUFFERARBPROC __wglewQueryPbufferARB;
00793 WGLEW_EXPORT PFNWGLRELEASEPBUFFERDCARBPROC __wglewReleasePbufferDCARB;
00794
00795 WGLEW_EXPORT PFNWGLCHOOSEPIXELFORMATARBPROC __wglewChoosePixelFormatARB;
00796 WGLEW_EXPORT PFNWGLGETPIXELFORMATATTRIBFVARBPROC __wglewGetPixelFormatAttribfvARB;
00797 WGLEW_EXPORT PFNWGLGETPIXELFORMATATTRIBIVARBPROC __wglewGetPixelFormatAttribivARB;
00798
00799 WGLEW_EXPORT PFNWGLBINDTEXIMAGEARBPROC __wglewBindTexImageARB;
00800 WGLEW_EXPORT PFNWGLRELEASETEXIMAGEARBPROC __wglewReleaseTexImageARB;
00801 WGLEW_EXPORT PFNWGLSETPBUFFERATTRIBARBPROC __wglewSetPbufferAttribARB;
00802
00803 WGLEW_EXPORT PFNWGLBINDDISPLAYCOLORTABLEEXTPROC __wglewBindDisplayColorTableEXT;
00804 WGLEW_EXPORT PFNWGLCREATEDISPLAYCOLORTABLEEXTPROC __wglewCreateDisplayColorTableEXT;
00805 WGLEW_EXPORT PFNWGLDESTROYDISPLAYCOLORTABLEEXTPROC __wglewDestroyDisplayColorTableEXT;
00806 WGLEW_EXPORT PFNWGLLOADDISPLAYCOLORTABLEEXTPROC __wglewLoadDisplayColorTableEXT;
00807
00808 WGLEW_EXPORT PFNWGLGETEXTENSIONSSTRINGEXTPROC __wglewGetExtensionsStringEXT;
00809
00810 WGLEW_EXPORT PFNWGLGETCURRENTREADDCEXTPROC __wglewGetCurrentReadDCEXT;
00811 WGLEW_EXPORT PFNWGLMAKECONTEXTCURRENTEXTPROC __wglewMakeContextCurrentEXT;
00812
00813 WGLEW_EXPORT PFNWGLCREATEPBUFFEREXTPROC __wglewCreatePbufferEXT;
00814 WGLEW_EXPORT PFNWGLDESTROYPBUFFEREXTPROC __wglewDestroyPbufferEXT;
00815 WGLEW_EXPORT PFNWGLGETPBUFFERDCEXTPROC __wglewGetPbufferDCEXT;
00816 WGLEW_EXPORT PFNWGLQUERYPBUFFEREXTPROC __wglewQueryPbufferEXT;
00817 WGLEW_EXPORT PFNWGLRELEASEPBUFFERDCEXTPROC __wglewReleasePbufferDCEXT;
00818
00819 WGLEW_EXPORT PFNWGLCHOOSEPIXELFORMATEXTPROC __wglewChoosePixelFormatEXT;
00820 WGLEW_EXPORT PFNWGLGETPIXELFORMATATTRIBFVEXTPROC __wglewGetPixelFormatAttribfvEXT;
00821 WGLEW_EXPORT PFNWGLGETPIXELFORMATATTRIBIVEXTPROC __wglewGetPixelFormatAttribivEXT;
00822
00823 WGLEW_EXPORT PFNWGLGETSWAPINTERVALEXTPROC __wglewGetSwapIntervalEXT;
00824 WGLEW_EXPORT PFNWGLSWAPINTERVALEXTPROC __wglewSwapIntervalEXT;
00825
00826 WGLEW_EXPORT PFNWGLGETDIGITALVIDEOPARAMETERSI3DPROC __wglewGetDigitalVideoParametersI3D;
00827 WGLEW_EXPORT PFNWGLSETDIGITALVIDEOPARAMETERSI3DPROC __wglewSetDigitalVideoParametersI3D;
00828
00829 WGLEW_EXPORT PFNWGLGETGAMMATABLEI3DPROC __wglewGetGammaTableI3D;
00830 WGLEW_EXPORT PFNWGLGETGAMMATABLEPARAMETERSI3DPROC __wglewGetGammaTableParametersI3D;
00831 WGLEW_EXPORT PFNWGLSETGAMMATABLEI3DPROC __wglewSetGammaTableI3D;
00832 WGLEW_EXPORT PFNWGLSETGAMMATABLEPARAMETERSI3DPROC __wglewSetGammaTableParametersI3D;
00833
00834 WGLEW_EXPORT PFNWGLDISABLEGENLOCKI3DPROC __wglewDisableGenlockI3D;
00835 WGLEW_EXPORT PFNWGLENABLEGENLOCKI3DPROC __wglewEnableGenlockI3D;
00836 WGLEW_EXPORT PFNWGLGENLOCKSAMPLERATEI3DPROC __wglewGenlockSampleRateI3D;
00837 WGLEW_EXPORT PFNWGLGENLOCKSOURCEDELAYI3DPROC __wglewGenlockSourceDelayI3D;
00838 WGLEW_EXPORT PFNWGLGENLOCKSOURCEEDGEI3DPROC __wglewGenlockSourceEdgeI3D;
00839 WGLEW_EXPORT PFNWGLGENLOCKSOURCEI3DPROC __wglewGenlockSourceI3D;
00840 WGLEW_EXPORT PFNWGLGETGENLOCKSAMPLERATEI3DPROC __wglewGetGenlockSampleRateI3D;
00841 WGLEW_EXPORT PFNWGLGETGENLOCKSOURCEDELAYI3DPROC __wglewGetGenlockSourceDelayI3D;
00842 WGLEW_EXPORT PFNWGLGETGENLOCKSOURCEEDGEI3DPROC __wglewGetGenlockSourceEdgeI3D;
00843 WGLEW_EXPORT PFNWGLGETGENLOCKSOURCEI3DPROC __wglewGetGenlockSourceI3D;
00844 WGLEW_EXPORT PFNWGLISENABLEDGENLOCKI3DPROC __wglewIsEnabledGenlockI3D;
00845 WGLEW_EXPORT PFNWGLQUERYGENLOCKMAXSOURCEDELAYI3DPROC __wglewQueryGenlockMaxSourceDelayI3D;
00846
00847 WGLEW_EXPORT PFNWGLASSOCIATEIMAGEBUFFEREVENTSI3DPROC __wglewAssociateImageBufferEventsI3D;
00848 WGLEW_EXPORT PFNWGLCREATEIMAGEBUFFERI3DPROC __wglewCreateImageBufferI3D;
00849 WGLEW_EXPORT PFNWGLDESTROYIMAGEBUFFERI3DPROC __wglewDestroyImageBufferI3D;
00850 WGLEW_EXPORT PFNWGLRELEASEIMAGEBUFFEREVENTSI3DPROC __wglewReleaseImageBufferEventsI3D;
00851
00852 WGLEW_EXPORT PFNWGLDISABLEFRAMELOCKI3DPROC __wglewDisableFrameLockI3D;
00853 WGLEW_EXPORT PFNWGLENABLEFRAMELOCKI3DPROC __wglewEnableFrameLockI3D;
00854 WGLEW_EXPORT PFNWGLISENABLEDFRAMELOCKI3DPROC __wglewIsEnabledFrameLockI3D;
00855 WGLEW_EXPORT PFNWGLQUERYFRAMELOCKMASTERI3DPROC __wglewQueryFrameLockMasterI3D;
00856
00857 WGLEW_EXPORT PFNWGLBEGINFRAMETRACKINGI3DPROC __wglewBeginFrameTrackingI3D;
00858 WGLEW_EXPORT PFNWGLENDFRAMETRACKINGI3DPROC __wglewEndFrameTrackingI3D;
00859 WGLEW_EXPORT PFNWGLGETFRAMEUSAGEI3DPROC __wglewGetFrameUsageI3D;
00860 WGLEW_EXPORT PFNWGLQUERYFRAMETRACKINGI3DPROC __wglewQueryFrameTrackingI3D;
00861
00862 WGLEW_EXPORT PFNWGLALLOCATEMEMORYNVPROC __wglewAllocateMemoryNV;
00863 WGLEW_EXPORT PFNWGLFREEMEMORYNVPROC __wglewFreeMemoryNV;
00864
00865 WGLEW_EXPORT PFNWGLGETMSCRATEOMLPROC __wglewGetMscRateOML;
00866 WGLEW_EXPORT PFNWGLGETSYNCVALUESOMLPROC __wglewGetSyncValuesOML;
00867 WGLEW_EXPORT PFNWGLSWAPBUFFERSMSCOMLPROC __wglewSwapBuffersMscOML;
00868 WGLEW_EXPORT PFNWGLSWAPLAYERBUFFERSMSCOMLPROC __wglewSwapLayerBuffersMscOML;
00869 WGLEW_EXPORT PFNWGLWAITFORMSCOMLPROC __wglewWaitForMscOML;
00870 WGLEW_EXPORT PFNWGLWAITFORSBCOMLPROC __wglewWaitForSbcOML;
00871 WGLEW_EXPORT GLboolean __WGLEW_3DFX_multisample;
00872 WGLEW_EXPORT GLboolean __WGLEW_3DL_stereo_control;
00873 WGLEW_EXPORT GLboolean __WGLEW_ARB_buffer_region;
00874 WGLEW_EXPORT GLboolean __WGLEW_ARB_extensions_string;
00875 WGLEW_EXPORT GLboolean __WGLEW_ARB_make_current_read;
00876 WGLEW_EXPORT GLboolean __WGLEW_ARB_multisample;
00877 WGLEW_EXPORT GLboolean __WGLEW_ARB_pbuffer;
00878 WGLEW_EXPORT GLboolean __WGLEW_ARB_pixel_format;
00879 WGLEW_EXPORT GLboolean __WGLEW_ARB_pixel_format_float;
00880 WGLEW_EXPORT GLboolean __WGLEW_ARB_render_texture;
00881 WGLEW_EXPORT GLboolean __WGLEW_ATI_pixel_format_float;
00882 WGLEW_EXPORT GLboolean __WGLEW_ATI_render_texture_rectangle;
00883 WGLEW_EXPORT GLboolean __WGLEW_EXT_depth_float;
00884 WGLEW_EXPORT GLboolean __WGLEW_EXT_display_color_table;
00885 WGLEW_EXPORT GLboolean __WGLEW_EXT_extensions_string;
00886 WGLEW_EXPORT GLboolean __WGLEW_EXT_make_current_read;
00887 WGLEW_EXPORT GLboolean __WGLEW_EXT_multisample;
00888 WGLEW_EXPORT GLboolean __WGLEW_EXT_pbuffer;
00889 WGLEW_EXPORT GLboolean __WGLEW_EXT_pixel_format;
00890 WGLEW_EXPORT GLboolean __WGLEW_EXT_swap_control;
00891 WGLEW_EXPORT GLboolean __WGLEW_I3D_digital_video_control;
00892 WGLEW_EXPORT GLboolean __WGLEW_I3D_gamma;
00893 WGLEW_EXPORT GLboolean __WGLEW_I3D_genlock;
00894 WGLEW_EXPORT GLboolean __WGLEW_I3D_image_buffer;
00895 WGLEW_EXPORT GLboolean __WGLEW_I3D_swap_frame_lock;
00896 WGLEW_EXPORT GLboolean __WGLEW_I3D_swap_frame_usage;
00897 WGLEW_EXPORT GLboolean __WGLEW_NV_float_buffer;
00898 WGLEW_EXPORT GLboolean __WGLEW_NV_render_depth_texture;
00899 WGLEW_EXPORT GLboolean __WGLEW_NV_render_texture_rectangle;
00900 WGLEW_EXPORT GLboolean __WGLEW_NV_vertex_array_range;
00901 WGLEW_EXPORT GLboolean __WGLEW_OML_sync_control;
00902
00903 #ifdef GLEW_MX
00904 };
00905 #endif
00906
00907
00908
00909 #ifdef GLEW_MX
00910
00911 typedef struct WGLEWContextStruct WGLEWContext;
00912 GLEWAPI GLenum wglewContextInit (WGLEWContext* ctx);
00913 GLEWAPI GLboolean wglewContextIsSupported (WGLEWContext* ctx, const char* name);
00914
00915 #define wglewInit() wglewContextInit(wglewGetContext())
00916 #define wglewIsSupported(x) wglewContextIsSupported(wglewGetContext(), x)
00917
00918 #define WGLEW_GET_VAR(x) wglewGetContext()->x
00919 #define WGLEW_GET_FUN(x) wglewGetContext()->x
00920
00921 #else
00922
00923 #define WGLEW_GET_VAR(x) x
00924 #define WGLEW_GET_FUN(x) x
00925
00926 GLEWAPI GLboolean wglewIsSupported (const char* name);
00927
00928 #endif
00929
00930 GLEWAPI GLboolean wglewGetExtension (const char* name);
00931
00932 #ifdef __cplusplus
00933 }
00934 #endif
00935
00936 #undef GLEWAPI
00937
00938 #endif