wglew.h
Go to the documentation of this file.
00001 /*
00002 ** The OpenGL Extension Wrangler Library
00003 ** Copyright (C) 2002-2008, Milan Ikits <milan ikits[]ieee org>
00004 ** Copyright (C) 2002-2008, Marcelo E. Magallon <mmagallo[]debian org>
00005 ** Copyright (C) 2002, Lev Povalahev
00006 ** All rights reserved.
00007 ** 
00008 ** Redistribution and use in source and binary forms, with or without 
00009 ** modification, are permitted provided that the following conditions are met:
00010 ** 
00011 ** * Redistributions of source code must retain the above copyright notice, 
00012 **   this list of conditions and the following disclaimer.
00013 ** * Redistributions in binary form must reproduce the above copyright notice, 
00014 **   this list of conditions and the following disclaimer in the documentation 
00015 **   and/or other materials provided with the distribution.
00016 ** * The name of the author may be used to endorse or promote products 
00017 **   derived from this software without specific prior written permission.
00018 **
00019 ** THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" 
00020 ** AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 
00021 ** IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
00022 ** ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE 
00023 ** LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR 
00024 ** CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF 
00025 ** SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
00026 ** INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
00027 ** CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
00028 ** ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
00029 ** THE POSSIBILITY OF SUCH DAMAGE.
00030 */
00031 
00032 /*
00033 ** Copyright (c) 2007 The Khronos Group Inc.
00034 ** 
00035 ** Permission is hereby granted, free of charge, to any person obtaining a
00036 ** copy of this software and/or associated documentation files (the
00037 ** "Materials"), to deal in the Materials without restriction, including
00038 ** without limitation the rights to use, copy, modify, merge, publish,
00039 ** distribute, sublicense, and/or sell copies of the Materials, and to
00040 ** permit persons to whom the Materials are furnished to do so, subject to
00041 ** the following conditions:
00042 ** 
00043 ** The above copyright notice and this permission notice shall be included
00044 ** in all copies or substantial portions of the Materials.
00045 ** 
00046 ** THE MATERIALS ARE PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
00047 ** EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
00048 ** MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
00049 ** IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
00050 ** CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
00051 ** TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
00052 ** MATERIALS OR THE USE OR OTHER DEALINGS IN THE MATERIALS.
00053 */
00054 
00055 #ifndef __wglew_h__
00056 #define __wglew_h__
00057 #define __WGLEW_H__
00058 
00059 #ifdef __wglext_h_
00060 #error wglext.h included before wglew.h
00061 #endif
00062 
00063 #define __wglext_h_
00064 
00065 #if !defined(APIENTRY) && !defined(__CYGWIN__)
00066 #  ifndef WIN32_LEAN_AND_MEAN
00067 #    define WIN32_LEAN_AND_MEAN 1
00068 #  endif
00069 #include <windows.h>
00070 #endif
00071 
00072 /*
00073  * GLEW_STATIC needs to be set when using the static version.
00074  * GLEW_BUILD is set when building the DLL version.
00075  */
00076 #ifdef GLEW_STATIC
00077 #  define GLEWAPI extern
00078 #else
00079 #  ifdef GLEW_BUILD
00080 #    define GLEWAPI extern __declspec(dllexport)
00081 #  else
00082 #    define GLEWAPI extern __declspec(dllimport)
00083 #  endif
00084 #endif
00085 
00086 #ifdef __cplusplus
00087 extern "C" {
00088 #endif
00089 
00090 /* -------------------------- WGL_3DFX_multisample ------------------------- */
00091 
00092 #ifndef WGL_3DFX_multisample
00093 #define WGL_3DFX_multisample 1
00094 
00095 #define WGL_SAMPLE_BUFFERS_3DFX 0x2060
00096 #define WGL_SAMPLES_3DFX 0x2061
00097 
00098 #define WGLEW_3DFX_multisample WGLEW_GET_VAR(__WGLEW_3DFX_multisample)
00099 
00100 #endif /* WGL_3DFX_multisample */
00101 
00102 /* ------------------------- WGL_3DL_stereo_control ------------------------ */
00103 
00104 #ifndef WGL_3DL_stereo_control
00105 #define WGL_3DL_stereo_control 1
00106 
00107 #define WGL_STEREO_EMITTER_ENABLE_3DL 0x2055
00108 #define WGL_STEREO_EMITTER_DISABLE_3DL 0x2056
00109 #define WGL_STEREO_POLARITY_NORMAL_3DL 0x2057
00110 #define WGL_STEREO_POLARITY_INVERT_3DL 0x2058
00111 
00112 typedef BOOL (WINAPI * PFNWGLSETSTEREOEMITTERSTATE3DLPROC) (HDC hDC, UINT uState);
00113 
00114 #define wglSetStereoEmitterState3DL WGLEW_GET_FUN(__wglewSetStereoEmitterState3DL)
00115 
00116 #define WGLEW_3DL_stereo_control WGLEW_GET_VAR(__WGLEW_3DL_stereo_control)
00117 
00118 #endif /* WGL_3DL_stereo_control */
00119 
00120 /* ------------------------- WGL_ARB_buffer_region ------------------------- */
00121 
00122 #ifndef WGL_ARB_buffer_region
00123 #define WGL_ARB_buffer_region 1
00124 
00125 #define WGL_FRONT_COLOR_BUFFER_BIT_ARB 0x00000001
00126 #define WGL_BACK_COLOR_BUFFER_BIT_ARB 0x00000002
00127 #define WGL_DEPTH_BUFFER_BIT_ARB 0x00000004
00128 #define WGL_STENCIL_BUFFER_BIT_ARB 0x00000008
00129 
00130 typedef HANDLE (WINAPI * PFNWGLCREATEBUFFERREGIONARBPROC) (HDC hDC, int iLayerPlane, UINT uType);
00131 typedef VOID (WINAPI * PFNWGLDELETEBUFFERREGIONARBPROC) (HANDLE hRegion);
00132 typedef BOOL (WINAPI * PFNWGLRESTOREBUFFERREGIONARBPROC) (HANDLE hRegion, int x, int y, int width, int height, int xSrc, int ySrc);
00133 typedef BOOL (WINAPI * PFNWGLSAVEBUFFERREGIONARBPROC) (HANDLE hRegion, int x, int y, int width, int height);
00134 
00135 #define wglCreateBufferRegionARB WGLEW_GET_FUN(__wglewCreateBufferRegionARB)
00136 #define wglDeleteBufferRegionARB WGLEW_GET_FUN(__wglewDeleteBufferRegionARB)
00137 #define wglRestoreBufferRegionARB WGLEW_GET_FUN(__wglewRestoreBufferRegionARB)
00138 #define wglSaveBufferRegionARB WGLEW_GET_FUN(__wglewSaveBufferRegionARB)
00139 
00140 #define WGLEW_ARB_buffer_region WGLEW_GET_VAR(__WGLEW_ARB_buffer_region)
00141 
00142 #endif /* WGL_ARB_buffer_region */
00143 
00144 /* ------------------------- WGL_ARB_create_context ------------------------ */
00145 
00146 #ifndef WGL_ARB_create_context
00147 #define WGL_ARB_create_context 1
00148 
00149 #define WGL_CONTEXT_DEBUG_BIT_ARB 0x0001
00150 #define WGL_CONTEXT_FORWARD_COMPATIBLE_BIT_ARB 0x0002
00151 #define WGL_CONTEXT_MAJOR_VERSION_ARB 0x2091
00152 #define WGL_CONTEXT_MINOR_VERSION_ARB 0x2092
00153 #define WGL_CONTEXT_LAYER_PLANE_ARB 0x2093
00154 #define WGL_CONTEXT_FLAGS_ARB 0x2094
00155 
00156 typedef HGLRC (WINAPI * PFNWGLCREATECONTEXTATTRIBSARBPROC) (HDC hDC, HGLRC hShareContext, const int* attribList);
00157 
00158 #define wglCreateContextAttribsARB WGLEW_GET_FUN(__wglewCreateContextAttribsARB)
00159 
00160 #define WGLEW_ARB_create_context WGLEW_GET_VAR(__WGLEW_ARB_create_context)
00161 
00162 #endif /* WGL_ARB_create_context */
00163 
00164 /* ----------------------- WGL_ARB_extensions_string ----------------------- */
00165 
00166 #ifndef WGL_ARB_extensions_string
00167 #define WGL_ARB_extensions_string 1
00168 
00169 typedef const char* (WINAPI * PFNWGLGETEXTENSIONSSTRINGARBPROC) (HDC hdc);
00170 
00171 #define wglGetExtensionsStringARB WGLEW_GET_FUN(__wglewGetExtensionsStringARB)
00172 
00173 #define WGLEW_ARB_extensions_string WGLEW_GET_VAR(__WGLEW_ARB_extensions_string)
00174 
00175 #endif /* WGL_ARB_extensions_string */
00176 
00177 /* ------------------------ WGL_ARB_framebuffer_sRGB ----------------------- */
00178 
00179 #ifndef WGL_ARB_framebuffer_sRGB
00180 #define WGL_ARB_framebuffer_sRGB 1
00181 
00182 #define WGL_FRAMEBUFFER_SRGB_CAPABLE_ARB 0x20A9
00183 
00184 #define WGLEW_ARB_framebuffer_sRGB WGLEW_GET_VAR(__WGLEW_ARB_framebuffer_sRGB)
00185 
00186 #endif /* WGL_ARB_framebuffer_sRGB */
00187 
00188 /* ----------------------- WGL_ARB_make_current_read ----------------------- */
00189 
00190 #ifndef WGL_ARB_make_current_read
00191 #define WGL_ARB_make_current_read 1
00192 
00193 #define ERROR_INVALID_PIXEL_TYPE_ARB 0x2043
00194 #define ERROR_INCOMPATIBLE_DEVICE_CONTEXTS_ARB 0x2054
00195 
00196 typedef HDC (WINAPI * PFNWGLGETCURRENTREADDCARBPROC) (VOID);
00197 typedef BOOL (WINAPI * PFNWGLMAKECONTEXTCURRENTARBPROC) (HDC hDrawDC, HDC hReadDC, HGLRC hglrc);
00198 
00199 #define wglGetCurrentReadDCARB WGLEW_GET_FUN(__wglewGetCurrentReadDCARB)
00200 #define wglMakeContextCurrentARB WGLEW_GET_FUN(__wglewMakeContextCurrentARB)
00201 
00202 #define WGLEW_ARB_make_current_read WGLEW_GET_VAR(__WGLEW_ARB_make_current_read)
00203 
00204 #endif /* WGL_ARB_make_current_read */
00205 
00206 /* -------------------------- WGL_ARB_multisample -------------------------- */
00207 
00208 #ifndef WGL_ARB_multisample
00209 #define WGL_ARB_multisample 1
00210 
00211 #define WGL_SAMPLE_BUFFERS_ARB 0x2041
00212 #define WGL_SAMPLES_ARB 0x2042
00213 
00214 #define WGLEW_ARB_multisample WGLEW_GET_VAR(__WGLEW_ARB_multisample)
00215 
00216 #endif /* WGL_ARB_multisample */
00217 
00218 /* ---------------------------- WGL_ARB_pbuffer ---------------------------- */
00219 
00220 #ifndef WGL_ARB_pbuffer
00221 #define WGL_ARB_pbuffer 1
00222 
00223 #define WGL_DRAW_TO_PBUFFER_ARB 0x202D
00224 #define WGL_MAX_PBUFFER_PIXELS_ARB 0x202E
00225 #define WGL_MAX_PBUFFER_WIDTH_ARB 0x202F
00226 #define WGL_MAX_PBUFFER_HEIGHT_ARB 0x2030
00227 #define WGL_PBUFFER_LARGEST_ARB 0x2033
00228 #define WGL_PBUFFER_WIDTH_ARB 0x2034
00229 #define WGL_PBUFFER_HEIGHT_ARB 0x2035
00230 #define WGL_PBUFFER_LOST_ARB 0x2036
00231 
00232 DECLARE_HANDLE(HPBUFFERARB);
00233 
00234 typedef HPBUFFERARB (WINAPI * PFNWGLCREATEPBUFFERARBPROC) (HDC hDC, int iPixelFormat, int iWidth, int iHeight, const int* piAttribList);
00235 typedef BOOL (WINAPI * PFNWGLDESTROYPBUFFERARBPROC) (HPBUFFERARB hPbuffer);
00236 typedef HDC (WINAPI * PFNWGLGETPBUFFERDCARBPROC) (HPBUFFERARB hPbuffer);
00237 typedef BOOL (WINAPI * PFNWGLQUERYPBUFFERARBPROC) (HPBUFFERARB hPbuffer, int iAttribute, int* piValue);
00238 typedef int (WINAPI * PFNWGLRELEASEPBUFFERDCARBPROC) (HPBUFFERARB hPbuffer, HDC hDC);
00239 
00240 #define wglCreatePbufferARB WGLEW_GET_FUN(__wglewCreatePbufferARB)
00241 #define wglDestroyPbufferARB WGLEW_GET_FUN(__wglewDestroyPbufferARB)
00242 #define wglGetPbufferDCARB WGLEW_GET_FUN(__wglewGetPbufferDCARB)
00243 #define wglQueryPbufferARB WGLEW_GET_FUN(__wglewQueryPbufferARB)
00244 #define wglReleasePbufferDCARB WGLEW_GET_FUN(__wglewReleasePbufferDCARB)
00245 
00246 #define WGLEW_ARB_pbuffer WGLEW_GET_VAR(__WGLEW_ARB_pbuffer)
00247 
00248 #endif /* WGL_ARB_pbuffer */
00249 
00250 /* -------------------------- WGL_ARB_pixel_format ------------------------- */
00251 
00252 #ifndef WGL_ARB_pixel_format
00253 #define WGL_ARB_pixel_format 1
00254 
00255 #define WGL_NUMBER_PIXEL_FORMATS_ARB 0x2000
00256 #define WGL_DRAW_TO_WINDOW_ARB 0x2001
00257 #define WGL_DRAW_TO_BITMAP_ARB 0x2002
00258 #define WGL_ACCELERATION_ARB 0x2003
00259 #define WGL_NEED_PALETTE_ARB 0x2004
00260 #define WGL_NEED_SYSTEM_PALETTE_ARB 0x2005
00261 #define WGL_SWAP_LAYER_BUFFERS_ARB 0x2006
00262 #define WGL_SWAP_METHOD_ARB 0x2007
00263 #define WGL_NUMBER_OVERLAYS_ARB 0x2008
00264 #define WGL_NUMBER_UNDERLAYS_ARB 0x2009
00265 #define WGL_TRANSPARENT_ARB 0x200A
00266 #define WGL_SHARE_DEPTH_ARB 0x200C
00267 #define WGL_SHARE_STENCIL_ARB 0x200D
00268 #define WGL_SHARE_ACCUM_ARB 0x200E
00269 #define WGL_SUPPORT_GDI_ARB 0x200F
00270 #define WGL_SUPPORT_OPENGL_ARB 0x2010
00271 #define WGL_DOUBLE_BUFFER_ARB 0x2011
00272 #define WGL_STEREO_ARB 0x2012
00273 #define WGL_PIXEL_TYPE_ARB 0x2013
00274 #define WGL_COLOR_BITS_ARB 0x2014
00275 #define WGL_RED_BITS_ARB 0x2015
00276 #define WGL_RED_SHIFT_ARB 0x2016
00277 #define WGL_GREEN_BITS_ARB 0x2017
00278 #define WGL_GREEN_SHIFT_ARB 0x2018
00279 #define WGL_BLUE_BITS_ARB 0x2019
00280 #define WGL_BLUE_SHIFT_ARB 0x201A
00281 #define WGL_ALPHA_BITS_ARB 0x201B
00282 #define WGL_ALPHA_SHIFT_ARB 0x201C
00283 #define WGL_ACCUM_BITS_ARB 0x201D
00284 #define WGL_ACCUM_RED_BITS_ARB 0x201E
00285 #define WGL_ACCUM_GREEN_BITS_ARB 0x201F
00286 #define WGL_ACCUM_BLUE_BITS_ARB 0x2020
00287 #define WGL_ACCUM_ALPHA_BITS_ARB 0x2021
00288 #define WGL_DEPTH_BITS_ARB 0x2022
00289 #define WGL_STENCIL_BITS_ARB 0x2023
00290 #define WGL_AUX_BUFFERS_ARB 0x2024
00291 #define WGL_NO_ACCELERATION_ARB 0x2025
00292 #define WGL_GENERIC_ACCELERATION_ARB 0x2026
00293 #define WGL_FULL_ACCELERATION_ARB 0x2027
00294 #define WGL_SWAP_EXCHANGE_ARB 0x2028
00295 #define WGL_SWAP_COPY_ARB 0x2029
00296 #define WGL_SWAP_UNDEFINED_ARB 0x202A
00297 #define WGL_TYPE_RGBA_ARB 0x202B
00298 #define WGL_TYPE_COLORINDEX_ARB 0x202C
00299 #define WGL_TRANSPARENT_RED_VALUE_ARB 0x2037
00300 #define WGL_TRANSPARENT_GREEN_VALUE_ARB 0x2038
00301 #define WGL_TRANSPARENT_BLUE_VALUE_ARB 0x2039
00302 #define WGL_TRANSPARENT_ALPHA_VALUE_ARB 0x203A
00303 #define WGL_TRANSPARENT_INDEX_VALUE_ARB 0x203B
00304 
00305 typedef BOOL (WINAPI * PFNWGLCHOOSEPIXELFORMATARBPROC) (HDC hdc, const int* piAttribIList, const FLOAT *pfAttribFList, UINT nMaxFormats, int *piFormats, UINT *nNumFormats);
00306 typedef BOOL (WINAPI * PFNWGLGETPIXELFORMATATTRIBFVARBPROC) (HDC hdc, int iPixelFormat, int iLayerPlane, UINT nAttributes, const int* piAttributes, FLOAT *pfValues);
00307 typedef BOOL (WINAPI * PFNWGLGETPIXELFORMATATTRIBIVARBPROC) (HDC hdc, int iPixelFormat, int iLayerPlane, UINT nAttributes, const int* piAttributes, int *piValues);
00308 
00309 #define wglChoosePixelFormatARB WGLEW_GET_FUN(__wglewChoosePixelFormatARB)
00310 #define wglGetPixelFormatAttribfvARB WGLEW_GET_FUN(__wglewGetPixelFormatAttribfvARB)
00311 #define wglGetPixelFormatAttribivARB WGLEW_GET_FUN(__wglewGetPixelFormatAttribivARB)
00312 
00313 #define WGLEW_ARB_pixel_format WGLEW_GET_VAR(__WGLEW_ARB_pixel_format)
00314 
00315 #endif /* WGL_ARB_pixel_format */
00316 
00317 /* ----------------------- WGL_ARB_pixel_format_float ---------------------- */
00318 
00319 #ifndef WGL_ARB_pixel_format_float
00320 #define WGL_ARB_pixel_format_float 1
00321 
00322 #define WGL_TYPE_RGBA_FLOAT_ARB 0x21A0
00323 
00324 #define WGLEW_ARB_pixel_format_float WGLEW_GET_VAR(__WGLEW_ARB_pixel_format_float)
00325 
00326 #endif /* WGL_ARB_pixel_format_float */
00327 
00328 /* ------------------------- WGL_ARB_render_texture ------------------------ */
00329 
00330 #ifndef WGL_ARB_render_texture
00331 #define WGL_ARB_render_texture 1
00332 
00333 #define WGL_BIND_TO_TEXTURE_RGB_ARB 0x2070
00334 #define WGL_BIND_TO_TEXTURE_RGBA_ARB 0x2071
00335 #define WGL_TEXTURE_FORMAT_ARB 0x2072
00336 #define WGL_TEXTURE_TARGET_ARB 0x2073
00337 #define WGL_MIPMAP_TEXTURE_ARB 0x2074
00338 #define WGL_TEXTURE_RGB_ARB 0x2075
00339 #define WGL_TEXTURE_RGBA_ARB 0x2076
00340 #define WGL_NO_TEXTURE_ARB 0x2077
00341 #define WGL_TEXTURE_CUBE_MAP_ARB 0x2078
00342 #define WGL_TEXTURE_1D_ARB 0x2079
00343 #define WGL_TEXTURE_2D_ARB 0x207A
00344 #define WGL_MIPMAP_LEVEL_ARB 0x207B
00345 #define WGL_CUBE_MAP_FACE_ARB 0x207C
00346 #define WGL_TEXTURE_CUBE_MAP_POSITIVE_X_ARB 0x207D
00347 #define WGL_TEXTURE_CUBE_MAP_NEGATIVE_X_ARB 0x207E
00348 #define WGL_TEXTURE_CUBE_MAP_POSITIVE_Y_ARB 0x207F
00349 #define WGL_TEXTURE_CUBE_MAP_NEGATIVE_Y_ARB 0x2080
00350 #define WGL_TEXTURE_CUBE_MAP_POSITIVE_Z_ARB 0x2081
00351 #define WGL_TEXTURE_CUBE_MAP_NEGATIVE_Z_ARB 0x2082
00352 #define WGL_FRONT_LEFT_ARB 0x2083
00353 #define WGL_FRONT_RIGHT_ARB 0x2084
00354 #define WGL_BACK_LEFT_ARB 0x2085
00355 #define WGL_BACK_RIGHT_ARB 0x2086
00356 #define WGL_AUX0_ARB 0x2087
00357 #define WGL_AUX1_ARB 0x2088
00358 #define WGL_AUX2_ARB 0x2089
00359 #define WGL_AUX3_ARB 0x208A
00360 #define WGL_AUX4_ARB 0x208B
00361 #define WGL_AUX5_ARB 0x208C
00362 #define WGL_AUX6_ARB 0x208D
00363 #define WGL_AUX7_ARB 0x208E
00364 #define WGL_AUX8_ARB 0x208F
00365 #define WGL_AUX9_ARB 0x2090
00366 
00367 typedef BOOL (WINAPI * PFNWGLBINDTEXIMAGEARBPROC) (HPBUFFERARB hPbuffer, int iBuffer);
00368 typedef BOOL (WINAPI * PFNWGLRELEASETEXIMAGEARBPROC) (HPBUFFERARB hPbuffer, int iBuffer);
00369 typedef BOOL (WINAPI * PFNWGLSETPBUFFERATTRIBARBPROC) (HPBUFFERARB hPbuffer, const int* piAttribList);
00370 
00371 #define wglBindTexImageARB WGLEW_GET_FUN(__wglewBindTexImageARB)
00372 #define wglReleaseTexImageARB WGLEW_GET_FUN(__wglewReleaseTexImageARB)
00373 #define wglSetPbufferAttribARB WGLEW_GET_FUN(__wglewSetPbufferAttribARB)
00374 
00375 #define WGLEW_ARB_render_texture WGLEW_GET_VAR(__WGLEW_ARB_render_texture)
00376 
00377 #endif /* WGL_ARB_render_texture */
00378 
00379 /* ----------------------- WGL_ATI_pixel_format_float ---------------------- */
00380 
00381 #ifndef WGL_ATI_pixel_format_float
00382 #define WGL_ATI_pixel_format_float 1
00383 
00384 #define WGL_TYPE_RGBA_FLOAT_ATI 0x21A0
00385 #define GL_RGBA_FLOAT_MODE_ATI 0x8820
00386 #define GL_COLOR_CLEAR_UNCLAMPED_VALUE_ATI 0x8835
00387 
00388 #define WGLEW_ATI_pixel_format_float WGLEW_GET_VAR(__WGLEW_ATI_pixel_format_float)
00389 
00390 #endif /* WGL_ATI_pixel_format_float */
00391 
00392 /* -------------------- WGL_ATI_render_texture_rectangle ------------------- */
00393 
00394 #ifndef WGL_ATI_render_texture_rectangle
00395 #define WGL_ATI_render_texture_rectangle 1
00396 
00397 #define WGL_TEXTURE_RECTANGLE_ATI 0x21A5
00398 
00399 #define WGLEW_ATI_render_texture_rectangle WGLEW_GET_VAR(__WGLEW_ATI_render_texture_rectangle)
00400 
00401 #endif /* WGL_ATI_render_texture_rectangle */
00402 
00403 /* -------------------------- WGL_EXT_depth_float -------------------------- */
00404 
00405 #ifndef WGL_EXT_depth_float
00406 #define WGL_EXT_depth_float 1
00407 
00408 #define WGL_DEPTH_FLOAT_EXT 0x2040
00409 
00410 #define WGLEW_EXT_depth_float WGLEW_GET_VAR(__WGLEW_EXT_depth_float)
00411 
00412 #endif /* WGL_EXT_depth_float */
00413 
00414 /* ---------------------- WGL_EXT_display_color_table ---------------------- */
00415 
00416 #ifndef WGL_EXT_display_color_table
00417 #define WGL_EXT_display_color_table 1
00418 
00419 typedef GLboolean (WINAPI * PFNWGLBINDDISPLAYCOLORTABLEEXTPROC) (GLushort id);
00420 typedef GLboolean (WINAPI * PFNWGLCREATEDISPLAYCOLORTABLEEXTPROC) (GLushort id);
00421 typedef void (WINAPI * PFNWGLDESTROYDISPLAYCOLORTABLEEXTPROC) (GLushort id);
00422 typedef GLboolean (WINAPI * PFNWGLLOADDISPLAYCOLORTABLEEXTPROC) (GLushort* table, GLuint length);
00423 
00424 #define wglBindDisplayColorTableEXT WGLEW_GET_FUN(__wglewBindDisplayColorTableEXT)
00425 #define wglCreateDisplayColorTableEXT WGLEW_GET_FUN(__wglewCreateDisplayColorTableEXT)
00426 #define wglDestroyDisplayColorTableEXT WGLEW_GET_FUN(__wglewDestroyDisplayColorTableEXT)
00427 #define wglLoadDisplayColorTableEXT WGLEW_GET_FUN(__wglewLoadDisplayColorTableEXT)
00428 
00429 #define WGLEW_EXT_display_color_table WGLEW_GET_VAR(__WGLEW_EXT_display_color_table)
00430 
00431 #endif /* WGL_EXT_display_color_table */
00432 
00433 /* ----------------------- WGL_EXT_extensions_string ----------------------- */
00434 
00435 #ifndef WGL_EXT_extensions_string
00436 #define WGL_EXT_extensions_string 1
00437 
00438 typedef const char* (WINAPI * PFNWGLGETEXTENSIONSSTRINGEXTPROC) (void);
00439 
00440 #define wglGetExtensionsStringEXT WGLEW_GET_FUN(__wglewGetExtensionsStringEXT)
00441 
00442 #define WGLEW_EXT_extensions_string WGLEW_GET_VAR(__WGLEW_EXT_extensions_string)
00443 
00444 #endif /* WGL_EXT_extensions_string */
00445 
00446 /* ------------------------ WGL_EXT_framebuffer_sRGB ----------------------- */
00447 
00448 #ifndef WGL_EXT_framebuffer_sRGB
00449 #define WGL_EXT_framebuffer_sRGB 1
00450 
00451 #define WGL_FRAMEBUFFER_SRGB_CAPABLE_EXT 0x20A9
00452 
00453 #define WGLEW_EXT_framebuffer_sRGB WGLEW_GET_VAR(__WGLEW_EXT_framebuffer_sRGB)
00454 
00455 #endif /* WGL_EXT_framebuffer_sRGB */
00456 
00457 /* ----------------------- WGL_EXT_make_current_read ----------------------- */
00458 
00459 #ifndef WGL_EXT_make_current_read
00460 #define WGL_EXT_make_current_read 1
00461 
00462 #define ERROR_INVALID_PIXEL_TYPE_EXT 0x2043
00463 
00464 typedef HDC (WINAPI * PFNWGLGETCURRENTREADDCEXTPROC) (VOID);
00465 typedef BOOL (WINAPI * PFNWGLMAKECONTEXTCURRENTEXTPROC) (HDC hDrawDC, HDC hReadDC, HGLRC hglrc);
00466 
00467 #define wglGetCurrentReadDCEXT WGLEW_GET_FUN(__wglewGetCurrentReadDCEXT)
00468 #define wglMakeContextCurrentEXT WGLEW_GET_FUN(__wglewMakeContextCurrentEXT)
00469 
00470 #define WGLEW_EXT_make_current_read WGLEW_GET_VAR(__WGLEW_EXT_make_current_read)
00471 
00472 #endif /* WGL_EXT_make_current_read */
00473 
00474 /* -------------------------- WGL_EXT_multisample -------------------------- */
00475 
00476 #ifndef WGL_EXT_multisample
00477 #define WGL_EXT_multisample 1
00478 
00479 #define WGL_SAMPLE_BUFFERS_EXT 0x2041
00480 #define WGL_SAMPLES_EXT 0x2042
00481 
00482 #define WGLEW_EXT_multisample WGLEW_GET_VAR(__WGLEW_EXT_multisample)
00483 
00484 #endif /* WGL_EXT_multisample */
00485 
00486 /* ---------------------------- WGL_EXT_pbuffer ---------------------------- */
00487 
00488 #ifndef WGL_EXT_pbuffer
00489 #define WGL_EXT_pbuffer 1
00490 
00491 #define WGL_DRAW_TO_PBUFFER_EXT 0x202D
00492 #define WGL_MAX_PBUFFER_PIXELS_EXT 0x202E
00493 #define WGL_MAX_PBUFFER_WIDTH_EXT 0x202F
00494 #define WGL_MAX_PBUFFER_HEIGHT_EXT 0x2030
00495 #define WGL_OPTIMAL_PBUFFER_WIDTH_EXT 0x2031
00496 #define WGL_OPTIMAL_PBUFFER_HEIGHT_EXT 0x2032
00497 #define WGL_PBUFFER_LARGEST_EXT 0x2033
00498 #define WGL_PBUFFER_WIDTH_EXT 0x2034
00499 #define WGL_PBUFFER_HEIGHT_EXT 0x2035
00500 
00501 DECLARE_HANDLE(HPBUFFEREXT);
00502 
00503 typedef HPBUFFEREXT (WINAPI * PFNWGLCREATEPBUFFEREXTPROC) (HDC hDC, int iPixelFormat, int iWidth, int iHeight, const int* piAttribList);
00504 typedef BOOL (WINAPI * PFNWGLDESTROYPBUFFEREXTPROC) (HPBUFFEREXT hPbuffer);
00505 typedef HDC (WINAPI * PFNWGLGETPBUFFERDCEXTPROC) (HPBUFFEREXT hPbuffer);
00506 typedef BOOL (WINAPI * PFNWGLQUERYPBUFFEREXTPROC) (HPBUFFEREXT hPbuffer, int iAttribute, int* piValue);
00507 typedef int (WINAPI * PFNWGLRELEASEPBUFFERDCEXTPROC) (HPBUFFEREXT hPbuffer, HDC hDC);
00508 
00509 #define wglCreatePbufferEXT WGLEW_GET_FUN(__wglewCreatePbufferEXT)
00510 #define wglDestroyPbufferEXT WGLEW_GET_FUN(__wglewDestroyPbufferEXT)
00511 #define wglGetPbufferDCEXT WGLEW_GET_FUN(__wglewGetPbufferDCEXT)
00512 #define wglQueryPbufferEXT WGLEW_GET_FUN(__wglewQueryPbufferEXT)
00513 #define wglReleasePbufferDCEXT WGLEW_GET_FUN(__wglewReleasePbufferDCEXT)
00514 
00515 #define WGLEW_EXT_pbuffer WGLEW_GET_VAR(__WGLEW_EXT_pbuffer)
00516 
00517 #endif /* WGL_EXT_pbuffer */
00518 
00519 /* -------------------------- WGL_EXT_pixel_format ------------------------- */
00520 
00521 #ifndef WGL_EXT_pixel_format
00522 #define WGL_EXT_pixel_format 1
00523 
00524 #define WGL_NUMBER_PIXEL_FORMATS_EXT 0x2000
00525 #define WGL_DRAW_TO_WINDOW_EXT 0x2001
00526 #define WGL_DRAW_TO_BITMAP_EXT 0x2002
00527 #define WGL_ACCELERATION_EXT 0x2003
00528 #define WGL_NEED_PALETTE_EXT 0x2004
00529 #define WGL_NEED_SYSTEM_PALETTE_EXT 0x2005
00530 #define WGL_SWAP_LAYER_BUFFERS_EXT 0x2006
00531 #define WGL_SWAP_METHOD_EXT 0x2007
00532 #define WGL_NUMBER_OVERLAYS_EXT 0x2008
00533 #define WGL_NUMBER_UNDERLAYS_EXT 0x2009
00534 #define WGL_TRANSPARENT_EXT 0x200A
00535 #define WGL_TRANSPARENT_VALUE_EXT 0x200B
00536 #define WGL_SHARE_DEPTH_EXT 0x200C
00537 #define WGL_SHARE_STENCIL_EXT 0x200D
00538 #define WGL_SHARE_ACCUM_EXT 0x200E
00539 #define WGL_SUPPORT_GDI_EXT 0x200F
00540 #define WGL_SUPPORT_OPENGL_EXT 0x2010
00541 #define WGL_DOUBLE_BUFFER_EXT 0x2011
00542 #define WGL_STEREO_EXT 0x2012
00543 #define WGL_PIXEL_TYPE_EXT 0x2013
00544 #define WGL_COLOR_BITS_EXT 0x2014
00545 #define WGL_RED_BITS_EXT 0x2015
00546 #define WGL_RED_SHIFT_EXT 0x2016
00547 #define WGL_GREEN_BITS_EXT 0x2017
00548 #define WGL_GREEN_SHIFT_EXT 0x2018
00549 #define WGL_BLUE_BITS_EXT 0x2019
00550 #define WGL_BLUE_SHIFT_EXT 0x201A
00551 #define WGL_ALPHA_BITS_EXT 0x201B
00552 #define WGL_ALPHA_SHIFT_EXT 0x201C
00553 #define WGL_ACCUM_BITS_EXT 0x201D
00554 #define WGL_ACCUM_RED_BITS_EXT 0x201E
00555 #define WGL_ACCUM_GREEN_BITS_EXT 0x201F
00556 #define WGL_ACCUM_BLUE_BITS_EXT 0x2020
00557 #define WGL_ACCUM_ALPHA_BITS_EXT 0x2021
00558 #define WGL_DEPTH_BITS_EXT 0x2022
00559 #define WGL_STENCIL_BITS_EXT 0x2023
00560 #define WGL_AUX_BUFFERS_EXT 0x2024
00561 #define WGL_NO_ACCELERATION_EXT 0x2025
00562 #define WGL_GENERIC_ACCELERATION_EXT 0x2026
00563 #define WGL_FULL_ACCELERATION_EXT 0x2027
00564 #define WGL_SWAP_EXCHANGE_EXT 0x2028
00565 #define WGL_SWAP_COPY_EXT 0x2029
00566 #define WGL_SWAP_UNDEFINED_EXT 0x202A
00567 #define WGL_TYPE_RGBA_EXT 0x202B
00568 #define WGL_TYPE_COLORINDEX_EXT 0x202C
00569 
00570 typedef BOOL (WINAPI * PFNWGLCHOOSEPIXELFORMATEXTPROC) (HDC hdc, const int* piAttribIList, const FLOAT *pfAttribFList, UINT nMaxFormats, int *piFormats, UINT *nNumFormats);
00571 typedef BOOL (WINAPI * PFNWGLGETPIXELFORMATATTRIBFVEXTPROC) (HDC hdc, int iPixelFormat, int iLayerPlane, UINT nAttributes, int* piAttributes, FLOAT *pfValues);
00572 typedef BOOL (WINAPI * PFNWGLGETPIXELFORMATATTRIBIVEXTPROC) (HDC hdc, int iPixelFormat, int iLayerPlane, UINT nAttributes, int* piAttributes, int *piValues);
00573 
00574 #define wglChoosePixelFormatEXT WGLEW_GET_FUN(__wglewChoosePixelFormatEXT)
00575 #define wglGetPixelFormatAttribfvEXT WGLEW_GET_FUN(__wglewGetPixelFormatAttribfvEXT)
00576 #define wglGetPixelFormatAttribivEXT WGLEW_GET_FUN(__wglewGetPixelFormatAttribivEXT)
00577 
00578 #define WGLEW_EXT_pixel_format WGLEW_GET_VAR(__WGLEW_EXT_pixel_format)
00579 
00580 #endif /* WGL_EXT_pixel_format */
00581 
00582 /* ------------------- WGL_EXT_pixel_format_packed_float ------------------- */
00583 
00584 #ifndef WGL_EXT_pixel_format_packed_float
00585 #define WGL_EXT_pixel_format_packed_float 1
00586 
00587 #define WGL_TYPE_RGBA_UNSIGNED_FLOAT_EXT 0x20A8
00588 
00589 #define WGLEW_EXT_pixel_format_packed_float WGLEW_GET_VAR(__WGLEW_EXT_pixel_format_packed_float)
00590 
00591 #endif /* WGL_EXT_pixel_format_packed_float */
00592 
00593 /* -------------------------- WGL_EXT_swap_control ------------------------- */
00594 
00595 #ifndef WGL_EXT_swap_control
00596 #define WGL_EXT_swap_control 1
00597 
00598 typedef int (WINAPI * PFNWGLGETSWAPINTERVALEXTPROC) (void);
00599 typedef BOOL (WINAPI * PFNWGLSWAPINTERVALEXTPROC) (int interval);
00600 
00601 #define wglGetSwapIntervalEXT WGLEW_GET_FUN(__wglewGetSwapIntervalEXT)
00602 #define wglSwapIntervalEXT WGLEW_GET_FUN(__wglewSwapIntervalEXT)
00603 
00604 #define WGLEW_EXT_swap_control WGLEW_GET_VAR(__WGLEW_EXT_swap_control)
00605 
00606 #endif /* WGL_EXT_swap_control */
00607 
00608 /* --------------------- WGL_I3D_digital_video_control --------------------- */
00609 
00610 #ifndef WGL_I3D_digital_video_control
00611 #define WGL_I3D_digital_video_control 1
00612 
00613 #define WGL_DIGITAL_VIDEO_CURSOR_ALPHA_FRAMEBUFFER_I3D 0x2050
00614 #define WGL_DIGITAL_VIDEO_CURSOR_ALPHA_VALUE_I3D 0x2051
00615 #define WGL_DIGITAL_VIDEO_CURSOR_INCLUDED_I3D 0x2052
00616 #define WGL_DIGITAL_VIDEO_GAMMA_CORRECTED_I3D 0x2053
00617 
00618 typedef BOOL (WINAPI * PFNWGLGETDIGITALVIDEOPARAMETERSI3DPROC) (HDC hDC, int iAttribute, int* piValue);
00619 typedef BOOL (WINAPI * PFNWGLSETDIGITALVIDEOPARAMETERSI3DPROC) (HDC hDC, int iAttribute, const int* piValue);
00620 
00621 #define wglGetDigitalVideoParametersI3D WGLEW_GET_FUN(__wglewGetDigitalVideoParametersI3D)
00622 #define wglSetDigitalVideoParametersI3D WGLEW_GET_FUN(__wglewSetDigitalVideoParametersI3D)
00623 
00624 #define WGLEW_I3D_digital_video_control WGLEW_GET_VAR(__WGLEW_I3D_digital_video_control)
00625 
00626 #endif /* WGL_I3D_digital_video_control */
00627 
00628 /* ----------------------------- WGL_I3D_gamma ----------------------------- */
00629 
00630 #ifndef WGL_I3D_gamma
00631 #define WGL_I3D_gamma 1
00632 
00633 #define WGL_GAMMA_TABLE_SIZE_I3D 0x204E
00634 #define WGL_GAMMA_EXCLUDE_DESKTOP_I3D 0x204F
00635 
00636 typedef BOOL (WINAPI * PFNWGLGETGAMMATABLEI3DPROC) (HDC hDC, int iEntries, USHORT* puRed, USHORT *puGreen, USHORT *puBlue);
00637 typedef BOOL (WINAPI * PFNWGLGETGAMMATABLEPARAMETERSI3DPROC) (HDC hDC, int iAttribute, int* piValue);
00638 typedef BOOL (WINAPI * PFNWGLSETGAMMATABLEI3DPROC) (HDC hDC, int iEntries, const USHORT* puRed, const USHORT *puGreen, const USHORT *puBlue);
00639 typedef BOOL (WINAPI * PFNWGLSETGAMMATABLEPARAMETERSI3DPROC) (HDC hDC, int iAttribute, const int* piValue);
00640 
00641 #define wglGetGammaTableI3D WGLEW_GET_FUN(__wglewGetGammaTableI3D)
00642 #define wglGetGammaTableParametersI3D WGLEW_GET_FUN(__wglewGetGammaTableParametersI3D)
00643 #define wglSetGammaTableI3D WGLEW_GET_FUN(__wglewSetGammaTableI3D)
00644 #define wglSetGammaTableParametersI3D WGLEW_GET_FUN(__wglewSetGammaTableParametersI3D)
00645 
00646 #define WGLEW_I3D_gamma WGLEW_GET_VAR(__WGLEW_I3D_gamma)
00647 
00648 #endif /* WGL_I3D_gamma */
00649 
00650 /* ---------------------------- WGL_I3D_genlock ---------------------------- */
00651 
00652 #ifndef WGL_I3D_genlock
00653 #define WGL_I3D_genlock 1
00654 
00655 #define WGL_GENLOCK_SOURCE_MULTIVIEW_I3D 0x2044
00656 #define WGL_GENLOCK_SOURCE_EXTERNAL_SYNC_I3D 0x2045
00657 #define WGL_GENLOCK_SOURCE_EXTERNAL_FIELD_I3D 0x2046
00658 #define WGL_GENLOCK_SOURCE_EXTERNAL_TTL_I3D 0x2047
00659 #define WGL_GENLOCK_SOURCE_DIGITAL_SYNC_I3D 0x2048
00660 #define WGL_GENLOCK_SOURCE_DIGITAL_FIELD_I3D 0x2049
00661 #define WGL_GENLOCK_SOURCE_EDGE_FALLING_I3D 0x204A
00662 #define WGL_GENLOCK_SOURCE_EDGE_RISING_I3D 0x204B
00663 #define WGL_GENLOCK_SOURCE_EDGE_BOTH_I3D 0x204C
00664 
00665 typedef BOOL (WINAPI * PFNWGLDISABLEGENLOCKI3DPROC) (HDC hDC);
00666 typedef BOOL (WINAPI * PFNWGLENABLEGENLOCKI3DPROC) (HDC hDC);
00667 typedef BOOL (WINAPI * PFNWGLGENLOCKSAMPLERATEI3DPROC) (HDC hDC, UINT uRate);
00668 typedef BOOL (WINAPI * PFNWGLGENLOCKSOURCEDELAYI3DPROC) (HDC hDC, UINT uDelay);
00669 typedef BOOL (WINAPI * PFNWGLGENLOCKSOURCEEDGEI3DPROC) (HDC hDC, UINT uEdge);
00670 typedef BOOL (WINAPI * PFNWGLGENLOCKSOURCEI3DPROC) (HDC hDC, UINT uSource);
00671 typedef BOOL (WINAPI * PFNWGLGETGENLOCKSAMPLERATEI3DPROC) (HDC hDC, UINT* uRate);
00672 typedef BOOL (WINAPI * PFNWGLGETGENLOCKSOURCEDELAYI3DPROC) (HDC hDC, UINT* uDelay);
00673 typedef BOOL (WINAPI * PFNWGLGETGENLOCKSOURCEEDGEI3DPROC) (HDC hDC, UINT* uEdge);
00674 typedef BOOL (WINAPI * PFNWGLGETGENLOCKSOURCEI3DPROC) (HDC hDC, UINT* uSource);
00675 typedef BOOL (WINAPI * PFNWGLISENABLEDGENLOCKI3DPROC) (HDC hDC, BOOL* pFlag);
00676 typedef BOOL (WINAPI * PFNWGLQUERYGENLOCKMAXSOURCEDELAYI3DPROC) (HDC hDC, UINT* uMaxLineDelay, UINT *uMaxPixelDelay);
00677 
00678 #define wglDisableGenlockI3D WGLEW_GET_FUN(__wglewDisableGenlockI3D)
00679 #define wglEnableGenlockI3D WGLEW_GET_FUN(__wglewEnableGenlockI3D)
00680 #define wglGenlockSampleRateI3D WGLEW_GET_FUN(__wglewGenlockSampleRateI3D)
00681 #define wglGenlockSourceDelayI3D WGLEW_GET_FUN(__wglewGenlockSourceDelayI3D)
00682 #define wglGenlockSourceEdgeI3D WGLEW_GET_FUN(__wglewGenlockSourceEdgeI3D)
00683 #define wglGenlockSourceI3D WGLEW_GET_FUN(__wglewGenlockSourceI3D)
00684 #define wglGetGenlockSampleRateI3D WGLEW_GET_FUN(__wglewGetGenlockSampleRateI3D)
00685 #define wglGetGenlockSourceDelayI3D WGLEW_GET_FUN(__wglewGetGenlockSourceDelayI3D)
00686 #define wglGetGenlockSourceEdgeI3D WGLEW_GET_FUN(__wglewGetGenlockSourceEdgeI3D)
00687 #define wglGetGenlockSourceI3D WGLEW_GET_FUN(__wglewGetGenlockSourceI3D)
00688 #define wglIsEnabledGenlockI3D WGLEW_GET_FUN(__wglewIsEnabledGenlockI3D)
00689 #define wglQueryGenlockMaxSourceDelayI3D WGLEW_GET_FUN(__wglewQueryGenlockMaxSourceDelayI3D)
00690 
00691 #define WGLEW_I3D_genlock WGLEW_GET_VAR(__WGLEW_I3D_genlock)
00692 
00693 #endif /* WGL_I3D_genlock */
00694 
00695 /* -------------------------- WGL_I3D_image_buffer ------------------------- */
00696 
00697 #ifndef WGL_I3D_image_buffer
00698 #define WGL_I3D_image_buffer 1
00699 
00700 #define WGL_IMAGE_BUFFER_MIN_ACCESS_I3D 0x00000001
00701 #define WGL_IMAGE_BUFFER_LOCK_I3D 0x00000002
00702 
00703 typedef BOOL (WINAPI * PFNWGLASSOCIATEIMAGEBUFFEREVENTSI3DPROC) (HDC hdc, HANDLE* pEvent, LPVOID *pAddress, DWORD *pSize, UINT count);
00704 typedef LPVOID (WINAPI * PFNWGLCREATEIMAGEBUFFERI3DPROC) (HDC hDC, DWORD dwSize, UINT uFlags);
00705 typedef BOOL (WINAPI * PFNWGLDESTROYIMAGEBUFFERI3DPROC) (HDC hDC, LPVOID pAddress);
00706 typedef BOOL (WINAPI * PFNWGLRELEASEIMAGEBUFFEREVENTSI3DPROC) (HDC hdc, LPVOID* pAddress, UINT count);
00707 
00708 #define wglAssociateImageBufferEventsI3D WGLEW_GET_FUN(__wglewAssociateImageBufferEventsI3D)
00709 #define wglCreateImageBufferI3D WGLEW_GET_FUN(__wglewCreateImageBufferI3D)
00710 #define wglDestroyImageBufferI3D WGLEW_GET_FUN(__wglewDestroyImageBufferI3D)
00711 #define wglReleaseImageBufferEventsI3D WGLEW_GET_FUN(__wglewReleaseImageBufferEventsI3D)
00712 
00713 #define WGLEW_I3D_image_buffer WGLEW_GET_VAR(__WGLEW_I3D_image_buffer)
00714 
00715 #endif /* WGL_I3D_image_buffer */
00716 
00717 /* ------------------------ WGL_I3D_swap_frame_lock ------------------------ */
00718 
00719 #ifndef WGL_I3D_swap_frame_lock
00720 #define WGL_I3D_swap_frame_lock 1
00721 
00722 typedef BOOL (WINAPI * PFNWGLDISABLEFRAMELOCKI3DPROC) (VOID);
00723 typedef BOOL (WINAPI * PFNWGLENABLEFRAMELOCKI3DPROC) (VOID);
00724 typedef BOOL (WINAPI * PFNWGLISENABLEDFRAMELOCKI3DPROC) (BOOL* pFlag);
00725 typedef BOOL (WINAPI * PFNWGLQUERYFRAMELOCKMASTERI3DPROC) (BOOL* pFlag);
00726 
00727 #define wglDisableFrameLockI3D WGLEW_GET_FUN(__wglewDisableFrameLockI3D)
00728 #define wglEnableFrameLockI3D WGLEW_GET_FUN(__wglewEnableFrameLockI3D)
00729 #define wglIsEnabledFrameLockI3D WGLEW_GET_FUN(__wglewIsEnabledFrameLockI3D)
00730 #define wglQueryFrameLockMasterI3D WGLEW_GET_FUN(__wglewQueryFrameLockMasterI3D)
00731 
00732 #define WGLEW_I3D_swap_frame_lock WGLEW_GET_VAR(__WGLEW_I3D_swap_frame_lock)
00733 
00734 #endif /* WGL_I3D_swap_frame_lock */
00735 
00736 /* ------------------------ WGL_I3D_swap_frame_usage ----------------------- */
00737 
00738 #ifndef WGL_I3D_swap_frame_usage
00739 #define WGL_I3D_swap_frame_usage 1
00740 
00741 typedef BOOL (WINAPI * PFNWGLBEGINFRAMETRACKINGI3DPROC) (void);
00742 typedef BOOL (WINAPI * PFNWGLENDFRAMETRACKINGI3DPROC) (void);
00743 typedef BOOL (WINAPI * PFNWGLGETFRAMEUSAGEI3DPROC) (float* pUsage);
00744 typedef BOOL (WINAPI * PFNWGLQUERYFRAMETRACKINGI3DPROC) (DWORD* pFrameCount, DWORD *pMissedFrames, float *pLastMissedUsage);
00745 
00746 #define wglBeginFrameTrackingI3D WGLEW_GET_FUN(__wglewBeginFrameTrackingI3D)
00747 #define wglEndFrameTrackingI3D WGLEW_GET_FUN(__wglewEndFrameTrackingI3D)
00748 #define wglGetFrameUsageI3D WGLEW_GET_FUN(__wglewGetFrameUsageI3D)
00749 #define wglQueryFrameTrackingI3D WGLEW_GET_FUN(__wglewQueryFrameTrackingI3D)
00750 
00751 #define WGLEW_I3D_swap_frame_usage WGLEW_GET_VAR(__WGLEW_I3D_swap_frame_usage)
00752 
00753 #endif /* WGL_I3D_swap_frame_usage */
00754 
00755 /* -------------------------- WGL_NV_float_buffer -------------------------- */
00756 
00757 #ifndef WGL_NV_float_buffer
00758 #define WGL_NV_float_buffer 1
00759 
00760 #define WGL_FLOAT_COMPONENTS_NV 0x20B0
00761 #define WGL_BIND_TO_TEXTURE_RECTANGLE_FLOAT_R_NV 0x20B1
00762 #define WGL_BIND_TO_TEXTURE_RECTANGLE_FLOAT_RG_NV 0x20B2
00763 #define WGL_BIND_TO_TEXTURE_RECTANGLE_FLOAT_RGB_NV 0x20B3
00764 #define WGL_BIND_TO_TEXTURE_RECTANGLE_FLOAT_RGBA_NV 0x20B4
00765 #define WGL_TEXTURE_FLOAT_R_NV 0x20B5
00766 #define WGL_TEXTURE_FLOAT_RG_NV 0x20B6
00767 #define WGL_TEXTURE_FLOAT_RGB_NV 0x20B7
00768 #define WGL_TEXTURE_FLOAT_RGBA_NV 0x20B8
00769 
00770 #define WGLEW_NV_float_buffer WGLEW_GET_VAR(__WGLEW_NV_float_buffer)
00771 
00772 #endif /* WGL_NV_float_buffer */
00773 
00774 /* -------------------------- WGL_NV_gpu_affinity -------------------------- */
00775 
00776 #ifndef WGL_NV_gpu_affinity
00777 #define WGL_NV_gpu_affinity 1
00778 
00779 #define WGL_ERROR_INCOMPATIBLE_AFFINITY_MASKS_NV 0x20D0
00780 #define WGL_ERROR_MISSING_AFFINITY_MASK_NV 0x20D1
00781 
00782 DECLARE_HANDLE(HGPUNV);
00783 typedef struct _GPU_DEVICE {
00784   DWORD cb; 
00785   CHAR DeviceName[32]; 
00786   CHAR DeviceString[128]; 
00787   DWORD Flags; 
00788   RECT rcVirtualScreen; 
00789 } GPU_DEVICE, *PGPU_DEVICE;
00790 
00791 typedef HDC (WINAPI * PFNWGLCREATEAFFINITYDCNVPROC) (const HGPUNV *phGpuList);
00792 typedef BOOL (WINAPI * PFNWGLDELETEDCNVPROC) (HDC hdc);
00793 typedef BOOL (WINAPI * PFNWGLENUMGPUDEVICESNVPROC) (HGPUNV hGpu, UINT iDeviceIndex, PGPU_DEVICE lpGpuDevice);
00794 typedef BOOL (WINAPI * PFNWGLENUMGPUSFROMAFFINITYDCNVPROC) (HDC hAffinityDC, UINT iGpuIndex, HGPUNV *hGpu);
00795 typedef BOOL (WINAPI * PFNWGLENUMGPUSNVPROC) (UINT iGpuIndex, HGPUNV *phGpu);
00796 
00797 #define wglCreateAffinityDCNV WGLEW_GET_FUN(__wglewCreateAffinityDCNV)
00798 #define wglDeleteDCNV WGLEW_GET_FUN(__wglewDeleteDCNV)
00799 #define wglEnumGpuDevicesNV WGLEW_GET_FUN(__wglewEnumGpuDevicesNV)
00800 #define wglEnumGpusFromAffinityDCNV WGLEW_GET_FUN(__wglewEnumGpusFromAffinityDCNV)
00801 #define wglEnumGpusNV WGLEW_GET_FUN(__wglewEnumGpusNV)
00802 
00803 #define WGLEW_NV_gpu_affinity WGLEW_GET_VAR(__WGLEW_NV_gpu_affinity)
00804 
00805 #endif /* WGL_NV_gpu_affinity */
00806 
00807 /* -------------------------- WGL_NV_present_video ------------------------- */
00808 
00809 #ifndef WGL_NV_present_video
00810 #define WGL_NV_present_video 1
00811 
00812 #define WGL_NUM_VIDEO_SLOTS_NV 0x20F0
00813 
00814 DECLARE_HANDLE(HVIDEOOUTPUTDEVICENV);
00815 
00816 typedef BOOL (WINAPI * PFNWGLBINDVIDEODEVICENVPROC) (HDC hDc, unsigned int uVideoSlot, HVIDEOOUTPUTDEVICENV hVideoDevice, const int* piAttribList);
00817 typedef int (WINAPI * PFNWGLENUMERATEVIDEODEVICESNVPROC) (HDC hDc, HVIDEOOUTPUTDEVICENV* phDeviceList);
00818 typedef BOOL (WINAPI * PFNWGLQUERYCURRENTCONTEXTNVPROC) (int iAttribute, int* piValue);
00819 
00820 #define wglBindVideoDeviceNV WGLEW_GET_FUN(__wglewBindVideoDeviceNV)
00821 #define wglEnumerateVideoDevicesNV WGLEW_GET_FUN(__wglewEnumerateVideoDevicesNV)
00822 #define wglQueryCurrentContextNV WGLEW_GET_FUN(__wglewQueryCurrentContextNV)
00823 
00824 #define WGLEW_NV_present_video WGLEW_GET_VAR(__WGLEW_NV_present_video)
00825 
00826 #endif /* WGL_NV_present_video */
00827 
00828 /* ---------------------- WGL_NV_render_depth_texture ---------------------- */
00829 
00830 #ifndef WGL_NV_render_depth_texture
00831 #define WGL_NV_render_depth_texture 1
00832 
00833 #define WGL_NO_TEXTURE_ARB 0x2077
00834 #define WGL_BIND_TO_TEXTURE_DEPTH_NV 0x20A3
00835 #define WGL_BIND_TO_TEXTURE_RECTANGLE_DEPTH_NV 0x20A4
00836 #define WGL_DEPTH_TEXTURE_FORMAT_NV 0x20A5
00837 #define WGL_TEXTURE_DEPTH_COMPONENT_NV 0x20A6
00838 #define WGL_DEPTH_COMPONENT_NV 0x20A7
00839 
00840 #define WGLEW_NV_render_depth_texture WGLEW_GET_VAR(__WGLEW_NV_render_depth_texture)
00841 
00842 #endif /* WGL_NV_render_depth_texture */
00843 
00844 /* -------------------- WGL_NV_render_texture_rectangle -------------------- */
00845 
00846 #ifndef WGL_NV_render_texture_rectangle
00847 #define WGL_NV_render_texture_rectangle 1
00848 
00849 #define WGL_BIND_TO_TEXTURE_RECTANGLE_RGB_NV 0x20A0
00850 #define WGL_BIND_TO_TEXTURE_RECTANGLE_RGBA_NV 0x20A1
00851 #define WGL_TEXTURE_RECTANGLE_NV 0x20A2
00852 
00853 #define WGLEW_NV_render_texture_rectangle WGLEW_GET_VAR(__WGLEW_NV_render_texture_rectangle)
00854 
00855 #endif /* WGL_NV_render_texture_rectangle */
00856 
00857 /* --------------------------- WGL_NV_swap_group --------------------------- */
00858 
00859 #ifndef WGL_NV_swap_group
00860 #define WGL_NV_swap_group 1
00861 
00862 typedef BOOL (WINAPI * PFNWGLBINDSWAPBARRIERNVPROC) (GLuint group, GLuint barrier);
00863 typedef BOOL (WINAPI * PFNWGLJOINSWAPGROUPNVPROC) (HDC hDC, GLuint group);
00864 typedef BOOL (WINAPI * PFNWGLQUERYFRAMECOUNTNVPROC) (HDC hDC, GLuint* count);
00865 typedef BOOL (WINAPI * PFNWGLQUERYMAXSWAPGROUPSNVPROC) (HDC hDC, GLuint* maxGroups, GLuint *maxBarriers);
00866 typedef BOOL (WINAPI * PFNWGLQUERYSWAPGROUPNVPROC) (HDC hDC, GLuint* group);
00867 typedef BOOL (WINAPI * PFNWGLRESETFRAMECOUNTNVPROC) (HDC hDC);
00868 
00869 #define wglBindSwapBarrierNV WGLEW_GET_FUN(__wglewBindSwapBarrierNV)
00870 #define wglJoinSwapGroupNV WGLEW_GET_FUN(__wglewJoinSwapGroupNV)
00871 #define wglQueryFrameCountNV WGLEW_GET_FUN(__wglewQueryFrameCountNV)
00872 #define wglQueryMaxSwapGroupsNV WGLEW_GET_FUN(__wglewQueryMaxSwapGroupsNV)
00873 #define wglQuerySwapGroupNV WGLEW_GET_FUN(__wglewQuerySwapGroupNV)
00874 #define wglResetFrameCountNV WGLEW_GET_FUN(__wglewResetFrameCountNV)
00875 
00876 #define WGLEW_NV_swap_group WGLEW_GET_VAR(__WGLEW_NV_swap_group)
00877 
00878 #endif /* WGL_NV_swap_group */
00879 
00880 /* ----------------------- WGL_NV_vertex_array_range ----------------------- */
00881 
00882 #ifndef WGL_NV_vertex_array_range
00883 #define WGL_NV_vertex_array_range 1
00884 
00885 typedef void * (WINAPI * PFNWGLALLOCATEMEMORYNVPROC) (GLsizei size, GLfloat readFrequency, GLfloat writeFrequency, GLfloat priority);
00886 typedef void (WINAPI * PFNWGLFREEMEMORYNVPROC) (void *pointer);
00887 
00888 #define wglAllocateMemoryNV WGLEW_GET_FUN(__wglewAllocateMemoryNV)
00889 #define wglFreeMemoryNV WGLEW_GET_FUN(__wglewFreeMemoryNV)
00890 
00891 #define WGLEW_NV_vertex_array_range WGLEW_GET_VAR(__WGLEW_NV_vertex_array_range)
00892 
00893 #endif /* WGL_NV_vertex_array_range */
00894 
00895 /* -------------------------- WGL_NV_video_output -------------------------- */
00896 
00897 #ifndef WGL_NV_video_output
00898 #define WGL_NV_video_output 1
00899 
00900 #define WGL_BIND_TO_VIDEO_RGB_NV 0x20C0
00901 #define WGL_BIND_TO_VIDEO_RGBA_NV 0x20C1
00902 #define WGL_BIND_TO_VIDEO_RGB_AND_DEPTH_NV 0x20C2
00903 #define WGL_VIDEO_OUT_COLOR_NV 0x20C3
00904 #define WGL_VIDEO_OUT_ALPHA_NV 0x20C4
00905 #define WGL_VIDEO_OUT_DEPTH_NV 0x20C5
00906 #define WGL_VIDEO_OUT_COLOR_AND_ALPHA_NV 0x20C6
00907 #define WGL_VIDEO_OUT_COLOR_AND_DEPTH_NV 0x20C7
00908 #define WGL_VIDEO_OUT_FRAME 0x20C8
00909 #define WGL_VIDEO_OUT_FIELD_1 0x20C9
00910 #define WGL_VIDEO_OUT_FIELD_2 0x20CA
00911 #define WGL_VIDEO_OUT_STACKED_FIELDS_1_2 0x20CB
00912 #define WGL_VIDEO_OUT_STACKED_FIELDS_2_1 0x20CC
00913 
00914 DECLARE_HANDLE(HPVIDEODEV);
00915 
00916 typedef BOOL (WINAPI * PFNWGLBINDVIDEOIMAGENVPROC) (HPVIDEODEV hVideoDevice, HPBUFFERARB hPbuffer, int iVideoBuffer);
00917 typedef BOOL (WINAPI * PFNWGLGETVIDEODEVICENVPROC) (HDC hDC, int numDevices, HPVIDEODEV* hVideoDevice);
00918 typedef BOOL (WINAPI * PFNWGLGETVIDEOINFONVPROC) (HPVIDEODEV hpVideoDevice, unsigned long* pulCounterOutputPbuffer, unsigned long *pulCounterOutputVideo);
00919 typedef BOOL (WINAPI * PFNWGLRELEASEVIDEODEVICENVPROC) (HPVIDEODEV hVideoDevice);
00920 typedef BOOL (WINAPI * PFNWGLRELEASEVIDEOIMAGENVPROC) (HPBUFFERARB hPbuffer, int iVideoBuffer);
00921 typedef BOOL (WINAPI * PFNWGLSENDPBUFFERTOVIDEONVPROC) (HPBUFFERARB hPbuffer, int iBufferType, unsigned long* pulCounterPbuffer, BOOL bBlock);
00922 
00923 #define wglBindVideoImageNV WGLEW_GET_FUN(__wglewBindVideoImageNV)
00924 #define wglGetVideoDeviceNV WGLEW_GET_FUN(__wglewGetVideoDeviceNV)
00925 #define wglGetVideoInfoNV WGLEW_GET_FUN(__wglewGetVideoInfoNV)
00926 #define wglReleaseVideoDeviceNV WGLEW_GET_FUN(__wglewReleaseVideoDeviceNV)
00927 #define wglReleaseVideoImageNV WGLEW_GET_FUN(__wglewReleaseVideoImageNV)
00928 #define wglSendPbufferToVideoNV WGLEW_GET_FUN(__wglewSendPbufferToVideoNV)
00929 
00930 #define WGLEW_NV_video_output WGLEW_GET_VAR(__WGLEW_NV_video_output)
00931 
00932 #endif /* WGL_NV_video_output */
00933 
00934 /* -------------------------- WGL_OML_sync_control ------------------------- */
00935 
00936 #ifndef WGL_OML_sync_control
00937 #define WGL_OML_sync_control 1
00938 
00939 typedef BOOL (WINAPI * PFNWGLGETMSCRATEOMLPROC) (HDC hdc, INT32* numerator, INT32 *denominator);
00940 typedef BOOL (WINAPI * PFNWGLGETSYNCVALUESOMLPROC) (HDC hdc, INT64* ust, INT64 *msc, INT64 *sbc);
00941 typedef INT64 (WINAPI * PFNWGLSWAPBUFFERSMSCOMLPROC) (HDC hdc, INT64 target_msc, INT64 divisor, INT64 remainder);
00942 typedef INT64 (WINAPI * PFNWGLSWAPLAYERBUFFERSMSCOMLPROC) (HDC hdc, INT fuPlanes, INT64 target_msc, INT64 divisor, INT64 remainder);
00943 typedef BOOL (WINAPI * PFNWGLWAITFORMSCOMLPROC) (HDC hdc, INT64 target_msc, INT64 divisor, INT64 remainder, INT64* ust, INT64 *msc, INT64 *sbc);
00944 typedef BOOL (WINAPI * PFNWGLWAITFORSBCOMLPROC) (HDC hdc, INT64 target_sbc, INT64* ust, INT64 *msc, INT64 *sbc);
00945 
00946 #define wglGetMscRateOML WGLEW_GET_FUN(__wglewGetMscRateOML)
00947 #define wglGetSyncValuesOML WGLEW_GET_FUN(__wglewGetSyncValuesOML)
00948 #define wglSwapBuffersMscOML WGLEW_GET_FUN(__wglewSwapBuffersMscOML)
00949 #define wglSwapLayerBuffersMscOML WGLEW_GET_FUN(__wglewSwapLayerBuffersMscOML)
00950 #define wglWaitForMscOML WGLEW_GET_FUN(__wglewWaitForMscOML)
00951 #define wglWaitForSbcOML WGLEW_GET_FUN(__wglewWaitForSbcOML)
00952 
00953 #define WGLEW_OML_sync_control WGLEW_GET_VAR(__WGLEW_OML_sync_control)
00954 
00955 #endif /* WGL_OML_sync_control */
00956 
00957 /* ------------------------------------------------------------------------- */
00958 
00959 #ifdef GLEW_MX
00960 #define WGLEW_EXPORT
00961 #else
00962 #define WGLEW_EXPORT GLEWAPI
00963 #endif /* GLEW_MX */
00964 
00965 #ifdef GLEW_MX
00966 struct WGLEWContextStruct
00967 {
00968 #endif /* GLEW_MX */
00969 
00970 WGLEW_EXPORT PFNWGLSETSTEREOEMITTERSTATE3DLPROC __wglewSetStereoEmitterState3DL;
00971 
00972 WGLEW_EXPORT PFNWGLCREATEBUFFERREGIONARBPROC __wglewCreateBufferRegionARB;
00973 WGLEW_EXPORT PFNWGLDELETEBUFFERREGIONARBPROC __wglewDeleteBufferRegionARB;
00974 WGLEW_EXPORT PFNWGLRESTOREBUFFERREGIONARBPROC __wglewRestoreBufferRegionARB;
00975 WGLEW_EXPORT PFNWGLSAVEBUFFERREGIONARBPROC __wglewSaveBufferRegionARB;
00976 
00977 WGLEW_EXPORT PFNWGLCREATECONTEXTATTRIBSARBPROC __wglewCreateContextAttribsARB;
00978 
00979 WGLEW_EXPORT PFNWGLGETEXTENSIONSSTRINGARBPROC __wglewGetExtensionsStringARB;
00980 
00981 WGLEW_EXPORT PFNWGLGETCURRENTREADDCARBPROC __wglewGetCurrentReadDCARB;
00982 WGLEW_EXPORT PFNWGLMAKECONTEXTCURRENTARBPROC __wglewMakeContextCurrentARB;
00983 
00984 WGLEW_EXPORT PFNWGLCREATEPBUFFERARBPROC __wglewCreatePbufferARB;
00985 WGLEW_EXPORT PFNWGLDESTROYPBUFFERARBPROC __wglewDestroyPbufferARB;
00986 WGLEW_EXPORT PFNWGLGETPBUFFERDCARBPROC __wglewGetPbufferDCARB;
00987 WGLEW_EXPORT PFNWGLQUERYPBUFFERARBPROC __wglewQueryPbufferARB;
00988 WGLEW_EXPORT PFNWGLRELEASEPBUFFERDCARBPROC __wglewReleasePbufferDCARB;
00989 
00990 WGLEW_EXPORT PFNWGLCHOOSEPIXELFORMATARBPROC __wglewChoosePixelFormatARB;
00991 WGLEW_EXPORT PFNWGLGETPIXELFORMATATTRIBFVARBPROC __wglewGetPixelFormatAttribfvARB;
00992 WGLEW_EXPORT PFNWGLGETPIXELFORMATATTRIBIVARBPROC __wglewGetPixelFormatAttribivARB;
00993 
00994 WGLEW_EXPORT PFNWGLBINDTEXIMAGEARBPROC __wglewBindTexImageARB;
00995 WGLEW_EXPORT PFNWGLRELEASETEXIMAGEARBPROC __wglewReleaseTexImageARB;
00996 WGLEW_EXPORT PFNWGLSETPBUFFERATTRIBARBPROC __wglewSetPbufferAttribARB;
00997 
00998 WGLEW_EXPORT PFNWGLBINDDISPLAYCOLORTABLEEXTPROC __wglewBindDisplayColorTableEXT;
00999 WGLEW_EXPORT PFNWGLCREATEDISPLAYCOLORTABLEEXTPROC __wglewCreateDisplayColorTableEXT;
01000 WGLEW_EXPORT PFNWGLDESTROYDISPLAYCOLORTABLEEXTPROC __wglewDestroyDisplayColorTableEXT;
01001 WGLEW_EXPORT PFNWGLLOADDISPLAYCOLORTABLEEXTPROC __wglewLoadDisplayColorTableEXT;
01002 
01003 WGLEW_EXPORT PFNWGLGETEXTENSIONSSTRINGEXTPROC __wglewGetExtensionsStringEXT;
01004 
01005 WGLEW_EXPORT PFNWGLGETCURRENTREADDCEXTPROC __wglewGetCurrentReadDCEXT;
01006 WGLEW_EXPORT PFNWGLMAKECONTEXTCURRENTEXTPROC __wglewMakeContextCurrentEXT;
01007 
01008 WGLEW_EXPORT PFNWGLCREATEPBUFFEREXTPROC __wglewCreatePbufferEXT;
01009 WGLEW_EXPORT PFNWGLDESTROYPBUFFEREXTPROC __wglewDestroyPbufferEXT;
01010 WGLEW_EXPORT PFNWGLGETPBUFFERDCEXTPROC __wglewGetPbufferDCEXT;
01011 WGLEW_EXPORT PFNWGLQUERYPBUFFEREXTPROC __wglewQueryPbufferEXT;
01012 WGLEW_EXPORT PFNWGLRELEASEPBUFFERDCEXTPROC __wglewReleasePbufferDCEXT;
01013 
01014 WGLEW_EXPORT PFNWGLCHOOSEPIXELFORMATEXTPROC __wglewChoosePixelFormatEXT;
01015 WGLEW_EXPORT PFNWGLGETPIXELFORMATATTRIBFVEXTPROC __wglewGetPixelFormatAttribfvEXT;
01016 WGLEW_EXPORT PFNWGLGETPIXELFORMATATTRIBIVEXTPROC __wglewGetPixelFormatAttribivEXT;
01017 
01018 WGLEW_EXPORT PFNWGLGETSWAPINTERVALEXTPROC __wglewGetSwapIntervalEXT;
01019 WGLEW_EXPORT PFNWGLSWAPINTERVALEXTPROC __wglewSwapIntervalEXT;
01020 
01021 WGLEW_EXPORT PFNWGLGETDIGITALVIDEOPARAMETERSI3DPROC __wglewGetDigitalVideoParametersI3D;
01022 WGLEW_EXPORT PFNWGLSETDIGITALVIDEOPARAMETERSI3DPROC __wglewSetDigitalVideoParametersI3D;
01023 
01024 WGLEW_EXPORT PFNWGLGETGAMMATABLEI3DPROC __wglewGetGammaTableI3D;
01025 WGLEW_EXPORT PFNWGLGETGAMMATABLEPARAMETERSI3DPROC __wglewGetGammaTableParametersI3D;
01026 WGLEW_EXPORT PFNWGLSETGAMMATABLEI3DPROC __wglewSetGammaTableI3D;
01027 WGLEW_EXPORT PFNWGLSETGAMMATABLEPARAMETERSI3DPROC __wglewSetGammaTableParametersI3D;
01028 
01029 WGLEW_EXPORT PFNWGLDISABLEGENLOCKI3DPROC __wglewDisableGenlockI3D;
01030 WGLEW_EXPORT PFNWGLENABLEGENLOCKI3DPROC __wglewEnableGenlockI3D;
01031 WGLEW_EXPORT PFNWGLGENLOCKSAMPLERATEI3DPROC __wglewGenlockSampleRateI3D;
01032 WGLEW_EXPORT PFNWGLGENLOCKSOURCEDELAYI3DPROC __wglewGenlockSourceDelayI3D;
01033 WGLEW_EXPORT PFNWGLGENLOCKSOURCEEDGEI3DPROC __wglewGenlockSourceEdgeI3D;
01034 WGLEW_EXPORT PFNWGLGENLOCKSOURCEI3DPROC __wglewGenlockSourceI3D;
01035 WGLEW_EXPORT PFNWGLGETGENLOCKSAMPLERATEI3DPROC __wglewGetGenlockSampleRateI3D;
01036 WGLEW_EXPORT PFNWGLGETGENLOCKSOURCEDELAYI3DPROC __wglewGetGenlockSourceDelayI3D;
01037 WGLEW_EXPORT PFNWGLGETGENLOCKSOURCEEDGEI3DPROC __wglewGetGenlockSourceEdgeI3D;
01038 WGLEW_EXPORT PFNWGLGETGENLOCKSOURCEI3DPROC __wglewGetGenlockSourceI3D;
01039 WGLEW_EXPORT PFNWGLISENABLEDGENLOCKI3DPROC __wglewIsEnabledGenlockI3D;
01040 WGLEW_EXPORT PFNWGLQUERYGENLOCKMAXSOURCEDELAYI3DPROC __wglewQueryGenlockMaxSourceDelayI3D;
01041 
01042 WGLEW_EXPORT PFNWGLASSOCIATEIMAGEBUFFEREVENTSI3DPROC __wglewAssociateImageBufferEventsI3D;
01043 WGLEW_EXPORT PFNWGLCREATEIMAGEBUFFERI3DPROC __wglewCreateImageBufferI3D;
01044 WGLEW_EXPORT PFNWGLDESTROYIMAGEBUFFERI3DPROC __wglewDestroyImageBufferI3D;
01045 WGLEW_EXPORT PFNWGLRELEASEIMAGEBUFFEREVENTSI3DPROC __wglewReleaseImageBufferEventsI3D;
01046 
01047 WGLEW_EXPORT PFNWGLDISABLEFRAMELOCKI3DPROC __wglewDisableFrameLockI3D;
01048 WGLEW_EXPORT PFNWGLENABLEFRAMELOCKI3DPROC __wglewEnableFrameLockI3D;
01049 WGLEW_EXPORT PFNWGLISENABLEDFRAMELOCKI3DPROC __wglewIsEnabledFrameLockI3D;
01050 WGLEW_EXPORT PFNWGLQUERYFRAMELOCKMASTERI3DPROC __wglewQueryFrameLockMasterI3D;
01051 
01052 WGLEW_EXPORT PFNWGLBEGINFRAMETRACKINGI3DPROC __wglewBeginFrameTrackingI3D;
01053 WGLEW_EXPORT PFNWGLENDFRAMETRACKINGI3DPROC __wglewEndFrameTrackingI3D;
01054 WGLEW_EXPORT PFNWGLGETFRAMEUSAGEI3DPROC __wglewGetFrameUsageI3D;
01055 WGLEW_EXPORT PFNWGLQUERYFRAMETRACKINGI3DPROC __wglewQueryFrameTrackingI3D;
01056 
01057 WGLEW_EXPORT PFNWGLCREATEAFFINITYDCNVPROC __wglewCreateAffinityDCNV;
01058 WGLEW_EXPORT PFNWGLDELETEDCNVPROC __wglewDeleteDCNV;
01059 WGLEW_EXPORT PFNWGLENUMGPUDEVICESNVPROC __wglewEnumGpuDevicesNV;
01060 WGLEW_EXPORT PFNWGLENUMGPUSFROMAFFINITYDCNVPROC __wglewEnumGpusFromAffinityDCNV;
01061 WGLEW_EXPORT PFNWGLENUMGPUSNVPROC __wglewEnumGpusNV;
01062 
01063 WGLEW_EXPORT PFNWGLBINDVIDEODEVICENVPROC __wglewBindVideoDeviceNV;
01064 WGLEW_EXPORT PFNWGLENUMERATEVIDEODEVICESNVPROC __wglewEnumerateVideoDevicesNV;
01065 WGLEW_EXPORT PFNWGLQUERYCURRENTCONTEXTNVPROC __wglewQueryCurrentContextNV;
01066 
01067 WGLEW_EXPORT PFNWGLBINDSWAPBARRIERNVPROC __wglewBindSwapBarrierNV;
01068 WGLEW_EXPORT PFNWGLJOINSWAPGROUPNVPROC __wglewJoinSwapGroupNV;
01069 WGLEW_EXPORT PFNWGLQUERYFRAMECOUNTNVPROC __wglewQueryFrameCountNV;
01070 WGLEW_EXPORT PFNWGLQUERYMAXSWAPGROUPSNVPROC __wglewQueryMaxSwapGroupsNV;
01071 WGLEW_EXPORT PFNWGLQUERYSWAPGROUPNVPROC __wglewQuerySwapGroupNV;
01072 WGLEW_EXPORT PFNWGLRESETFRAMECOUNTNVPROC __wglewResetFrameCountNV;
01073 
01074 WGLEW_EXPORT PFNWGLALLOCATEMEMORYNVPROC __wglewAllocateMemoryNV;
01075 WGLEW_EXPORT PFNWGLFREEMEMORYNVPROC __wglewFreeMemoryNV;
01076 
01077 WGLEW_EXPORT PFNWGLBINDVIDEOIMAGENVPROC __wglewBindVideoImageNV;
01078 WGLEW_EXPORT PFNWGLGETVIDEODEVICENVPROC __wglewGetVideoDeviceNV;
01079 WGLEW_EXPORT PFNWGLGETVIDEOINFONVPROC __wglewGetVideoInfoNV;
01080 WGLEW_EXPORT PFNWGLRELEASEVIDEODEVICENVPROC __wglewReleaseVideoDeviceNV;
01081 WGLEW_EXPORT PFNWGLRELEASEVIDEOIMAGENVPROC __wglewReleaseVideoImageNV;
01082 WGLEW_EXPORT PFNWGLSENDPBUFFERTOVIDEONVPROC __wglewSendPbufferToVideoNV;
01083 
01084 WGLEW_EXPORT PFNWGLGETMSCRATEOMLPROC __wglewGetMscRateOML;
01085 WGLEW_EXPORT PFNWGLGETSYNCVALUESOMLPROC __wglewGetSyncValuesOML;
01086 WGLEW_EXPORT PFNWGLSWAPBUFFERSMSCOMLPROC __wglewSwapBuffersMscOML;
01087 WGLEW_EXPORT PFNWGLSWAPLAYERBUFFERSMSCOMLPROC __wglewSwapLayerBuffersMscOML;
01088 WGLEW_EXPORT PFNWGLWAITFORMSCOMLPROC __wglewWaitForMscOML;
01089 WGLEW_EXPORT PFNWGLWAITFORSBCOMLPROC __wglewWaitForSbcOML;
01090 WGLEW_EXPORT GLboolean __WGLEW_3DFX_multisample;
01091 WGLEW_EXPORT GLboolean __WGLEW_3DL_stereo_control;
01092 WGLEW_EXPORT GLboolean __WGLEW_ARB_buffer_region;
01093 WGLEW_EXPORT GLboolean __WGLEW_ARB_create_context;
01094 WGLEW_EXPORT GLboolean __WGLEW_ARB_extensions_string;
01095 WGLEW_EXPORT GLboolean __WGLEW_ARB_framebuffer_sRGB;
01096 WGLEW_EXPORT GLboolean __WGLEW_ARB_make_current_read;
01097 WGLEW_EXPORT GLboolean __WGLEW_ARB_multisample;
01098 WGLEW_EXPORT GLboolean __WGLEW_ARB_pbuffer;
01099 WGLEW_EXPORT GLboolean __WGLEW_ARB_pixel_format;
01100 WGLEW_EXPORT GLboolean __WGLEW_ARB_pixel_format_float;
01101 WGLEW_EXPORT GLboolean __WGLEW_ARB_render_texture;
01102 WGLEW_EXPORT GLboolean __WGLEW_ATI_pixel_format_float;
01103 WGLEW_EXPORT GLboolean __WGLEW_ATI_render_texture_rectangle;
01104 WGLEW_EXPORT GLboolean __WGLEW_EXT_depth_float;
01105 WGLEW_EXPORT GLboolean __WGLEW_EXT_display_color_table;
01106 WGLEW_EXPORT GLboolean __WGLEW_EXT_extensions_string;
01107 WGLEW_EXPORT GLboolean __WGLEW_EXT_framebuffer_sRGB;
01108 WGLEW_EXPORT GLboolean __WGLEW_EXT_make_current_read;
01109 WGLEW_EXPORT GLboolean __WGLEW_EXT_multisample;
01110 WGLEW_EXPORT GLboolean __WGLEW_EXT_pbuffer;
01111 WGLEW_EXPORT GLboolean __WGLEW_EXT_pixel_format;
01112 WGLEW_EXPORT GLboolean __WGLEW_EXT_pixel_format_packed_float;
01113 WGLEW_EXPORT GLboolean __WGLEW_EXT_swap_control;
01114 WGLEW_EXPORT GLboolean __WGLEW_I3D_digital_video_control;
01115 WGLEW_EXPORT GLboolean __WGLEW_I3D_gamma;
01116 WGLEW_EXPORT GLboolean __WGLEW_I3D_genlock;
01117 WGLEW_EXPORT GLboolean __WGLEW_I3D_image_buffer;
01118 WGLEW_EXPORT GLboolean __WGLEW_I3D_swap_frame_lock;
01119 WGLEW_EXPORT GLboolean __WGLEW_I3D_swap_frame_usage;
01120 WGLEW_EXPORT GLboolean __WGLEW_NV_float_buffer;
01121 WGLEW_EXPORT GLboolean __WGLEW_NV_gpu_affinity;
01122 WGLEW_EXPORT GLboolean __WGLEW_NV_present_video;
01123 WGLEW_EXPORT GLboolean __WGLEW_NV_render_depth_texture;
01124 WGLEW_EXPORT GLboolean __WGLEW_NV_render_texture_rectangle;
01125 WGLEW_EXPORT GLboolean __WGLEW_NV_swap_group;
01126 WGLEW_EXPORT GLboolean __WGLEW_NV_vertex_array_range;
01127 WGLEW_EXPORT GLboolean __WGLEW_NV_video_output;
01128 WGLEW_EXPORT GLboolean __WGLEW_OML_sync_control;
01129 
01130 #ifdef GLEW_MX
01131 }; /* WGLEWContextStruct */
01132 #endif /* GLEW_MX */
01133 
01134 /* ------------------------------------------------------------------------- */
01135 
01136 #ifdef GLEW_MX
01137 
01138 typedef struct WGLEWContextStruct WGLEWContext;
01139 GLEWAPI GLenum wglewContextInit (WGLEWContext* ctx);
01140 GLEWAPI GLboolean wglewContextIsSupported (WGLEWContext* ctx, const char* name);
01141 
01142 #define wglewInit() wglewContextInit(wglewGetContext())
01143 #define wglewIsSupported(x) wglewContextIsSupported(wglewGetContext(), x)
01144 
01145 #define WGLEW_GET_VAR(x) (*(const GLboolean*)&(wglewGetContext()->x))
01146 #define WGLEW_GET_FUN(x) wglewGetContext()->x
01147 
01148 #else /* GLEW_MX */
01149 
01150 #define WGLEW_GET_VAR(x) (*(const GLboolean*)&x)
01151 #define WGLEW_GET_FUN(x) x
01152 
01153 GLEWAPI GLboolean wglewIsSupported (const char* name);
01154 
01155 #endif /* GLEW_MX */
01156 
01157 GLEWAPI GLboolean wglewGetExtension (const char* name);
01158 
01159 #ifdef __cplusplus
01160 }
01161 #endif
01162 
01163 #undef GLEWAPI
01164 
01165 #endif /* __wglew_h__ */
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Defines


rgbd_registration
Author(s): Ross Kidson
autogenerated on Thu May 23 2013 15:36:54